[]
Represents a trend line for FlexChart and FinancialChart.
public class TrendLine : Series, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
A trendline is a line superimposed on a chart revealing the overall direction of data. You may define a different fit type for each @see:TrendLine object that you add to the @see:FlexChart series collection by setting the fitType property.
Name | Description |
---|---|
TrendLine() | Creates an instance of TrendLine class. |
Name | Description |
---|---|
Coefficients | Gets the coefficients of equation. |
FitType | Gets or sets the fit type of trend line. |
MaxX | Gets or sets the maximal x-value. |
MinX | Gets or sets the minimal x-value. |
Order | Gets or sets the order of trend line. The order defines number of terms in polynom equation. |
SampleCount | Gets or sets the sample count for function calculation. |
Name | Description |
---|---|
Approximate(double) | Approximate y-value by given x. |
GetChartType() | Gets the chart type. |
GetRegressionStatistics() | Gets statistical information about the regression. |
GetValues(int) | Gets the array of data values. |
OnDataSourceChanged() | Fires when data source was changed. |