Home Forums Report Bugs Bug with negative values when try to hide y axis Reply To: Bug with negative values when try to hide y axis

#21111

Pavlo,

The behaviour is due to the valueFormatString that you are using. For negative values, the dashes in axis labels are nothing but ‘-‘ (minus). To hide labels, I would suggest you to use labelFormatter as valueFormatString just defines how the value should be formatted before showing in label. Please take a look at this JSFiddle.


Vishwas R
Team CanvasJS