In case anyone wonders… This has been fixed in 2.0 and works perfectly!
thanks for your reply,
I suppose that will work, but the reason I have the labels vertically in the first place is to make sure that all my charts y-axis align with each other when the charts are lined up over and under each other. Also, the range of the values in my use case vary a lot.
So, an option to be able to have higher z-index on the label than the actual chart would be greatly appreciated.
Thanks again for your input. I’ve been looking forward to this feature for a long time and is the sole reason for for extending my subscription. Works very well!
Hi,
Thanks for your reply.
I should have been more clear by using a jsfiddle, sorry.
But, looking at this fiddle, it’s more visible what my issue is: https://jsfiddle.net/QwZuf/806/
A nice solution would be if it was optional to have the label overlap the chart a bit in order for the value to be fully shown.
Looks like something I can work further on. Thanks!
True, it all makes sense that width/height calculation are incorrect when not shown.
Thanks for your jsFiddle examples! Very helpful!
Well sort of… if i understand your code correct, it simply hides some staples when its zoomed out?
What i want to achieve is for my code to draw averages in a line chart when zoomed out, but show the fine data when zoomed in.
Just tested your fix and it works beautifully! Thanks!
Vishwas R,
I managed to recreate the issue.
v1.9.2 GA: http://jsfiddle.net/QwZuf/512/ Everything works as intended. If you zoom a small width where the line is at it’s lowest point, you’ll see that the y-axis range adapts to the zoomed data.
v1.9.5 GA: http://jsfiddle.net/QwZuf/513/ Not same behavior as in 1.9.2. Y-axis never adapts.
Do you have any public links to v1.9.2 GA and v1.9.5 GA I can include in the fiddle?