Class FinancialSeriesBase
Represents an abstract base class for financial chart series such as Candle and OHLC (Open-High-Low-Close).
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public abstract class FinancialSeriesBase : CartesianSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent
Constructors
FinancialSeriesBase()
Initializes a new instance of the FinancialSeriesBase class.
Declaration
public FinancialSeriesBase()
Fields
BearishFillProperty
Identifies the BearishFill bindable property.
Declaration
public static readonly BindableProperty BearishFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The BearishFill property determines the fill color of the bearish points of the financial series.
BullishFillProperty
Identifies the BullishFill bindable property.
Declaration
public static readonly BindableProperty BullishFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The BullishFill property determines the fill color to the bullish points of the financial series.
CloseProperty
Identifies the Close bindable property.
Declaration
public static readonly BindableProperty CloseProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The Close property represents the close value of a data point in a financial series.
HighProperty
Identifies the High bindable property.
Declaration
public static readonly BindableProperty HighProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The High property represents the maximum value of a data point in a financial series.
LowProperty
Identifies the Low bindable property.
Declaration
public static readonly BindableProperty LowProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The Low property represents the minimum value of a data point in a financial series.
OpenProperty
Identifies the Open bindable property.
Declaration
public static readonly BindableProperty OpenProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The Open property represents the open value of a data point in a financial series.
SpacingProperty
Identifies the Spacing bindable property.
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The Spacing property indicate spacing between the data points across the series.
WidthProperty
Identifies the Width bindable property.
Declaration
public static readonly BindableProperty WidthProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
The Width property indicates the width of the data points across the series.
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 | Description |
|---|---|
| Microsoft.Maui.Controls.Brush | It accepts the Microsoft.Maui.Controls.Brush values |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"
BearishFill="Orange"/>
</chart:SfCartesianChart>
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 | Description |
|---|---|
| Microsoft.Maui.Controls.Brush | It accepts the Microsoft.Maui.Controls.Brush values |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"
BullishFill="Blue"/>
</chart:SfCartesianChart>
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 |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"/>
</chart:SfCartesianChart>
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 |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"/>
</chart:SfCartesianChart>
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 |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"/>
</chart:SfCartesianChart>
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 |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:CandleSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High="High"
Low="Low"
Open="Open"
Close="Close"/>
</chart:SfCartesianChart>
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 |
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 |