react-native-chart-kit icon indicating copy to clipboard operation
react-native-chart-kit copied to clipboard

Can't plot anything other than evenly spaced out data points?

Open 1mike12 opened this issue 3 years ago • 1 comments

From everything I've seen, the data prop only accepts a 1 dimensional array of Y values, (or an array of 1 dimensional values in the case of multiple lines).

The implication then is that this chart cannot plot anything that's not uniformly spaced out data. What if wanted to plot something like a weight graph, where the X axis is the date, and Y the weight. The user isn't going to chart something every single day.

[[date: 1, weight 100], [date:15, weight: 102], [date:17, weight: 95]...]

is this pretty much not possible with this library?

1mike12 avatar May 16 '23 23:05 1mike12

v7.0.0 is now available, so we're closing older issues and PRs from previous versions to keep the tracker focused on the current release. Please try the new version, and if you still have an issue, open a new one with the latest details and a reproduction.

bermanto avatar Jun 27 '26 18:06 bermanto