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
Source:stackexchange.com