Home forums Using CanvasJS Chart with Multiple Y Axis and Hide Unhide Data Series on Legend Click

This topic contains 8 replies, has 2 voices, and was last updated by  oijkn 7 months, 3 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #14351

    oijkn
    Member

    Hello,

    At first i would like to thank you for this great stuff !!

    I use your code in my project and it worked fine until now.
    Here is the two examples from your web site :

    Multiple Y Axis
    Hide Unhide Data Series on Legend Click

    Since i added the option maximum: to my axisY2 var the scale no longer hides by clicking in the legend.

    Here is my JSfiddle live example

    Can you help me to debug it please ?

    Best regards.

    #14370

    oijkn
    Member

    Hi,

    Any help we be very appreciate, thx :)

    In case here is my Stackoverflow question

    Best regards.

    #14371

    Vishwas R
    Keymaster

    @oijkn,

    Thanks for reporting. We are looking into it and get back to you at the earliest.


    Vishwas R

    #14373

    oijkn
    Member

    @vishwas R,

    Thank you for your support, i hope you can solve it :)

    Best regards.

    #14400

    oijkn
    Member

    @vishwas

    Hello,

    Do you have any good news about this issue ? Thx

    BR.

    #14413

    Vishwas R
    Keymaster

    @oijkn,

    This is the intended behavior. When you set axis maximum/minimum, axis scale won’t be hidden.


    Vishwas R
    Team CanvasJS

    #14421

    oijkn
    Member

    @vishwas

    Ok, so how i can manage it, please ? Any alternative ?

    Thank you in advance.

    BR.

    #14442

    Vishwas R
    Keymaster

    @oijkn,

    As a work-around you can set maximum to null on click of legend. Please check this jsfiddle.


    Vishwas R
    Team CanvasJS

    #14457

    oijkn
    Member

    @vishwas

    Thank you for putting me in the right way :)

    I solved this issue and here an workable example jsfiddle

    Tell me if it’s ok for you and i hope that can help someone else :)

    BR

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

You must be logged in to reply to this topic.