Chartjs-Chart.js: Line ends in the middle of the chart โ€“ Is there a possibilty to extend the line to the edge of the chart?

3๐Ÿ‘

If you need the rows with the last value, you can simply add them to the dataset array. Just add the elements (with the last value) between the current element index and the entire length.

By the way, you can check line API here -> https://www.chartjs.org/docs/latest/configuration/elements.html#line-configuration

Leave a comment