Skip to content

[BUG] BarChart is not re-rendering with new dataset in its series option when calling new BarChart() again inside the resource -> cards method. #172

@arslanakhtar61

Description

@arslanakhtar61

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions