-
-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
btnFilter is too small , the list is not displayed correctly
To Reproduce
$series = Arr::map(['answered','no answer', 'busy'], function ($value) {
return [
'label' => $value,
'filter' => [
'key' => 'disposition',
'value' => strtoupper($value),
]
];
});
return [
PieChart::make()
->title('numbers')
->model('\App\Models\Asterisk\Cdr')
->col_xaxis('calldate')
->series($series)
->options([
'showPercentage' => true,
'btnFilter' => true,
'btnFilterDefault' => '30',
'btnFilterList' => [
'30' => '30 Days',
'60' => '60 Days',
'90' => '90 Days',
],
])->width('1/3'),
Expected behavior
btnFilter width should adapts to filter items max length
Dependencies Version (please complete the following information):
- Laravel Version: 10
- Nova Version: 4.32
- Nova-ChartJS Version: 0.4.3
Desktop (please complete the following information):
- OS: MacOS
- Browser Firefox
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
