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