ToolTipDelay / Display / Mode
The ToolTipDelay property gets/sets the delay (in milliseconds) at which tool tips (CharTips and WidgeTips) will be displayed when the ToolTipDisplay property is set to true. The ToolTipDisplay property enables/disables the display of tool tips. The ToolTipMode property toggles CharTips between explicit developer information and user level information. |
ToolTipDelay: Real |
ToolTipDelay: Any real number |
ToolTipDelay: 500 |
setToolTipDisplay( true ); |
setToolTipDelay ( value ); setToolTipDisplay ( true | false ); setToolTipMode ( true | false ); |
get/setToolTipCustomString() and setToolTipUser() methods in Chapter 8. |
Description:
This property controls whether the chart will be drawn directly to the graphics device (true) or using an off-screen image buffer (false). Set this property to false when the drawing speed of the chart seems very slow. When this property is set to false, it can increase the drawing speed by a factor of three in some situations. |
Data Type:
Boolean |
Valid Range:
true (draw directly to graphics device) / false (use off screen image buffer) |
Default Value:
false |
Syntax:
setUseOffScreen ( true| false ); |
This property enables (true) / disables (false) the use of a sample data in a chart. |
Boolean |
true (use sample data) / false (do not use sample data) |
true |
setUseSampleData ( true| false ); |
/* A basic extension of the java.applet.Applet class */ |
"Default Values and Sample Data" in Chapter 3. |
This property enables/disables the use of the shapes defined by the getMarkerTemplate() method for the legend icons. |
Boolean |
true/false |
|
true (Use getMarkerTemplate() shapes) |
false |
setUseSeriesShapes ( false ); |
setUseSeriesShapes ( true ); |
setUseSeriesShapes ( true | false ); / boolean = getUseSeriesShapes(); |
LegendDisplay, LegendMarkerPosition, LegendReverse, LegendTextAutofit, and the get/setMarkerShape(), get/setMarkerSize(), get/setMarkerTemplate(), get/setMarkerTemplateIndex() methods in Chapter 8 |
This property selects an entry in the table of "preset" viewing angles for 3D graphs. |
Integer |
-1...15 |
||
Value |
Description |
|
-1 |
Custom |
|
0 |
Standard |
|
1 |
Tall and Skinny |
|
2 |
From the Top |
|
3 |
Distorted |
|
4 |
Short and Fat |
|
5 |
Group's Eye |
|
6 |
Group Emphasis |
|
7 |
Few Series |
|
8 |
Few Groups |
|
9 |
Distorted Standard |
|
10 |
Shorted and Fatter |
|
11 |
Thick Wall for Series |
|
12 |
Thick Wall Standard |
|
13 |
California Special |
|
14 |
Blast-O-Vision |
-1 (Custom) |
setViewing3DAnglePreset ( 3 ); |
setViewing3DAnglePreset ( 5 ); |
setViewing3DAnglePreset ( value ); |
This property only affects 3D graphs. This property must be set to -1 (custom) in order for most Cube... properties to be applied to the graph. |
CubeFocusFactor, CubeIsometricProjection, CubeLightSourceX/Y/Z, CubePanX/Y, CubeSizeX/Y/Z, CubeSquareRisers, CubeTranslationX/Y/Z, CubeViewerX/Y/Z, CubeWallThickX/Y/Z, CubeZoomFactor, and the GraphType property to select a 3D graph. |
This property is used to change the direction of the X-axis. When false, values ascend normally -- from left to right on the X-axis. When true, values are reversed and descend from left-to-right on the graph. Note that this property also reverses the order of the axis labels and changes all data-related objects (e.g., markers) from their previous state. |
Boolean |
true /false |
|
true = Descending values (scale labels are reversed in order) |
false |
setX1AxisDescending ( true ); |
setX1AxisDescending ( false ); |
setX1AxisDescending ( true | false ); / boolean = getX1AxisDescending(); |
{ |
get/setAxisDescending() in Chapter 8. |
This property enables (true) / disables (false) the display of the X1 axis line. |
Boolean |
true / false |
false |
setX1AxisLineDisplay ( true ); |
setX1AxisLineDisplay ( false ); |
setX1AxisLineDisplay( true | false ); |
id = perspective1.getX1AxisLine(); |
1. |
The location of the line is determined by the X1AxisSide property. |
|
2. |
In the default configuration for this chart type, the X1AxisLine 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 getX1AxisLine() method to get the object ID of the line and setLineWidth() method to increase the width of the line. |
X1AxisSide and getX1AxisLine(), setLineWidth(), and get/setAxisSide in Chapter 8. |
This property controls which side of the graph an X-axis will be imaged. |
Integer |
0...2 |
|||
# |
Value |
Description |
|
0 |
Left |
Image to low side of graph (bottom or left). |
|
1 |
Right |
Image to high side of graph (top or right). |
|
2 |
Both |
Image to both sides. |
0 (Left/Bottom) |
setX1AxisSide ( 1 ); |
setX1AxisSide ( 2 ); |
setX1AxisSide ( value ); |
import java.awt.*; |
X1AxisLineDisplay and get/setAxisSide() in Chapter 8. |
X1ExcludeMaxLabel / X1ExcludeMinLabel
The X1ExcludeMaxLabel property enables (true) / disables (false) the exclusion of the maximum label on the X1 axis. The X1ExcludeMinLabel property enables (true) / disables (false) the exclusion of the minimum label on the X1 axis. |
Boolean |
X1ExcludeMaxLabel: true (exclude max label) / false (include max label) |
false (maximum and minimum labels are displayed) |
setX1ExcludeMaxLabel ( true ); |
setX1ExcludeMaxLabel ( false ); |
setX1ExcludeMaxLabel ( true | false ); setX1ExcludeMinLabel ( true | false ); |
get/setExcludeMaxLabel() and get/setExcludeMinLabel() in Chapter 8 |
X1LabelAutofit / Display
The X1LabelAutofit property is used to automatically fit/size all numeric axis labels on the numeric X-axis. When autofitting is enabled (the default), the font size of these objects cannot be changed to a size that is larger than the relative location/size of the object and objects around it. When autofitting is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph. The X1LabelDisplay property enables (true) / disables (false) the display of labels on the X-axis. |
Boolean |
X1LabelAutofit: true (autofit labels) / false (do not autofit labels) |
true |
setX1LabelDisplay ( true ); |
setX1LabelDisplay ( false ); |
setX1LabelAutofit ( true | false ); setX1LabelDisplay ( true | false ); |
When the X1LabelAutofit property is enabled (true), font size changes are ignored. Typically, your user interface should gray-out font size menu selections when this property is enabled. |
X1LabelFormat / X1LabelFormatPattern
When the X1LabelDisplay property is set to true and data value labels are displayed on the X axis, these properties can be used to select the format of the data values. X1LabelFormat can be used to select one of the standard preset formats. X1LabelFormatPatten can be used to specify a standard Java number format pattern. |
X1LabelFormat: Integer |
X1LabelFormat: -1...14 (-1 = Use format set by X1LabelFormatPattern) |
||||||
Value |
Format |
Example |
Value |
Format |
Example |
|
0 |
General |
560 |
8 |
$0K |
$56K |
|
1 |
0 |
560 |
9 |
0M |
56M |
|
2 |
0% |
56% |
10 |
$0M |
$56M |
|
3 |
0.0% |
56.6% |
11 |
0B |
56B |
|
4 |
0.00% |
56.66% |
12 |
$0B |
$56B |
|
5 |
$0.00 |
$56.66 |
13 |
0T |
56T |
|
6 |
$0 |
$56 |
14 |
$0T |
$56T |
|
7 |
0K |
56K |
||||
X1LabelFormatPattern: A pattern string in the following format: |
X1LabelFormat: 0 (General) |
setX1LabelFormat ( value ); |
X1LabelAutofit, X1LabelDisplay, X1LabelRotate, X1LabelStagger |
This property can be used to rotate labels on the X-axis. |
Integer |
0-2 |
||
# |
Description |
|
0 |
No text rotation |
|
1 |
Rotate text 90 degrees (reads top to bottom) |
|
2 |
Rotate text 270 degrees (reads bottom to top) |
0 (no text rotation) |
setX1LabelRotate ( value ); |
/* |
X1LabelAutofit, X1LabelDisplay, X1LabelFormat, X1LabelStagger |
This property specifies whether or not text for this graph axis should be staggered. Staggered labels are drawn in a zig-zag fashion, with labels weaving in and under each other. This property affects all X-axis labels. |
Boolean |
true / false |
false |
setX1LabelStagger ( true ); |
setX1LabelStagger ( false ); |
setX1LabelStagger ( true | false ); |
perspective1.setGraphType(61); |
X1LabelAutofit, X1LabelDisplay, X1LabelFormat, X1LabelRotate, and get/setLabelStagger() in Chapter 8. |
This property specifies the scale (logarithmic or linear) for the numeric X-axis. When the scale range is set to automatic, any data items with X1 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 (X1ScaleMin less than or equal to zero), the request for log scale is ignored. X1LogScale is automatically set to false (linear scale). |
Boolean |
true (use logrithmic scale) / false (use linear scale) |
false |
setX1LogScale ( true ); |
setX1LogScale ( false ); |
setX1LogScale ( true | false ) / boolean = getX1LogScale (); |
|
get/setLogScale() in Chapter 8 |
This property controls whether or not major grid lines are displayed on the primary (X1) numeric axis. |
Boolean |
true / false |
true |
setX1MajorGridDisplay ( true ); |
setX1MajorGridDisplay ( false ); |
setX1MajorGridDisplay ( true | false ); |
X1MajorGridStep / X1MajorGridStepAuto
The X1MajorGridStep property can be used to control the number of major grid lines/steps that will be imaged on the X-axis of the chart. For example, grid steps 1, 6, 11, 16, ...51 will be imaged if the range of values in the chart is 1...51 and this property is set to 5. If this property is set to 10, grid steps 1, 11, 21, 31...51 would be displayed. Assigning a value to this property will automatically set the X1MajorGridStepAuto property to false. The X1MajorGridStepAuto property enables (true) / disables (false) automatic calculation of the number of major grid lines on the numeric X-axis of a chart. When this property is set to true, the value assigned to X1MajorGridStep is ignored. Also see the Notes below. |
X1MajorGridStep: Real |
X1MajorGridStep: Any Positive Real Number (See Notes below) X1MajorGridStepAuto: true (automatically calculate grid steps) / false (use the value set by X1MajorGridStep) |
X1MajorGridStep: 10.0 |
setX1MajorGridStepAuto ( false ); |
setX1MajorGridStepAuto ( false ); |
setX1MajorGridStep ( value ); setX1MajorGridStepAuto ( true | false ); |
If the value assigned to X1MajorGridStep is negative or results in greater than 50 grid lines, the X1MajorGridStepAuto property is automatically set to true and the X1MajorGridStep value is ignored. |
X1MinorGridStep, X1MinorGridStepAuto, and the get/setGridStep() and get/setGridStepAuto() methods in Chapter 8. |
This property controls the appearance of major grid lines on the numeric X-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setX1MajorGridStyle ( 3 ); |
setX1MajorGridStyle ( 4 ); |
setX1MajorGridStyle ( value ); |
X1MajorGridDisplay, X1MinorGridDisplay, X1MinorGridStyle, and the get/setGridStyle() method in Chapter 8. |
This property enables (true) / disables (false) the display of minor grid lines on the X-axis. |
Boolean |
true / false |
false |
setX1MajorGridDisplay ( false ); |
setX1MajorGridDisplay ( false ); |
setX1MinorGridDisplay ( true | false ); |
public class Applet1 extends Applet |
X1MajorGridDisplay, X1MinorGridStep,X1MinorGridStepAuto,X1MinorGridStyle, and the get/setGridStyle() method in Chapter 8. |
X1MinorGridStep / X1MinorGridStepAuto
The X1MinorGridStep property sets a number of minor grid steps on the X-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 X1MinorGridStepAuto 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 X1MinorGridStepAuto property is automatically set to true. The X1MinorGridStepAuto property enables/disables automatic grid steps for the X-axis minor grid lines. When this property is set to true, the value assigned to the X1MinorGridStep property is ignored. |
X1MinorGridStep: Real / X1MinorGridStepAuto: Boolean |
X1MinorGridStep: Any Positive Real Number (See Note> X1MinorGridStepAuto: true ( automatically calculate the number of minor grid steps) / false (use the value set by X1MinorGridStep) |
X1MinorGridStep: 10.0 / X1MinorGridStepAuto: true |
setX1MinorGridStepAuto ( false ); |
setX1MinorGridStepAuto ( false ); |
setX1MinorGridStep ( value ); / value = getX1MinorGridStep (); setX1MinorGridStepAuto ( true | false ); |
Notes:
If X1MinorGridStep is set to a negative value or a value that results in greater than 50 minor grid lines between each major grid line, the X1MinorGridStepAuto property is automatically set to true. |
X1MajorGridStep, X1MajorGridStepAuto, X1MinorGridDisplay, X1MinorGridStyle, and the get/setGridStep() and get/setGridStepAuto() methods in Chapter 8. |
This property controls the appearance of minor grid lines on the numeric X-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setX1MinorGridStyle( 3 ); |
setX1MinorGridStyle ( 4 ); |
setX1MinorGridStyle ( value ); / value = getX1MinorGridStyle (); |
public class Applet1 extends Applet |
X1MinorGridDisplay, X1MinorGridStep,X1MinorGridStepAuto, X1MajorGridStyle, X1MajorGridDisplay, and the get/setGridStyle() method in Chapter 8. |
This property determines whether or not the chart includes zero. If the logrithmic scale is enabled with X1LogScale(true) or a manual scale range excludes zero (X1ScaleMax and X1ScaleMin are greater than zero), this property is ignored. |
Boolean |
true/false |
true |
setX1MustIncludeZero ( true | false ); |
This property enables/disables the display of values that are out of range by clipping them to fit within the range. When this property is enabled (true), values smaller than or greater than a given range are represented as markers or risers at the scale limit (minimum or maximum). For example, a value of 700 goes beyond the specified range of 250-500, so its marker in a scatter chart would be displayed at the right edge 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 marker would be omitted.) |
Boolean |
true / false |
true |
setX1OffScaleDisplay ( false ); |
setX1OffScaleDisplay ( true ); |
setX1OffScaleDisplay ( true | false ); |
perspective1.setMarkerSizeDefault(60); |
get/setDisplayOffScale() in Chapter 8 |
X1ScaleMax / X1ScaleMaxAuto
The X1ScaleMax 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 X1ScaleMaxAuto property is automatically set to false. The X1ScaleMaxAuto property enables (true) / disables (false) use of the value assigned to the setX1ScaleMax property. |
X1ScaleMax: Real |
X1ScaleMax: Any real value. X1ScaleMaxAuto: true (automatically calculate maximum scale) / false (use value set by X1ScaleMax) |
X1ScaleMax: 100.0 |
setX1ScaleMaxAuto ( false ); |
setX1ScaleMaxAuto ( false ); |
setX1ScaleMax ( value ); setX1ScaleMaxAuto ( true | false ); |
perspective1.setGraphType(61); |
If X1ScaleMax is set to a value less than X1ScaleMin, the values will be automatically switched and and the X1AxisDescending property will be set to true. |
X1ScaleMin, X1ScaleMinAuto, and the get/setScaleMax() and get/setScaleMaxAuto() methods in Chapter 8 |
X1ScaleMin / X1ScaleMinAuto
The X1ScaleMin 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 X1ScaleMinAuto property is automatically set to false. The X1ScaleMinAuto property enables (true) /disables (false) automatic minimum scaling. |
X1ScaleMin: Real |
X1ScaleMin: Any real value X1ScaleMinAuto: true ( automatically calculate minimum scale) / false (use value set by X1ScaleMin) |
X1ScaleMin: Zero |
setX1ScaleMinAuto ( false ); |
setX1ScaleMinAuto ( false ); |
setX1ScaleMin ( value ); / value = getX1ScaleMin (); setX1ScaleMinAuto ( true | false ); / boolean = getX1ScaleMinAuto (); |
perspective1.setGraphType(61); |
If X1ScaleMax is set to a value less than X1ScaleMin, the values will be automatically switched and and the X1AxisDescending property will be set to true. |
X1ScaleMax, X1ScaleMaxAuto, and the get/setScaleMin() and get/setScaleMinAuto() methods in Chapter 8 |
X1TitleAutofit / Display / String
The X1TitleAutofit property enables (true) /disables (false) autofitting of the X-axis title that is defined by the X1TitleString property and enabled for display by the X1TitleDisplay property. The X1TitleDisplay property enables (true) /disables (false) drawing of X-axis title string that is defined by the X1TitleString property. The X1TitleString property can be used to define the title string for the X-axis in a chart. When a title string is assigned to this property, the X1TitleDisplay property is automatically set to true. |
X1TitleAutofit: Boolean |
X1TitleAutofit: true (autofit X1 Title) / false (do not autofit) |
X1TitleAutofit: true |
setX1TitleDisplay ( true ); |
setX1TitleDisplay ( false ); |
setX1TitleAutofit ( true | false ); setX1TitleDisplay ( true | false ); setX1TitleString ( "X1TitleString" ); |
get/setAutofit() in Chapter 8 |
This property enables/disables drawing of the zero line on the X-axis when zero is within the X1 axis scale range. |
Boolean |
true/false |
false |
setX1ZeroLineDisplay ( true ); |
setX1ZeroLineDisplay ( false ); |
setX1ZeroLineDisplay ( true | false ); |
This property is used to change the direction of the Y-axis. When false, values ascend normally -- from left to right on the Y-axis. When true, values are reversed and descend from left-to-right on the graph. Note that this property also reverses the order of the axis labels and changes all data-related objects (e.g., markers) from their previous state. |
Boolean |
true /false |
|
true = Descending values (scale labels are reversed in order) |
false |
setY1AxisDescending ( true ); |
setY1AxisDescending ( false ); |
setY1AxisDescending ( true | false ); / boolean = getY1AxisDescending(); |
import java.awt.*; |
get/setAxisDescending() in Chapter 8 |
This property enables (true) / disables (false) display of the Y1 axis line. |
Boolean |
true /false |
true |
setY1AxisLineDisplay ( true ); |
setY1AxisLineDisplay ( false ); |
setY1AxisLineDisplay ( true | false ); |
id = perspective1.getY1AxisLine(); |
1. |
The location of the line is determined by the Y1AxisSide property. |
|
2. |
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. |
Y1AxisSide and the getY1AxisLine(), setLineWidth(),get/setAxisAssignment() and get/setAxisSide() methods in Chapter 8. |
This property controls which side of the graph an Y-axis will be imaged. |
Integer |
0...2 |
|||
# |
Value |
Description |
|
0 |
Left |
Image to low side of graph (bottom or left). |
|
1 |
Right |
Image to high side of graph (top or right). |
|
2 |
Both |
Image to both sides. |
Left (0) |
setY1AxisSide ( 1 ); |
setY1AxisSide ( 2 ); |
setY1AxisSide ( value ); |
<html> |
Y1AxisLineDisplay and the get/setAxisAssignment() and get/setAxisSide() methods in Chapter 8. |
Y1ExcludeMaxLabel / Y1ExcludeMinLabel
The Y1ExcludeMaxLabel property enables (true) / disables (false) the exclusion of the maximum label on the Y1 axis. The Y1ExcludeMinLabel property enables (true) / disables (false) the exclusion of the minimum label on the Y1 axis. |
Boolean |
Y1ExcludeMaxLabel: true (exclude max label) / false (include max label) |
false (maximum and minimum labels are displayed) |
setY1ExcludeMaxLabel ( true ); |
setY1ExcludeMinLabel ( true ); |
setY1ExcludeMaxLabel ( true | false ); setY1ExcludeMinLabel ( true | false ); |
get/setExcludeMaxLabel() and get/setExcludeMinLabel in Chapter 8. |
Y1LabelAutofit / Display
The Y1LabelAutofit property is used to automatically fit/size all numeric axis labels on the numeric Y1-axis. When autofitting is enabled (the default), the font size of these objects cannot be changed to a size that is larger than the relative location/size of the object and objects around it. When autofitting is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph. The Y1LabelDisplay property enables (true) / disables (false) the display of labels on the Y1-axis. |
Boolean |
Y1LabelAutofit: true (AutoFit/size labels)/ false (do not auto-fit. Align labels to axis; do not resize) Y1LabelDisplay: true (display labels and title) / false (do not display labels and title) |
true |
setY1LabelDisplay ( true ); |
setY1LabelDisplay ( false ); |
setY1LabelAutofit ( true | false ); setY1LabelDisplay ( true | false ); |
When the Y1LabelAutofit property is enabled (true), font size changes are ignored. Typically, your user interface should gray-out font size menu selections when this property is enabled. |
Y1LabelFormat / Y1LabelFormatPattern
When the Y1LabelDisplay property is set to true and data value labels are displayed on the Y1 axis, these properties can be used to select the format of the data values. Y1LabelFormat can be used to select one of the standard preset formats. Y1LabelFormatPatten can be used to specify a standard Java number format pattern. |
Y1LabelFormat: Integer |
Y1LabelFormat: -1...14 (-1 = Use format set by Y1LabelFormatPattern) |
||||||
Value |
Format |
Example |
Value |
Format |
Example |
|
0 |
General |
560 |
8 |
$0K |
$56K |
|
1 |
0 |
560 |
9 |
0M |
56M |
|
2 |
0% |
56% |
10 |
$0M |
$56M |
|
3 |
0.0% |
56.6% |
11 |
0B |
56B |
|
4 |
0.00% |
56.66% |
12 |
$0B |
$56B |
|
5 |
$0.00 |
$56.66 |
13 |
0T |
56T |
|
6 |
$0 |
$56 |
14 |
$0T |
$56T |
|
7 |
0K |
56K |
||||
Y1LabelFormatPattern: A pattern string in the following format: |
Y1LabelFormat: 0 (General) |
setY1LabelFormat ( value ); |
setY1LabelFormatPattern ( patternString );
Y1LabelAutofit, Y1LabelDisplay, Y1LabelRotate, Y1LabelStagger |
Y1LabelRotate
This property can be used to rotate data labels on the Y1-axis. |
Integer |
0-2 |
||
# |
Description |
|
0 |
No text rotation |
|
1 |
Rotate text 90 degrees (reads top to bottom) |
|
2 |
Rotate text 270 degrees (reads bottom to top) |
0 (no text rotation) |
setY1LabelRotate ( value ); |
/* |
Y1LabelAutofit, Y1LabelDisplay, Y1LabelFormat, Y1LabelStagger |
This property specifies whether or not text for this graph axis should be staggered. Staggered labels are drawn in a zig-zag fashion, with labels weaving in and under each other. This property affects all Y1-axis labels. |
Boolean |
true / false |
false |
setY1LabelStagger ( true ); |
setY1LabelStagger ( false ); |
setY1LabelStagger ( true | false ); |
import java.awt.*; |
This property is not supported in 3D charts. |
Y1LabelAutofit, Y1LabelDisplay, Y1LabelFormat, Y1LabelRotate, and get/setLabelStagger() in Chapter 8 |
This property specifies the scale (logarithmic or linear) for the numeric 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. Y1LogScale is automatically set to false (linear scale). |
Boolean |
true (use logrithmic scale) / false (use linear scale) |
false |
setY1LogScale ( true ); |
setY1LogScale ( false ); |
setY1LogScale ( true | false ) |
get/setLogScale() in Chapter 8 |
This property controls whether or not major grid lines are displayed on the primary (Y1) numeric axis. |
Boolean |
true / false |
true |
setY1MajorGridDisplay ( true ); |
setY1MajorGridDisplay ( false ); |
setY1MajorGridDisplay ( true | false ); |
Y1MajorGridStyle, Y1MinorGridDisplay, Y1MinorGridStyle, and the get/setGridStyle() method in Chapter 8 |
Y1MajorGridStep / Y1MajorGridStepAuto
The Y1MajorGridStep property can be used to control the number of major grid lines on the Y1-axis of the chart. Assigning a value to this property will automatically set the Y1MajorGridStepAuto property to false. The Y1MajorGridStepAuto 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. Also see Notes below. |
Y1MajorGridStep: Real |
Y1MajorGridStep: Any Positive Real Number (See Notes below) Y1MajorGridStepAuto: true (automatically calculate the number of major grid steps on the Y1 axis) / false (use value set by Y1MajorGridStep) |
Y1MajorGridStep: 10.0 |
setY1MajorGridStepAuto ( false ); |
setY1MajorGridStepAuto ( false ); |
setY1MajorGridStep ( value ); setY1MajorGridStepAuto ( true | false ); |
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. |
Y1MinorGridStep, Y1MinorGridStepAuto, and the get/setGridStep() and get/setGridStepAuto() methods in Chapter 8. |
This property controls the appearance of major grid lines on the numeric Y1-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setY1MajorGridStyle ( 2 ); |
setY1MajorGridStyle ( 4 ); |
setY1MajorGridStyle ( value ); |
Y1MajorGridDisplay, Y1MinorGridDisplay, Y1MinorGridStyle, and the get/setGridStyle() method in Chapter 8 |
This property enables (true) / disables (false) the display of minor grid lines on the Y1-axis. |
Boolean |
true / false |
true |
setY1MajorGridDisplay ( false ); |
setY1MajorGridDisplay ( false ); |
setY1MinorGridDisplay ( true | false ); |
public class Applet1 extends Applet |
Y1MajorGridDisplay, Y1MajorGridStyle, Y1MinorGridStep,Y1MinorGridStepAuto, Y1MinorGridStyle, and get/setGridStyle() in Chapter 8 |
Y1MinorGridStep / Y1MinorGridStepAuto
The Y1MinorGridStep 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. The Y1MinorGridStepAuto property enables/disables automatic grid steps for the Y1-axis minor grid lines. |
Y1MinorGridStep: Real / Y1MinorGridStepAuto: Boolean |
Y1MinorGridStep: Any Positive Real Number (See Note) Y1MinorGridStepAuto: true (automatically calculate minor grid steps on the Y1 axis) / false (use value set by Y1MinorGridStep) |
Y1MinorGridStep: 10.0 / Y1MinorGridStepAuto: true |
setY1MajorGridStep( 40 ); |
setY1MajorGridStep( 40 ); |
setY1MinorGridStep ( value ) / value = getY1MinorGridStep (); setY1MinorGridStepAuto ( true | false ); |
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. |
Y1MajorGridStep, Y1MajorGridStepAuto, Y1MinorGridDisplay, Y1MinorGridStyle,and the get/setGridStep() and get/setGridStepAuto() methods in Chapter 8. |
This property controls the appearance of minor grid lines on the numeric Y1-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setY1MinorGridStyle ( 2 ); |
setY1MinorGridStyle ( 4 ); |
setY1MinorGridStyle ( value ); |
Y1MajorGridDisplay, Y1MajorGridStyle, Y1MinorGridDisplay, and get/setGridStyle in Chapter 8 |
This property determines whether or not the chart must include zero on the Y1 axis. If the logrithmic scale is enabled with Y1LogScale(true) or a manual scale range excludes zero (Y1ScaleMax and Y1ScaleMin are greater than zero), this property is ignored |
Boolean |
true/false |
true |
setY1MustIncludeZero ( true | false ); |
This property enables/disables 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.) |
Boolean |
true / false |
false |
setY1OffScaleDisplay ( true ); |
setY1OffScaleDisplay ( false ); |
setY1OffScaleDisplay ( true | false ); |
perspective1.setY1ScaleMaxAuto(false); |
get/setDisplayOffScale() in Chapter 8 |
Y1ScaleMax / Y1ScaleMaxAuto
The Y1ScaleMax 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. The Y1ScaleMaxAuto property enables (true) / disables (false) use of the value assigned to the setY1ScaleMax property. |
Y1ScaleMax: Real |
Y1ScaleMax: Any real number Y1ScaleMax: true (automatically calculate minimum value) / false (use value set by Y1ScaleMax) |
Y1ScaleMax: 70.0 |
setY1ScaleMaxAuto ( false ); |
setY1ScaleMaxAuto ( false ); |
setY1ScaleMax ( value ); setY1ScaleMaxAuto ( true | false ); |
perspective1.setY1ScaleMaxAuto(false); |
If Y1ScaleMax is set to a value less than Y1ScaleMin, the values will be automatically switched and and the Y1AxisDescending property will be set to true. |
Y1ScaleMin, Y1ScaleMinAuto, and the get/setScaleMax() and get/setScaleMaxAuto() methods in Chapter 8 |
Y1ScaleMin / Y1ScaleMinAuto
The Y1ScaleMin 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. The Y1ScaleMinAuto property enables (true) /disables (false) automatic minimum scaling. When this property is set to true, the value assigned to the Y1ScaleMin property is ignored. |
Y1ScaleMin: Real |
Y1ScaleMin: Any real value Y1ScaleMinAuto: true (automatically calculated minimum scale) / false (use value set by Y1ScaleMin) |
Y1ScaleMin: Zero |
setY1ScaleMinAuto ( false ); ![]() |
setY1ScaleMinAuto ( false ); |
setY1ScaleMin ( value ); setY1ScaleMinAuto ( true | false ); |
perspective1.setY1ScaleMaxAuto(false); |
If Y1ScaleMax is set to a value less than Y1ScaleMin, the values will be automatically switched and and the Y1AxisDescending property will be set to true. |
Y1ScaleMax, Y1ScaleMaxAuto, and the get/setScaleMin() and get/setScaleMinAuto() methods in Chapter 8 |
Y1TitleAutofit / Display / String
The Y1TitleAutofit property enables (true) /disables (false) autofitting of the Y1-axis title that is defined by the Y1TitleString property and enabled for display by the Y1TitleDisplay property. The Y1TitleDisplay property enables (true) /disables (false) drawing of Y1-axis title string that is defined by the Y1TitleString property. This Y1TitleString property is used to define the title string for the Y1-axis in a chart. When a title string is assigned to this property, the Y1TitleDisplay property is automatically set to true. |
Y1TitleAutofit and Y1TitleDisplay: Boolean |
Y1TitleAutofit: true (autofit Y1 Title) / false (do not autofit Y1 Title) |
Y1TitleAutofit: true |
setY1TitleAutofit ( true ); |
setY1TitleAutofit ( false ); |
setY1TitleAutofit ( true | false ); / boolean = getY1TitleAutofit (); setY1TitleDisplay ( true | false ); / boolean = getY1TitleDisplay (); setY1TitleString ( "Y1TitleString" ); / string = getY1TitleString(); |
If the Y1LabelDisplay is set to false, the title string will not be drawn regardless of the Y1TitleDisplay or Y1TitleString property. |
get/setAutofit() in Chapter 8 |
This property enables/disables drawing of the zero line on the Y1-axis when zero is within the Y1 axis scale range. |
Boolean |
true/false |
false |
setY1ZeroLineDisplay ( true ); |
setY1ZeroLineDisplay ( false ); |
setY1ZeroLineDisplay ( true | false ); |
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. |
Y1MustIncludeZero, Y1ScaleMax, Y1ScaleMin, and the getY1ZeroLine() and setLineWidth() methods in Chapter 8 |
This property is used to change the direction of the Y-axis. When false, values ascend normally -- from left to right on the Y-axis. When true, values are reversed and descend from left-to-right on the graph. Note that this property also reverses the order of the axis labels and changes all data-related objects (e.g., markers) from their previous state. |
Boolean |
true /false |
|
true = Descending values (scale labels are reversed in order) |
false |
setY2AxisDescending ( true ); |
setY2AxisDescending ( false ); |
setY2AxisDescending ( true | false ); |
get/setAxisDescending() in Chapter 8 |
This property enables (true) / disables (false) display of the Y2 axis line. |
Boolean |
true /false |
false |
setY2AxisLineDisplay ( true ); |
setY2AxisLineDisplay ( false ); |
setY2AxisLineDisplay ( true | false ); |
id = perspective1.getY2AxisLine(); |
1. |
The location of the line is determined by the Y2AxisSide property. |
|
2. |
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. |
Y2AxisSide and the get/setAxisSide() and get/setAxisAssignment() methods in Chapter 8. |
This property controls which side of the graph an Y-axis will be imaged. |
Integer |
0...2 |
|||
# |
Value |
Description |
|
0 |
Left |
Image to low side of graph (bottom or left). |
|
1 |
Right |
Image to high side of graph (top or right). |
|
2 |
Both |
Image to both sides. |
1 (Right) |
setY2AxisSide ( 0 ); |
setY2AxisSide ( 2 ); |
setY2AxisSide ( value ); |
get/setAxisSide() and get/setAxisAssignment() in Chapter 8 |
Y2ExcludeMaxLabel / Y2ExcludeMinLabel
The Y2ExcludeMaxLabel property enables (true) / disables (false) the exclusion of the maximum label on the Y2 axis. The Y2ExcludeMinLabel property enables (true) / disables (false) the exclusion of the minimum label on the Y2 axis. |
Boolean |
Y2ExcludeMaxLabel: true (exclude max label) / false (include max label) |
false (maximum and minimum labels are displayed) |
setY2ExcludeMaxLabel ( true );
![]() |
setY2ExcludeMaxLabel ( false );
![]() |
setY2ExcludeMaxLabel ( true | false ); setY2ExcludeMinLabel ( true | false ); |
get/setExcludeMaxLabel() and get/setExcludeMinLabel() in Chapter 8 |
Y2LabelAutofit / Y2LabelDisplay
The Y2LabelAutofit property is used to automatically fit/size all numeric axis labels on the numeric Y2-axis. When autofitting is enabled (the default), the font size of these objects cannot be changed to a size that is larger than the relative location/size of the object and objects around it. When autofitting is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph. The Y2LabelDisplay property enables (true) / disables (false) the display of labels on the Y2-axis. |
Boolean |
Y2LabelAutofit: true (autofit/size labels) / false (do not autofit, align labels to axis, do not resize) Y2LabelDisplay: true (display labels) / false (do not display labels) |
true |
setY2LabelDisplay ( true ); |
setY2LabelDisplay ( false ); |
setY2LabelAutofit ( true | false ); / boolean = getY2LabelAutofit (); |
1. |
When the Y2LabelAutofit property is enabled (true), font size changes are ignored. Typically, your user interface should gray-out font size menu selections when this property is enabled. |
|
2. |
The format of data labels on this axis is defined by the Y2LabelFormat property. In this example, Y2LabelFormat is set to 9. If Y2AxisSide is set to three (none), labels will not be drawn in the graph regardless of the value of this property. |
Y2LabelFormat, Y2LabelRotate, Y2LabelStagger, and the get/setLabelStagger() method in Chapter 8 |
Y2LabelFormat / Y2LabelFormatPattern
When the Y2LabelDisplay property is set to true and data value labels are displayed on the Y2 axis, these properties can be used to select the format of the data values. Y2LabelFormat can be used to select one of the standard preset formats. Y2LabelFormatPatten can be used to specify a standard Java number format pattern. |
Y2LabelFormat: Integer |
Y2LabelFormat: -1...14 (-1 = Use format set by Y2LabelFormatPattern) |
||||||
Value |
Format |
Example |
Value |
Format |
Example |
|
0 |
General |
560 |
8 |
$0K |
$56K |
|
1 |
0 |
560 |
9 |
0M |
56M |
|
2 |
0% |
56% |
10 |
$0M |
$56M |
|
3 |
0.0% |
56.6% |
11 |
0B |
56B |
|
4 |
0.00% |
56.66% |
12 |
$0B |
$56B |
|
5 |
$0.00 |
$56.66 |
13 |
0T |
56T |
|
6 |
$0 |
$56 |
14 |
$0T |
$56T |
|
7 |
0K |
56K |
||||
Y2LabelFormatPattern: A pattern string in the following format: |
Y2LabelFormat: 0 (General) |
setY2LabelFormat ( value ); |
Y2LabelAutofit, Y2LabelDisplay, Y2LabelStagger, Y2LabelRotate, and the get/setLabelStagger() method in Chapter 8 |
This property defines the format of data labels on the Y2-axis. |
Integer |
0-2 |
||
# |
Description |
|
0 |
No text rotation |
|
1 |
Rotate text 90 degrees (reads top to bottom) |
|
2 |
Rotate text 270 degrees (reads bottom to top) |
0 (no text rotation) |
setY2LabelRotate ( value ); |
/* |
Y2LabelAutofit, Y2LabelDisplay, Y2LabelFormat, Y2LabelStagger, and the get/setLabelStagger() method in Chapter 8 |
This property specifies whether or not text for this graph axis should be staggered. Staggered labels are drawn in a zig-zag fashion, with labels weaving in and under each other. This property affects all Y2-axis labels. |
Boolean |
true / false |
false |
setY2LabelStagger ( true ); |
setY2LabelStagger ( false ); |
setY2LabelStagger ( true | false ); |
This property is not supported in 3D charts. |
Y2LabelAutofit, Y2LabelDisplay, Y2LabelFormat, Y2LabelRotate, and the get/setLabelStagger() method in Chapter 8 |
This property specifies the scale (logarithmic or linear) for the numeric 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. Y2LogScale is automatically set to false (linear scale). |
Boolean |
true (use logrithmic scale) / false (use linear scale) |
false |
setY2LogScale ( true ); |
setY2LogScale ( false ); |
setY2LogScale ( true | false ); |
perspective1.setGraphType(21); |
get/setLogScale() in Chapter 8 |
This property controls whether or not major grid lines are displayed on the primary (Y2) numeric axis. |
Boolean |
true / false |
true |
setY2MajorGridDisplay ( true ); |
setY2MajorGridDisplay ( false ); |
setY2MajorGridDisplay ( true | false ); |
Note that grid lines may still be imaged in this axis of the chart of the Y2MinorGridDisplay property is set to true. In the example, the Y2MinorGridDisplay is set to false. |
Y2MajorGridStep / Y2MajorGridStepAuto
The Y2MajorGridStep property can be used to control the number of major grid lines on the Y2-axis of the chart. Assigning a value to this property will automatically set the Y2MajorGridStepAuto property to false. The Y2MajorGridStepAuto property enables (true) / disables (false) automatic calculation of the number of major grid lines on the numeric Y2-axis of a chart. Also see the Notes below. |
Y2MajorGridStep: Real |
Y2MajorGridStep: Any Positive Real Number (See Notes below) Y2MajorGridStepAuto: true (enable automatic calculation of major grid steps) / false (use value set by Y2MajorGridStep) |
Y2MajorGridStep: 10.0 |
setY2MajorGridStepAuto ( false ); |
setY2MajorGridStepAuto ( false ); |
setY2MajorGridStep ( value ); setY2MajorGridStepAuto ( true | false ); |
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. |
Y2MinorGridStep, Y2MinorGridStepAuto, and the get/setGridStep() and get/setGridStepAuto methods in Chapter 8 |
This property controls the appearance of major grid lines on the numeric Y2-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setY2MajorGridStyle ( 4 ); |
setY2MajorGridStyle ( 2 ); |
setY2MajorGridStyle ( value ); |
Y2MajorGridDisplay and the get/setGridStyle() method in Chapter 8 |
This property enables (true) / disables (false) the display of minor grid lines on the Y2-axis. The format of minor grid lines that are displayed by this property are defined by the Y2MinorGridStyle property. The number of minor grid lines that are displayed is defined by the Y2MinorGridStep and Y2MinorGridStepAuto properties. |
Boolean |
true / false |
true |
setY2MinorGridDisplay ( true ); |
setY2MinorGridDisplay ( false ); |
setY2MinorGridDisplay ( true | false ); |
Y2MinorGridStep / Y2MinorGridStepAuto
This Y2MinorGridStep 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. The Y2MinorGridStepAuto property enables/disables automatic grid steps for the Y2-axis minor grid lines. When this property is set to true, the value assigned to Y2MinorGridStep is ignored. |
Y2MinorGridStep: Real / Y2MinorGridStepAuto: Boolean |
Y2MinorGridStep: Any Positive Real Number (See Note) Y2MinorGridStepAuto: true (enable automatic calculation of minor grid steps) / false (use value set by Y2MinorGridStep) |
Y2MinorGridStep: 10.0 / Y2MinorGridStepAuto: true |
setY2MinorGridStepAuto ( false ); |
setY2MinorGridStepAuto ( false ); |
setY2MinorGridStep ( value ); setY2MinorGridStepAuto ( true | false ); |
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. |
Y2MajorGridStep, Y2MajorGridStepAuto, Y2MinorGridDisplay, Y2MinorGridStyle, and the get/setGridStep () and get/setGridStepAuto methods in Chapter 8 |
This property controls the appearance of minor grid lines on the numeric Y2-axis of a chart. |
Integer |
0...4 |
||
# |
Description |
|
0 |
Normal grid lines, height of frame |
|
1 |
Normal grid lines extend beyond the height of frame |
|
2 |
Small tick marks from frame edge inward |
|
3 |
Small tick marks from frame edge outward |
|
4 |
TickIn and TickOut span across the frame edge |
0 (Normal Grid) |
setY2MinorGridStyle ( 3 ); |
setY2MinorGridStyle ( 0 ); |
setY2MinorGridStyle ( value ); |
Y2MajorGridDisplay, Y2MajorGridStyle, Y2MinorGridDisplay, and the get/setGridStyle() method in Chapter 8 |
This property determines whether or not the chart includes zero. If the logrithmic scale is enabled with Y2LogScale(true) or a manual scale range excludes zero (Y2ScaleMax and Y2ScaleMin are greater than zero), this property is ignored |
Boolean |
true/false |
true |
setY2MustIncludeZero ( true | false ); |
This property enables/disables 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 riser 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 riser would be omitted.) |
Boolean |
true / false |
false |
setY2OffScaleDisplay ( true | false ); |
/* |
get/setDisplayOffScale() in Chapter 8 |
Y2ScaleMax / Y2ScaleMaxAuto
The Y2ScaleMaxAuto property enables (true) / disables (false) use of the value assigned to the Y2ScaleMax property. The Y2ScaleMax 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. |
Y2ScaleMax: Real |
Y2ScaleMax: Any real number |
Y2ScaleMax: 80.0 |
setY2ScaleMaxAuto ( false ); |
setY2ScaleMaxAuto ( false ); |
setY2ScaleMax ( value ); setY2ScaleMaxAuto ( true | false ); |
If Y2ScaleMax is set to a value less than Y2ScaleMin, the values will be automatically switched and and the Y2AxisDescending property will be set to true. |
Y2ScaleMin, Y2ScaleMinAuto, and the get/setScaleMax() and get/setScaleMaxAuto methods in Chapter 8 |
Y2ScaleMin / Y2ScaleMinAuto
The Y2ScaleMinAuto property enables/disables automatic minimum scaling. When this property is true, the value assigned to the Y2ScaleMin property is ignored. The Y2ScaleMin 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. |
Y2ScaleMin: Real |
Y2ScaleMin: Any real number |
Y2ScaleMin: 10.0 |
setY2ScaleMinAuto ( false ); |
setY2ScaleMinAuto ( false ); |
setY2ScaleMin ( value ); setY2ScaleMinAuto ( true | false ); |
If Y2ScaleMax is set to a value less than Y2ScaleMin, the values will be automatically switched and and the Y2AxisDescending property will be set to true. |
Y2ScaleMax, Y2ScaleMaxAuto, and the get/setScaleMin() and get/setScaleMinAuto methods in Chapter 8 |
Y2TitleAutofit / Display / String
These properties control the autofitting, display, and definition of the Y2-axis title. The Y2TitleAutofit property enables (true) /disables (false) autofitting of the Y2-axis title. The Y2TitleDisplay property enables (true) /disables (false) drawing of Y2-axis title string that is defined by the Y2TitleString property. The Y2TitleString property is used to define the title string for the Y2-axis in a chart. When a title string is assigned to this property, the Y2TitleDisplay property is automatically set to true. |
Y2TitleAutofit and Y2TitleDisplay: Boolean |
Y2TitleAutofit: true (autofit) / false (do not autofit) |
Y2TitleAutofit: true |
setY2TitleDisplay ( true ); |
setY2TitleDisplay ( false ); |
setY2TitleAutofit ( true | false ); / boolean = getY2TitleAutofit (); |
If the Y2LabelDisplay is set to false, the title string defined by Y2TitleString property will not be imaged in the graph. |
get/setAutofit() in Chapter 8 |
This property enables/disables drawing of the zero line on the Y2-axis when zero is within the Y2 axis scale range. |
Boolean |
true/false |
true |
setY2ZeroLineDisplay ( true ); |
setY2ZeroLineDisplay ( false ); |
setY2ZeroLineDisplay ( true | false ); |