Chart.js/test/fixtures/element.line/default.js
Jukka Kurkela 7f97adf5a0 Move scale defining options up from ticks (#6738)
* Move scale defining options up from `ticks`
* Include `ticks.reverse` in v3-migration
2019-11-15 12:11:13 -05:00

27 lines
419 B
JavaScript

module.exports = {
config: {
type: 'line',
data: {
datasets: [
{
data: [{x: 1, y: 10}, {x: 5, y: 0}, {x: 15, y: -10}, {x: 19, y: -5}],
}
]
},
options: {
legend: false,
title: false,
scales: {
xAxes: [{type: 'linear', display: false, min: 0, max: 20}],
yAxes: [{display: false, min: -15, max: 15}]
}
}
},
options: {
canvas: {
height: 256,
width: 512
}
}
};