echarts [Bug] Changing series with data and encode doesn't update axis

zysjyyx4  于 5个月前  发布在  Echarts
关注(0)|答案(2)|浏览(112)

Version

5.3.2

https://codepen.io/david-marquez-f/pen/mdxzQNG

Steps to Reproduce

  1. Create a line/bar chart with series that use data and encode. The encode is used to set the category and value of each data point.
  2. Change data by removing data points from the series

Current Behavior

The line points/bars in the categories removed disappear (expected) but the axis is not updated accordingly (it doesn't remove them)

If I also update the xAxis (I just put the same config that was used initially) it gets refreshed properly

Expected Behavior

In the same way that the data points are removed, so should be the axis categories:

Environment

- OS: Windows
- Browser: Any
- Framework:

Any additional comments?

No response

oxf4rvwz

oxf4rvwz1#

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.

kgqe7b3p

kgqe7b3p2#

It still happens i believe

相关问题