Charts overview
Turn a table of numbers into one of seven kinds of chart, and style it like any other layer.
- Shortcut
- ⇧B
- Where
- Toolbar, charts group
- Makes
- A chart layer
A chart draws a table of numbers as bars, lines, points, slopes, slices, rings or a web, and lays out its marks, labels, axis and key for you. Everything it draws is a copy of an ordinary layer inside the chart, so you style it with the same fill, stroke, corner and text controls you use everywhere else.
Draw a chart
Select the tool
Open the charts group in the toolbar and pick a kind, or press ⇧B for Bar chart. The other kinds have no default shortcut, but you can assign one in the Shortcuts pane of Preferences.
Drag a box, or click
Drag to draw the chart at that size, or click to place it at 800 by 500. The Move tool becomes active again.
Replace the sample data
A new chart starts with seven sample rows and three value columns. Click Edit data to type or paste your own numbers. See Chart data.
- Chart tool: drag out a chart
- BarCompares categories: single, grouped or stacked, solid, meter, dots or lines.⇧B
- LineOne line per column, with a marker on each reading.
- PieShares of one whole: a pie, a donut or a gauge.
- MountainOne filled, overlapping slope per column.
- ScatterOne point per row, placed by two measures.
- RadialOne ring per row, each on its own track.
- RadarOne outline per column on a web of spokes and rings.
The Chart section
- Break Apart: turns the chart into a group of ordinary layers, left where the chart drew them, with no table or settings. If the chart would make more than 500 layers, it refuses and tells you the count.
- Type: Bar, Line, Scatter, Mountain, Pie, Radial or Radar. Changing it converts the chart and keeps the table and the parts you styled.
- Edit data: opens the table below the canvas. See Chart data.
- Look: writes a preset into the parts once. Multi-color gives each column or slice its own chart color, Soft fades each mark from its color into the background, Outline draws outlines with no fill, and Mono uses one color. Line and radar charts offer only Multi-color and Mono, and scatter has no Soft. The menu shows a look only while the values it wrote are unchanged.
- Motion: Default, None or Custom, for the chart’s builds. See Animating charts.
- Build out: adds a matching build out.
- Text: switches that show or hide the label parts while keeping their styling. Which ones you see depends on the kind.
- The kind’s group: Bars, Line, Slopes, Slices, Rings or Web, covered on each kind’s page. Scatter has none.
- Grid lines
- Baseline
- Key
Most number fields show a default until you enter a value. Clear the field to get the default back.
Grid lines, Baseline and Key
They work the same on every kind that has them, apart from the differences in the table below.
Grid lines. Each direction is a line layer, and its row sets the stroke color and has an eye to hide it. Weight, dash and opacity are on the layer itself: ⌘ click the lines to reach them.
Baseline. The baseline’s color, with an eye to hide it.
Baseline. The space between the baseline and where the marks start (a reading of 0), so a heavy baseline doesn’t cover them.
Key. Puts the key Above or Below the plot.
Key. Aligns the key Left, Center or Right.
Key. The space between its items.
Key. The space between the key and the plot.
A chart shows a key when it draws more than one column. Each item in the key is the Key labels part, a swatch and a name. Select it to change the swatch’s size and corners, the distance from swatch to name (Column gap in its Layout section) and the padding. Hiding Key labels with its eye removes the key and gives its space to the plot.
| Kind | Grid lines | Baseline | Key |
|---|---|---|---|
| Bar | Vertical lines sit at the category edges and are hidden by default (at the value steps when horizontal) | A heavier stroke moves bars and labels clear of it | Only with Series set to Grouped or Stacked |
| Line, Mountain | Vertical lines sit at each reading and are hidden by default | Mountain swatches take the slopes’ opacity | |
| Scatter | Both directions are shown by default | Round swatches | |
| Radar | One layer for spokes and rings: Color, Weight 0 to 20 px (1, steps of 0.5), Opacity (22%) | None | Needs Show key |
| Pie | None | None | Placed by Names, so there’s no Placement, and no Alignment at the side |
| Radial | None | None | Only Margin, as the distance from name to ring, when the names sit at the rings |
The parts of a chart
A chart has no color, font or corner settings of its own. Its bars are copies of a Bar layer inside it, its names are copies of a group holding a text, and its grid lines and baseline are line layers whose stroke it reads. A change to a part applies to every copy of it. The parts are listed under the chart in the Layers panel. A bar chart has these:
| Part | What it is | What the chart uses |
|---|---|---|
| Bar, or Bar: (column) per column | Every bar | Fill, corners, stroke, effects |
| Meter Block | The block a Meter blocks bar repeats | Corners, or a shape dropped on it |
| Bar labels, Value labels, Y-axis labels | Category names, bar values, axis numbers | Text style and color, and the group’s fill, padding and corners |
| Key labels | One key item | Swatch size and corners, column gap, padding |
| Track | The area behind each bar, at full length | Fill. Hidden by default |
| Horizontal grid lines, Vertical grid lines, Baseline | The rules | Stroke color, weight, dash, opacity |
Other kinds have their own parts: Line: (column) and Marker on a line chart, Point on a scatter chart, and one layer per slope (mountain) or per slice (pie). You can’t delete a part or drag it out of the chart. To hide one, use its eye in the Layers panel or its switch in Text.
Selecting a part
A click on a bar selects the whole chart, the way a click inside a group selects the group.
Select the part
Double-click a bar, point, label or grid line, or ⌘ click it. This selects the part: the copy you clicked is framed and the others are outlined. Changes apply to every copy.
Select one copy
Click the same mark again to select that copy alone, such as one bar, one slice or one label. ⇧ click adds more copies. A header names the copy, and changes apply only to the copies you selected.
Leave the chart
Press Esc to go from the copy back to its part, and again to go back to the chart.
- Double-click: recolor all bars
- Click again: color one bar
- Esc: back to the whole chart
A single copy can override its fill, stroke, opacity and anything else in its sections, and the rest still follows the part. The override stays with its row when the data changes.
To move a label, select it as a single copy and drag it, type its X or Y, or use the arrow keys. It keeps its offset when the data changes. With the whole part selected, the arrow keys move all of its labels.
Chart colors
Each column takes a chart color from its scene’s color set. The colors are generated from the set’s accents, so changing an accent recolors every chart. To give one column a different color, select its part (for example Bar: 2026) and change its fill.
Each set’s rules are in its Chart colors row in Theme Studio. Click its colors to open the panel; Presets and chart colors covers every setting in it.
Combining with other features
- Theme. The parts use theme colors and text styles, so a chart follows changes to the theme, the color set and the chart colors. A part you gave a custom color keeps it.
- Converting. Changing Type keeps the parts the new kind doesn’t draw and reuses them if you switch back. Labels you moved by hand are remembered separately for the grid kinds (bar, line, scatter, mountain) and the round kinds (pie, radial, radar).
- Resizing and scaling. Resizing lays the chart out again and leaves text sizes and stroke weights as they are. The Scale tool scales everything, including pixel settings and their field ranges.
- Effects and blend modes. Effects on a part apply to all its copies. A blend mode on a part blends with the rest of the chart, not with the layers behind it.
- Agents. An agent can create and edit charts with the same data and settings. See Working with agents.
Limits
- A chart plots the first 60 rows of its table.
- There’s no number format setting. See Chart data.
- You can’t remove parts. Break Apart is the only way to get independent layers.