[]
        
(Showing Draft Content)

C1.WPF.Chart.Finance.MovingAverage

MovingAverage Class

Represents a moving average trendline for FinancialChart.

Implements
Namespace: C1.WPF.Chart.Finance
Assembly: C1.WPF.FinancialChart.4.6.2.dll
Syntax
public class MovingAverage : FinancialSeries, IDisposable
Remarks

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.

Constructors

Name Description
MovingAverage()

Creates an instance of MovingAverage class.

Fields

Name Description
PeriodProperty

Identifies the Period dependency property.

TypeProperty

Identifies the Type dependency property.

Properties

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.

Methods

Name Description
GetValues(int)

Gets the array of data values.

OnItemsSourceChanged()

Invoked when items source changes.