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

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

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,680
Messages
5,637,745
Members
416,982
Latest member
lisam77

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