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] BarChart is not re-rendering with new dataset in its series option when calling new BarChart() again inside the resource -> cards method. #172

Open
arslanakhtar61 opened this issue Dec 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@arslanakhtar61
Copy link

arslanakhtar61 commented Dec 14, 2023

I am using nova version 4 and trying to integerate nova-chartjs with nemrutco/nova-global-filter.
When the nova-global-filter changes, I am recalculating the dataset which is passed to the series option of the new BarChart() inside the cards method of my resource. But I am not sure why the BarChart is not updating with the new dataset.

Shouldn't calling new BarChart() again with new series data re-render the chart with the new dataset?

@arslanakhtar61 arslanakhtar61 added the bug Something isn't working label Dec 14, 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