Jun 06 2024 12:46 AM - edited Jun 06 2024 12:57 AM
Dear all
I have a defined Chart and I would 'restrict' the area of the x-axis that is shown w/o creating a
different chart.
I know how to restrict the values on the y-axis.
Is there a similar way to zoom-in the X-axis (or indeed to zoom out as there could be the wish to) w/o
creating a different chart?
BTW the question is also valid if the x-axis does not have numerical values
Thank you and regards
Jun 06 2024 01:13 AM - edited Jun 06 2024 01:17 AM
@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.
Jun 11 2024 04:20 AM
Jun 11 2024 04:31 AM
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:
Jun 11 2024 04:38 AM
Jun 11 2024 04:42 AM
Yep. It is what it is...