indiespirit / react-native-chart-kit

đź“ŠReact Native Chart Kit: Line Chart, Bezier Line Chart, Progress Ring, Bar chart, Pie chart, Contribution graph (heatmap)

Home Page:https://expo.io/@indiespirit/react-native-chart-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

1mike12 opened this issue · 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?