Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Console errors "<text> attribute x: Expected length, "NaN"" when plotBands.label.text is set, and toggling visibility of series. #7175
Clean console, and label.text should be hidden after click on series in legend.
Everything works correctly upper to version 5.0.9.
Live demo with steps to reproduce
referenced this issue
Oct 2, 2017
Could this still be an issue?
I'm getting the same error here, but only when I try applying a fullscreen class to the chart:
Any reason why this would happen? The
Also, not sure why the number 11 is showing on the Y axis. This is something I've been looking into for a while in a number of charts.
Would really appreciate any help, and happy to open another issue report if that's more appropriate.
I can't see this error in your demo - what do you mean by applying a fullscreen class? I can't see a reference to that in the code either.
Regarding the number eleven, it is because the Y axis adds another category to make room for the bubbles, and since there is no category 11, it just prints the number. An empty string will fix that: http://jsfiddle.net/highcharts/Lxn82jdr/2/.