Chart.js/test/fixtures/scale.linear/tick-step-min-max-step-fp.js
Evert Timberg fea3f20762
Account for floating point error in niceNum helper (#9343)
* Account for floating point error in niceNum helper
* Better solution
2021-07-01 15:07:32 -04:00

25 lines
404 B
JavaScript

module.exports = {
description: 'https://github.com/chartjs/Chart.js/issues/9334',
config: {
type: 'line',
options: {
scales: {
y: {
display: false,
},
x: {
type: 'linear',
min: 7.2,
max: 21.6,
ticks: {
stepSize: 1.8
}
},
}
}
},
options: {
spriteText: true
}
};