[Chartjs]-Line segment styling in Vue-chartJS

1👍

Line segment styling is only available in Chart.js version 3. So to use it you will either need to ditch the vue wrapper and use chart.js barebone or you will need to switch to a wrapper that support chart.js V3 like vue-chart-3.

Keep in mind that chart.js V3 has some major breaking changes from V2 so you will need to rewrite you code. For more info about this you can read the migration guide.

If you want to keep using V2 of chart.js I suggest you read the V2 docs and not the V3 version

Leave a comment