Events
'.$this->type.' Performance Moving Average
');
}
protected function getData(): array
{
$data = LoadPerformance::load($this->filters);
if ($data) {
HelperMoveingAveragePerformens::get($data);
}
return $data;
}
protected function getType(): string
{
return 'line';
}
protected function getOptions(): RawJs
{
return RawJs::make(<<<'JS'
{
interaction: {
intersect: false,
},
scales: {
x: {
title: {
display: true,
text: 'Days since today'
}
},
},
}
JS);
}
}