Skip to main content

Insert Chart

Excel·v1.11.1
ExcelCharts and PivotsSystem access

Add a real Excel chart to a sheet. Needs Windows with Microsoft Excel installed. Put this step last: a later Excel step rewrites the file and drops the chart

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequiredNot set
Chart Type
chartType
enumRequiredColumn
ColumnStacked ColumnBarStacked BarLinePieDoughnutAreaScatter
Data Sheet
sheetName
stringOptionalNot setThe sheet holding the data. Leave empty for the first sheet.
Data Range
dataRange
stringOptionalNot setFor example A1:C20. Leave empty to chart everything on the sheet.
Chart Title
title
expressionOptionalNot set
Put Chart On
targetSheetName
stringOptionalNot setLeave empty to place it beside the data
Top-Left Cell
anchorCell
stringOptionalE2Where the chart's top-left corner sits
Width
width
numberOptional480
Height
height
numberOptional300

Compatibility

WindowsLinuxAttendedUnattended

Related activities