[Chartjs]-Change point style in Chartjs via external event

1👍

As illustrated in this jsfiddle

So it’s not this:

myChart.data.datasets[0].data[chartIndex].pointBackgroundColor = 'white';

But this:

myChart.data.datasets[0].pointBackgroundColor[chartIndex] = 'white';

Leave a comment