react-native-responsive-linechart
react-native-responsive-linechart copied to clipboard
How do I animate a line chart?
After updating the state with new data I would like to animate a line chart.
I tried to do something like this:
data={
[
{x: new Animated.Value(0), y: 10},
{x: new Animated.Value(3), y: 15},
{x: new Animated.Value(6), y: 9},
]
}
But x is expected to be a number. How can I accomplish this?
Did you manage to find a solution? I'm having the same problem
Unfortunately not, I am still wondering how to do it
I ended up moving to victory native charts. It's a much better project that was animation support and customization.