I have a view with a chart and a DropDown control; the first time, the controller send a model with a ChartItem data list to the chart;
every time I change the selected value from the dropdown control, I want to use the controller to query some new data for the viewmodel.
now, I struggle to update the chart.
I tried to use the $(‘#chart’).jqxChart(‘refresh’); but nothing changes.
The only way I found is kind of heavy