Axis

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

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:

  • Category

  • Series

  • Values

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

Example 1

ls_data = dw1.Describe("gr1.Category")

ls_data = dw1.Describe("gr1.Series")

ls_data = dw1.Describe("gr1.Values")

dw1.Modify("gr1.Series='Actual, Budget'")