react-native-animated-charts
react-native-animated-charts copied to clipboard
Bad precision on interpolation
When making the calculations on the interpolator i'm getting numbers like 0.9999999999 making the graph change drastically when the numbers are equal when all Y is 1
[ {"x": 1610545770.339878, "y": 1}, {"x": 1610459370.352815, "y": 1}, {"x": 1610372970.354123, "y": 1}, {"x": 1610286570.355356, "y": 1}, {"x": 1610200170.356426, "y": 1}, {"x": 1610113770.357573, "y": 1}, {"x": 1610027370.358632, "y": 1}, {"x": 1609940970.359711, "y": 1} ]
I'm also facing this issue. Has anyone come up with a fix? Can we have d3 based interpolators to be supplied directly?