Version
5.4.2
Link to Minimal Reproduction
https://jsfiddle.net/ovillani/Lwmzoepk/1/
Steps to Reproduce
- create a line chart with one ore more series of data
1.1. set all datapoints of one series to null
2. set option series > endLabel > show to true
Current Behavior
A script error occurs, saying "Uncaught (in promise) TypeError: aL(...).setLabelText is not a function"
Using dataZoom, this error is raised every time the null data are within the actual visible zoom frame - even when there are given datapoints !== null outside the visible range
Expected Behavior
prevent end-label output if no data available
Environment
- OS: win 10,11; Linux Mint; macOS
- Browser: Firefox, Chrome, Edge, Opera, Safari
- Framework: none
Any additional comments?
No response