react-native-animated-charts
react-native-animated-charts copied to clipboard
monotoneCubicInterpolation function and ChartPath taking in more parameters then the documentation specifies
The monoToneCubicInterpolation function seems to be looking for a {data, range} parameter, and the ChartPath is looking for a children and data parameter. Even the example copied directly does not work. Do I have an incorrect version?
const points = monotoneCubicInterpolation({ data, range: 40 });
Use it this way
not working
try const points = monotoneCubicInterpolation({ data: state.data, range: 40 })
It works