Replies: 1 comment 1 reply
-
Isn't the current functionality to change the headlines? User::countForGroup('uses_two_factor_auth')
->toChart(fn(bool $value) => $value ? 'Enabled' : 'Disabled'), |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Situation: I have database column potential based on Enum.
And I'm using
Project::countForGroup('potential')->toChart()
in a screen. It works but labels for chart are 3,2,1 as they are stored in database this way. So I'm thinking about adding callback to override collected labels?Beta Was this translation helpful? Give feedback.
All reactions