Hello,
I faced the next problem – there are too few ticks on the yAxis. For instance it shows me 3 ticks (1000, 2000, 3000) with pretty big gaps between them.
I have found next code and want to ask if it is correct.
var noTicks = this.type === "axisX"
? (this.maxWidth < 500 ? 8 : Math.max(6, Math.floor(this.maxWidth / 62)))
: Math.max(Math.floor(this.maxWidth / 40), 2);
Is it right, that second expression Math.max(Math.floor(this.maxWidth / 40), 2)
uses maxWidth property?
-
This topic was modified 8 years, 9 months ago by samushenkov.