grAxis objects in Graph controls
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.
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.
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!