Home Forums Chart Support Round Y-Axis Number Label Reply To: Round Y-Axis Number Label

#34857

@afreay,

Axis labels are shown at every interval which is auto-calculated based on parameters like axis minimum, axis maximum, etc. In your case, since the range of Y-Axis is small the labels are shown in decimals. Hence, using the valueFormatString will just round off the labels to the nearest whole number but won’t affect the interval, as a result, the labels might get repeated.

___________
Indranil Deo
Team CanvasJS