Skip to content

Commit 10828cc

Browse files
committed
improve chart style
1 parent 4a17c78 commit 10828cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Livewire/Chart/BaseLinkVisitChart.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ protected function getData(): array
4343
'backgroundColor' => 'rgba('.Color::Blue[400].', 0.5)',
4444
'borderColor' => 'rgb('.Color::Blue[400].')',
4545
'fill' => true,
46+
'tension' => 0.4,
4647
],
4748
[
4849
'label' => 'Visitors',
4950
'data' => $this->chartData(visitor: true),
5051
'backgroundColor' => 'rgba('.Color::Emerald[400].', 0.7)',
5152
'borderColor' => 'rgb('.Color::Emerald[400].')',
5253
'fill' => true,
54+
'tension' => 0.4,
5355
],
5456
],
5557
'labels' => $this->chartLabel(),

0 commit comments

Comments
 (0)