From dc3b09c8f38872ef8b792a4b551671a6105754cc Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Jun 2020 10:00:50 +0000 Subject: composer update bootstrap --- .../site/docs/4.5/examples/dashboard/dashboard.js | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/docs/4.5/examples/dashboard/dashboard.js (limited to 'vendor/twbs/bootstrap/site/docs/4.5/examples/dashboard/dashboard.js') diff --git a/vendor/twbs/bootstrap/site/docs/4.5/examples/dashboard/dashboard.js b/vendor/twbs/bootstrap/site/docs/4.5/examples/dashboard/dashboard.js new file mode 100644 index 000000000..de4a6347a --- /dev/null +++ b/vendor/twbs/bootstrap/site/docs/4.5/examples/dashboard/dashboard.js @@ -0,0 +1,53 @@ +/* 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 + } + } + }) +}()) -- cgit v1.2.3