Linear: Respect bounds option in tick generation (#9181)

* Linear: Respect bounds option in tick generation
* Remove leftover _filterBetween
This commit is contained in:
Jukka Kurkela
2021-05-30 00:32:03 +03:00
committed by GitHub
parent 8c63351067
commit db74d2f44c
3 changed files with 38 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
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
}
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB