ScrollTime

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Gantt chart control > Method >

ScrollTime


 

Scroll the time axis (X axis). (Only when "SERIES" is selected in the ChartType property.)

 


syntax

ScrollTime(

         mode

         [, param1]

         [, param2]

         [, param3]

         [, param4]

         )

 


Parameters

 

mode


Type:

character


Scroll Mode

BACKWARD - Scroll backward by the displayed period

BACKWARD_HALF - Scroll backward half the displayed period

FORWARD - Scroll forward by the displayed period

FORWARD_HALF - Scroll half the displayed period into the future

NOW - Scroll so that the current time is at the far right

NOWLEFT - Scrolls the current time to the left

RATIO - Scroll by the percentage specified in param1 (a number between 0 and 1).

SPAN - Scrolls by the period specified by param1 (days), param2 (hours), param3 (minutes), or param4 (seconds).

ZOOM - Enlarges the display by param1 (percentage).

 

 

param1


Type:

Number


Specify when the scroll mode is "RATIO", "SPAN", or "ZOOM".

 

param2


Type:

Number


Specify when the scroll mode is "SPAN".

 

param3


Type:

Number


Specify when the scroll mode is "SPAN".

 

param4


Type:

Number


Specify when the scroll mode is "SPAN".

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


reference

 

SetCursorTime( when "SERIES" is selected in the ChartType property )

SetCursorTime( when "ROTARY" is selected in the ChartType property )

GetCursorTime

GetTimeRange

SetTimeRange

SetTimeSpan( when "SERIES" is selected in the ChartType property )

SetTimeSpan( when "ROTARY" is selected in the ChartType property )