[Bug] Custom series skipping first data point
Version
5.3.2
Link to Minimal Reproduction
https://tinyurl.com/22hb8uzv
Steps to Reproduce
- Create a chart with custom series type.
- Have dataset with 3 columns in it being datetime, datetime, string
- Make custom series use 0th and 1st columns for X axis and 2nd column for Y axis defining that in series.encode.x and series.encode.y respectively.
- series.renderItem should draw a bar for each datapoint starting form first datetime and ending at the second datetime.
Current Behavior
The first data point in dataset is skipped.
Expected Behavior
All data points in dataset should be rendered.
Environment
- OS: Windows 10
- Browser: Microsoft Edge Version 101.0.1210.32
- Framework: -
Any additional comments?
I have found a workaround which fixes the issue, but I'm not sure why there's an issue in the first place. Please check line no. 11 and uncomment it to see the bug fixed.
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!