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 |
graphcontrolname.axisname.property |
For example:
|
1 |
gr_1.Series.AutoScale |
A grAxis object has no events.
Properties
|
grAxis property |
Datatype |
Description |
|---|---|---|
|
Boolean |
Specifies whether PowerBuilder scales the axis TRUE — Automatically FALSE — Do not automatically |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
grAxisDataType (enumerated) |
Specifies the datatype of the axis. Values AdtDate! AdtDateTime! AdtDefault! AdtDouble! AdtText! AdtTime! |
|
|
DispAttr |
grDispAttr (object) |
Settings that control the appearance of the text |
|
Integer |
Specifies which major axis divisions to label. For |
|
|
LineStyle (enumerated) |
Specifies the type of drop line for the axis. Transparent! — No line Continuous! — A solid Dash! Dot! DashDot! DashDotDot! |
|
|
LineStyle (enumerated) |
Specifies the type of line used for the frame. See |
|
|
String |
Specifies the axis label. |
|
|
LabelDispAttr |
grDispAttr (object) |
Settings that control the appearance of the axis |
|
Integer |
Specifies the number of major divisions on the |
|
|
LineStyle (enumerated) |
Specifies the type of line for the major See DropLines in this table for the list of |
|
|
grTicType (enumerated) |
Specifies the type of the major tick marks. Values NoTic! Inside! Outside! Straddle! |
|
|
Double |
Specifies the maximum value for the axis when its |
|
|
DateTime |
Specifies the maximum value for the axis when its |
|
|
Double |
Specifies the minimum value for the axis when its |
|
|
Integer |
Specifies the number of minor divisions on the |
|
|
LineStyle (enumerated) |
Specifies the type of line for the minor grid. See |
|
|
grTicType (enumerated) |
Specifies the type of the minor tick marks. Values NoTic! Inside! Outside! Straddle! |
|
|
DateTime |
Specifies the minimum value for the axis when its |
|
|
LineStyle (enumerated) |
Specifies the type of origin line for the axis. See |
|
|
LineStyle (enumerated) |
Specifies the type of primary line for the axis. |
|
|
Double |
Specifies the value to which you want to round the |
|
|
grRoundToType (enumerated) |
Specifies the units for the rounding value. The For an axis of any RndDefault! For an axis of any RndNumber! |
|
|
|
|
For an axis of type date or RndYears! RndMonths! RndDays! For RndHours! RndMinutes! RndSeconds! RndMicroseconds! |
|
grScaleType (enumerated) |
Specifies the type of scale used for the axis. Linear! Log10! Loge! |
|
|
grScaleValue (enumerated) |
Specifies the scale of values on the axis. Values Actual! Cumulative! Percentage! CumPercent! |
|
|
LineStyle (enumerated) |
Specifies the type of secondary line for the axis. |
|
|
Boolean |
Specifies whether the back edge of the axis is TRUE — FALSE — Not shaded. |
Functions
|
grAxis function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Object |
Returns the type of the object |