Dual Y Options

How to:

Dual Y options are available in the Graph Editor menu when a dual-axis chart is selected for certain graph types including bar, line, and hi-lo.


Top of page

x
Procedure: How to Define Dual Y Settings
  1. Select a dual-axis chart.
  2. Select from the following options in the dialog box.
    Y1 Axis/Y2 Axis

    In dual axis charts, these fields can be used to specify which series appears on each numeric (Y1 and Y2) axis in the chart. Select one or more series in the Y2 Axis list box and select the << button to move these series to the Y1 axis in the chart. Select one or more series in the Y1 Axis list box and select the >> button to move these series to the Y2 Axis in the chart. You can also double click on a series to move it from one axis to the other.

    Split Position

    Sets the position within the chart frame where the Dual-Y split position will be created. The default value of 50 is exactly in the middle. A lower number will move the split position closer to the bottom of the chart; a higher value will move it closer to the top of the chart.

    Dual Axis Line/Plane

    This field enables and disables the display of a line that separates the two halves of a dual axis chart. When the default value is selected (ΕΎ), the dual-axis split line 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 Dual Y Settings

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

Editor Field

Property/Method

Y1 Axis

setAxisAssignment ( getSeries(#), 0 );

Y2 Axis

setAxisAssignment ( getSeries(#), 1 );

Split Position

setDualAxisSplitPosition ( value );

Dual Axis Line/Plane

setDisplay ( getFrameSeparator(), true | false);

WebFOCUS