Category property for PowerScript controls
Controls
Graph controls
Description
The Category property of the Graph control allows you to specify
the properties of the category axis of the graph. The category axis
is an object (of the type grAxis) within the Graph control.
Usage
In a painter
To set the properties of the Category Axis of
a graph control:
-
Display the Axis tab page of the graph
control’s Properties view. -
Select Category from the Axis drop-down list.
-
Set the desired values on the Axis tab page.
In scripts
The datatype of the Category property is grAxis, which is
a type of object that has its own properties for controlling the
appearance of the axis. Use the following syntax to specify values
for the category axis:
1 |
<span>GraphControlName</span>.Category.<span>grAxisProperty</span> = value |
The following example sets the label of the category axis
of a graph control:
1 |
gr_1.Category.Label = "Types of Products" |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest