public ChartValues<ObservablePoint> Series1 { get; set; }
public void GeneratePlot(PlotInfo plotInfo)
{
DataContext = null;
Series1 = new ChartValues<ObservablePoint>();
Series1.AddRange(plotInfo.SeriesIn);
DataContext = this;
}
How can I add point 1 and wait 200 ms and add the next point smoothly?
Now the UI program stops for a few seconds and all points are displayed.
source
share