Jukka Kurkela db74d2f44c
Linear: Respect bounds option in tick generation (#9181)
* Linear: Respect bounds option in tick generation
* Remove leftover _filterBetween
2021-05-29 17:32:03 -04:00

30 lines
451 B
JavaScript

module.exports = {
config: {
type: 'line',
data: {
labels: ['a', 'b'],
datasets: [{
borderColor: 'red',
data: [50, 75],
}, {
borderColor: 'blue',
data: [25, 50],
}]
},
options: {
scales: {
x: {
display: false
},
y: {
stacked: true,
bounds: 'data'
}
}
}
},
options: {
spriteText: true
}
};