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

Why does a colored axis line remain on the other side when changing axisYType?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #59831

    Why does a colored axis line remain on the other side when changing axisYType?
    For example, both axes are primary, then everything is fine, but if you change the type of one y-axis to secondary, then it will display on the other side, but the colored line will remain.
    https://jsfiddle.net/eyfLt706/

    #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

    #59866

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.