Open agumaxwellforcode opened 3 weeks ago
Trend works, same with Value, but Doughnut doesn't work
[$labels, $data] = Doughnut::make(User::class) ->options(UserSexEnum::class) ->count('sex', 'sex');
returns [ [], [] ]
I fail to discover why this happens, could you provide more information about the used enum and the model ?
Trend works, same with Value, but Doughnut doesn't work
[$labels, $data] = Doughnut::make(User::class) ->options(UserSexEnum::class) ->count('sex', 'sex');
returns [ [], [] ]