echarts
echarts copied to clipboard
[Bug] drilldown chart problems with specific data in datasets
Version
5.4.1
Link to Minimal Reproduction
Steps to Reproduce
two code examples
Current Behavior
Stumbled on this by doing state-to-county drilldown. Turns out the US states of Arkansas, Hawaii, Oklahoma have counties with the same names. To replicate I updated the ECharts example by adding an extra record in cars.
- click on the cars bar: the actual drilldown works fine, except the morphing is not right - cars clones to cars only instead of cloning to all (Toyota,Opel,cars,Volkswagen).
- press the Back button to return to the higher level bars. A more serious problem appears - the cars bar is misplaced. Looks like the lower-level bar stays and do not get replaced. Resizing the chart fixes it.
Expected Behavior
being able to use any data, even identical rows in both high level and lower level datasets for drilldown with correct display
Environment
- OS: win 10
- Browser: chrome
- Framework: none
Any additional comments?
The bug is observed when the higher level data is in dataset only, series.data is not affected (as in original example)
@helgasoft I saw you helping a lot in other issues. Since most of our contributors are working with their spare time on this project, it would be great if you could make a pull request on issues you care. Here's the Wiki: https://github.com/apache/echarts/wiki. And thanks for help the community!
@Ovilia, you are welcome! I may give it a try.
I’m having the same issue sadly.