Class ChartSimpleAverage
Class implementation for ChartSimpleAverage
Inheritance
System.Object
ChartSimpleAverage
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartSimpleAverage : DependencyObject
Constructors
ChartSimpleAverage(IChartData, ChartTechnicalIndicator)
Called when instance created for ChartSimpleAverage
Declaration
public ChartSimpleAverage(IChartData VisiblePoints, ChartTechnicalIndicator indicator)
Parameters
Type | Name | Description |
---|---|---|
IChartData | VisiblePoints | |
ChartTechnicalIndicator | indicator |
Fields
MovingAverageProperty
Indicates the MovingAverage Dependency Property
Declaration
public static readonly DependencyProperty MovingAverageProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SignalLineInteriorProperty
Indicates the SignalLineInterior Dependency Property
Declaration
public static readonly DependencyProperty SignalLineInteriorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Methods
GetMovingAverage(DependencyObject)
Return the int Value from the given DependencyObject
Declaration
public static int GetMovingAverage(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type |
---|
System.Int32 |
GetSignalLineInterior(DependencyObject)
Gets the value of the SignalLineInterior dependency property.
Declaration
public static Brush GetSignalLineInterior(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObjectobj. |
Returns
Type | Description |
---|---|
System.Windows.Media.Brush | The SignalLineInterior brush |
SetMovingAverage(DependencyObject, Int32)
Set MovingAverage to the Corresponding DependencyObject from the Given value.
Declaration
public static void SetMovingAverage(DependencyObject obj, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Int32 | value |
SetSignalLineInterior(DependencyObject, Brush)
Sets the value of the SignalLineInterior dependency property.
Declaration
public static void SetSignalLineInterior(DependencyObject obj, Brush value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The DependencyObject obj. |
System.Windows.Media.Brush | value | The value. |