Changing a line chart inner circle color

I've been searching the documentation but I can't find where I can change the inner color of my square. I've also checked the JS docs but same: no results. Anybody that can help me out? In my datasets I have the following array:
protected function getData(): array
{
return [
'datasets' => [
[
'label' => 'Users',
'data' => $this->getUserStats()->map(fn (TrendValue $value) => $value->aggregate),
'backgroundColor' => '#E8F5E9',
'borderColor' => '#4CAF50',
'tension' => 0.5,
],
],
'labels' => $data->map(fn (TrendValue $value) => $value->date),
];
}
protected function getData(): array
{
return [
'datasets' => [
[
'label' => 'Users',
'data' => $this->getUserStats()->map(fn (TrendValue $value) => $value->aggregate),
'backgroundColor' => '#E8F5E9',
'borderColor' => '#4CAF50',
'tension' => 0.5,
],
],
'labels' => $data->map(fn (TrendValue $value) => $value->date),
];
}
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?