Axis.property DataWindow object property
Description
Settings that control the appearance of an axis on a graph.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>graphname</span>.<span>axis</span>.<span>property</span> |
Describe and Modify argument:
|
1 |
"<span>graphname</span>.<span>axis</span>.<span>property </span>{ = <span>value </span>}" |
|
Parameter |
Description |
|---|---|
|
graphname |
The name of the graph within the DataWindow |
|
axis |
An axis name. Values are:
|
|
property |
A property for the axis. Properties and |
|
value |
The value to be assigned to the property. |
|
Property for Axis |
Value |
|---|---|
|
AutoScale |
(exp) A boolean Values are:
Painter: Axis tab, Scale group. |
|
DispAttr. |
(exp) Properties For a list of font properties, see the main Painter: Text tab. Choose Category Axis Text, Series Axis |
|
DisplayEvery |
(exp) An integer Painter: Axis tab, Major Divisions group (not available for |
|
DropLines |
(exp) An integer Values are:
Painter: Axis tab, Major Divisions group (not available for Not supported by Render3D graph style. |
|
Frame |
(exp) An integer Painter: Axis tab, Line Style group. Not supported by Render3D graph style. |
|
Label |
(exp) A string whose Painter: Axis tab. |
|
LabelDispAttr. |
(exp) Properties For a list of font properties, see the main Painter: Text tab. Choose Category Axis Label, Series Axis |
|
MajorDivisions |
(exp) An integer Painter: Axis tab, Major Divisions group. |
|
MajorGridLine |
(exp) An integer Painter: Axis tab, Major Divisions group. Not supported by Render3D graph style. |
|
MajorTic |
(exp) An integer Values are:
Painter: Axis tab, Major Divisions group. Not supported by Render3D graph style. |
|
MaximumValue |
(exp) A double specifying Painter: Axis tab, Scale group. |
|
MinimumValue |
(exp) A double specifying Painter: Axis tab, Scale group. |
|
MinorDivisions |
(exp) An integer Painter: Axis tab, Minor Divisions group. Not supported by Render3D graph style. |
|
MinorGridLine |
(exp) An integer Painter: Axis tab, Minor Divisions group. Not supported by Render3D graph style. |
|
MinorTic |
(exp) An integer Values are:
Painter: Axis tab, Minor Divisions group. Not supported by Render3D graph style. |
|
OriginLine |
(exp) An integer Painter: Axis tab, Line Style group. Not supported by Render3D graph style. |
|
PrimaryLine |
(exp) An integer Painter: Axis tab, Line Style group. Not supported by Render3D graph style. |
|
RoundTo |
(exp) A double specifying Painter: Axis tab, Scale group. |
|
RoundToUnit |
(exp) An integer Values are:
Painter: Axis tab, Scale group. |
|
ScaleType |
(exp) An integer Values are:
Painter: Axis tab, Scale group. |
|
ScaleValue |
(exp) An integer Values are:
Painter: Axis tab, Scale group. |
|
SecondaryLine |
(exp) An integer Painter: Axis tab, Line Style group. Not supported by Render3D graph style. |
|
ShadeBackEdge |
(exp) A boolean Values are:
Painter: Axis tab. Enabled for 3D graphs only. Not supported by Render3D graph style. |
|
Sort |
(exp) An integer Values are:
Painter: Axis tab, Line Style group. |
Usage
In the painter
Select the graph control or the Graph DataWindow object and set
the value in the Properties view. To set most axis properties, select
the Axis tab and an axis in the Axis drop-down list. Font properties
are set on the Text tab.
Examples
|
1 |
string ls_data |
|
1 |
ls_data = dw1.Object.gr_1.Category.AutoScale |
|
1 |
dw1.Object.Category.LabelDispAttr.Alignment = 2 |
|
1 |
ls_data = dw1.Describe("gr_1.Category.AutoScale") |
|
1 |
dw1.Modify("gr_1.Series.AutoScale=0") |
|
1 |
dw1.Modify("gr_1.Values.Label='Cities'") |
|
1 |
dw1.Modify("gr_1.Category.LabelDispAttr.Alignment=2") |