DataType

Applies to

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

StepsTo specify datatype:

  1. Display the Axis tab page of the graph control’s Properties view.

  2. Select the desired Axis type from the Axis drop-down list.

  3. 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:

gr_1.Values.DataType = AdtDate!