Class FinancialSeriesBase
Serve as base class for Candle, HiLoOpenClose series and its an abstract class.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class FinancialSeriesBase : CartesianSeries, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
FinancialSeriesBase()
Constructor
Declaration
public FinancialSeriesBase()
Fields
BearFillColorProperty
The DependencyProperty for BearFillColor property.
Declaration
public static readonly DependencyProperty BearFillColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BullFillColorProperty
The DependencyProperty for BullFillColor property.
Declaration
public static readonly DependencyProperty BullFillColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CloseProperty
The DependencyProperty for Close property.
Declaration
public static readonly DependencyProperty CloseProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ComparisonModeProperty
The DependencyProperty for ComparisonMode property.
Declaration
public static readonly DependencyProperty ComparisonModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HighProperty
The DependencyProperty for High property.
Declaration
public static readonly DependencyProperty HighProperty
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 |
Properties
BearFillColor
Gets or sets the interior of the segment that represents the bear value. This is a bindable property.
Declaration
public Brush BearFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
BullFillColor
Gets or sets the interior of the segment that represents the bull value. This is a bindable property.
Declaration
public Brush BullFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
Close
Gets or sets the property path bind with close value of financial series.
Declaration
public string Close { get; set; }
Property Value
Type |
---|
System.String |
CloseValues
Gets or sets CloseValues.
Declaration
protected IList<double> CloseValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
ComparisonMode
Gets or sets the property path bind with which price need to consider for fluctuation detection.
Declaration
public FinancialPrice ComparisonMode { get; set; }
Property Value
Type |
---|
FinancialPrice |
High
Gets or sets the property path bind with high value of financial series.
Declaration
public string High { get; set; }
Property Value
Type |
---|
System.String |
HighValues
Gets or sets HighValues.
Declaration
protected IList<double> HighValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
Low
Gets or sets the property path bind with low value of financial series.
Declaration
public string Low { get; set; }
Property Value
Type |
---|
System.String |
LowValues
Gets or sets LowValues.
Declaration
protected IList<double> LowValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
Open
Gets or sets the property path bind with open value of financial series.
Declaration
public string Open { get; set; }
Property Value
Type |
---|
System.String |
OpenValues
Gets or sets OpenValues.
Declaration
protected IList<double> OpenValues { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<System.Double> |
Segment
Gets or sets Segments property
Declaration
protected ChartSegment Segment { get; set; }
Property Value
Type |
---|
ChartSegment |
Methods
CloneSeries(DependencyObject)
Returns the instance of FinancialSeriesBase series.
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | object |
Returns
Type |
---|
System.Windows.DependencyObject |
Overrides
GeneratePoints()
Method used to generate points for financial series.
Declaration
protected override void GeneratePoints()
Overrides
OnBindingPathChanged(DependencyPropertyChangedEventArgs)
Called when binding path chnaged.
Declaration
protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | args |
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Called when ItemsSource property changed.
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | old value |
System.Collections.IEnumerable | newValue | new value |