mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
23 lines
399 B
JavaScript
23 lines
399 B
JavaScript
|
module.exports = {
|
||
|
config: {
|
||
|
type: 'line',
|
||
|
data: {
|
||
|
labels: ['0', '1', '2', '3', '4', '5'],
|
||
|
datasets: [{
|
||
|
backgroundColor: 'red',
|
||
|
data: [3, -3, 0, 5, -5, 0],
|
||
|
fill: false
|
||
|
}]
|
||
|
},
|
||
|
options: {
|
||
|
plugins: {
|
||
|
legend: false,
|
||
|
title: false,
|
||
|
filler: {
|
||
|
drawTime: 'beforeDatasetsDraw'
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
},
|
||
|
};
|