Group Axis Options

How to:

Group Axis options are available in the Graph Editor menu when a bar, line, area, or stock chart is selected in the Graph Type menu.

The Group Axis Options enable you to:


Top of page

x
Procedure: How to Define the Location of the Group Axis
  1. Select the General tab from Group Axis Options.
  2. Select the location where you want the group axis label to appear in the chart.
    Bottom Side of Chart

    Select this field if you want the primary ordinal (O1) axis to be imaged at the bottom of a vertical chart or on the left side of a horizontal chart. This is the default value.

    Top Side of Chart

    Select this field if you want the primary ordinal (O1) axis to be imaged at the top of a vertical chart or the right side of a horizontal chart.

    Both Sides of Chart

    Select this field if you want the primary ordinal (O1) axis to be imaged at the top and bottom of a vertical chart or left and right sides of a horizontal chart.

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Group Axis General Settings

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Bottom Side of Chart

setAxisSide (getO1Axis(), 0);

Top Side of Chart

setAxisSide (getO1Axis(), 1);

Both Sides of Chart

setAxisSide (getO1Axis(), 2);


x
Procedure: How to Define Group Axis Labels
  1. Select the Labels tab from Group Axis Options.
  2. Use the check boxes to enable/disable the display of group axis labels.
    Show Axis Labels

    Enables and disables the display of primary ordinal (O1) axis labels. The default value is enabled (group/O1 axis labels appear). When this box is checked the setting in the General tab determines where the labels appear (left, right, both).

    Hide First Label

    When Show Axis Labels is selected (ž), this field enables and disables the display of the first group label on the primary ordinal (O1) axis. The default value is disabled (the first group label appears).

    Hide Last Label

    When Show Axis Labels is selected (ž), this field enables and disables the display of the last group label on the primary ordinal (O1) axis. The default value is disabled (the last group label appears).

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Group Axis Labels

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Show Axis Labels

setDisplay ( getO1Label(), true | false);

Hide First Label

setExcludeMinLabel ( getO1Label(), true | false );

Hide Last Label

setExcludeMaxLabel ( getO1Label(), true | false );


x
Procedure: How to Define Group Axis Grids
  1. Select the Grids tab from Group Axis Options.
  2. Use the check boxes in this dialog to enable or disable the display of major and minor grid lines. When either check box is selected, use the Style field to select a major and minor grid line format.
    Show Major Grid Lines

    Enables and disables the display of major grid lines for the primary ordinal (O1) axis. The default value is enabled (ž).

    Style

    When Show Major Grid Lines is selected (ž), use this field to select the style of the major grid lines: Regular Grids, Grids and Ticks, Inner Ticks, Outer Ticks, or Spanning Ticks. The default value is Regular Grids.

    Show Minor Grid Lines

    Enables and disables the display of minor grid lines for the primary ordinal (O1) axis. The default value is disabled (minor grid lines do not appear).

  3. Select the Apply button to add these selections to the chart.

Top of page

x
Syntax: How to Add Properties and Methods for Group Axis Grids

Selections in the associated dialog boxes add the following properties and methods to the code that defines this chart:

Editor Field

Property/Method

Show Major Grid Lines

setDisplay ( getO1MajorGrid(), true | false );

Style

setGridStyle ( getO1MajorGrid(), value );

Show Minor Grid Lines

setDisplay ( getO1MinorGrid(), true | false );

Style

setGridStyle ( getO1MinorGrid(), value );

WebFOCUS