aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.2/examples/dashboard/dashboard.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2019-02-11 11:15:34 -0800
committerGitHub <[email protected]>2019-02-11 11:15:34 -0800
commit1ded0d6a4eefb7daca62c44e4e735aec200f0b6f (patch)
treee0036e5068cfb8e2c17971c4e892bd6b502dda9a /site/docs/4.2/examples/dashboard/dashboard.js
parent3aa0770b711f69c4dcf5858b8913794e81b32d80 (diff)
downloadbootstrap-4.3.0.tar.xz
bootstrap-4.3.0.zip
Release v4.3.0 (#28228)v4.3.0
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
Diffstat (limited to 'site/docs/4.2/examples/dashboard/dashboard.js')
-rw-r--r--site/docs/4.2/examples/dashboard/dashboard.js53
1 files changed, 0 insertions, 53 deletions
diff --git a/site/docs/4.2/examples/dashboard/dashboard.js b/site/docs/4.2/examples/dashboard/dashboard.js
deleted file mode 100644
index de4a6347a..000000000
--- a/site/docs/4.2/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
- }
- }
- })
-}())