apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.6k stars 19.58k forks source link

[Bug] candlestick in combination with scatter / bar and datazoom causes rendering issues #19981

Open xmatthias opened 1 month ago

xmatthias commented 1 month ago

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html

Steps to Reproduce

Use the candlestick-brush example and change one of the MA lines to type "scatter". (full transparency: i've also changed the opacity of the lines to improve visibility).

Now flick the scroll wheel - until you see a "rendering problem" appear.

For the video, i've also added a bar-chart - which makes reproduction slightly easier - but the bar-chart is not really necessary (the problem happens on either bar or scatter or both - combined with the candlestick chart.

https://github.com/apache/echarts/assets/5024695/69100e89-9507-4d65-8f6a-9ebddad0e809

setting "large" to true on all line / scatter series does not make the problem go away.

Now while the scrolling in the video is extreme to trigger this quickly - i've had other cases where simple scrolls (in/out/in) do trigger this already - and it's been noticed by our users in several occasions now.

Current Behavior

image

Expected Behavior

Well - no rendering issues in any combination

Environment

- OS: linux
- Browser: chromium, firefox
- Framework: Examples...

Any additional comments?

No response

michaelmoopenn commented 1 week ago

Got same issue!