Chartjs-How can I get a point to be drown over the line?

0👍

You can switch your datasets so your dataset with the 2 points is first in the array.

Or you can add the order property in both datasets which takes a number, the higher this number the sooner that dataset gets drawn. So you will need to assign your dataset with the 2 points an order of 0 and the other an order of 1.

For more information about this you can read this part of the docs

Leave a comment