Is it possible to animate a line graph?
BigPun86 opened this issue · 4 comments
Hey there, is it possible to animate the line chart, when the chartData has changed?
I want to display a line chart which has three different datas. When i click a button for example the linegraph should animate to the next chartData array...
Any hints? :P
Hello. I'm actually working behind the scenes to transition this project to use react-native-svg instead of react-native ART objects. SVG transforms are supported in RN SVG, but I don't have much experience with it.
You can make the line chart animate such that it grows from the bottom, in the meantime. If you're interested I can post a snippet.
I would appreciate if you could post a snippet of the animation code, please!
Yes! I'm really sorry for not maintaining properly, swamped with work right now. The branch is react-native-svg
, and so far only the LineChart supports it. Would love any PRs that convert the bar chart or pie chart to use SVG objects.