grAxis object
The PowerBuilder class grAxis is used as part of a
graph control. Each graph has three grAxis objects: Category, Series,
and Values.
To refer to a property of an axis, use this syntax:
1 |
<span>graphcontrolname</span>.<span>axisname</span>.<span>property</span> |
For example: gr_1.Series.AutoScale
A grAxis object has no events.
Properties
grAxis property |
Datatype |
Description |
---|---|---|
Boolean |
Specifies whether PowerBuilder scales
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
grAxisDataType (enumerated) |
Specifies the datatype of the axis. Values
|
|
DispAttr |
grDispAttr (object) |
Settings that control the appearance |
Integer |
Specifies which major axis divisions |
|
LineStyle (enumerated) |
Specifies the type of drop line for the
|
|
LineStyle (enumerated) |
Specifies the type of line used for the |
|
String |
Specifies the axis label. |
|
LabelDispAttr |
grDispAttr (object) |
Settings that control the appearance |
Integer |
Specifies the number of major divisions |
|
LineStyle (enumerated) |
Specifies the type of line for the major See DropLines in this table for the list of values. |
|
grTicType (enumerated) |
Specifies the type of the major tick
|
|
Double |
Specifies the maximum value for the axis |
|
DateTime |
Specifies the maximum value for the axis |
|
Double |
Specifies the minimum value for the axis |
|
Integer |
Specifies the number of minor divisions |
|
LineStyle (enumerated) |
Specifies the type of line for the minor |
|
grTicType (enumerated) |
Specifies the type of the minor tick
|
|
DateTime |
Specifies the minimum value for the axis |
|
LineStyle (enumerated) |
Specifies the type of origin line for |
|
LineStyle (enumerated) |
Specifies the type of primary line for |
|
Double |
Specifies the value to which you want |
|
grRoundToType (enumerated) |
Specifies the units for the rounding For an axis of any datatype:
For an axis of any numeric datatype:
|
|
For an axis of type date or DateTime:
For an axis of type time or DateTime:
|
||
grScaleType (enumerated) |
Specifies the type of scale used for
|
|
grScaleValue (enumerated) |
Specifies the scale of values on the
|
|
LineStyle (enumerated) |
Specifies the type of secondary line |
|
Boolean |
Specifies whether the back edge of the
|
Functions
grAxis function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the object |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
Object |
Returns the type of the object |