Home Forums Chart Support Why does a colored axis line remain on the other side when changing axisYType? Reply To: Why does a colored axis line remain on the other side when changing axisYType?

#59834

@diano4ka,

Although there are no dataseries attached to a particular y-axis, the axis line will still be shown on the chart since its properties have been defined in the axisY/axisY2 array of objects. Removing these objects from axisY/axisY2 should work fine in your case.

Please check this updated JSFiddle for a working example.


Thangaraj Raman
Team CanvasJS