电子表格灯C#-数据选择

电子表格灯C#-数据选择,c#,charts,line,selection,spreadsheetlight,C#,Charts,Line,Selection,Spreadsheetlight,我想选择表中的数据,如下所示: 列日期(B列)和列月度发票(不包括增值税)(M列) 怎么做 但是它不起作用。你找到了怎么做吗?你找到了怎么做吗? chart = sl.CreateChart("B3", "M15"); chart.SetChartType(SLLineChartType.Line); chart.SetChartPosition(19, 1, 15 + fChartHeight, 1 + fChartWidth); gdloptions = chart.CreateGroup

我想选择表中的数据,如下所示:

列日期(B列)和列月度发票(不包括增值税)(M列)

怎么做


但是它不起作用。

你找到了怎么做吗?你找到了怎么做吗?
chart = sl.CreateChart("B3", "M15");
chart.SetChartType(SLLineChartType.Line);
chart.SetChartPosition(19, 1, 15 + fChartHeight, 1 + fChartWidth);
gdloptions = chart.CreateGroupDataLabelOptions();                          
gdloptions.ShowValue = true;               
chart.SetGroupDataLabelOptions(11, gdloptions);         
sl.InsertChart(chart);`