apexcharts / Blazor-ApexCharts

A blazor wrapper for ApexCharts.js
https://apexcharts.github.io/Blazor-ApexCharts
MIT License
825 stars 94 forks source link

Question - Append Series #344

Closed VaclavElias closed 11 months ago

VaclavElias commented 11 months ago

I'm currently working with a chart where adding or removing a series isn't straightforward. It also appears that the AppendSeries method is missing. Could anyone suggest the most efficient method for adding and removing series?

For instance, if my input value is 4, it displays 4 countries. How should I update the chart if I change this number to 10 or 2?

Currently, my workaround involves hiding and then showing the component, which refreshes the chart correctly. However, this approach causes a noticeable flash across the entire chart component. Is there a better way to handle this?

image

image

VaclavElias commented 11 months ago

Please ignore. I think I am confusing series with data..