|
Group: Forum Members
Posts: 86,
Visits: 221
|
Hi experts,
I want to display a NQuickPointSeries with many data points (nearly one million) within a NThinChartControl. Basically this is working if memory is sufficient . But it takes very very long to do so (more than 1 minute) ! Same problem when zooming in afterwards - takes almost as long as showing the Chart in the first place.
Copying the data in doesnt take long: NChart chart = NThinChartControl1.Charts[0]; chart.Series.Clear(); NQuickPointSeries nSeries = new NQuickPointSeries(); nSeries.UseXValues = true; nSeries.UseZValues = false; chart.Series.Add(nSeries); nSeries.Values.AddRange(listY.ToArray()); nSeries.XValues.AddRange(listX.ToArray()); NThinChartControl1.Update();
But after this function has been finished, it takes a very long time before the Chart is actually rendered to the screen.
Is there a way to show the user that the Chart is busy? I would like to change the cursor to a wait cursor - but I could find no Chart event which indicates that rendering the data series to screen has actually been finished (after initialization and after zooming).
Thanks for your help, Best regards, Joern
|