Home forums Using CanvasJS CanvasJS YAxis Interval Algorithm Help Reply To: CanvasJS YAxis Interval Algorithm Help

#19984

Indranil Deo
Member

@tieoneease,

How the YAxis intervals are auto-calculated for a linear graph without includeZero set?
How the YAxis intervals are auto-calculated for a logarithmic graph with a hard minimum of 1 and a range of values that go up to 1million. Sometimes we’re seeing the logarithmic graph leave out many ticks that we’d like, and we haven’t figured out how to avoid this.

Interval depends on the range and the number of ticks that could be shown for the width of the chart. Please take a look at this jsfiddle to add number of ticks based on your requirement.

____________
Indranil Deo,
Team CanvasJS