Version
6.1
Link to Minimal Reproduction
https://jsfiddle.net/Lvop3jc7/
Steps to Reproduce
- Add a series with markLine and then inside the data of the markLine have one empty object
markLine: { data: [ { "yAxis": 1 }, {}, { "yAxis": 3 }, ] }
Current Behavior
No markLine is rendered.
There is a error Uncaught TypeError: Cannot read properties of undefined (reading 'coord')
Expected Behavior
The empty markLine is skipped in rendering, but the other marklines are rendered. No error.
Environment
- OS: Windows 11
- Browser: Chrome
- Framework:
Any additional comments?
No response
Version
6.1
Link to Minimal Reproduction
https://jsfiddle.net/Lvop3jc7/
Steps to Reproduce
markLine: { data: [ { "yAxis": 1 }, {}, { "yAxis": 3 }, ] }Current Behavior
No markLine is rendered.
There is a error Uncaught TypeError: Cannot read properties of undefined (reading 'coord')
Expected Behavior
The empty markLine is skipped in rendering, but the other marklines are rendered. No error.
Environment
Any additional comments?
No response