Chart.js/test/fixtures/controller.line/showLines/false.js
Jukka Kurkela 91164e8c66
Line hide (#7612)
* Add support for description in fixtures
* Update datasetController to draw active(s) last
* Handle hiding of line by borderWidth
* Disable filling of scatter charts by default
* Make radar chart consistent with line
2020-07-13 13:20:05 -04:00

29 lines
462 B
JavaScript

module.exports = {
description: 'should draw all elements except lines',
config: {
type: 'line',
data: {
datasets: [{
data: [10, 15, 0, -4],
label: 'dataset1',
borderColor: 'red',
backgroundColor: 'green'
}],
labels: ['label1', 'label2', 'label3', 'label4']
},
options: {
legend: false,
title: false,
showLines: false,
scales: {
x: {
display: false
},
y: {
display: false
}
}
}
}
};