[ 'legend' => [ 'display' => false, ], ], 'interaction' => [ 'intersect' => false, ], ]; protected function getData(): array { $this->heading = 'Events '.HelperStatisticType::get($this->filters); $data = LoadEvents::load($this->filters); if ($data) { HelperMoveingAverage::get($data); $this->description = 'Moving Average '.$data['description']; } return $data; } protected function getType(): string { return 'line'; } }