[]
        
(Showing Draft Content)

C1.Win.C1Chart.TrendLine

TrendLine Class

The TrendLine class is used to perform a regression analysis or the specified data series, provide statistics about the regression, and chart the result.

Inheritance
TrendLine
Implements
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
public sealed class TrendLine : ICloneable

Constructors

Name Description
TrendLine()

Initializes a new instance of the TrendLine class.

Properties

Name Description
CustomTrendLine

Gets or sets the object that provides a user-defined calculation of the TrendLine.

DataArray

Gets or sets the array index of y values that is used for TrendLine.

ForecastBackward

Gets or sets the value that specifies how long the trend line extends in x axis direction relative to the appropriate data minimum.

ForecastForward

Gets or sets the value that specifies how long the trend line extends in x axis direction relative to the appropriate data maximum.

LegendEntry

Gets or sets whether the TrendLine will be shown in legend.

LineStyle

Gets or sets the line style used to plot the TrendLine.

Period

Gets or sets the period of the TrendLine calculation.

PlotLinesMethod

Gets or sets the method used to plot a TrendLine.

PlotNumPoints

Gets or sets the number of points used to plot the TrendLine.

PlotOverData

Gets or sets whether the TrendLine is plotted over or behind the data.

RegressionOptions

Gets the options for calculation of the regression.

RegressionStatistics

Gets the statistical information about calculated regression.

SeriesIndex

Gets or sets the index of the data series that is used to calculate the TrendLine.

SeriesLabel

Gets the label of the data series that is used to calculate the TrendLine.

Text

Gets or sets the text associated with the TrendLine shown in legend.

TrendLineType

Gets or sets the type of TrendLine.

Visible

Gets or sets whether the TrendLine is visible.

Methods

Name Description
GetCoefficients()

Returns the calculatedCalculated the coefficients of the TrendLine.

GetY(double)

Calculates the value of the TrendLine at the specified value of X.

ToString()