In this section: |
Depending on the graph type, the graph may include one or two ordinal axes (O1 and O2) and multiple numeric axes (X1, Y1, Y2, Y3, Y4, Y5). The following illustration shows a graph with one ordinal axis (O1) and two numeric axes (Y1 and Y2). Note that the secondary ordinal axis (O2) only appears in 3D graphs.
See Time Scale Axis Graphs for information about how to set up a time scale axis.
This table shows the default values for properties that affect the axes and their grid lines, labels, titles, and so on. Blank cells indicate the property is not supported or applicable for the axis.
Property |
O1 Axis |
O2 Axis (see note) |
X1 Axis |
Y1 Axis |
Y2 Axis |
---|---|---|---|---|---|
AxisDescending |
|
|
false |
false |
false |
AxisLineDisplay |
true |
|
true |
true |
true |
AxisSide |
0 |
|
0 |
see note |
see note |
ExcludeMaxLabel |
false |
false |
false |
false |
false |
ExcludeMinLabel |
false |
false |
false |
false |
false |
LabelAutofit |
true |
true |
true |
false |
true |
LabelAutoskip |
0 |
|
|
|
|
LabelDisplay |
true |
true |
true |
true |
true |
LabelFormat |
|
|
0 |
0 |
0 |
LabelFormatPattern |
|
|
"#.#" |
"#.#" |
"#.#" |
LabelMargin |
0 |
|
|
|
|
LabelRotate |
0 |
0 |
0 |
0 |
0 |
LabelSkipBegin |
0 |
|
|
|
|
LabelSkipCount |
0 |
|
|
|
|
LabelStagger |
false |
|
false |
false |
false |
LogScale |
|
|
false |
false |
false |
LabelWrap |
false |
false |
|
|
|
MajorGridDisplay |
true |
* |
true |
true |
true |
MajorGridStep |
|
|
10.0 |
10.0 |
10.0 |
MajorGridStepAuto |
|
|
true |
true |
true |
MajorGridStyle |
0 |
|
0 |
0 |
0 |
MinorGridCount |
1 |
|
|
|
|
MinorGridDisplay |
false |
|
false |
false |
false |
MinorGridStep |
|
|
10.0 |
10.0 |
10.0 |
MinorGridStepAuto |
|
|
true |
true |
true |
MinorGridStyle |
0 |
|
0 |
0 |
0 |
MustIncludeZero |
|
|
false |
false |
false |
OffScaleDisplay |
|
|
true |
true |
true |
ScaleMax |
|
|
100.0 |
70.0 |
80.0 |
ScaleMaxAuto |
|
|
true |
true |
true |
ScaleMin |
|
|
0.0 |
0.0 |
0.0 |
ScaleMinAuto |
|
|
true |
true |
true |
TitleAutofit |
true |
true |
true |
true |
true |
TitleDisplay |
false |
false |
false |
false |
false |
TitleString |
Null String |
Null String |
Null String |
Null String |
Null String |
ZeroLineDisplay |
|
|
false |
false |
false |
Note:
Use these properties to define how ordinal axes are imaged in a graph:
See Grid Lines and Labels and Titles for additional information about how to control the display of labels and titles on an ordinal axis.
Use these methods to determine if the graph includes the primary or secondary ordinal axis:
These properties indicate whether or not the axis is present regardless of whether or not the axis base line is enabled for display. The primary ordinal axis is present in most graph types. The secondary ordinal axis is only present in 3D graph types.
Use these properties to define how numeric axes are imaged in the graph:
The AxisDescending properties change the direction of values displayed on the axis to descending or ascending. True is the default value (ascending values).
The AxisLineDisplay properties enable (true)/disable (false) the display of the bottom line on an axis.
The AxisSide properties control the side of the graph where the axis is imaged. For vertical graphs, the default settings draw the Y1 axis on the left side of the graph and the Y2 on the right. For horizontal graphs, Y1 is drawn on the bottom of the graph and Y2 on the top.
The OffScaleDisplay properties determine whether or not values out of range are imaged on the axis.
The LogScale properties specify the scale (logarithmic or linear) for the numeric axis. False is the default value (linear).
The ScaleMin and ScaleMax properties define the range (minimum and maximum) of values that will be imaged on the axis. The ScaleMinAuto and ScaleMaxAuto properties tell the graphing engine to automatically calculate the minimum and maximum values. If these properties are enabled (true), values set by ScaleMin and ScaleMax are ignored.
The ZeroLineDisplay properties enable (true)/disable (false) the drawing of a zero line on an axis. True is the default value.
The MustIncludeZero properties determine whether or not the numeric axes include zero. False is the default value.
See Labels and Titles for additional information about how to control the display of labels and titles on a numeric axis.
Use these methods to get information about specific numeric axes in a graph:
These methods indicate whether or not the axis is present regardless of whether or not the axis base line is enabled for display. The X1-axis is present in scatter graphs, bubble graphs, histograms, and so on. The Y1-axis is present in most graph types. The Y2-axis is only present in dual-axes graphs.
In addition to the axis-specific properties and methods, you can use these methods to get/set axis attributes.
When you use these methods, you may supply the object ID of an axis as an input parameter to identify the axis where the attribute is applied. If an axis is not specified, the attribute is retrieved from or assigned to the first item in the selection list. If the object ID does not identify an axis or the first item in the selection list is not an axis, a set operation will apply the attribute to the object but it will not affect the appearance of the graph.
Tick marks can be enabled on any axis independent of grid lines.
The following properties control drawing of tick marks on the primary ordinal axis:
IgnoreTickSkip O1MajorTickDisplay O1MajorTickStyle O1MinorTickCount O1MinorTickDisplay O1MinorTickStyle
The following properties control drawing of independent tick marks on a numeric axis:
X1/Y1/Y2MajorTickDisplay X1/Y1/Y2MajorTickStep X1/Y1/Y2MajorTickStepAuto X1/Y1/Y2MajorTickStyle X1/Y1/Y2MinorTickDisplay X1/Y1/Y2MinorTickStep X1/Y1/Y2MinorTickStepAuto X1/Y1/Y2MinorTickStyle
Note that tick marks can be drawn on Y3-, Y4-, and Y5-axes using the methods listed below.
The following methods can be used to enable and control the appearance of independent tick marks on O1-, X1- and all Y-axes:
When these methods are used, the object ID of tick marks may be supplied as an input parameter to identify the axis tick marks to which the attribute is applied. If a tick mark object is not specified, the attribute is retrieved from or assigned to the first item in the selection list. If the object ID does not identify a tick mark object or the first item in the selection list is not a tick mark object, a "set" operation will apply the attribute to the object but it will not have any effect on the appearance of the chart.
These properties control the axes in dual-axes graphs:
Use these properties to define how axis text is autofitted:
WebFOCUS |