Jukka Kurkela 7c3a412887
Add includeBounds option for cartesian ticks (#9020)
* Add includeBounds option for cartesian ticks

* Types, test and fix

* lint

* Improve linear tick min/max collision detection

* Update comments
2021-05-07 09:03:37 +03:00

27 lines
402 B
JavaScript

module.exports = {
config: {
type: 'scatter',
options: {
scales: {
y: {
max: 1225.2,
min: 369.5,
ticks: {
includeBounds: false
}
},
x: {
min: 20,
max: 100,
ticks: {
includeBounds: false
}
}
}
}
},
options: {
spriteText: true
}
};