© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Kaaiman

Doughnut chart lines

Hi, I want to show a doughnut chart, but I see lines and numbers. How do I get rid of these?
image.png
Solution
In your widget try adding:

protected static ?array $options = [
'scales' => [
'y' => [
'grid' => [
'display' => false,
],
'ticks' => [
'display' => false,
],
],
'x' => [
'grid' => [
'display' => false,
],
'ticks' => [
'display' => false,
],
],
],
];

https://filamentphp.com/docs/3.x/widgets/charts#setting-chart-configuration-options
Chart widgets - Widgets - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Doughnut Chart Center Text
FilamentFFilament / ❓┊help
2y ago
> Doughnut chart> Doughnut chart Error Class "DOMDocument" not found at vendor/nunomad
FilamentFFilament / ❓┊help
3y ago
Doughnut Chart Hiding Background Grid (Axes)
FilamentFFilament / ❓┊help
3y ago
Remove Grid from Pie/Doughnut(chart-widget)
FilamentFFilament / ❓┊help
3y ago