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 10:20 pm
#108990
salasidis
Participant
After the first update, I tried this
if (updateChart > 0)
{
lineChart.Update();
}
dispChart = true;
//updateFlag++;
updateChart++;
graphOpened = true;
StateHasChanged();
The results are inconsistent, most of the time the wrong label is present on the Value axis. Sometimes the scale is not present, but if move the range Selector, then the axis values are correct. Othertimes, the scale is always displayed correctly