Dual/Multi-Y Axis Chart Properties

AlignMultiYBars

In Y3-, Y4, and Y5-axis charts, this property enable/disables the alignment of the bar risers.

DATA TYPE:

boolean

RANGE:

true / false; true = Enable bar alignment, false = Disable bar alignment

DEFAULT:

false

SYNTAX:

void setAlignMultiYBars(boolean newValue);
boolean getAlignMultiYBars();

EXAMPLE:

setDepthAngle(0);
setDepthRadius(0);
setFootnoteDisplay(false);
setAxisAssignment(getSeries(0), 1);
setAxisAssignment(getSeries(1), 2);
setAxisAssignment(getSeries(2), 3);
setAxisAssignment(getSeries(3), 4);
setGraphType(105);
setTitleString("5Y-Axis Chart");
setY1TitleString("Y1 Axis");
setY2TitleString("Y2 Axis");
setTextString(getY3Title(), "Y3 Axis");
setTextString(getY4Title(), "Y4 Axis");
setTextString(getY5Title(), "Y5 Axis");
setSubtitleString("AlignMultiYBars = false");
setAlignMultiYBars(false);

setSubtitleString("AlignMultiYBars = true");
setAlignMultiYBars(true);

DualAxisLineDisplay

This property enables/disables the display of a line that separates the two halves of a dual axes chart. The chart type must be a bipolar graph or a stock chart with volume in order to see the effect of this property.

DATA TYPE:

boolean

RANGE:

true / false; Show (true) / Hide (false) dual axes line

DEFAULT:

true

SYNTAX:

void setDualAxisLineDisplay(boolean newValue);
boolean getDualAxisLineDisplay();

EXAMPLE:

setDepthRadius(0);
setDualAxisLineDisplay(true);
setGraphType(21);

setDualAxisLineDisplay(false);

NOTE:

For Bar, Line, and Area charts with DepthRadius set to any value greater than zero, a BiPolar plane will be displayed instead of a solid line.

ALSO SEE:

DualAxisSplitPosition

DualAxisSplitPosition

This property 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.

DATA TYPE:

integer

RANGE:

10...90

DEFAULT:

50

SYNTAX:

void setDualAxisSplitPosition(int newValue);
int getDualAxisSplitPosition();

EXAMPLE:

setDepthRadius(0);
setDualAxisSplitPosition(60);
setGraphType(21);
setLineWidth(getFrameSeparator(),4);

setDualAxisSplitPosition(40);

ALSO SEE:

DualAxisLineDisplay