protected override void MakeDataSourceToDrawSPCChart() { ReleaseData(); this.dtDataSource = new DataTable(); this.dtDataSource.Columns.Add(CommonChart.COLUMN_NAME_SEQ_INDEX, typeof(int)); CommonChart.llstChartColumn = new LinkedList(); LinkedList llstChartColumn = CommonChart.GetChartSeries(this._xBarChartType, lstRawColumn); MakeDataTable(llstChartColumn); }
protected override void MakeDataSourceToDrawSPCChart(bool sample, int samplePeriod, int sampleCount) { DataRow dr = null; this.dtDataSource = new DataTable(); this.dtDataSource.Columns.Add(CommonChart.COLUMN_NAME_SEQ_INDEX, typeof(int)); CommonChart.llstChartColumn = new LinkedList(); LinkedList llstChartColumn = CommonChart.GetChartSeries(this._xBarChartType, lstRawColumn); if (llstChartColumn.Contains(Definition.COL_TOGGLE)) { llstChartColumn.Remove(Definition.COL_TOGGLE); } if (llstChartColumn.Contains(Definition.COL_TOGGLE_YN)) { llstChartColumn.Remove(Definition.COL_TOGGLE_YN); } MakeDataTable(llstChartColumn, sample, samplePeriod, sampleCount); }