Chart.js/test/fixtures/scale.time/labels-strings.js
Jukka Kurkela 416062bf68
Update tick positioning (#8657)
* Update tick positioning
* Update tests
2021-03-17 18:22:21 -04:00

25 lines
501 B
JavaScript

module.exports = {
threshold: 0.05,
tolerance: 0.002,
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
}
}
}
},
options: {
spriteText: true,
canvas: {width: 1000, height: 200}
}
};