IMultiplyFunction
Hierarchy

Type Library
TeeChartx

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

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

MultiplyFunction class Example

To set the period for MultiplyFunction 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(tfMultiply)

{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 delete or inactivate the Series or redefine the datasource.