Axis DataWindow object property
Description
The list of items or the expression associated with an axis
of a graph. Each item is separated by a comma. You can ask for the
list of categories on the Category axis, the series on the Series
axis, or the values on the Values axis.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>graphname</span>.<span>axis</span> |
Describe and Modify argument:
1 |
"<span>graphname</span>.<span>axis </span>{ = ' <span>list </span>' }" |
Parameter |
Description |
---|---|
graphname |
The name of the graph within the DataWindow |
axis |
An axis name. Values are:
|
list |
A string listing the categories, series, |
Usage
In the painter
Select the graph control and set the value by selecting a column
or expression for each axis in the Properties view, Data tab.
Examples
1 |
ls_data = dw1.Object.gr_1.Values |
1 |
dw1.Object.gr_1.Series = "Actual, Budget" |
1 |
ls_data = dw1.Describe("gr1.Category") |
1 |
ls_data = dw1.Describe("gr1.Series") |
1 |
ls_data = dw1.Describe("gr1.Values") |
1 |
dw1.Modify("gr1.Series='Actual, Budget'") |