IHighFunction
Hierarchy

Type Library
TeeChartx

Description
HighFunction may be added to your project by Chart Editor at design time or at runtime using code. Default period for HighFunction is 0 (By default, HighFunction will show the highest point of all the series points). Period is applicable to the number of axis points, Period 1 = 1 axis point; period 2 = 2 axis points, etc..

If more than 1 data series is added as datasource for HighFunction then the period default changes to 1.

HighFunction will work with any number of input series as datasource. The Datasource is best defined using the Chart Editor.

HighFunction class Example

To set the period for HighFunction you should use the FunctionType property of Series

To define a function series by code you should first create a new series for the function. The series may be of any type.

Visual Basic

{ Set the function using the SetFunction method}.

TChart1.Series(0).SetFunction tfHigh

{You may then define the period for the function - here setting it to to 5}

TChart1.Series(0).FunctionType.Period = 5

To undefine (delete) a function defined for the series either delete or inactivate the Function Series or redefine the Datasource.