© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
Bagus A

Use Different Color for Each Line in Chart

I've tried using
color
color
field in
dataset
dataset
following other question from v2, How give different color to every line of Chart label, but it couldn't work.

If i use
protected static string $color = 'info';
protected static string $color = 'info';
, it will change all lines.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Line Chart change background color
FilamentFFilament / ❓┊help
2y ago
How give different color to every line of Chart label
FilamentFFilament / ❓┊help
3y ago
Background color line chart not used
FilamentFFilament / ❓┊help
3w ago
Line Chart
FilamentFFilament / ❓┊help
3y ago