Class FinancialTechnicalIndicator
Base class for all the Financial technical indicators available in SfChart control.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class FinancialTechnicalIndicator : ChartSeries, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
FinancialTechnicalIndicator()
Declaration
protected FinancialTechnicalIndicator()
Fields
CloseProperty
The DependencyProperty for Close property.
Declaration
public static readonly DependencyProperty CloseProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CustomTemplateProperty
The DependencyProperty for CustomTemplate property.
Declaration
public static readonly DependencyProperty CustomTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HighProperty
The DependencyProperty for High property.
Declaration
public static readonly DependencyProperty HighProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsTransposedProperty
The DependencyProperty for IsTransposed property.
Declaration
public static readonly DependencyProperty IsTransposedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LowProperty
The DependencyProperty for Low property.
Declaration
public static readonly DependencyProperty LowProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OpenProperty
The DependencyProperty for Open property.
Declaration
public static readonly DependencyProperty OpenProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SeriesNameProperty
The DependencyProperty for SeriesName property.
Declaration
public static readonly DependencyProperty SeriesNameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowTrackballInfoProperty
The DependencyProperty for ShowTrackballInfo property.
Declaration
public static readonly DependencyProperty ShowTrackballInfoProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StrokeDashArrayProperty
The DependencyProperty for StrokeDashArray property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
VolumeProperty
The DependencyProperty for Volume property.
Declaration
public static readonly DependencyProperty VolumeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
XAxisProperty
The DependencyProperty for XAxis property.
Declaration
public static readonly DependencyProperty XAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
YAxisProperty
The DependencyProperty for YAxis property.
Declaration
public static readonly DependencyProperty YAxisProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Close
Gets or sets the property path to retrieve close value from ItemsSource.
Declaration
public string Close { get; set; }
Property Value
Type |
---|
System.String |
CustomTemplate
Gets or sets the custom template.
Declaration
public DataTemplate CustomTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
High
Gets or sets the property path to retrieve high value from ItemsSource.
Declaration
public string High { get; set; }
Property Value
Type |
---|
System.String |
IsTransposed
Gets or sets a value indicating whether to exchange the orientation of the series.
Declaration
public bool IsTransposed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Low
Gets or sets the property path to retrieve low value from ItemsSource.
Declaration
public string Low { get; set; }
Property Value
Type |
---|
System.String |
Open
Gets or sets the property path to retrieve open value from ItemsSource.
Declaration
public string Open { get; set; }
Property Value
Type |
---|
System.String |
SeriesName
Gets or sets the name of the series to which this indicator is associated with.
Declaration
public string SeriesName { get; set; }
Property Value
Type |
---|
System.String |
ShowTrackballInfo
Gets or sets a value indicating whether to show/hide indicator value.
Declaration
public bool ShowTrackballInfo { get; set; }
Property Value
Type |
---|
System.Boolean |
StrokeDashArray
Gets or sets the stroke dash array for the line.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.DoubleCollection | System.Windows.Media.DoubleCollection. |
Volume
Gets or sets the property path to retrieve volume data from ItemsSource.
Declaration
public string Volume { get; set; }
Property Value
Type |
---|
System.String |
XAxis
Gets or sets the XAxis.
Declaration
public ChartAxisBase2D XAxis { get; set; }
Property Value
Type |
---|
ChartAxisBase2D |
XRange
Gets the values of XRange.
Declaration
public DoubleRange XRange { get; }
Property Value
Type |
---|
DoubleRange |
YAxis
Gets or sets the associated YAxis.
Declaration
public RangeAxisBase YAxis { get; set; }
Property Value
Type |
---|
RangeAxisBase |
YRange
Gets the values of YRange.
Declaration
public DoubleRange YRange { get; }
Property Value
Type |
---|
DoubleRange |
Methods
CloneSeries(DependencyObject)
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type |
---|
System.Windows.DependencyObject |
Overrides
CreateSegments()
Creates the segments of financial technical indicators.
Declaration
public override void CreateSegments()
Overrides
GeneratePoints()
Method implementation for GeneratePoints for TechnicalIndicator.
Declaration
protected override void GeneratePoints()
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Called when data source changed.
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | The old value. |
System.Collections.IEnumerable | newValue | The new value. |
Overrides
OnXAxisChanged(ChartAxis, ChartAxis)
Called when XAxis property changed.
Declaration
protected virtual void OnXAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | oldAxis | Specifies the old axis value. |
ChartAxis | newAxis | Specifies the new axis value. |
OnYAxisChanged(ChartAxis, ChartAxis)
Called when YAxis property changed.
Declaration
protected virtual void OnYAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | oldAxis | Specifies the old axis value. |
ChartAxis | newAxis | Specifies the new axis value. |
SetSeriesItemSource(ChartSeriesBase)
Method implementation for set ItemsSource to TechnicalIndicator.
Declaration
protected virtual void SetSeriesItemSource(ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
ChartSeriesBase | series | TechnicalIndicator instance |
UpdateSegments(Int32, NotifyCollectionChangedAction)
Updates the segment at the specified index.
Declaration
public override void UpdateSegments(int index, NotifyCollectionChangedAction action)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the segment. |
System.Collections.Specialized.NotifyCollectionChangedAction | action | The action that caused the segments collection changed event. |
Overrides
Explicit Interface Implementations
ISupportAxes.ActualXAxis
Declaration
ChartAxis ISupportAxes.ActualXAxis { get; }
Returns
Type |
---|
ChartAxis |
ISupportAxes.ActualYAxis
Declaration
ChartAxis ISupportAxes.ActualYAxis { get; }
Returns
Type |
---|
ChartAxis |