public void Temp_PicLineDrawValueOver(DayStockInfo DSI) { this.chartGraph1.dtAllMsg = this.ChartGraphTemp.dtAllMsg; this.chartGraph1.LastVisibleRecord += CurLengthCount; this.chartGraph1.FirstVisibleRecord += CurLengthCount; this.chartGraph1.CrossOverIndex += CurLengthCount; }
/// <summary> /// 更新所有的数据的输出 /// </summary> /// <param name="DSI"></param> public void Temp_PicLineDrawValue(DayStockInfo DSI, int P) { this.ChartGraphTemp.SetValue("OPEN", (double)DSI.OpenPrice / 1000, DSI.day); this.ChartGraphTemp.SetValue("HIGH", (double)DSI.HighestPrice / 1000, DSI.day); this.ChartGraphTemp.SetValue("LOW", (double)DSI.LowestPrice / 1000, DSI.day); this.ChartGraphTemp.SetValue("CLOSE", (double)DSI.ClosePrice / 1000, DSI.day); this.ChartGraphTemp.SetValue("VOL", DSI.TransCount, DSI.day); double ymValue = (Convert.ToDouble(DSI.ClosePrice.ToString()) + Convert.ToDouble(DSI.HighestPrice.ToString()) + Convert.ToDouble(DSI.LowestPrice.ToString())) / 3; this.ChartGraphTemp.SetValue("(CLOSE+HIGH+LOW)/3", ymValue, DSI.day); }
public void SDSDLR_PicLineDrawValueOver(DayStockInfo DSI) { this.chartGraph1.RefreshGraph(); MyLoopThread = new Thread(new ThreadStart(UpdateAllLineToGraph)); MyLoopThread.Start(); }