SetStartTimeAndSpan method
Sets the time that a chart will represent, by setting the start time and span. All the parameters in the syntax below are required. The available range is from 1/1/1992 to 1/17/2037.
Syntax
xaxis
.SetStartTimeAndSpan
(DateTime, StartMS, RangeDays, RangeHours, RangeMinutes, RangeSeconds, RangeMS
)where
xaxis
- is an XAxis object, or an expression that evaluates to an XAxis object.DateTime
- is a parameter of the type Date that specifies the start date and time for the chart.StartMS
- is a parameter of the type Long that specifies the millisecond part of the start time. A DATE object does not hold milliseconds.RangeDays
- is a parameter of the type Long that specifies the days part of the range.RangeHours
- is a parameter of the type Long that specifies the hours part of the range.RangeMinutes
- is a parameter of the type Long that specifies the minutes part of the range.RangeSeconds
- is a parameter of the type Long that specifies the seconds part in the range.RangeMS
- is a parameter of the type Long that specifies the millisecond part of the range.Remarks
The chart must be paused before setting the time span.
Provide Feedback