Axis
property (DataWindow object)
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.
Applies to
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.graphname.axis |
Describe and Modify argument:
|
1 |
"graphname.axis { = 'list ' }" |
|
Parameter |
Description |
|---|---|
|
graphname |
The name of the graph within the DataWindow object |
|
axis |
An axis name. Values
|
|
list |
A string listing the categories, series, or values |
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 2 3 4 5 6 |
ls_data = dw1.Object.gr_1.Values dw1.Object.gr_1.Series = "Actual, Budget" ls_data = dw1.Describe("gr1.Category") ls_data = dw1.Describe("gr1.Series") ls_data = dw1.Describe("gr1.Values") dw1.Modify("gr1.Series='Actual, Budget'") |