From d459dfac74e90c29950d49a82edc19fd913d435e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 29 Jul 2021 08:25:05 +0000 Subject: update to bootstrap 5.0.2 --- .../docs/5.0/examples/dashboard-rtl/dashboard.js | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/content/docs/5.0/examples/dashboard-rtl/dashboard.js (limited to 'vendor/twbs/bootstrap/site/content/docs/5.0/examples/dashboard-rtl/dashboard.js') diff --git a/vendor/twbs/bootstrap/site/content/docs/5.0/examples/dashboard-rtl/dashboard.js b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/dashboard-rtl/dashboard.js new file mode 100644 index 000000000..7831fa9d0 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.0/examples/dashboard-rtl/dashboard.js @@ -0,0 +1,53 @@ +/* globals Chart:false, feather:false */ + +(function () { + 'use strict' + + feather.replace({ 'aria-hidden': 'true' }) + + // Graphs + var ctx = document.getElementById('myChart') + // eslint-disable-next-line no-unused-vars + var myChart = new Chart(ctx, { + type: 'line', + data: { + labels: [ + 'الأحد', + 'الإثنين', + 'الثلاثاء', + 'الأربعاء', + 'الخميس', + 'الجمعة', + 'السبت' + ], + datasets: [{ + data: [ + 15339, + 21345, + 18483, + 24003, + 23489, + 24092, + 12034 + ], + lineTension: 0, + backgroundColor: 'transparent', + borderColor: '#007bff', + borderWidth: 4, + pointBackgroundColor: '#007bff' + }] + }, + options: { + scales: { + yAxes: [{ + ticks: { + beginAtZero: false + } + }] + }, + legend: { + display: false + } + } + }) +})() -- cgit v1.2.3