示例#1
0
 public void CSInterumData(double high, double low, double open, double close)
 {
     if (low == 0)
     {
         low = open;
     }
     if (high == 0)
     {
         high = open;
     }
     CSChart.Series["Price"].Points[CurrentPoint].YValues[0] = high * .25;
     CSChart.Series["Price"].Points[CurrentPoint].YValues[1] = low * .25;
     CSChart.Series["Price"].Points[CurrentPoint].YValues[2] = open * .25;
     CSChart.Series["Price"].Points[CurrentPoint].YValues[3] = close * .25;
     CSChart.Series["Price"].Points.ResumeUpdates();
     CSChart.Update();
 }