Y1AxisDescending

 

This property can be used to change the direction of the Y1-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 Y1-axis. 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 / false

 

true=

Draw labels on Y1-axis in descending order

 

false=

Draw labels on Y1-axis in ascending order

Default:

false

Syntax:

setY1AxisDescending ( true | false );

 

boolean = getY1AxisDescending();

Example:

perspective1.setY1AxisDescending(true);
perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);

 

 

perspective1.setY1AxisDescending(false);

 

Also See:

getAxisDescending(), setAxisDescending()

Y1AxisLineDisplay

 

This property enables/disables display of the Y1 axis base line. Y1AxisSide determines the location where the Y1 axis base line is drawn.

Data Type:

Boolean

Range:

true / false

 

true=

Draw the Y1-axis base line

 

false=

Do not draw the Y1-axis base line

Default:

true

Syntax:

setY1AxisLineDisplay ( true | false );

 

boolean = getY1AxisLineDisplay ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1AxisLineDisplay(true);
perspective1.setLineWidth(perspective1.getY1AxisLine(),5);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);

 

 

perspective1.setY1AxisLineDisplay(false);

 

Notes:

In the default configuration for this chart type, the Y1AxisLine 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 getY1AxisLine() method to get the object ID of the line and setLineWidth() method to increase the width of the line.

Also See:

Y1AxisSide, getY1AxisLine(), setLineWidth(), getAxisAssignment(), setAxisAssignment(), getAxisSide(), setAxisSide()

Y1AxisSide

 

This property controls which side of the graph the Y1-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:

Zero

Syntax:

setY1AxisSide ( value );

 

value = getY1AxisSide();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1AxisSide(2);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);

 

 

perspective1.setY1AxisSide(1);

 

Notes:

Y1AxisLineDisplay, setAxisAssignment(), getAxisSide(), setAxisSide()

Y1ExcludeMaxLabel

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Exclude the maximum label

 

false=

Include the maximum label

Default:

false

Syntax:

setY1ExcludeMaxLabel ( true | false );

 

boolean = getY1ExcludeMaxLabel();

Example:

perspective1.setY1ExcludeMaxLabel(false);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);
perspective1.setDepthAngle(0);

 

 

perspective1.setY1ExcludeMaxLabel(true);

 

Notes:

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

Also See:

Y1ExcludeMinLabel, Y1LabelDisplay, getExcludeMaxLabel(), getExcludeMinLabel(), setExcludeMaxLabel(), setExcludeMinLabel()

Y1ExcludeMinLabel

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Exclude the maximum label

 

false=

Include the maximum label

Default:

false

Syntax:

setY1ExcludeMinLabel ( true | false );

 

boolean = getY1ExcludeMinLabel();

Example:

perspective1.setY1ExcludeMinLabel(false);
perspective1.setLegendDisplay(false);
perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ExcludeMinLabel(true);

 

Notes:

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

Also See:

Y1ExcludeMaxLabel, Y1LabelDisplay, getExcludeMaxLabel(), getExcludeMinLabel(), setExcludeMaxLabel(), setExcludeMinLabel()

Y1LabelAutofit

 

This property enables (true) / disables (false) automatic sizing of Y1-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 Y1-axis labels when this property is disabled. If this property is set to true, values set by setFontSize() or setFontSizeVC() for the Y1-axis labels will be ignored.

Data Type:

Boolean

Range:

true / false

 

true=

Automatically size/fit Y1-axis labels

 

false=

Allow Y1-axis labels to be any size

Default:

true

Syntax:

setY1LabelAutofit ( true | false );

 

boolean = getY1LabelAutofit ();

Example:

perspective1.setY1TitleDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY1TitleString("Y1 AXIS");
perspective1.setY1TitleAutofit(false);
perspective1.setY1LabelAutofit(false);
perspective1.setFontSizeVC(
    perspective1.getY1Title(),3000);
perspective1.setFontSizeVC(
    perspective1.getY1Label(),3000);
perspective1.setDepthRadius(0);
perspective1.setDepthAngle(0);

 

Also See:

Y1LabelDisplay, Y1LabelFormat, Y1LabelFormatPattern, Y1LabelRotate, Y1LabelStagger, TextAutofitMax, TextAutofitMin, setFontSize(), setFontSizeVC()

Y1LabelDisplay

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Draw Y1-axis labels

 

false=

Do not draw Y1-axis labels

Default:

true

Syntax:

setY1LabelDisplay ( true | false );

 

boolean = getY1LabelDisplay();

Example:

perspective1.setY1LabelDisplay(false);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1LabelDisplay(true);

 

Notes:

If the Y1 axis title is defined with Y1TitleString and displayed with Y1TitleDisplay, setting Y1LabelDisplay to false will also remove the title string.

Also See:

Y1LabelAutofit, Y1LabelFormat, Y1LabelFormatPattern, Y1LabelRotate, Y1LabelStagger

Y1LabelFormat

 

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

Data Type:

Integer

Range:

-1...17

 

Value

Format (Example)

 

-1

Use format set by Y1LabelFormatPattern

 

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:

setY1LabelFormat ( value );

 

value = getY1LabelFormat();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setY1LabelFormat(2);

 

Also See:

Y1LabelFormatPattern

Y1LabelFormatPattern

 

When Y1LabelFormat is set to minus one, this property can be used to define a standard Java format pattern for Y1-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:

setY1LabelFormatPattern ( string );

 

string = getY1LabelFormatPattern();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setY1LabelFormat(-1);
perspective1.setY1LabelFormatPattern("#.#$");

 

 

perspective1.setY1LabelFormatPattern("#.#=");

 

Also See:

Y1LabelFormat

Y1LabelRotate

 

This property can be used to rotate labels on the Y1-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:

setY1LabelRotate ( value );

 

value = getY1LabelRotate();

Example:

perspective1.setY1LabelRotate(1);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1LabelRotate(2);

 

Also See:

Y1LabelAutofit, Y1LabelDisplay, Y1LabelFormat, Y1LabelStagger

Y1LabelStagger

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Stagger labels

 

false=

Draw labels on a single, even line

Default:

false

Syntax:

setY1LabelStagger ( true | false );

 

boolean = getY1LabelStagger ();

Example:

perspective1.setY1LabelStagger(true);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1LabelStagger(false);

 

Notes:

This property is not supported in 3D charts.

Also See:

Y1LabelAutofit, Y1LabelDisplay, Y1LabelFormat, Y1LabelRotate, getLabelStagger(), setLabelStagger()

Y1LogScale

 

This property selects logarithmic (true) or linear (false) scaling for the Y1-axis. When the scale range is set to automatic, any data items with Y1 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 (Y1ScaleMin less than or equal to zero), the request for log scale is ignored and Y1LogScale is automatically set to false (linear scale).

Data Type:

Boolean

Range:

true / false

 

true=

Use logarithmic scale

 

false=

Use linear scale

Default:

false

Syntax:

setY1LogScale( true | false )

 

boolean = getY1LogScale ();

Example:

perspective1.setY1LogScale(true);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1LogScale(false);

 

Also See:

getLogScale(), setLogScale()

Y1MajorGridDisplay

 

This property enables (true) / disables (false) the display of major grid lines on the Y1-axis. The Y1-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 Y1MajorGridStep property to control the number of grid lines that are drawn when this property is enabled. Use the Y1MajorGridStyle property to control the appearance of major grid lines.

Data Type:

Boolean

Range:

true / false

 

true=

Draw major grid lines on the Y1-axis

 

false=

Do not draw major grid lines on the Y1-axis

Default:

true

Syntax:

setY1MajorGridDisplay ( true | false );

 

boolean = getY1MajorGridDisplay ();

Example:

perspective1.setY1MajorGridDisplay(false);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1MajorGridDisplay(true);

 

Also See:

Y1MajorGridStyle, Y1MinorGridDisplay, Y1MinorGridStyle, getGridStyle(), setGridStyle()

Y1MajorGridStep

 

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

Data Type:

Double

Range:

Any Positive Number

Default:

15.0

Syntax:

setY1MajorGridStep ( value );

 

value = getY1MajorGridStep ();

Example:

perspective1.setY1MajorGridStepAuto(false);
perspective1.setDepthAngle(0);
perspective1.setY1LabelFormat(1);
perspective1.setLegendDisplay(false);
perspective1.setY1MajorGridStep(5.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1MajorGridStep(20);

 

Notes:

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

Also See:

Y1MajorGridStepAuto, Y1MinorGridStep, Y1MinorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y1MajorGridStepAuto

 

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

Data Type:

Boolean

Range:

true / false

 

true=

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

 

false=

Use the value set by Y1MajorGridStep

Default:

true

Syntax:

setY1MajorGridStepAuto ( true | false );

 

boolean = getY1MajorGridStepAuto();

Example:

perspective1.setDepthRadius(0);
perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setY1MajorGridStep(20.0);
perspective1.setY1MajorGridStepAuto(false);

 

 

perspective1.setY1MajorGridStepAuto(true);

 

Notes:

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

Also See:

Y1MajorGridStep, Y1MinorGridStep, Y1MinorGridStepAuto,
getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto(), getY1MajorGridStepAutoValue()

Y1MajorGridStyle

 

This property controls the appearance of major grid lines on the numeric Y1-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 Y1-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:

setY1MajorGridStyle ( value );

 

value = getY1MajorGridStyle ();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setY1MajorGridStyle(2);

 

 

perspective1.setY1MajorGridStyle(3);

 

Also See:

Y1MajorGridDisplay, Y1MinorGridDisplay, Y1MinorGridStyle,
getGridStyle(), setGridStyle()

Y1MinorGridDisplay

 

This property enables (true) / disables (false) the display of minor grid lines on the Y1-axis. The Y1-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 Y1MinorGridStep property to control the number of grid lines that are drawn when this property is enabled. Use Y1MinorGridStyle to control the appearance of minor grid lines.

Data Type:

Boolean

Range:

true / false

 

true=

Draw minor grid lines on the Y1-axis

 

false=

Do not draw minor grid lines on the Y1-axis

Default:

false

Syntax:

setY1MinorGridDisplay ( true | false );

 

boolean = getY1MinorGridDisplay ();

Example:

perspective1.setDepthAngle(0);
perspective1.setLegendDisplay(false);
perspective1.setY1MajorGridDisplay(false);
perspective1.setY1MinorGridDisplay(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1MajorGridDisplay(true);
perspective1.setY1MinorGridDisplay(false);

 

Also See:

Y1MajorGridDisplay, Y1MajorGridStyle, Y1MinorGridStep, Y1MinorGridStepAuto, Y1MinorGridStyle, getGridStyle(), setGridStyle()

Y1MinorGridStep

 

This property sets a number of minor grid steps on the Y1-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 Y1MinorGridStepAuto 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 Y1MinorGridStepAuto property is automatically set to true.

Data Type:

Double

Range:

Any Positive Number

Default:

15.0

Syntax:

setY1MinorGridStep ( value );

 

value = getY1MinorGridStep ();

Example:

perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setLegendDisplay(false);
perspective1.setY1MinorGridDisplay(true);
perspective1.setY1MinorGridStepAuto(false);
perspective1.setY1MinorGridStep(7);

 

 

perspective1.setY1MinorGridStep(9);

 

Notes:

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

Also See:

Y1MinorGridStepAuto, Y1MajorGridStep, Y1MajorGridStepAuto, getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y1MinorGridStepAuto

 

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

Data Type:

Boolean

Range:

true / false

 

true=

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

 

false=

Use the value set by Y1MinorGridStep

Default:

true

Syntax:

setY1MinorGridStepAuto ( true | false );

 

boolean = getY1MinorGridStepAuto ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1MinorGridDisplay(true);
perspective1.setY1MinorGridStepAuto(false);
perspective1.setY1MinorGridStep(7);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

Notes:

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

Also See:

Y1MinorGridStep, Y1MajorGridStep, Y1MajorGridStepAuto,
getGridStep(), getGridStepAuto(), setGridStep(), setGridStepAuto()

Y1MinorGridStyle

 

This property controls the appearance of minor grid lines on the Y1-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 Y1-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:

setY1MinorGridStyle ( value );

 

value = getY1MinorGridStyle ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1MajorGridDisplay(false);
perspective1.setY1MinorGridDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY1MinorGridStyle(3);
perspective1.setDepthRadius(0);

 

Also See:

Y1MajorGridDisplay, Y1MajorGridStyle, Y1MinorGridDisplay,
getGridStyle(), setGridStyle()

Y1MustIncludeZero

 

When automatic scaling is used (Y1ScaleMaxAuto and Y1ScaleMinAuto 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 Y1 axis. If the logarithmic scale is enabled with Y1LogScale(true) or a manual scale range excludes zero (Y1ScaleMax and Y1ScaleMin 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:

setY1MustIncludeZero ( true | false );

 

boolean = getY1MustIncludeZero ();

Example

perspective1.setDepthAngle(0);
perspective1.setY1MustIncludeZero(true);
perspective1.setGraphType(21);
perspective1.setDepthRadius(0);
getContentPane().add(perspective1);

 

 

perspective1.setDepthAngle(0);
perspective1.setY1MustIncludeZero(false);
perspective1.setGraphType(21);
perspective1.setDepthRadius(0);
getContentPane().add(perspective1);

 

Also See:

Y1ScaleMax, Y1ScaleMin, Y1ZeroLineDisplay

Y1OffScaleDisplay

 

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:

setY1OffScaleDisplay ( true | false );

 

boolean = getY1OffScaleDisplay ();

Example:

perspective1.setY1ScaleMax(40.0);
perspective1.setY1OffScaleDisplay(false);

 

 

perspective1.setY1OffScaleDisplay(true);

 

Also See:

getDisplayOffScale(), setDisplayOffScale()

Y1ScaleMax

 

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 Y1ScaleMaxAuto property is automatically set to false.

Data Type:

Double

Range:

Any number

Default:

70.0

Syntax:

setY1ScaleMax ( value );

 

value = getY1ScaleMax ();

Example:

perspective1.setY1ScaleMaxAuto(false);
perspective1.setDepthAngle(0);
perspective1.setY1ScaleMax(40.0);
perspective1.setLegendDisplay(false);
perspective1.setY1OffScaleDisplay(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ScaleMax(20.0);

 

Notes:

If Y1ScaleMax is set to a value less than Y1ScaleMin, the values will be automatically switched and the Y1AxisDescending property will be set to true.

Also See:

Y1ScaleMaxAuto, Y1ScaleMin, Y1ScaleMinAuto, getScaleMax(), getScaleMaxAuto(), setScaleMax(), setScaleMaxAuto()

Y1ScaleMaxAuto

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the maximum value on the Y1-axis

 

false=

Use value set by Y1ScaleMax

Default:

true

Syntax:

setY1ScaleMaxAuto ( true | false );

 

boolean = getY1ScaleMaxAuto ();

Example:

perspective1.setY1ScaleMaxAuto(false);
perspective1.setDepthAngle(0);
perspective1.setY1ScaleMax(20.0);
perspective1.setLegendDisplay(false);
perspective1.setY1OffScaleDisplay(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ScaleMaxAuto(true);

 

Also See:

Y1ScaleMax, Y1ScaleMin, Y1ScaleMinAuto, getScaleMax(), getScaleMaxAuto(), setScaleMax(), setScaleMaxAuto(), getY1ScaleMaxAutoValue()

Y1ScaleMin

 

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 Y1ScaleMinAuto property is automatically set to false.

Data Type:

Double

Range:

Any number

Default:

0.0

Syntax:

setY1ScaleMin ( value );

 

value = getY1ScaleMin ();

Example:

perspective1.setY1ScaleMin(20.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ScaleMin(20.0);

 

Notes:

If Y1ScaleMax is set to a value less than Y1ScaleMin, the values will be automatically switched and the Y1AxisDescending property will be set to true.

Also See:

Y1ScaleMinAuto, Y1ScaleMax, Y1ScaleMaxAuto, getScaleMin(), getScaleMinAuto(), setScaleMin(), setScaleMinAuto()

Y1ScaleMinAuto

 

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

Data Type:

Boolean

Range:

true / false

 

true=

Automatically calculate the minimum value on the Y1-axis

 

false=

Use value set by Y1ScaleMin

Default:

true

Syntax:

setY1ScaleMinAuto ( true | false );

 

boolean = getY1ScaleMinAuto ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1ScaleMinAuto(false);
perspective1.setLegendDisplay(false);
perspective1.setY1ScaleMin(10.0);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ScaleMinAuto(true);

 

Also See:

Y1ScaleMin, Y1ScaleMax, Y1ScaleMaxAuto, getScaleMin(), getScaleMinAuto(), setScaleMin(), setScaleMinAuto(), getY1ScaleMinAutoValue()

Y1TitleAutofit

 

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

Data Type:

Boolean

Range:

true/ false

 

true=

Automatically size and fit the Y1-axis title string

 

false=

Allow Y1-axis title to be any size

Default:

true

Syntax:

setY1TitleAutofit ( true | false );

 

boolean = getY1TitleAutofit ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1TitleDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY1TitleString("Y1 AXIS");
perspective1.setY1TitleAutofit(false);
perspective1.setFontSizeVC(
   perspective1.getY1Title(),4000);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1TitleAutofit(true);

 

Also See:

Y1TitleDisplay, Y1TitleString, getAutofit(), setAutofit()

Y1TitleDisplay

 

This property enables (true) / disables (false) drawing of the Y1-axis title string. The Y1-axis title is defined by the Y1TitleString property.

Data Type:

Boolean

Range:

true / false

 

true=

Draw Y1-axis title

 

false=

Do not draw Y1-axis title

Default:

false

Syntax:

setY1TitleDisplay ( true | false );

 

boolean = getY1TitleDisplay();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1TitleDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY1TitleString("Y1 AXIS");
perspective1.setDepthRadius(0);

 

 

perspective1.setY1TitleDisplay(false);

 

Notes:

If Y1LabelDisplay is set to false, the title string will not be drawn regardless of the Y1TitleDisplay or Y1TitleString property.

Also See:

Y1LabelDisplay, Y1TitleAutofit, Y1TitleString

Y1TitleString

 

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

Data Type:

String

Range:

Any printable characters

Default:

null string

Syntax:

setY1TitleString ( "string");

 

string = getY1TitleString();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1TitleDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setY1TitleString("Y1 AXIS");
perspective1.setDepthRadius(0);

 

 

perspective1.setY1TitleString(
   "THIS IS THE Y1 AXIS TITLE");

 

Notes:

If Y1LabelDisplay is set to false, the title string will not be drawn regardless of the Y1TitleDisplay or Y1TitleString property.

Also See:

Y1LabelDisplay, Y1TitleAutofit, Y1TitleDisplay

Y1ZeroLineDisplay

 

This property enables (true) / disables (false) drawing of the zero line on the Y1-axis when zero is within the Y1 axis scale range.

Data Type:

Boolean

Range:

true / false

 

true=

Draw zero line on Y1-axis

 

false=

Do not draw zero line

Default:

false

Syntax:

setY1ZeroLineDisplay ( true | false );

 

boolean = getY1ZeroLineDisplay ();

Example:

perspective1.setDepthAngle(0);
perspective1.setY1ZeroLineDisplay(true);
perspective1.setLegendDisplay(false);
perspective1.setDepthRadius(0);

 

 

perspective1.setY1ZeroLineDisplay(false);

 

Notes:

To increase the width of the zero line, use the getY1ZeroLine() method to get the object ID of the line and the setLineWidth() method to specify the width (in pixels) of the line.

Also See:

Y1MustIncludeZero, Y1ScaleMax, Y1ScaleMin, getY1ZeroLine(), setLineWidth()