react-native-animated-charts
react-native-animated-charts copied to clipboard
Invalid data?
Why this data doesnt work?
[{"x": 0, "y": 678}, {"x": 21, "y": 779}, {"x": 37, "y": 888}, {"x": 64, "y": 989}, {"x": 93, "y": 1091}, {"x": 137, "y": 1203}, {"x": 155, "y": 1311}, {"x": 174, "y": 1433}, {"x": 196, "y": 1534}, {"x": 221, "y": 1641}, {"x": 242, "y": 1752}, {"x": 261, "y": 1857}]
later: interpolator({ elevationData, range: 80 });
It keeps returning empty arrays / errors.
Maybe try interpolator({data: elevationData, range:80)}?
@marcibk did you end up resolving this?