Trend Class

 

Trend Class consists of the following 2 properties:

Property

Description

Data Type

Default

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

DisplayLength Determines the length of the trending window.  I.e the X1 scale range that is displayed while trending. Double 1

 

Trend Class also consists of the following methods:

Method

Parameters

Description

AddData

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

vDataToAddArray - a Variant containing the x/y coordinates to add; the data is structured in this array the same as in ChartData.

Appends NumSamples from vDataToAddArray  to the internal chart data array.

 

The dimensions of vDataToAddArray must be:

Rows = number of samples to append for all profiles
Cols = 2 x NumProfiles

AddDataSingleProfile idxProfile - an Integer which specifies the profile number.

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

vDataToAddArray - a Variant containing the x/y coordinates to add; the data is structured in this array the same as in ProfileData.

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

 

The dimensions of vDataToAddArray must be:

Rows = number of samples to append for the specified profile
Cols = 2