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
After adding a new series with visible: false property, setting a color.patternIndex property on another series, and viewing it in the full screen, I should be able to exit the full screen by clicking it in the menu.
Actual behaviour
After adding a new series with visible: false property, setting a color.patternIndex property on another series, viewing it in the full screen and trying to exit the full screen by clicking it in the menu, the TypeError: undefined is not an object (evaluating 'a.points.forEach') error occures.
Unfortunately, it is impossible to workaround, since this part of code is added via addEvent.
Possible fix would involve checking series' visibility here:
Activity
pawellysy commentedon Nov 18, 2022
Hello @KamilKubik, thanks for reporting this issue!
Simplified demo: https://jsfiddle.net/BlackLabel/r5kbh7ef/1/
Unfortunately, it is impossible to workaround, since this part of code is added via
addEvent.Possible fix would involve checking series' visibility here:
highcharts/ts/Extensions/PatternFill.ts
Lines 637 to 651 in 5015369