[Chartjs]-How to plot a line with (x,y) points?

1👍

You are using a line chart which uses a catagory scale by default for the x axes and as you can read in this section of the docs that does not work with integers https://www.chartjs.org/docs/3.9.1/general/data-structures.html#object

So you will need to set options.scales.x.type to 'linear'

Leave a comment