@php use Filament\Support\Facades\FilamentView; use Filament\Widgets\View\Components\ChartWidgetComponent; use Illuminate\View\ComponentAttributeBag; $color = $this->getColor(); $heading = $this->getHeading(); $description = $this->getDescription(); $filters = $this->getFilters(); $isCollapsible = $this->isCollapsible(); @endphp @if ($filters || method_exists($this, 'getFiltersSchema')) @if ($filters) @foreach ($filters as $value => $label) @endforeach @endif @if (method_exists($this, 'getFiltersSchema')) {{ $this->getFiltersTriggerAction() }}
{{ $this->getFiltersSchema() }}
@endif
@endif
getPollingInterval()) wire:poll.{{ $pollingInterval }}="updateChartData" @endif >
color(ChartWidgetComponent::class, $color) }} > getMaxHeight()) style="max-height: {{ $maxHeight }}" @endif >