You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only animates on enter, if you update the data it does not animate between old and new data set. However, it does animate between old and new data set if you remove yAxisOffset. This happens when yAxisOffset > 0.
I would expect it to still be able to animate between the data sets, even with yAxisOffset defined. For now, I'm passing in a key so that it animates from scratch for every new data set, which isn't too bad but it would be preferred if it could animate the line like it does when we set animateOnDataChange.
Snack or a link to a repository
No response
version of react-native-gifted-charts
1.4.41
React Native version
0.73.4
Platforms
iOS
Workflow
React Native
The text was updated successfully, but these errors were encountered:
Description
animateOnDataChange
does not work whenyAxisOffset
is set.It works fine when
yAxisOffset
is not set but otherwise it does not work.Steps to reproduce
You can reproduce using this code:
This only animates on enter, if you update the
data
it does not animate between old and new data set. However, it does animate between old and new data set if you removeyAxisOffset
. This happens whenyAxisOffset
> 0.I would expect it to still be able to animate between the data sets, even with
yAxisOffset
defined. For now, I'm passing in a key so that it animates from scratch for every new data set, which isn't too bad but it would be preferred if it could animate the line like it does when we setanimateOnDataChange
.Snack or a link to a repository
No response
version of react-native-gifted-charts
1.4.41
React Native version
0.73.4
Platforms
iOS
Workflow
React Native
The text was updated successfully, but these errors were encountered: