echarts
echarts copied to clipboard
Data Zoom series has gaps while series "connectNulls" is true
Version
5.1.2
Reproduction link
https://codepen.io/mihailtrunov/pen/qBjRpBv
Steps to reproduce
-
Set axis types as: X - "time", Y - "value".
-
Define "line" series with data that has some values as undefined.
-
Set "connectNulls" setting for this series to true.
What is expected?
As the "connectNulls" is true it is expected that data zoom representation will have null values connected similarly to the main chart line rendering.
What is actually happening?
Data zoom series representation is rendered with gaps regardless of the "connectNulls" value being set.
Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.
A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.
If you are interested in the project, you may also subscribe to our mailing list.
Have a nice day! 🍵
I also encountered the same problem. After setting connectNulls, it was indeed continuous, but when the amount of data was large, some areas showed discontinuity。
When I use the dataZoom function to do a small area of observation, it is still continuous。
seems like caused by #4235: