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
Use Series.update(options, boolean) with empty series (a series with no data that serves as a container) that has other series linked to it
Actual behaviour
When using series.update() it throws an error:
VM626 highstock.js:392 Uncaught TypeError: Cannot read property 'options' of undefined
I think what happens is that during the execution of series.update(), at some point a "Navigator" series is being linked to the series that is being updated, then the link is deleted leaving an empty object linked to the series, and then setVisible() tries to read the property of that empty object.
This only happens when a series that is linked to another series is shown in the navigator. That is, if you set the property showInNavigator to false of "Series 1", then everything works fine.
Affected browser(s)
I've tested it on Chrome and Firefox (latest releases).
The text was updated successfully, but these errors were encountered:
Internal note:
It looks like linkedTo forces navigator series to hide before series is linked to the parent. What is strange: even redraw=true doesn't resolve the issue.
Expected behaviour
Use Series.update(options, boolean) with empty series (a series with no data that serves as a container) that has other series linked to it
Actual behaviour
When using series.update() it throws an error:
VM626 highstock.js:392 Uncaught TypeError: Cannot read property 'options' of undefined
I think what happens is that during the execution of series.update(), at some point a "Navigator" series is being linked to the series that is being updated, then the link is deleted leaving an empty object linked to the series, and then setVisible() tries to read the property of that empty object.
Live demo with steps to reproduce
https://jsfiddle.net/rredondo/xxkmg51y/
This only happens when a series that is linked to another series is shown in the navigator. That is, if you set the property showInNavigator to false of "Series 1", then everything works fine.
Affected browser(s)
I've tested it on Chrome and Firefox (latest releases).
The text was updated successfully, but these errors were encountered: