|
Set the time period on the time axis (X-axis).
Syntax 1 (when "SERIES" is selected in the ChartType property)
SetTimeSpan(
day,
hour,
min,
sec
[, pos="LEFT"]
)
Parameters
day
|
|
Type:
|
Number
|
|
Number of days.
|
min
|
|
Type:
|
Number
|
|
minutes.
|
sec
|
|
Type:
|
Number
|
|
Seconds.
|
pos
|
|
Type:
|
character
|
|
What position should the current start date and time be?
LEFT: Fixes the leftmost time of the currently displayed grid and sets the display width to the amount of time specified by SetTimeSpan.
CENTER: Fixes the time at the center of the currently displayed grid, and sets the display width to the time specified by SetTimeSpan.
RIGHT: Fixes the rightmost time of the currently displayed grid and sets the display width to the amount of time specified by SetTimeSpan.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 2 (when "ROTARY" is selected in the ChartType property)
SetTimeSpan(
day,
hour,
min,
sec
)
Parameters
day
|
|
Type:
|
Number
|
|
Number of days.
|
min
|
|
Type:
|
Number
|
|
minutes.
|
sec
|
|
Type:
|
Number
|
|
Seconds.
|
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
ScrollTime
|