[ 'legend' => [ 'display' => false, ], ], ]; public function getDescription(): ?string { return 'Player Moving Average'; } protected function getData(): array { $this->heading = HelperStatisticType::get($this->filters); $data = PlayerLoad::load($this->filters); if ($data) { HelperMoveingAverage::get($data); } return $data; } protected function getType(): string { return 'line'; } }