Bug report
When the formater returns a value, the next value to format is going to be incrrect.
For example, look at the below codepen.
If change the formatter of label to undefined, tickAmount will work fine
If change the formatter of label to console.log, we will see that correct value is printed in the console
But if change the formatter to v=>v that a function returns a value, there will be only 3 ticks of yaxis
Codepen
https://codepen.io/sdutwsl/pen/vYXLpEV
Explanation
-
What is the behavior you expect?
There should be six ticks default.
-
What is happening instead?
With formatter, only few ticks was displayed.
-
What error message are you getting?
There is no error message.