SetTimeSpan

<< Click to Display Table of Contents >>

Manual > Control Reference > Data > Histrical data graph control > Method >

SetTimeSpan


 

Set the time period on the time axis (X-axis).

 


syntax

SetTimeSpan(

         day,

         hour,

         min,

         sec

         [,baseTimePos = "left"]

         )

 


Parameters

 

day


Type:

Number


Number of days

 

hour


Type:

Number


time

 

min


Type:

Number


Minutes

 

sec


Type:

Number


Seconds

 

baseTimePos


Type:

Selected characters


Position of the reference date and time. Select from "left",, "center",, and "right".

"left" sets the end time from the left, that is, based on the current start time.

"center" is the center, meaning that the start and end times are set based on the current center time.

If you select "right", the start time is determined from the right, that is, based on the current end time.

 


hmtoggle_plus1Explanation

 


reference