Compress X axis on line graph

samTman

New Member
Joined
Mar 24, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Is it possible to compress certain portions of the X axis on a line graph? For example, suppose you have 3 years of data. Of the visible area of the X axis, display, say, 15% for year 1, 35% for year 2, and 50% for year 3. That would show the trend for historical years 1 and 2 and emphasis on latest year #3. Hope this makes makes sense.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,001
Office Version
  1. 365
Welcome to the board.

The short answer to your question is "no", Excel does not have a native way to break axes like that. The longer answer is that it might be possible... but breaking the axis like that isn't the best solution anyway. Jon Peltier has a great write-up here on why breaking the axis (specifically referring to the y-axis, but the same principle applies to the x-axis) is a bad idea: Broken Y Axis in an Excel Chart - Peltier Tech Blog

Instead, I would suggest either:
1) Using a different chart type, where maybe a column chart with categories for year 1/year 2/year 3 better illustrates the point you are tying to make
or
2) Use three different charts, one for each year, where the x-axis can have independent scales
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,129,795
Messages
5,638,372
Members
417,023
Latest member
Zimbo38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top