statistico players wip

This commit is contained in:
salam committed 2026-05-22 16:42:20 +02:00
1 parent 314ab7885b
commit 5010e7ac02
12 files changed
+75 -54

No files matched your search

@@ -2,8 +2,9 @@
namespace App\Filament\Widgets;
use App\Actions\Statistics\LoadEvents;
use App\Actions\Statistics\StatisticType;
use App\Filament\Widgets\Data\HelperMoveingAverage;
use App\Filament\Widgets\Data\HelperStatisticType;
use App\Filament\Widgets\Data\PlayerLoad;
use Filament\Widgets\ChartWidget;
use Filament\Widgets\Concerns\InteractsWithPageFilters;
@@ -30,12 +31,12 @@ class MovingAverageChartPlayer extends ChartWidget
protected function getData(): array
{
$this->heading = StatisticType::get($this->filters);
$this->heading = HelperStatisticType::get($this->filters);
$data = LoadEvents::load($this->filters);
$data = PlayerLoad::load($this->filters);
if ($data) {
// MoveingAveragePlayer::get($data);
HelperMoveingAverage::get($data);
}
return $data;