JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Charts & Data Viz › Update Chart – always showing first graph, and not new graph › Reply To: Update Chart – always showing first graph, and not new graph
October 14, 2023 at 12:01 am
#108981
Participant
I managed to get the graph to update by using the DataSource directly with EWparData (the data comoing directly from SQL)
Then I set the – each time the chart is opened
lineChart.DataSource = EWparData;
However the seriesGroups are not updated, even though new values are entered into them.
I am not sure if the entire seriesGroup class/lists needs to be recreated each time, or if there is an easier way.
-
This reply was modified 10 months, 3 weeks ago by
salasidis.