F
Filament9mo ago
Zetto

Dynamic Default Chart Filter

How do i set the default filter for chart widget if it is dynamic or based on something? I tried setting
public static ?string $filter
public static ?string $filter
But it's not dynamic I also tried changing the value inside getData()
$this->filter = $myFilter
$this->filter = $myFilter
But it sets it constantly even when i tried to change filter Currently on my code i dynamicly create an array for the getFilter() so i want to know how can i also access it dynamically
0 Replies
No replies yetBe the first to reply to this messageJoin