Calculates the points of the TrendLine to be plotted, the X values and Y values must be returned by GetXValues()()()() and GetYValues()()()() methods.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
void Calculate(
	TrendLine tl,
	double[] x,
	double[] y
)
Visual Basic
Sub Calculate ( _
	tl As TrendLine, _
	x As Double(), _
	y As Double() _
)

Parameters

tl
Type: C1.Win.C1Chart..::..TrendLine
TrendLine.
x
Type: array<System..::..Double>[]()[][]
X value,
y
Type: array<System..::..Double>[]()[][]
Y value.

See Also