Open lukwallace opened 5 years ago
This is true of small datasets as well:
_.nw.niceTicks(0, 0.022, undefined)
// creates [0, 0, 0, 0, 0]
We also have a report of issues with large datasets, but I'm unable to reproduce. This is what the user reported:
After investigation, the labels were essentially floating point bugs where the label would want to be 1000000.0000000000000002 and would get changed to 1.0000000000000002M.
We should investigate if it's possible using niceTicks
or if they were overwriting the formatter (or similar).
yAxis tick value generation uses a
niceTicks
function that seems to generate some not so nice ticks on certain datasets:Found while testing with data set: [-16575919.58, 0, 0, 0]