How can I limit a chart axis to actual data?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,752
Office Version
  1. 365
Platform
  1. Windows
I'm having a little problem with a stacked area chart. Depending on how wide I make the chart, the X axis, which contains dates, will show just the dates in the table. But if I make it wider, it will add a bunch of intermediate dates and calculate Y axis values for those dates. How can I get it to only show the dates in the table regardless of the width of the chart?

Here's the chart as I want it to look.

1741714004344.png


Here it is if I make it wider. Since it made these dates at regular intervals, some of the actual dates are not shown.

1741714060596.png


And here's the minisheet for the table.

$Wordle Data.xlsx
BCDEFGH
4Date12345Sum
511/17/244%9%11%65%11%100%
611/24/245%15%11%60%9%100%
712/01/246%9%11%55%19%100%
812/08/248%15%11%50%16%100%
912/22/2412%9%11%45%23%100%
1012/30/2415%15%11%40%19%100%
MrExcel
Cell Formulas
RangeFormula
H5:H10H5=SUM(Table78[@[1]:[5]])
 

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
Back
Top