Excel: Add chart

Create a chart from a data range.

Help Centre › Building Processes

Create a chart from a data range.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Add chart under Excel › Charts & Tables, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
Data rangeYesThe data range for the chart (e.g. A1:D10).
Chart typeNoThe kind of chart to draw: line, bar, column, pie, area, scatter or doughnut. It is drawn from the cells in Cell and placed just below them. Choices: Line, Bar, Column, Pie, Area, Scatter, Doughnut. Default: line.
Chart nameNoName for the chart.
Width (px)NoThe chart width in pixels Default: 355.
Height (px)NoThe chart height in pixels Default: 211.

See all Excel steps.

Errors

ErrorDescription
File not openThe Excel file must be open.
Sheet not foundThe specified sheet does not exist.
Invalid rangeThe data range is not valid.
Invalid chart typeThe specified chart type is not supported.

Tips

  • The chart is placed below the source data automatically.
  • Use descriptive column headers – they become chart labels and legends.
  • Pie and doughnut charts work best with a single data series.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.