更改一些细节
This commit is contained in:
parent
0597f9b2a4
commit
eeeaf31660
Binary file not shown.
Binary file not shown.
|
|
@ -406,13 +406,10 @@ Type TSExcelFile = Class
|
|||
///sheet: string,工作表名称
|
||||
///range:string,图表所处矩形区域,"A5:F10"
|
||||
///chart:TChart对象
|
||||
///返回: [err, info]
|
||||
Function AddChart(sheet, range, chart);
|
||||
Begin
|
||||
o := getOj(sheet, 'xlsxChart');
|
||||
if not ifObj(o) then return array(1, 'The sheet is not exist.');
|
||||
if not ifObj(chart) then return array(2, 'Invalid chart param.');
|
||||
return o.AddChart(range, chart);
|
||||
if ifObj(chart) then return o.AddChart(range, chart);
|
||||
End;
|
||||
|
||||
///获取图表列表
|
||||
|
|
|
|||
Loading…
Reference in New Issue