IChartTrendLine.TrendType

Syntax

TrendType: ChartTrendType;

Description

The TrendType property determines a type of trend line on a graph.

Example

This example assumes that there is the Chart object of the IChart type.

Sub TrendLine;

Var

Chart: IChart;

Begin

Chart.Series.Item(0).TrendLines.Item(0).TrendType := 2 As ChartTrendType;

End Sub TrendLine;

After executing the example the type of the trend line is changed to exponential one.

See also:

IChartTrendLine