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:
dw_control.Object.graphname.axis
Describe and Modify argument:
"graphname.axis { = 'list ' }"
Parameter |
Description |
---|---|
graphname |
The name of the graph within the DataWindow object for which you want to get or set the list of items for axis. |
axis |
An axis name. Values are:
|
list |
A string listing the categories, series, or values for the graph. The content of the list depends on the axis you specify. The items in the list are separated by commas. List is quoted. |
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
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'")