Chartjs-Chartjs – Changing legend as a line with pointsyle of circle?

0👍

Please read the migration guide to chart.js version 3, it has some.breaking changes for example legend config has been moved to the plugins section so you will have to do options: { plugins: { legend: {} } }

After that it should work, otherwise they have an example online where you can look at to see what’s different https://www.chartjs.org/docs/latest/samples/legend/point-style.html

Leave a comment