Home forums Using CanvasJS show hide yaxis in case of multiYaxis

This topic contains 3 replies, has 2 voices, and was last updated by  Priyanka M S 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22284

    aksangwan
    Member

    Show/hide yaxis in case of multiaxises by dynamically/programitically.

    #22290

    Priyanka M S
    Member

    @aksangwan,

    Please take a look at this jsfiddle. Here you can hide/show dataSeries along with its y-axis on clicking legends.

    __
    Priyanka M S
    Team CanvasJS

    #22302

    aksangwan
    Member

    Thanks for the reply,but need to hide whole axis not just value, because in case of multi axises, axies take more graph area, so i need to hide whole axis when hide the series…

    #22330

    Priyanka M S
    Member

    @aksangwan,

    Please take a look at this workaround that works fine when you hide and unhide dataSeries consecutively. However, you can try improving it further.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.