mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
25 lines
445 B
JavaScript
25 lines
445 B
JavaScript
|
module.exports = {
|
||
|
threshold: 0.01,
|
||
|
config: {
|
||
|
type: 'line',
|
||
|
data: {
|
||
|
labels: ['2015-01-01T12:00:00', '2015-01-02T21:00:00', '2015-01-03T22:00:00', '2015-01-05T23:00:00', '2015-01-07T03:00', '2015-01-08T10:00', '2015-01-10T12:00']
|
||
|
},
|
||
|
options: {
|
||
|
scales: {
|
||
|
x: {
|
||
|
type: 'time',
|
||
|
},
|
||
|
y: {
|
||
|
display: false
|
||
|
}
|
||
|
},
|
||
|
legend: false
|
||
|
}
|
||
|
},
|
||
|
options: {
|
||
|
spriteText: true,
|
||
|
canvas: {width: 1000, height: 200}
|
||
|
}
|
||
|
};
|