Chart.js/test/fixtures/element.line/default.js
Jukka Kurkela 021561072b
Disable all plugins when options.plugins = false (#8098)
Disabling all plugins when options.plugins = false
2020-11-23 17:58:03 -05:00

25 lines
372 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: {
scales: {
x: {type: 'linear', display: false, min: 0, max: 20},
y: {display: false, min: -15, max: 15}
}
}
},
options: {
canvas: {
height: 256,
width: 512
}
}
};