mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
29 lines
402 B
JavaScript
29 lines
402 B
JavaScript
|
module.exports = {
|
||
|
threshold: 0.01,
|
||
|
config: {
|
||
|
type: 'line',
|
||
|
data: {
|
||
|
labels: ['2015-01-01T20:00:00', '2015-01-02T21:00:00'],
|
||
|
},
|
||
|
options: {
|
||
|
scales: {
|
||
|
x: {
|
||
|
type: 'time',
|
||
|
bounds: 'ticks',
|
||
|
time: {
|
||
|
minUnit: 'day'
|
||
|
}
|
||
|
},
|
||
|
y: {
|
||
|
display: false
|
||
|
}
|
||
|
},
|
||
|
legend: false
|
||
|
}
|
||
|
},
|
||
|
options: {
|
||
|
spriteText: true,
|
||
|
canvas: {width: 256, height: 128}
|
||
|
}
|
||
|
};
|