JesperLekland / react-native-svg-charts

📈 One library to rule all charts for React Native 📊
MIT License
2.36k stars 410 forks source link

Animation on PieChart #253

Open arekzaluski opened 6 years ago

arekzaluski commented 6 years ago

Is animation supported on PieChart component? I tried it but it doesn't seem to work for me.

ossareh commented 6 years ago

I have produced a very simple example of this not working

https://github.com/ossareh/BrokenChartDemo/tree/jesper-example

That repo also has another branch called victory-example which demonstrates victory-charts not working in exactly the same manner. @JesperLekland could there be a problem either with react-native or react-native-svg?

ossareh commented 6 years ago

@arekzaluski I'd like to point you to an example that I managed to get working: https://github.com/ossareh/BrokenChartDemo/tree/jesper-example-working

The layout of the example is a bit random (it's as UI component that we're working on), so there is some superfluous code in the example but I think it is still pretty straight forward - let me know if not.