DataType property for PowerScript controls
Controls
grAxis objects in Graph controls
Description
DataType is a property of the grAxis objects that can be part
of graph controls. There are three grAxis objects: Category, Series,
and Values.
DataType specifies the type of data that is assigned to the
axis. Possible datatypes are Number, Date, DateTime,
Default, Double, Text,
and Time.
Usage
In a painter
To specify datatype:
-
Display the Axis tab page of the graph
control’s Properties view. -
Select the desired Axis type from the Axis drop-down
list. -
Select the desired datatype from the DataType
drop-down list.
In scripts
The DataType property takes a value of type grAxisDataType.
The following line sets the DataType of the Values axis of
a graph:
1 |
gr_1.Values.DataType = AdtDate! |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments