/
usr
/
share
/
doc
/
libjs-bootstrap4
/
examples
/
dashboard
/
/usr/share/doc/libjs-bootstrap4/examples/dashboard
mkdir
upload
Name
Size
Mode
Actions
dashboard.css
1662
0644
edit
dl
rm
dashboard.js
953
0644
edit
dl
rm
index.html
7756
0644
edit
dl
rm
Edit:
/usr/share/doc/libjs-bootstrap4/examples/dashboard/dashboard.js
(953B)
/* 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 } } }) })()
Save
cmd:
run