Closed 100pah closed 2 years ago
I also experience more performance hit when zooming using "inside" compared to "slider."
The getShallow
took significant amount of time:
I'm not sure but it seems because slider zoom have throttle but inside zoom doesn't
I am happy to be reached out if more info is needed when you start to investigate this issue. The zooming and panning are pretty laggy when more than ~1000 points in the window.
Version
5.1.2
Steps to reproduce
Drag dataZoom slider bar, the rendering time is OK. But pan on cartesian (that is, using
dataZoom 'inside'
), there is slow rendering, mainly caused on re-render of shadow in dataZoom slider (show in picture below, 289ms), which is unnecessary because it never changed.What is expected?
The performance of
dataZoom 'inside'
should the same asdataZoom 'slider'
.