Independent tech help — Sylvan Lake, AlbertaChecked against vendor documentationBrowse every fix ↗
The Tech Cell
Tech problems, solved
Computers & devices5 min

How to Make a Line Graph in Google Sheets

Google Sheets often guesses the wrong chart type. Here is the exact Insert and Chart editor path to a line graph, plus how to smooth it and add titles.

How to Make a Line Graph in Google Sheets

Select the cells you want to plot, open the Insert menu and choose Chart. In the Chart editor panel that opens on the right, open the Setup tab and pick Line chart from the Chart type dropdown. The graph is drawn straight into the sheet.

Google Sheets guesses a chart type for you, and the guess is often a column chart even when the data is clearly a series over time. So how to make a line graph in Google Sheets comes down to one thing: knowing where the Chart type dropdown lives so you can override that guess.

The path below is the same in any desktop browser. Google's own help page describes it as Insert > Chart, with the editing panel on the right.

Lay the data out first

The chart reads your selection in columns. Put the labels for the horizontal axis — dates, months, week numbers — in the leftmost column, and give every line its own column to the right of it. A header row across the top becomes the series names in the legend.

Two columns give you one line. Three columns give you two lines, and so on. Getting this right before you insert anything saves most of the fiddling afterwards.

How to make a line graph in Google Sheets step by step

1. Select the full block of cells, including the header row and the label column.

2. Open the Insert menu and choose Chart. There is also an Insert chart icon on the toolbar that does the same thing.

3. Sheets inserts a chart and opens the Chart editor panel on the right. If you have closed that panel, double-click the chart to bring it back, or click the three dots at the top right of the chart and choose Edit chart.

4. In the Setup tab, open the Chart type dropdown and choose Line chart. The chart redraws as you pick.

5. Still in Setup, check the X-axis and Series fields. If the wrong column ended up on the horizontal axis, the Switch rows / columns checkbox usually fixes it in one click.

Curves, titles and a second line

For curved lines instead of straight segments between points, open the Customize tab, find Chart style and tick Smooth. The dropdown in Setup also lists Smooth line chart as its own type. Worth knowing: smoothing draws a curve through your points rather than measuring anything, so the line between two readings is a drawing choice, not data.

Titles live under Customize > Chart & axis titles, where you can set the chart title, a subtitle, and the horizontal and vertical axis titles. A graph that leaves the spreadsheet — pasted into a doc, screenshotted into a deck — needs these, because the column headers are no longer there to explain it.

To add another line later, extend the Data range in the Setup tab to take in the new column, or use Series in the same tab to add one.

On the Google Sheets mobile app

You can insert a chart on a phone or tablet: tap the plus icon at the top of the screen, choose Insert, then Chart. Editing is narrower than on desktop — guides to the mobile app describe a shorter chart-type list covering column or bar, line, pie and scatter, and it does not expose the full Customize tab. For anything beyond picking the type, the desktop browser is the better place.

What this does not do

Inserting a chart does not tidy your data. Blank cells break the line into segments unless you turn on Plot null values under Customize > Chart style, and text sitting in a column of numbers is skipped rather than flagged.

It also does not watch the sheet for you. Rows added outside the Data range set in the Setup tab will not appear in the graph until you widen that range.

Common questions

Why are my dates spread along the bottom as numbers? The date column is probably being read as a series rather than labels. Open Setup, check what is in the X-axis field, and try Switch rows / columns.

Can I turn an existing chart into a line graph? Yes. Click the chart, open Edit chart from the three-dot menu, and change the Chart type dropdown in Setup. Your data range is kept.

Why does my line stop halfway? Almost always an empty cell in the middle of the series. Fill it, or switch on Plot null values.

If the Chart option isn't there

A greyed-out or missing Chart item under Insert usually means you are in a file someone shared with you as view-only. Ask the owner for edit access, or make your own copy with File > Make a copy and build the chart there.

If you work across both spreadsheet apps, the same graph built in Excel follows a different menu path. And once the chart is in place, conditional formatting in Google Sheets is a quick way to make the underlying numbers easier to scan.

Daniel Shuttleworth
Written by

Daniel Shuttleworth

Editor · Sylvan Lake, Alberta

Daniel Shuttleworth studied Advanced Information Communication Technology and has spent more than 20 years working out why consumer tech misbehaves — from an Amiga 600 and a VHS deck through to whatever Xbox and Samsung shipped this year. He writes The Tech Cell from Sylvan Lake, Alberta, and checks every step against the vendor's current documentation before it goes out, because the menu that worked last spring has usually moved.

Filed under · Computers & devices← Back to all articles
How we work

Every step checked before it reaches you.

Menus move, settings get renamed and features quietly disappear. So each guide is written against the vendor's current documentation rather than from memory, and says plainly when a fix depends on your version.

3
Desks covered
0
Sponsored posts
$0
Cost to read
Every
Guide source-checked

One email when we publish a fix worth knowing.

No filler, and we do not pass your address to anyone.