[]
Represents a moving average trendline for FinancialChart.
public class MovingAverage : FinancialSeries, IDisposable, ISeries, IStyleProvider
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 |
|---|---|
| ChartType | Gets the series type. |
| 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. |
| OnDataSourceChanged() | Fires when data source was changes. |