更改一些细节

This commit is contained in:
csh 2022-12-21 16:15:24 +08:00
parent 0597f9b2a4
commit eeeaf31660
3 changed files with 1 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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;
///获取图表列表