Y2AxisDescending

 

This property changes the direction of the Y2-axis. When this property is set to false, values ascend normally -- from bottom-to-top in a vertical chart or from left-to-right in a horizontal chart. When true, values are reversed and are drawn from top-to-bottom in a vertical chart or from right-to-left in a horizontal chart. This property also reverses the order of the axis labels and changes all data-related objects (e.g., markers) from their previous state.

Data Type:

Boolean

Range:

true (descending order) / false (ascending order)

Default:

false

Syntax:

setY2AxisDescending ( true | false );

 

boolean = getY2AxisDescending();

Example:

perspective1.setY2AxisDescending(true);
perspective1.setDepthAngle(0);
perspective1.setGraphType(21);
perspective1.setY2AxisLineDisplay(false);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);

 

 

perspective1.setY2AxisDescending(false);

 

Also See:

getAxisDescending(), setAxisDescending()

Y2AxisLineDisplay

 

This property enables (true) / disables (false) display of the Y2 axis base line. The Y2AxisSide property determines the location where the Y2 axis base line is drawn.

Data Type:

Boolean

Range:

true / false

 

true=

Draw the Y2-axis base line

 

false=

Do not draw the Y2-axis base line

Default:

true

Syntax:

setY2AxisLineDisplay ( true | false );

 

boolean = getY2AxisLineDisplay();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setGraphType(21);
perspective1.setY2AxisLineDisplay(true);
perspective1.setLineWidth(getY2AxisLine(),8);

 

 

perspective1.setY2AxisLineDisplay(false);

 

Notes:

In the default configuration for this chart type, the Y2AxisLine is the same width and location as the bottom of the chart frame. When this line size is used, the setting of this property does not change the appearance of the chart. To make a thicker and more visible axis line, use the getY2AxisLine() method to get the object ID of the line and setLineWidth() method to increase the width of the line.

Also See:

Y2AxisSide, getY2AxisLine(), setLineWidth(), getAxisAssignment(), setAxisAssignment(), getAxisSide(), setAxisSide()

Y2AxisSide

 

This property controls which side of the graph the Y2-axis will be imaged.

Data Type:

Integer

Range:

0...2

 

0=

Image to low side of graph (bottom or left).

 

1=

Image to high side of graph (top or right).

 

2=

Image to both sides.

Default:

1 (right side of vertical chart/top of horizontal chart)

Syntax:

setY2AxisSide ( value );

 

value = getY2AxisSide();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2AxisSide(2);

 

 

perspective1.setY2AxisSide(0);

 

Also See:

Y2AxisLineDisplay, setAxisAssignment(), getAxisSide(), setAxisSide()

Y2ExcludeMaxLabel

 

This property enables (true) / disables (false) exclusion of the maximum label on the Y2 axis. For example, if the Y2-axis labels include values in the range 0, 15, 30, 45, 60, 75 and this property is set to true, the new set of Y2-axis labels will include 0, 15, 30, 45, 60.

Data Type:

Boolean

Range:

true / false

 

true=

Exclude the maximum label

 

false=

Include the maximum label

Default:

false

Syntax:

setY2ExcludeMaxLabel ( true | false );

 

boolean = getY2ExcludeMaxLabel();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2ExcludeMaxLabel(false);

 

 

perspective1.setY2ExcludeMaxLabel(true);

 

Notes:

This property will not affect the appearance of the graph if drawing of Y2-axis labels has been disabled with setY2LabelDisplay(false); When setY2LabelDisplay(true) is used, the maximum label will be included or excluded as defined by Y2ExcludeMaxLabel.

Also See:

Y2ExcludeMinLabel, Y2LabelDisplay, getExcludeMaxLabel(), getExcludeMinLabel(), setExcludeMaxLabel(), setExcludeMinLabel()

Y2ExcludeMinLabel

 

This property enables (true) / disables (false) exclusion of the minimum label on the Y2 axis. For example, if the Y2-axis labels include values in the range 0, 15, 30, 45, 60, 75 and this property is set to true, the new set of Y2-axis labels will include 15, 30, 45, 60, 75.

Data Type:

Boolean

Range:

true / false

 

true=

Exclude the minimum label

 

false=

Include the minimum label

Default:

false

Syntax:

setY2ExcludeMinLabel ( true | false );

 

boolean = getY2ExcludeMinLabel();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2ExcludeMinLabel(false);

 

 

perspective1.setY2ExcludeMinLabel(true);

 

Notes:

This property will not affect the appearance of the graph if drawing of Y2-axis labels has been disabled with setY2LabelDisplay(false); When setY2LabelDisplay(true) is used, the minimum label will be included or excluded as defined by Y2ExcludeMinLabel.

Also See:

Y2ExcludeMaxLabel, Y2LabelDisplay, getExcludeMaxLabel(), getExcludeMinLabel(), setExcludeMaxLabel(), setExcludeMinLabel()

Y2LabelAutofit

 

This property enables (true) / disables (false) automatic sizing of Y2-axis labels. When this property is enabled, labels are automatically sized using the boundaries set by TextAutofitMax and TextAutofitMin. When this property is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph. Use setFontSize() or setFontSizeVC() to set the size of the font for the Y2-axis labels when this property is disabled. If this property is set to true, values set by setFontSize() or setFontSizeVC() for the Y2-axis labels will be ignored.

Data Type:

Boolean

Range:

true / false

 

true=

automatically size/fit Y2-axis labels

 

false=

Allow Y2-axis labels to be any size

Default:

true

Syntax:

setY2LabelAutofit ( true | false );

 

boolean = getY2LabelAutofit();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2LabelAutofit(false);
perspective1.setFontSizeVC(
    perspective1.getY2Label(),2000);

 

Also See:

Y2LabelDisplay, Y2LabelFormat, Y2LabelFormatPattern, Y2LabelRotate, Y2LabelStagger, TextAutofitMax, TextAutofitMin, setFontSize(), setFontSizeVC()

Y2LabelDisplay

 

This property enables (true) / disables (false) drawing of Y2-axis labels and the Y2-axis title.

Data Type:

Boolean

Range:

true / false

 

true=

Draw Y2-axis labels

 

false=

Do not draw Y2-axis labels

Default:

true

Syntax:

setY2LabelDisplay ( true | false );

 

boolean = getY2LabelDisplay();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2LabelDisplay(false);

 

 

perspective1.setY2LabelDisplay(true);

 

Notes:

If the Y2 axis title is defined with Y2TitleString and displayed with Y2TitleDisplay, setting Y2LabelDisplay to false will also remove the title string.

Also See:

Y2LabelAutofit, Y2LabelFormat, Y2LabelFormatPattern, Y2LabelRotate, Y2LabelStagger

Y2LabelFormat

 

When Y2LabelDisplay is enabled (true), this property selects a preset standard format for Y2-axis labels. Set this property to minus one, if you want to define a standard Java format pattern string with Y2LabelFormatPattern.

Data Type:

Integer

Range:

-1...17

 

Value

Format (Example)

 

-1

Use format set by Y2LabelFormatPattern

 

0=

General (Example: 123 = 123)

 

1=

# (Example: 123 = 123)

 

2=

#% (Example: 123 = 12,300%)

 

3=

#.#% (Example: 123 = 12,300.0%)

 

4=

#.##% (Example: 123 = 12,300.00%)

 

5=

$#.## (Example: 123 = $123.00)

 

6=

$# (Example: 123 = $123)

 

7=

#K (Example: 1,234 = 1K)

 

8=

$#K (Example: 1,234 = $1K)

 

9=

#M (Example: 1,234,567 = 1M)

 

10=

$#M (Example: 1,234,567 = $1M)

 

11=

#B (Example: 1,234,567,891 = 1B)

 

12=

$#B (Example: 1,234,567,891 = $1B)

 

13=

#T (Example: 1,234,567,891,234 = 1T)

 

14=

$#T (Example: 1,234,567,891,234 = $1T)

 

15=

show number with thousand separators no decimals (Example: 1,234=1K)

 

16=

show number with thousand separators two decimals (Example: 1,234=1.23K)

 

17=

General currency format for current Locale

Default:

0 (General)

Syntax:

setY2LabelFormat ( value );

 

value = getY2LabelFormat();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2LabelFormat(6);

 

Also See:

Y2LabelFormatPattern

Y2LabelFormatPattern

 

When Y2LabelFormat is set to minus one, this property can be used to define a standard Java format pattern for Y2-axis labels.

Data Type:

String

Range:

A pattern string in the following format:

 

pattern:= subpattern{;subpattern}

 

subpattern:= {prefix}integer{.fraction}{suffix}

 

prefix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

suffix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

integer:= '#'* '0'* '0'

 

fraction:= '0'* '#'*

 

See Chapter 3 for more detailed information about this format pattern.

Default:

"#.#"

Syntax:

setY2LabelFormatPattern ( string );

 

string = getY2LabelFormatPattern();

Example:

perspective1.setGraphType(21);
perspective1.setY2LabelFormat(-1);
perspective1.setY2LabelFormatPattern("-#.#-");
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

Also See:

Y2LabelFormat

Y2LabelRotate

 

This property can be used to rotate labels on the Y2-axis.

Data Type:

Integer

Range:

0...2

 

0=

No text rotation

 

1=

Rotate text 90 degrees (reads top to bottom)

 

2=

Rotate text 270 degrees (reads bottom to top)

Default:

Zero (no text rotation)

Syntax:

setY2LabelRotate ( value );

 

value = getY2LabelRotate();

Example:

perspective1.setGraphType(21);
perspective1.setY2LabelRotate(1);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2LabelRotate(2);

 

Also See:

Y2LabelAutofit, Y2LabelDisplay, Y2LabelFormat, Y2LabelStagger

Y2LabelStagger

 

This property enables (true) / disables (false) staggered labels on the Y2-axis.

Data Type:

Boolean

Range:

true / false

 

true=

Stagger labels

 

false=

Draw labels on a single, even line

Default:

false

Syntax:

setY2LabelStagger ( true | false );

 

boolean = getY2LabelStagger();

Example:

perspective1.setGraphType(21);
perspective1.setY2LabelStagger(true);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2LabelStagger(false);

 

Notes:

This property is not supported in 3D charts.

Also See:

Y2LabelAutofit, Y2LabelDisplay, Y2LabelFormat, Y2LabelRotate, getLabelStagger(), setLabelStagger()

Y2LogScale

 

This property selects logarithmic (true) or linear (false) scaling for the Y2-axis. When the scale range is set to automatic, any data items with Y2 values less than or equal to zero are graphed as null for log scale. If a manual scale range is specified to include negative values (Y2ScaleMin less than or equal to zero), the request for log scale is ignored and Y2LogScale is automatically set to false (linear scale).

Data Type:

Boolean

Range:

true / false

 

true=

Use logarithmic scale

 

false=

Use linear scale

Default:

false

Syntax:

setY2LogScale ( true | false )

 

boolean = getY2LogScale();

Example:

perspective1.setGraphType(21);
perspective1.setY2LogScale(true);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2LogScale(false);

 

Also See:

getLogScale(), setLogScale()

Y2MajorGridDisplay

 

This property enables (true) / disables (false) the display of major grid lines on the Y2-axis. The Y2-axis can include major and minor grid lines. In the default configuration, major grid lines are displayed and minor grid lines are not displayed. Use the Y2MajorGridStep property to control the number of grid lines that are drawn when this property is enabled. Use the Y2MajorGridStyle property to control the appearance of major grid lines.

Data Type:

Boolean

Range:

true / false

 

true=

Draw major grid lines on the Y2-axis

 

false=

Do not draw major grid lines on the Y2-axis

Default:

true

Syntax:

setY2MajorGridDisplay ( true | false );

 

boolean = getY2MajorGridDisplay ();

Example:

perspective1.setGraphType(21);
perspective1.setY2MajorGridDisplay(false);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2MajorGridDisplay(true);

 

Also See:

Y2MajorGridStyle, Y2MinorGridDisplay, Y2MinorGridStyle, getGridStyle(), setGridStyle()

Y2MajorGridStep

 

When Y2MajorGridStepAuto is set to false, this property controls the number of major grid steps on the Y2-axis. Assigning a value to this property will automatically set the Y2MajorGridStepAuto property to false.

Data Type:

Double

Range:

Any Positive Number

Default:

15.0

Syntax:

setY2MajorGridStep ( value );

 

value = getY2MajorGridStep ();

Example:

perspective1.setGraphType(21);
perspective1.setY2MajorGridStepAuto(false);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setY2MajorGridStep(10.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2MajorGridStep(20.0);

 

Notes:

If the value assigned to Y2MajorGridStep is negative or results in greater than 50 grid lines, the Y2MajorGridStepAuto property is automatically set to true and the Y2MajorGridStep value is ignored.

Also See:

Y2MajorGridStepAuto, Y2MinorGridStep, Y2MinorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y2MajorGridStepAuto

 

This property enables (true) / disables (false) automatic calculation of the number of major grid lines on the numeric Y2-axis of a chart. When this property is set to true, the value assigned to Y2MajorGridStep is ignored.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the number of major grid steps on the Y2-axis

 

false=

Use the value set by Y2MajorGridStep

Default:

true

Syntax:

setY2MajorGridStepAuto ( true | false );

 

boolean = getY2MajorGridStepAuto();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2MajorGridStep(10.0);
perspective1.setY2MajorGridStepAuto(false);

 

 

perspective1.setY2MajorGridStepAuto(true);

 

Notes:

If the value assigned to Y2MajorGridStep is negative or results in greater than 50 grid lines, the Y2MajorGridStepAuto property is automatically set to true and the Y2MajorGridStep value is ignored.

Also See:

Y2MajorGridStep, Y2MinorGridStep, Y2MinorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y2MajorGridStyle

 

This property controls the appearance of major grid lines on the numeric Y2-axis. Major grid lines can be small ticks at the base of the axis or lines that extend to the height/width of the chart frame. The Y2-axis can include major and minor grid lines. Major grid lines are normally set to a different style than minor grid lines so that the user can distinguish between the two.

Data Type:

Integer

Range:

0...4

 

0=

Normal grid lines, height/width of frame

 

1=

Normal grid lines extend beyond the height/width of frame

 

2=

Small tick marks from frame edge inward

 

3=

Small tick marks from frame edge outward

 

4=

Small tick marks span across the frame edge

Default:

Zero

Syntax:

setY2MajorGridStyle( value );

 

value = getY2MajorGridStyle();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2MajorGridStyle(2);

 

 

perspective1.setY2MajorGridStyle(4);

 

Also See:

Y2MajorGridDisplay, Y2MinorGridDisplay, Y2MinorGridStyle, getGridStyle(), setGridStyle()

Y2MinorGridDisplay

 

This property enables (true) / disables (false) the display of minor grid lines on the Y2-axis. The Y2-axis can include major and minor grid lines. In the default configuration, major grid lines are displayed and minor grid lines are not displayed. Use the Y2MinorGridStep property to control the number of grid lines that are drawn when this property is enabled. Use Y2MinorGridStyle to control the appearance of minor grid lines.

Data Type:

Boolean

Range:

true / false

 

true=

Draw minor grid lines on the Y2-axis

 

false=

Do not draw minor grid lines on the Y2-axis

Default:

false

Syntax:

setY2MinorGridDisplay ( true | false );

 

boolean = getY2MinorGridDisplay();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perpsective1.setGraphType(21);
perspective1.setY2MajorGridDisplay(false);
perspective1.setY2MinorGridDisplay(true);

 

 

perspective1.setY2MajorGridDisplay(true);
perspective1.setY2MinorGridDisplay(false);

 

Also See:

Y2MajorGridDisplay, Y2MajorGridStyle, Y2MinorGridStep, Y2MinorGridStepAuto, Y2MinorGridStyle, getGridStyle(), setGridStyle()

Y2MinorGridStep

 

This property sets a number of minor grid steps on the Y2-axis of the chart. Minor grid lines are drawn between the major grid lines (when they are displayed) and the location of the minor gridlines depend very much on the setting for the major grid lines. When a value is assigned to this property, the Y2MinorGridStepAuto property is automatically set to false. If the value assigned to this property results in greater than 50 minor grid lines between each major grid line, the Y2MinorGridStepAuto property is automatically set to true.

Data Type:

Double

Range:

Any Positive Number

Default:

15.0

Syntax:

setY2MinorGridStep( value );

 

value = getY2MinorGridStep();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setY2MinorGridStepAuto(false);
perspective1.setY2MinorGridStep(7);

 

 

perspective1.setY2MinorGridStep(5);

 

Notes:

If Y2MinorGridStep is set to a negative value or a value that results in greater than 50 minor grid lines between each major grid line, Y2MinorGridStepAuto is automatically set to true.

Also See:

Y2MinorGridStepAuto, Y2MajorGridStep, Y2MajorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y2MinorGridStepAuto

 

This property enables (true) / disables (false) automatic calculation of the number grid steps for Y2-axis minor grid lines.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the number of minor grid steps on the Y2-axis

 

false=

Use the value set by Y2MinorGridStep

Default:

true

Syntax:

setY2MinorGridStepAuto ( true | false );

 

boolean = getY2MinorGridStepAuto ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY2MinorGridDisplay(true);
perspective1.setY2MinorGridStepAuto(false);
perspective1.setY2MinorGridStep(7);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

Notes:

If Y2MinorGridStep is set to a negative value or a value that results in greater than 50 minor grid lines between each major grid line, the Y2MinorGridStepAuto property is automatically set to true.

Also See:

Y2MinorGridStep, Y2MajorGridStep, Y2MajorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y2MinorGridStyle

 

This property controls the appearance of minor grid lines on the Y2-axis. Minor grid lines can be small ticks at the base of the axis or lines that extend to the height/width of the chart frame. The Y2-axis can include major and minor grid lines. Minor grid lines are normally set to a different style than major grid lines so that the user can distinguish between the two.

Data Type:

Integer

Range:

0...4

 

0=

Normal grid lines, height/width of frame

 

1=

Normal grid lines extend beyond the height/width of frame

 

2=

Small tick marks from frame edge inward

 

3=

Small tick marks from frame edge outward

 

4=

Small tick marks span across the frame edge

Default:

Zero

Syntax:

setY2MinorGridStyle ( value );

 

value = getY2MinorGridStyle ();

Example:

perspective1.setGraphType(21);
perspective1.setDepthAngle(0);
perspective1.setY2MajorGridDisplay(false);
perspective1.setY2MinorGridDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY2MinorGridStyle(3);
perspective1.setDepthRadius(0);

 

Also See:

Y2MajorGridDisplay, Y2MajorGridStyle, Y2MinorGridDisplay, getGridStyle(), setGridStyle()

Y2MustIncludeZero

 

When automatic scaling is used (Y2ScaleMaxAuto and Y2ScaleMinAuto are true) and the range of values provided to the chart includes zero, this property determines whether or not the chart must include zero on the Y2 axis. If the logarithmic scale is enabled with Y2LogScale(true) or a manual scale range excludes zero (Y2ScaleMax and Y2ScaleMin are greater than zero), this property is ignored.

Data Type:

Boolean

Range:

true / false

 

true=

Include zero

 

false=

Exclude Zero if it is not within the given automatic scale range

Default:

false

Syntax:

setY2MustIncludeZero ( true | false );

 

boolean = getY2MustIncludeZero ();

Example

perspective1.setY2MustIncludeZero(true);
perspective1.setGraphType(19);

 

 

perspective1.setY2MustIncludeZero(false);
perspective1.setGraphType(19);

 

Also See:

Y2ScaleMax, Y2ScaleMin Y2ZeroLineDisplay

Y2OffScaleDisplay

 

This property enables (true) / disables (false) the display of values that are out of range by clipping them to fit within the range. When this property is enabled (true), values less than or greater than a given range are represented at the scale limit (minimum or maximum). For example, a value of 700 goes beyond the specified range of 250-500, so its bar would go all the way to the top of the chart. When this property is disabled (false), only values that fall directly between a given range are displayed (e.g. in the example above, the 700 bar would be omitted).

Data Type:

Boolean

Range:

true / false

 

true=

Draw off scale values

 

false=

Do not draw off scale values

Default:

true

Syntax:

setY2OffScaleDisplay ( true | false );

 

boolean = getY2OffScaleDisplay ();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setGraphType(21);
perspective1.setY2ScaleMaxAuto(false);
perspective1.setY2ScaleMax(40.0);
perspective1.setY2OffScaleDisplay(false);

 

 

perspective1.setY2OffScaleDisplay(true);

 

Also See:

getDisplayOffScale(), setDisplayOffScale()

Y2ScaleMax

 

This property specifies the maximum data value that can be used to image the graph and its axis. When a value is assigned to this property, the Y2ScaleMaxAuto property is automatically set to false.

Data Type:

Double

Range:

Any number

Default:

80.0

Syntax:

setY2ScaleMax ( value );

 

value = getY2ScaleMax ();

Example:

perspective1.setGraphType(21);
perspective1.setY2ScaleMaxAuto(false);
perspective1.setDepthAngle(0);
perspective1.setY2ScaleMax(60.0);
perspective1.setLegendDisplay(false);
perspective1.setY2OffScaleDisplay(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2ScaleMax(100);

 

Notes:

If Y2ScaleMax is set to a value less than Y2ScaleMin, the values will be automatically switched and Y2AxisDescending will be set to true.

Also See:

Y2ScaleMaxAuto, Y2ScaleMin, Y2ScaleMinAuto, getScaleMax(), getScaleMaxAuto(), setScaleMax(), setScaleMaxAuto()

Y2ScaleMaxAuto

 

This property enables (true) / disables (false) use of the value assigned to the setY2ScaleMax property.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the maximum value on the Y2-axis

 

false=

Use value set by Y2ScaleMax

Default:

true

Syntax:

setY2ScaleMaxAuto ( true | false );

 

boolean = getY2ScaleMaxAuto ();

Example:

perspective1.setY2ScaleMaxAuto(false);
perspective1.setDepthAngle(0);
perspective1.setY2ScaleMax(20.0);
perspective1.setLegendDisplay(false);
perspective1.setY2OffScaleDisplay(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2ScaleMaxAuto(true);

 

Also See:

Y2ScaleMax, Y2ScaleMin, Y2ScaleMinAuto, getScaleMax(), getScaleMaxAuto(), setScaleMax(), setScaleMaxAuto()

Y2ScaleMin

 

This property specifies the minimum data value that can be used to manually image the graph and its axis. When a value is assigned to this property, the Y2ScaleMinAuto property is automatically set to false.

Data Type:

Double

Range:

Any number

Default:

10.0

Syntax:

setY2ScaleMin ( value );

 

value = getY2ScaleMin ();

Example:

perspective1.setGraphType(21);
perspective1.setDepthAngle(0);
perspective1.setY2ScaleMinAuto(false);
perspective1.setY2ScaleMin(20.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2ScaleMin(10);

 

Notes:

If Y2ScaleMax is set to a value less than Y2ScaleMin, the values will be automatically switched and Y2AxisDescending will be set to true.

Also See:

Y2ScaleMinAuto, Y2ScaleMax, Y2ScaleMaxAuto, getScaleMin(), getScaleMinAuto(), setScaleMin(), setScaleMinAuto()

Y2ScaleMinAuto

 

This property enables (true) /disables (false) automatic minimum scaling. When this property is set to true, the value assigned to the Y2ScaleMin property is ignored.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the minimum value on the Y2-axis

 

false=

Use value set by Y2ScaleMin

Default:

true

Syntax:

setY2ScaleMinAuto ( true | false );

 

boolean = getY2ScaleMinAuto ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY2ScaleMinAuto(false);
perspective1.setY2ScaleMin(10.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2ScaleMinAuto(true);

 

Also See:

Y2ScaleMin, Y2ScaleMax, Y2ScaleMaxAuto, getScaleMin(), getScaleMinAuto(), setScaleMin(), setScaleMinAuto()

Y2TitleAutofit

 

This property enables (true) / disables (false) automatic sizing of the Y2-axis title string.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically size and fit the Y2-axis title string

 

false=

Allow Y2-axis title to be any size

Default:

true

Syntax:

setY2TitleAutofit ( true | false );

 

boolean = getY2TitleAutofit ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY2TitleDisplay(true);
perspective1.setY2TitleString("Y2 AXIS");
perspective1.setY2TitleAutofit(false);
perspective1.setFontSizeVC(
   perspective1.getY2Title(),2500);
perspective1.setDepthRadius(0);

 

 

perspective1.setY2TitleAutofit(true);

 

Also See:

Y2TitleDisplay, Y2TitleString, getAutofit(), setAutofit()

Y2TitleDisplay

 

This property enables (true) / disables (false) drawing of the Y2-axis title string.

Data Type:

Boolean

Range:

true / false

 

true=

Draw Y2-axis title

 

false=

Do not draw Y2-axis title

Default:

false

Syntax:

setY2TitleDisplay ( true | false );

 

boolean = getY2TitleDisplay();

Example:

perspective1.setDepthAngle(0);
perspective1.setY2TitleDisplay(true);
perspective1.setY2TitleString("Y2 AXIS");
perspective1.setDepthRadius(0);

 

 

perspective1.setY2TitleDisplay(false);

 

Notes:

If Y2LabelDisplay is set to false, the title string will not be drawn regardless of the Y2TitleDisplay or Y2TitleString property.

Also See:

Y2LabelDisplay, Y2TitleAutofit, Y2TitleString

Y2TitleString

 

This property defines the Y2-axis title string. When a title string is assigned to this property, the Y2TitleDisplay property is automatically set to true.

Data Type:

String

Range:

Any printable characters

Default:

null string

Syntax:

setY2TitleString ("string");

 

string = getY2TitleString();

Example:

perspective1.setDepthAngle(0);
perspective1.setY2TitleDisplay(true);
perspective1.setY2TitleString("Y2 AXIS");
perspective1.setDepthRadius(0);

 

Notes:

If Y2LabelDisplay is set to false, the title string will not be drawn regardless of the Y2TitleDisplay or Y2TitleString property.

Also See:

Y2LabelDisplay, Y2TitleAutofit, Y2TitleDisplay