Ejemplo n.º 1
0
 public void UpdateChart1(object sender, SendStateEventArgs e)
 {
     int[] axisXData = e.Positions as int[];
     int[] axisYData = e.State as int[];
     chart1.Series["Series1"].Points.DataBindXY(axisXData, axisYData);
     chart1.Invalidate();
 }
Ejemplo n.º 2
0
        public void UpdateChart3(object sender, SendStateEventArgs e)
        {

            int[] axisXData = e.Positions as int[];
            int[] axisYData = e.State as int[];
            chart3.Series["Series1"].Points.DataBindXY(axisXData, axisYData);
        }
Ejemplo n.º 3
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
Ejemplo n.º 4
0
 //------------------------Send Start Arrays---------------------------------------------
 public void OnSendStart(object sender,SendStateEventArgs e)
 {
     SendArray1(this, new SendStateEventArgs(array1, positions));
     SendArray2(this, new SendStateEventArgs(array2, positions));
     SendArray3(this, new SendStateEventArgs(array3, positions));
 }
Ejemplo n.º 5
0
 //------------------------Send Start Arrays---------------------------------------------
 public void OnSendStart(object sender, SendStateEventArgs e)
 {
     SendArray1(this, new SendStateEventArgs(array1, positions));
     SendArray2(this, new SendStateEventArgs(array2, positions));
     SendArray3(this, new SendStateEventArgs(array3, positions));
 }
Ejemplo n.º 6
0
 public void OnSendArray3(object sender, SendStateEventArgs e)
 {
     this.Dispatcher.Invoke(handler3, sender, e);
 }
Ejemplo n.º 7
0
 public void UpdateChart2(object sender, SendStateEventArgs e)
 {
     int[] axisXData1 = e.Positions as int[];
     int[] axisYData1 = e.State as int[];
     chart2.Series["Series1"].Points.DataBindXY(axisXData1, axisYData1);
 }