Reputation: 6487
Is there a way to pass a dataset to x-axis with ChartJS? Documentation says:
The line chart requires an array of labels for each of the data points. This is show on the X axis.
What I mean is not labels, integers. i.e. (1,y) (11,y) should be away from each other 10 units.
Upvotes: 4
Views: 1706