@php use Filament\Support\Facades\FilamentView; $color = $this->getColor(); $heading = $this->getHeading(); $description = $this->getDescription(); $filters = $this->getFilters(); @endphp @if ($filters) @foreach ($filters as $value => $label) @endforeach @endif
getPollingInterval()) wire:poll.{{ $pollingInterval }}="updateChartData" @endif >
null, default => 'fi-color-custom', }, is_string($color) ? "fi-color-{$color}" : null, ]) > getMaxHeight()) style="max-height: {{ $maxHeight }}" @endif > 'text-gray-100 dark:text-gray-800', default => 'text-custom-50 dark:text-custom-400/10', }, ]) @style([ \Filament\Support\get_color_css_variables( $color, shades: [50, 400], alias: 'widgets::chart-widget.background', ) => $color !== 'gray', ]) > 'text-gray-400', default => 'text-custom-500 dark:text-custom-400', }, ]) @style([ \Filament\Support\get_color_css_variables( $color, shades: [400, 500], alias: 'widgets::chart-widget.border', ) => $color !== 'gray', ]) >