F
Filament16mo ago
José

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
xy16mo ago
'datasets' => [ [ 'label' => 'Label', 'data' => $dataPoints, 'color' => 'danger', ], ],
José
JoséOP16mo ago
doesn't work, still same @ap3716
dissto
dissto16mo ago
have you tried "backgroundColor" or "borderColor" for the line charts?
daar
daar16mo ago
@dissomedia : that indeed works, I can confirm Issue can be closed
dissto
dissto16mo ago
well @daar_27927 you can mark this as resolved yourself 😛
Want results from more Discord servers?
Add your server