Trend Class

Trend Class consists of the following properties:

Property Description Data Type Default
DisplayLength Determines the length of the trending window.  I.e the X-axis scale range that is displayed while trending. Double 1
Enable Determines whether the Trending feature is ON or OFF.  This property must be set to TRUE before DisplayLength, AddData, and AddDataSingleProfile can be used. Boolean FALSE
StartPosition Determines the starting position for the trend. Enumerated type consisting of the following options:
  • tsoRight (=0)
  • tsoLeft (=1)
tsoRight

Trend Class also consists of the following methods:

Method Parameters Description
AddData

NumSamples - an Integer indicating how many x/y coordinates are to be appended to the internal chart data array.

DataToAddArray - an Object containing the x/y coordinates to add; the data is structured in this array the same as in ChartData.

Appends NumSamples from DataToAddArray to the internal chart data array.

The dimensions of DataToAddArray must be ((number of samples to append for all profiles) - 1, (2 x NumProfiles) - 1).

AddDataSingleProfile

idxProfile - an Integer which specifies the profile index.

NumSamples - an Integer indicating how many x/y coordinates are to be appended to the internal chart data array.

DataToAddArray - an Object containing the x/y coordinates to add; the data is structured in this array the same as in ProfileData.

Appends NumSamples from DataToAddArray to the internal chart data array for specified profile index (idxProfile).

The dimensions of DataToAddArray must be ((number of samples to append for the specified profile) - 1, 1).

See Also

Properties | Trend