MaxValDateTime – PB Docs 126

MaxValDateTime property for PowerScript controls

Controls

grAxis objects in Graph controls

Description

The MaxValDateTime property specifies the maximum value for
an axis when the axis datatype is date or time. This property is
not used if the Autoscale property is enabled.

Usage

In a painter

proc.png To set the maximum value of an axis with a date
or time datatype:

  1. Display the Axis tab page of the graph’s
    Properties view and select the desired axis from the Axis drop-down
    list.

  2. Make sure that the Autoscale check box is not
    checked.

  3. Select adtDate!, adtTime!, or adtDateTime! from
    the DataType drop-down list.

  4. Specify the desired maximum date or time value
    in the MaximumValue field.

    This value should be larger than the maximum data value being
    graphed.

In scripts

The MaxValDateTime property takes a value of the DateTime
datatype.

The following example sets the MaxValDateTime property for
an Axis with a datatype of date:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x