Sub topic 4
Finding your way around the chart editor
This chapter assumes you can select a range in Google Sheets and have already inserted a chart with Insert > Chart. It covers the editor's layout, what each tab and section controls, and how to move around it quickly.
What the chart editor is
The chart editor is a sidebar that appears on the right of the sheet. It has two tabs:
- Setup controls what the chart shows: the chart type, the data range, and how that data maps to the chart's axes and series.
- Customize controls how the chart looks: titles, colours, fonts, axes, legend, gridlines, and labels.
Keeping these apart helps with debugging. If the chart shows the wrong numbers, look in Setup. If the numbers are right but the chart looks wrong, look in Customize.
Opening and closing the editor
When you insert a chart, the editor opens automatically. To reopen it later, use either method:
- Double-click the chart.
- Click the chart once, open the three-dot menu in its top-right corner, and choose Edit chart.
Close the editor with the X at the top of the sidebar. The chart stays as you left it. Changes apply immediately, so there is no Save or Apply button. Use Ctrl+Z (Cmd+Z on Mac) to undo an edit you did not want.
The same three-dot menu has other actions, such as copying the chart, downloading it, publishing it, and editing alt text. Chapter 11 covers sharing and export. Chapter 15 covers alt text and accessibility.
The Setup tab
Controls appear from top to bottom in this order. Which ones you see depends on the chart type.
Chart type
The Chart type drop-down lists every available type, grouped into categories such as Line, Area, Column, Bar, Pie, Scatter, Map, and Other. Above the list, Sheets shows a few Suggested charts that suit your selected data. Suggestions are a starting point. Always check that the type matches your question (see chapter 1).
Changing the type keeps your data range. Customize settings that do not apply to the new type, such as pie slice options, are dropped or hidden.
Data range
Data range shows the cells being charted, for example A1:C13. Click the small grid icon next to it to open the Select a data range dialog. There you can drag across new cells or type a range. You can enter several ranges, which is useful when your data is not contiguous. Chapter 5 covers ranges in depth.
Stacking
For column, bar, and area charts, a Stacking drop-down appears. The options are:
- None: each series is drawn on its own.
- Standard: series are stacked so the total is visible.
- Percent: each stack is scaled to 100%, which shows share rather than size.
X-axis, Series, and Aggregate
These sections show how your columns map onto the chart:
- X-axis is the column that provides the categories or the horizontal values, such as months.
- Series lists the columns plotted as lines, bars, or areas. Each series has a three-dot menu for removing it, and Add Series lets you plot another column.
- Aggregate is a checkbox under the X-axis. When it is on, Sheets combines rows that share the same X-axis value and applies a summary (sum, average, count, and so on) set per series.
Aggregation explains a common surprise. If a column of category names contains repeats, such as many rows labelled "North", Sheets can collapse them into one bar. This is useful for quick totals but hides detail. Turn Aggregate off to see one point per row.
The checkboxes
At the bottom of Setup are options that change how Sheets reads the range:
| Option | What it does | When to change it |
|---|---|---|
| Switch rows / columns | Swaps which dimension is a series and which is the X-axis | The chart plots months as series when you wanted them along the axis |
| Use row 1 as headers | Treats the first row as series names rather than data | A header row is plotted as a data point, or a real data row is missing |
| Use column A as labels | Treats the first column as X-axis labels | Categories appear as a series instead of axis labels |
| Treat labels as text | Keeps labels as plain text rather than reading them as dates or numbers | Axis labels are being reordered or reformatted |
These options explain most "wrongly detected header" and "swapped rows and columns" problems. Chapter 17 returns to them as a troubleshooting checklist.
The Customize tab
Customize is a list of collapsible sections. Click a section's title to expand it. Click again to collapse it. Collapsing sections you are finished with keeps the sidebar short.
| Section | Typical controls |
|---|---|
| Chart style | Background colour, border colour, font, maximise the chart area, plot null values, compare mode |
| Chart & axis titles | Choose which title to edit, then set its text, font, size, format, and colour |
| Series | Colour, line thickness, point shape, data labels, axis assignment, trendline |
| Legend | Position, font, size, and text colour |
| Horizontal axis | Label font, size, format, text direction, and scale options |
| Vertical axis | Labels, minimum and maximum, number format, scale type |
| Gridlines and ticks | Major and minor gridlines and tick marks, with count and colour |
The section list changes with the chart type. A pie chart has Pie chart options such as slice labels and doughnut hole size, and no axis sections. A scatter chart has axis sections for both directions. If you cannot find a control, check that the chart type supports it.
How the Series section works
Series has an Apply to drop-down at the top. It starts as All series. Choose a single series from it, and every control below applies only to that one. Many beginners change a colour while "All series" is still selected and wonder why everything changed. Pick the target first and then edit.
Where to find things
- To change a chart's title text, open Chart & axis titles, then pick Chart title from the Type drop-down.
- To change a bar colour, open Series, select the series in Apply to, then use Fill colour or Line colour.
- To change the scale, open Vertical axis and set Min and Max.
Chapters 6 to 9 treat each of these in detail.
Working with the editor efficiently
- Edit directly on the chart. Click the chart title, axis title, legend, or a series on the chart itself. The editor jumps to the matching Customize section, which saves you from searching.
- Select the data first. Choosing your range before inserting the chart gives better suggestions and fewer corrections later.
- Work Setup first, Customize second. Appearance edits often get lost or need redoing if you later change the type or range.
- Check the chart after switching rows and columns. Series-specific formatting, such as a colour you picked, may not follow the data to its new position.
Common mistakes in the editor
- Editing the wrong chart. With several charts on a sheet, confirm the selected chart has its handles showing before you change anything.
- Customising while "All series" is selected. This overwrites the colours you set individually. Use Apply to first.
- Fixing data problems in Customize. Hiding an unwanted series colour or label does not remove it from the data. Remove it in Setup.
- Forgetting Aggregate. If totals look too small or categories are missing, check whether Aggregate is combining rows.
Exercise
A chart shows the month names as separate coloured series, with one point each, instead of as labels along the horizontal axis. Which tab do you open, and which option do you try first?
Show answer
Open the Setup tab. Try the Switch rows / columns checkbox first, then check Use column A as labels and Use row 1 as headers if the labels or series names are still wrong. Sheets is reading the data with the wrong orientation. This is a data-mapping issue, so it belongs in Setup, not Customize.
Exercise
You set a green fill for the "Sales" series, but the "Costs" series also turned green. What most likely happened, and how do you fix it?
Show answer
The Apply to drop-down in the Series section was still set to All series, so the colour applied to every series. Undo the change, choose Sales in Apply to, set the fill colour again, then choose Costs and give it its own colour.