SetPlotPeriod

NOTE:  This method was deprecated in V4-0.  The recommended method to set the Plot Period is via SetPlotAttribute specifying attributes of "START" and "END" .

 

void SetPlotPeriod (Date StartDate, Date EndDate);

 

Available (from release):

 

stOCX (V2-01), stPro Automation (V2-01)

 

Return Value:

 

None.

 

Parameters:

 

Name:

Description:

StartDate

The date and time for the start of the plot period (i.e. the left hand plot Y-axis).

EndDate

The date and time for the end of the plot period (i.e. the right hand plot Y-axis).

 

Remarks:

 

Call this method to set the Plot period to a defined time.

 

Note:  Both the start and end time should be specified in UTC time.

Tip:  Calling this method will cause the plot duration to be automatically updated to reflect the difference between the start and end time.