How give different color to every line of Chart label

Hello, how give different color to every line of chart label ? so that it is visually read better...attached capture
5 Replies
xy
xy2y ago
'datasets' => [ [ 'label' => 'Label', 'data' => $dataPoints, 'color' => 'danger', ], ],
José
JoséOP2y ago
doesn't work, still same @ap3716
dissto
dissto2y ago
have you tried "backgroundColor" or "borderColor" for the line charts?
daar
daar2y ago
@dissomedia : that indeed works, I can confirm Issue can be closed
dissto
dissto2y ago
well @daar_27927 you can mark this as resolved yourself 😛

Did you find this page helpful?