echarts-for-react icon indicating copy to clipboard operation
echarts-for-react copied to clipboard

I can not append Data while Zooming

Open panda919 opened this issue 2 years ago • 2 comments

I gonna append candlestick data with socket channel on echart. But while zooming is running, if socket data is received, then append data occur error. image How to fix it? Also, DataZoom call back is triggered only dataZoom is finixhed. How to check datazooom is running?

panda919 avatar Oct 27 '23 08:10 panda919

Also running into this issue. I'm using echarts version 5.5.1. The only workaround I have as of now is to detect when the datazoom is zoomed in by following datazoom events, checking the bounds and if start is 0 and end is 100, I stop appending data, otherwise I enable it. This isn't a great workaround, because for my use case, users will probably want to zoom in on data as it comes in.

Unfortunately, this error pops up every once in a while too, and only when datazoom is active and new data is appended using appendData(), and this causes the chart to freeze entirely:

Screenshot 2024-11-05 at 2 40 58 PM

jploskey avatar Nov 05 '24 22:11 jploskey

Another issue is that when incrementally increasing data, the image display of datazoom is not normal. In theory, it displays only a portion of the data, but in reality, it displays all the loaded data content

Image

wszgrcy avatar Feb 13 '25 14:02 wszgrcy