diff --git a/app/Filament/Widgets/ChartMovingAveragePlayer.php b/app/Filament/Widgets/ChartMovingAveragePlayer.php index 4c93bbbe..e864dc83 100644 --- a/app/Filament/Widgets/ChartMovingAveragePlayer.php +++ b/app/Filament/Widgets/ChartMovingAveragePlayer.php @@ -32,11 +32,6 @@ class ChartMovingAveragePlayer extends ChartWidget ], ]; - public function getDescription(): ?string - { - return 'Moving Average'; - } - protected function getData(): array { if ($this->filters['statistic_type'] == 'crn') { @@ -45,7 +40,7 @@ class ChartMovingAveragePlayer extends ChartWidget $this->heading = 'Player'; - $this->description = HelperStatisticType::get($this->filters); + $this->description = HelperStatisticType::get($this->filters).' Moving Average'; $data = LoadPlayer::load($this->filters);