chartResult.Series[0].Points.AddXY(i, realDatas[i]); chartResult.Series["onLineAvg"].Points.AddXY(i, onLineAvg[i]);chartResult.Series["multOnLineAvg"].Points.AddXY(i, multOnLineAvg[i]);
private void backgroundWorkerGetAndProcessData_DoWork(object sender, DoWorkEventArgs e) { communicateNow(); }
backgroundWorkerGetAndProcessData.RunWorkerAsync();
private void backgroundWorkerGetAndProcessData_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { backgroundWorkerGetAndProcessData.RunWorkerAsync(); }