Edit your chart's axes

Want to get more out of Google Docs for work or school? Sign up for a free Google Workspace trial.

Add a second Y-axis

You can add a second Y-axis to a line, area or column chart.

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. On the right, click Customise.
  4. Click Series.
  5. Optional: Next to 'Apply to', choose the data series that you want to appear on the right axis.
  6. Under 'Axis', choose Right axis.
  7. To customise the axis, click Right vertical axis. Then, make your changes.

Tip: You can’t add a second X-axis.

Switch rows and columns in a chart

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. At the right, click Setup.
  4. Click Switch rows/columns.

Customise the axes

Edit the vertical axis

You can format the labels, set min or max values and change the scale.

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. On the right, click Customise.
  4. Click Vertical axis.
  5. Make the changes that you want.

Tip: To hide the vertical axis line, untick the box next to 'Show axis line'.

Choose which data will appear on the horizontal axis
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the cells that you want to include in your chart.
  3. Click Insert and then Chart.
  4. At the right, click Setup.
  5. In the box next to 'x-axis', click More More and then Edit.
  6. Select the cells that you want to show on the horizontal axis.
  7. Click OK.
Edit the horizontal axis

You can format the labels or reverse axis order.

Tip: If the chart contains time series or numeric data, you can also change the min and max values.

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. On the right, click Customise.
  4. Click Horizontal axis.
  5. Make the changes that you want.
Add and edit axes titles
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. On the right, click Customise.
  4. Click Chart and axis title.
  5. Next to 'Type', choose which title you want to change.
  6. Under 'Title text', enter a title.
  7. Make changes to the title and font.
Add & format tick marks
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Double-click the chart that you want to change.
  3. On the right, click Customise.
  4. Under 'Gridlines and ticks', tick the box next to 'Major ticks'.
  • Optional: You can tick the box next to 'Minor ticks' to have smaller ticks between the major ticks.

Tip: To customise your axis, you can change the spacing between ticks, line thickness and colour.

Was this helpful?
How can we improve it?