[Chartjs]-Chart.js – Line charts with different colors for each border lines

6👍

You will have to use two datasets.

Then for the second dataset, you can do something like this:

borderColor: [null, #fff]

On the third dataset, you would add two null‘s and etc.

Source: https://github.com/chartjs/Chart.js/issues/2430

Leave a comment