The most complete library for Bar, Line, Area, Pie, Donut, Stacked Bar and Population Pyramid charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.
This bug only occurred on one of four developers machines however it seems that the isAnimated prop on the BarChart is causing a hard crash possibly related to a memory leak in the animation.
Steps to reproduce
Reproducing this bug has proven exceptionally difficult. I am running the latest Expo-supported version of the library. When changing the data of the graph, it seems the animation is causing a crash. We tried upgrading to the latest version of charts, rebuilding node modules, reinstalling the repo, changing iOS versions, disabling the new RN architecture and this was the only thing that worked.
Description
This bug only occurred on one of four developers machines however it seems that the isAnimated prop on the BarChart is causing a hard crash possibly related to a memory leak in the animation.
Steps to reproduce
Reproducing this bug has proven exceptionally difficult. I am running the latest Expo-supported version of the library. When changing the data of the graph, it seems the animation is causing a crash. We tried upgrading to the latest version of charts, rebuilding node modules, reinstalling the repo, changing iOS versions, disabling the new RN architecture and this was the only thing that worked.
https://github.com/user-attachments/assets/e4143ffd-862d-42ab-b45d-4853681f2fc5
Snack or a link to a repository
No response
version of react-native-gifted-charts
^1.4.43
React Native version
0.74.5
Platforms
iOS
Workflow
Expo Dev Client