You must be logged in to post your query.
Home › Forums › Chart Support › Chart with Multiple Y Axis and Hide Unhide Data Series on Legend Click
Tagged: Axis, Hide, legend, Multiple Y
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.
maximum:
Here is my JSfiddle live example
Can you help me to debug it please ?
Best regards.
Hi,
Any help we be very appreciate, thx :)
In case here is my Stackoverflow question
@oijkn,
Thanks for reporting. We are looking into it and get back to you at the earliest.
— Vishwas R
@Vishwas R,
Thank you for your support, i hope you can solve it :)
@vishwas
Do you have any good news about this issue ? Thx
BR.
This is the intended behavior. When you set axis maximum/minimum, axis scale won’t be hidden.
— Vishwas R Team CanvasJS
Ok, so how i can manage it, please ? Any alternative ?
Thank you in advance.
As a work-around you can set maximum to null on click of legend. Please check this jsfiddle.
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
You must be logged in to reply to this topic. Login/Register