wip
This commit is contained in:
1 parent
d30eb76442
commit
01a3f41ec0
6 files changed
+210
-14
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Widgets;
|
||||
|
||||
use Filament\Widgets\ChartWidget;
|
||||
|
||||
class MovingAverageChart extends ChartWidget
|
||||
{
|
||||
public ?array $filters = [];
|
||||
|
||||
public ?string $header;
|
||||
|
||||
protected function getData(): array
|
||||
{
|
||||
$this->heading = $this->header;
|
||||
|
||||
return $this->filters;
|
||||
}
|
||||
|
||||
protected function getType(): string
|
||||
{
|
||||
return 'line';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user