Closed
Description
Expected behaviour
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.
Live demo with steps to reproduce
https://jsfiddle.net/BlackLabel/r5kbh7ef/
Steps:
- Add a new, hidden series by clicking the 'Add series' button.
- Set the pattern moode in menu
- Set the full screen in menu
- Try to exit the full screen from the menu
Product version
Highcharts v10.3.1