How to Switch Chart Axes in Google Sheets

Forum 3 years ago

How to Switch Chart Axes in Google Sheets

When you’re creating graphs or charts in Google Sheets, you don’t need to stick with the default layout. Google Sheets will try to pick your X- and Y-axes automatically, which you might wish to change or switch around.

To do this, you’ll need to open your Google Sheets spreadsheet and select your chart or graph. With your chart selected, click the three-dot menu icon in the top-right corner and then select “Edit The Chart” from the drop-down menu.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Edit-Chart-Options.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.OGOXBxPOkO.png

Alternatively, right-click your chart and select the “Data Range” option from the pop-up menu.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Edit-Data-Range-Option.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.vhm09UU4qq.png

Both options will bring up the “Chart Editor” panel on the right-hand side, where you can alter the style and data settings for your chart.

Under the “Setup” tab, you’ll see the columns currently used for the X- and Y-axes under the “X-Axis” and “Series” options. The first column listed under the “Series” is used for the Y-axis.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Chart-Editor-Axes.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.Dm4JtqZg8K.png

If you want to switch these around, you can do so manually by swapping the labels in the “X-axis” and “Series” options.

For example, a chart below shows the product sales of computer devices, with prices and sales dates shown. The prices are currently used for the X-axis, while the sales dates are used for the Y-axis.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Example-Chart-with-Editor-edit.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.6ZELV0z5d1.png

To change this data, click on the current column listed as the “X-axis” in the “Chart Editor” panel. This will bring up the list of available columns in your data set in a drop-down menu.

Select the current Y-axis label to replace your existing X-axis label from this menu. In this example, “Date Sold” would replace “Price” here.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Replace-Chart-Axis-Label-edit.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.0OHJDm1ZSm.png

If the data is correct, this will leave you with a chart that has the same data shown as the X and Y-axes. You’ll need to repeat these steps for the first column listed under the “Series” category to replace the Y-axis next.

In this instance, replacing “Date Solid” (the current Y-axis and new X-axis label) under “Series” with the “Price” column (the original X-axis label) from the drop-down menu.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Set-Y-Axis.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.ekxkLsSWEQ.png

If the columns provide correct data to form your chart’s X- and Y-axes, your chart will update to show the axes have been switched.

For this chart example, the “Price” column is now listed in the vertical Y-axis on the left, while the “Date Sold” column (with sales dates) are shown on the horizontal X-axis on the bottom.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Example-Edited-Chart.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.umho-2lRs6.png

If the columns you’ve chosen are incorrect, you can remove them from your chart entirely by clicking the three-dots menu icon next to a column listed under the “X-Axis” or “Series” categories, then clicking “Remove” from the drop-down menu.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Chart-Editor-Remove-Label.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.NIAMZtKzdN.png

Once you’ve deleted a column from your X or Y-axes, you’ll need to re-add it by clicking the “Add X-Axis” or “Add Series” box, then selecting a new column from the drop-down menu.

https://www.howtogeek.com/wp-content/uploads/2020/08/xGoogle-Sheets-Chart-Editor-Add-Axes.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.4lCjKTjPsW.png

This will then update your chart to show the new X or Y-axis using the data you selected.

What's your rating?
0
{{ratingsCount}} Votes


Related Forums
Her Ability to Switch Emotions Is Truly Remarkable – Damola Olatunji Praises Iyabo Ojo’s Acting Prowess
Forum | 3 months ago

Her Ability to Switch Emotions Is Truly Remarkable – Damola Olatunji Praises Iyabo Ojo’s Acting Prowess

Mohbad, Oladips, Moyo Lawal, Peter Obi, Top 2023 Google Most-Searched Persons In Nigeria
Forum | 4 months ago

Mohbad, Oladips, Moyo Lawal, Peter Obi, Top 2023 Google Most-Searched Persons In Nigeria

Family Switch Clip Shows Jennifer Garner Playing Another Teenager Stuck Inside a Grown-Up’s Body
Forum | 4 months ago

Family Switch Clip Shows Jennifer Garner Playing Another Teenager Stuck Inside a Grown-Up’s Body

OAU Lecturer Assaults Female Student For Refusing To Switch Off Her Phone During Lectures (Video)
Forum | 5 months ago

OAU Lecturer Assaults Female Student For Refusing To Switch Off Her Phone During Lectures (Video)