private void Init() { //Test this.myStockCodeRow = application.dataLibs.GetStockData("SSI"); myData = new Indicators.Data(new data.baseDS.priceDataDataTable()); LoadData(); PlotChart(); }
private void ShowChart() { if (this.myOnShowChart == null || portfolioListSource.Current == null) { return; } string stockCode = ((data.tmpDS.portfolioListRow)((DataRowView)portfolioListSource.Current).Row).stockCode.Trim(); data.baseDS.stockCodeExtRow stockRow = dataLibs.FindAndCache(myDataSet.stockCodeExt, stockCode); if (stockRow == null) { return; } myOnShowChart(stockRow); }
private void Init() { //Test this.myStockCodeRow = application.dataLibs.GetStockData("SSI"); myData = new Indicators.Data(new data.baseDS.priceDataDataTable()); LoadData(); PlotChart(); }