Hi

Is it possible to have a Filament v4 StatsOverview Widget that contains a bar chart instead of line chart?
3 Replies
NuDg3
NuDg32mo ago
Go to widget class and do
protected function getType(): string
{
return 'bar';
}
protected function getType(): string
{
return 'bar';
}
LinuxJedi2000
LinuxJedi2000OP2mo ago
Thanks! It didn't work though. cheers.
Dennis Koch
Dennis Koch2mo ago
No, the StatsOverviewWidgets are hard coded to line charts. You need to use a ChartWidget or create your own.

Did you find this page helpful?