[]
Represents a moving average trendline for FinancialChart.
public class MovingAverage : FinancialSeries, IDisposable
It is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. You may define a different type on each MovingAverage object by setting the type property on the MovingAverage itself. The MovingAverage class has a period property that allows you to set the number of periods for computing the average value.
| Name | Description |
|---|---|
| MovingAverage() | Creates an instance of MovingAverage class. |
| Name | Description |
|---|---|
| PeriodProperty | Identifies the Period dependency property. |
| TypeProperty | Identifies the Type dependency property. |
| Name | Description |
|---|---|
| Period | Gets or sets the period of the moving average series. It should be set to integer value greater than 1. |
| Type | Gets or sets the moving average type. |
| Name | Description |
|---|---|
| GetValues(int) | Gets the array of data values. |
| OnItemsSourceChanged() | Invoked when items source changes. |