tmscer opened a new issue #14689: URL: https://github.com/apache/echarts/issues/14689
### Version 5.1.0 ### Reproduction link [https://codepen.io/tmscer/pen/wvgxKNR](https://codepen.io/tmscer/pen/wvgxKNR) ### Steps to reproduce Use a series line with `connectNulls: false` and `sampling: 'lttb'` (may be reproducible with other sampling methods) and have a null value in your data. ### What is expected? I'd expect null values to never be connected with regular values. ### What is actually happening? When zoomed out, regular values are connected with null values. When zoomed in, the line between regular values and nulls disappears and behaves as expected. --- I suspect this may be caused by the sampling algorithm since when no sampling is used, null values are never connected with regular ones. I'm not sure what version of Echarts is used in the codepen, however, the bug is reproducible in 5.1.0. To see the bug, zoom in the flat line. At the end of it, there is a null. <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
