public void RPT_8_SetSeriseLegend(FpSpread spread, int Rows, int [] Columns, SoftwareFX.ChartFX.Docked dock) { if (SerCount < Columns.Length) { throw new Exception(RptMessages.GetMessage("STD085", GlobalVariable.gcLanguage) + SerCount.ToString()); } this.SerLegBox = true; this.SerLegBoxObj.Docked = dock; for (int i = 0; i < Columns.Length; i++) { this.SerLeg[i] = spread.ActiveSheet.Cells [Rows, Columns [i]].Text; } }
// 시리즈 Legend를 셋팅 public void RPT_8_SetSeriseLegend(string [] SeriseTitle, SoftwareFX.ChartFX.Docked dock) { if (SerCount < SeriseTitle.Length) { throw new Exception(RptMessages.GetMessage("STD085", GlobalVariable.gcLanguage) + SerCount.ToString()); } this.SerLegBox = true; this.SerLegBoxObj.Docked = dock; for (int i = 0; i < SeriseTitle.Length; i++) { this.SerLeg[i] = SeriseTitle [i]; } }
public void RPT_8_SetSeriseLegend(DataTable dt, int startRowPos, int RowSize, int ColumnPos, SoftwareFX.ChartFX.Docked dock) { this.SerLegBox = true; this.SerLegBoxObj.Docked = dock; for (int i = 0; i < RowSize; i++) { this.SerLeg[i] = (string)dt.Rows[i + startRowPos][ColumnPos]; } }