Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] btnfilter not working for charts on laravel nova 4.0 #160

Open
HAL0594 opened this issue Jun 30, 2023 · 0 comments
Open

[BUG] btnfilter not working for charts on laravel nova 4.0 #160

HAL0594 opened this issue Jun 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@HAL0594
Copy link

HAL0594 commented Jun 30, 2023

I'm using the documentation example for a new stacked() chart as the documentation example and it doesn't work. I tried with other graphics and none of them work, without mentioning that although it says that it has support for Laravel nova 4.0, I have noticed several problems with the styles, such as the size of the cards, occupying 2 rows does not work or adjusting to the content or the button refresh that goes out of the card, the example from the documentation I'm following is:

          ->options([
                'btnFilter' => true,
                'btnFilterDefault' => 'YTD',
                'btnFilterList' => [
                    'YTD'   => 'Year to Date',
                    'QTD'   => 'Quarter to Date',
                    'MTD'   => 'Month to Date',
                    '30'   => '30 Days', // numeric key will be set to days
                    '28'   => '28 Days', // numeric key will be set to days
                ],

this not show nothing on the card.

@HAL0594 HAL0594 added the bug Something isn't working label Jun 30, 2023
@HAL0594 HAL0594 changed the title [BUG] btnfilter not working for chards on laravel nova 4.0 [BUG] btnfilter not working for charts on laravel nova 4.0 Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant