aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/examples/dashboard/dashboard.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-08-18 07:29:56 +0300
committerGitHub <[email protected]>2021-08-18 07:29:56 +0300
commit433a148c9e61aa942801fd8101dfa5c4045fdaed (patch)
treef41db59fd06019169df5ea0338213ec0e298f226 /site/content/docs/5.0/examples/dashboard/dashboard.js
parentb97cfa163b5098db70e03b27c91fca5dde9c267e (diff)
parent18b3e1ac71f73d006756684a285c5a818e2d1454 (diff)
downloadbootstrap-global-focus-vars.tar.xz
bootstrap-global-focus-vars.zip
Merge branch 'main' into global-focus-varsglobal-focus-vars
Diffstat (limited to 'site/content/docs/5.0/examples/dashboard/dashboard.js')
-rw-r--r--site/content/docs/5.0/examples/dashboard/dashboard.js53
1 files changed, 0 insertions, 53 deletions
diff --git a/site/content/docs/5.0/examples/dashboard/dashboard.js b/site/content/docs/5.0/examples/dashboard/dashboard.js
deleted file mode 100644
index d3f549928..000000000
--- a/site/content/docs/5.0/examples/dashboard/dashboard.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/* globals Chart:false, feather:false */
-
-(function () {
- 'use strict'
-
- feather.replace()
-
- // Graphs
- var ctx = document.getElementById('myChart')
- // eslint-disable-next-line no-unused-vars
- var myChart = new Chart(ctx, {
- type: 'line',
- data: {
- labels: [
- 'Sunday',
- 'Monday',
- 'Tuesday',
- 'Wednesday',
- 'Thursday',
- 'Friday',
- 'Saturday'
- ],
- 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
- }
- }
- })
-})()