Line Chart change background color

Hi I have a line chart that has custom background color. I've managed to change the all colors like border, background and hover. However, in tooltip, I can't update the legend background color. Please see attached image. How can I change that blue color to red?
No description
1 Reply
lazydog
lazydog2mo ago
This is my current setup
[
'label' => 'Clicks',
'data' => $data['clicks'] ?? [],
'fill' => false,
'borderColor' => 'red',
'backgroundColor' => 'red',
'pointHoverBackgroundColor' => 'red',
'tension' => 0.4,
]
[
'label' => 'Clicks',
'data' => $data['clicks'] ?? [],
'fill' => false,
'borderColor' => 'red',
'backgroundColor' => 'red',
'pointHoverBackgroundColor' => 'red',
'tension' => 0.4,
]