About Axis Scale


The scale of an axis is the units into which the axis is divided. The units are marked by ticks, labels, and grid lines. When you change an axis' scale, you change how the ticks, labels, and grid lines will display.

The scale of a category axis is very simple: Each category is one unit. The axis is divided into the same number of units as categories. The only choices you have for category axis scale is whether and how often to display axis labels, ticks, and grid lines.

The scale of a value axis is more complex because you have to choose minimum and maximum axis values and determine where the divisions between the maximum and minimum should fall.

Value Axis Scale Settings

When you create a new chart that uses axes, Formula One for Java automatically assigns a scale to that chart's value axis by using an internal algorithm to configure four axis scale settings. All of these settings are based on the data in the chart. You can later change these settings. The settings are:

Maximum is the highest value shown on the axis. When the axis is automatically scaled, Maximum is set at a value higher than the largest data point on the chart.

Minimum is the lowest value shown on the axis. When the axis is automatically scaled, Minimum is set at a value lower than the smallest data point on the chart.

Major divisions are the largest units into which the axis is divided. An axis ranging from 0 to 100 might have major divisions at every 10 units. Major divisions are marked by axis labels. You may also choose to mark major divisions with ticks and major grid lines.

Minor divisions are sub-units of the major divisions. An axis with major divisions every 10 units might have minor divisions every 2 units. You may choose to mark minor divisions with minor grid lines.

Changing Axis Scale Settings

To change the scale settings of a category axis:

  1. Select the axis.
  2. Choose Format Axis from the context menu and click the Scale tab, shown below.

  3. Click OK or Apply to see your changes.

To change the scale settings of a value axis:

  1. Select the axis.
  2. Choose Format Axis from the context menu and click the Scale tab, shown below.

  3. In the Frequency frame, un-check the Automatic box to enable data entry for the four text boxes.
  4. For Minimum and Maximum, enter the smallest and largest value that you want the axis to display.
  5. Major Divisions shows the number of major divisions into which you want to divide the values that fall between Maximum and Minimum. For example, when Minimum is 10 and Maximum is 80, enter 7 to mark the axis every 10 units.
  6. Minor Divisions shows the number of minor divisions into which you want to divide the values between each major division. For example, when the major divisions are 10 units large, enter 5 to mark the axis every 2 units.
  7. Click Apply or OK.

Note Setting axis scale options establishes where ticks and major and minor grid lines should appear on the chart, but it does not determine whether or not they are displayed. For information on how to display ticks, see About Ticks. For information on how to display grid lines, see Showing and Hiding Grid Lines.