You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this must relate to changes made to add the new feature "Added support for multiple data labels on each single point" in 6.2.0.
I'm getting the error:
Uncaught TypeError: Cannot read property 'options' of undefined
The problem occurs in the following bit of HC code:
each(dataLabels, function (label) {
var options = label.options; // <---- label is undefined here
// ...
});
Problem occurs when we somehow get to that part of the code with point.dataLabels being an array including one defined element and another undefined element: [H.SVGElement, undefined].
Problem seems to be confined to areasplinerange type (probably any range type), and can be reproduced in the following jsfiddle:
I tried returning blank strings already, but the problem is that I am using boxes around the labels, so they appear around the blank labels... see https://jsfiddle.net/2pq3fzhg/1/. Reverting to previous version is fine for now
I think this must relate to changes made to add the new feature "Added support for multiple data labels on each single point" in 6.2.0.
I'm getting the error:
The problem occurs in the following bit of HC code:
Problem occurs when we somehow get to that part of the code with
point.dataLabels
being an array including one defined element and another undefined element:[H.SVGElement, undefined]
.Problem seems to be confined to
areasplinerange
type (probably anyrange
type), and can be reproduced in the following jsfiddle:https://jsfiddle.net/jbhgkze2/
The text was updated successfully, but these errors were encountered: