Forum Discussion
how to remove unwished ranges or how to shrink the displayed part of a Graph/Chart
pippo02 On the X-axis that only works with Date values. If your labels on the X-axis are numbers like 1, 2, 3 ,4, 5 etc. you can mimic this behavior by setting the axis type to 'Date axis'. This will then trigger default boundaries from 1 January 1900 to let's say 15 January 1900. Now you can narrow down the displayed 'date range' by changing the minimum and maximum bounds.
I've not come across a method to do this with Text labels, other than by using a Pivot Chart and filtering the X-axis categories.
It does not really solve the generic issue.
BTW why Date should be the only case where this option is possible.
I really cannot understand.
- HansVogelaarJun 11, 2024MVP
For most chart types, Excel treats the x-axis as text unless it is a date axis. Setting a minimum and maximum of text values makes no sense.
If you change the chart type to XY Scatter, you can specify the minimum and maximum values for the x-axis:
- pippo02Jun 11, 2024Copper ContributorBut a scatter plot is a different 'beast', at least in many other scientific programs.
- HansVogelaarJun 11, 2024MVP
Yep. It is what it is...