[]
        
(Showing Draft Content)

C1.Win.Chart.Finance.MovingAverage

MovingAverage Class

Represents a moving average trendline for FinancialChart.

Inheritance
MovingAverage
Implements
ISeries
IStyleProvider
Namespace: C1.Win.Chart.Finance
Assembly: C1.Win.FinancialChart.8.dll
Syntax
public class MovingAverage : FinancialSeries, IDisposable, ISeries, IStyleProvider
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.

Properties

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.

Methods

Name Description
GetValues(int)

Gets the array of data values.

OnDataSourceChanged()

Fires when data source was changes.