[]
Represents a trend line for FlexChart and FinancialChart.
public class TrendLine : Series, 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 |
---|---|
FitTypeProperty | Identifies the FitType dependency property. |
MaxXProperty | Identifies the MaxX dependency property. |
MinXProperty | Identifies the MinX dependency property. |
OrderProperty | Identifies the Order dependency property. |
SampleCountProperty | Identifies the SampleCount dependency property. |
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. |
GetRegressionStatistics() | Gets statistical information about the regression. |
GetValues(int) | Gets the array of data values. |
OnItemsSourceChanged() | Invoked when items source changes. |