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. ie (1,y) (11,y) should be away from each other 10 units.
Try to use Chart.Scatter plugin. It allows to specify X-axis scale
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.