wuba / react-native-echarts

📈 React Native ECharts Library: An awesome charting library for React Native, built upon Apache ECharts and leveraging react-native-svg and react-native-skia. Offers significantly better performance compared to WebView-based solutions.
https://wuba.github.io/react-native-echarts/
Apache License 2.0
740 stars 26 forks source link

performance issue for animation #195

Open Kathir2002 opened 3 weeks ago

Kathir2002 commented 3 weeks ago

I have used react-native-echarts for bar chart, i have other animation in my page, Bar chart slows down the other animations and it feels laggy, if i comment down the Bar Chart component then the other animations works normally.

And i have another issue i open the tooltip by click the axes and then i want to close the tooltip when clicking outside the bar chart file.

react-native-echarts rerender the chart for other state updates, which state are not corresponds to the BarChart Data.

Thanks in Advance 😊

zhiqingchen commented 3 weeks ago

It seems that the two components influence each other. The two parts can be split into their respective components to reduce the re-rendering of the bar chart.

More information needs to be provided, such as a demo or sample code that can be reproduced.