public static Chart CreateChart(Table table,ChartTypes type,string CellRange) { Chart chart = new Chart (table,"ch1"); chart.ChartType = type.ToString (); chart.CreateFromCellRange (CellRange); return chart; }
public static Chart CreateChart(Table table, ChartTypes type, string CellRange) { Chart chart = new Chart(table, "ch1"); chart.ChartType = type.ToString(); chart.CreateFromCellRange(CellRange); return(chart); }