XL: How Chart Axis Limits Are Determined

ID: Q101939


The information in this article applies to:


SUMMARY

This article explains how the automatic minimum and maximum limits for chart axis scales are computed in different versions of Microsoft Excel.


MORE INFORMATION

In the following examples, the following names are used to describe certain values.


   Name   Description
   ------------------------------------------------------------------- 



   yMax   The maximum y value used in your chart. 



   yMin   The minimum y value used in your chart. 



   xMax   The maximum x value used in your chart. This applies only to
          charts that use x values, such as scatter and bubble charts.

   xMin   The minimum x value used in your chart. This applies only to
          charts that use x values, such as scatter and bubble charts. 


When you create a chart in Microsoft Excel, there are three possible scenarios that may apply to your data:

The major unit used by the y-axis is automatically determined by Microsoft Excel, based on all of the data included in the chart. The following scenarios use this default major unit.

Scenario 1: Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition

In Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition, the following applies:

Scenario 1: All Earlier Versions of Microsoft Excel

In all earlier versions of Microsoft Excel, the following applies:

Scenario 2: Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition

In Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition, the following applies:

Scenario 2: All Earlier Versions of Microsoft Excel

In all earlier versions of Microsoft Excel, the following applies:

Scenario 3: Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition

In Microsoft Excel 97 and Microsoft Excel 98 Macintosh Edition, the following applies:

Scenario 3: All Earlier Versions of Microsoft Excel

In all earlier versions of Microsoft Excel, the following applies:

X-axis Limitations

The above information also applies to charts that use x values, such as x-y scatter charts and bubble charts. For these types of charts, substitute xMax and xMin for yMax and yMin in the above scenarios.

Additional query words: XL98 XL97 XL7 XL5 4.00 4.0a 4.00a chartwizard


Keywords          : kbtool xlchart 
Version           : WINDOWS:3.0,4.0,4.0a,5.0,5.0c,7.0,7.0a,97; MACINTOSH: 3.0,4.0,98
Platform          : MACINTOSH OS/2 WINDOWS 
Issue type        : 

Last Reviewed: April 6, 1999