Class FinancialSeriesBase
An abstract class in the chart API that serves as a base for candle and OHLC (Open-High-Low-Close) series. It provides common options and functionality for these types of financial chart series.
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public abstract class FinancialSeriesBase : CartesianSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent
Constructors
FinancialSeriesBase()
Declaration
public FinancialSeriesBase()
Fields
BearishFillProperty
Identifies the BearishFill bindable property.
Declaration
public static readonly BindableProperty BearishFillProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
BullishFillProperty
Identifies the BullishFill bindable property.
Declaration
public static readonly BindableProperty BullishFillProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
CloseProperty
Identifies the Close bindable property.
Declaration
public static readonly BindableProperty CloseProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
HighProperty
Identifies the High bindable property.
Declaration
public static readonly BindableProperty HighProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
LowProperty
Identifies the Low bindable property.
Declaration
public static readonly BindableProperty LowProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
OpenProperty
Identifies the Open bindable property.
Declaration
public static readonly BindableProperty OpenProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
SpacingProperty
Identifies the Spacing bindable property.
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
WidthProperty
Identifies the Width bindable property.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
BearishFill
Gets or sets the brush to be used for bearish points in a financial chart. It is typically used in conjunction with a CandleSeries or HiLoOpenCloseSeries series to visually represent negative price movements or bearish market conditions.
Declaration
public Brush BearishFill { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
BullishFill
Gets or sets the brush to be used for bullish points in a financial chart. It is typically used in conjunction with a CandleSeries or HiLoOpenCloseSeries series to visually represent positive price movements or bullish market conditions.
Declaration
public Brush BullishFill { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
Close
Gets or sets a path value on the source object to serve a close value to the series.
Declaration
public string Close { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for the y (close) plotting data, and its default value is empty. |
High
Gets or sets a path value on the source object to serve a high value to the series.
Declaration
public string High { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for the y (high) plotting data, and its default value is empty. |
Low
Gets or sets a path value on the source object to serve a low value to the series.
Declaration
public string Low { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for the y (low) plotting data, and its default value is empty. |
Open
Gets or sets a path value on the source object to serve a open value to the series.
Declaration
public string Open { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for the y (open) plotting data, and its default value is empty. |
Spacing
Gets or sets a value to indicate spacing between the data points across the series.
Declaration
public double Spacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts values between 0 and 1, and its default is 0. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"
Spacing="0.3"/>
</chart:SfCartesianChart>
Width
Gets or sets a value to change the width of the data points across the series.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts values between 0 and 1, and default is 0.8. |