Class SfSparkAreaChart
Renders a Spark Area Chart with fill and stroke customization.
Implements
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.SparkCharts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class SfSparkAreaChart : SfSparkChart, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
SfSparkAreaChart()
Initializes a new instance of the SfSparkAreaChart class. Sets default values for marker settings.
Declaration
public SfSparkAreaChart()
Fields
FillProperty
Identifies the Fill bindable property.
Declaration
public static readonly BindableProperty FillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
FirstPointFillProperty
Gets or sets the brush for the first point in the Spark Area Chart.
Declaration
public static readonly BindableProperty FirstPointFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
HighPointFillProperty
Identifies the HighPointFill bindable property.
Declaration
public static readonly BindableProperty HighPointFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
LastPointFillProperty
Identifies the LastPointFill bindable property.
Declaration
public static readonly BindableProperty LastPointFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
LowPointFillProperty
Identifies the LowPointFill bindable property.
Declaration
public static readonly BindableProperty LowPointFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
MarkerSettingsProperty
Identifies the MarkerSettings bindable property.
Declaration
public static readonly BindableProperty MarkerSettingsProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
NegativePointsFillProperty
Identifies the NegativePointsFill bindable property.
Declaration
public static readonly BindableProperty NegativePointsFillProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
ShowMarkersProperty
Identifies the ShowMarkers bindable property.
Declaration
public static readonly BindableProperty ShowMarkersProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Fill
Gets or sets the Fill property to fill the interior of the area spark chart.
Declaration
public Brush Fill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
FirstPointFill
Gets or sets the brush for the first point in the Spark Area Chart.
Declaration
public Brush FirstPointFill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
HighPointFill
Gets or sets the brush for the highest point in the Spark Area Chart.
Declaration
public Brush HighPointFill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
LastPointFill
Gets or sets the brush for the last point in the Spark Area Chart.
Declaration
public Brush LastPointFill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
LowPointFill
Gets or sets the brush for the lowest point in the Spark Area Chart.
Declaration
public Brush LowPointFill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
MarkerSettings
Gets or sets the marker settings for the Spark Area Chart. This allows customization of marker appearance such as size, color, stroke and visibility.
Declaration
public SparkChartMarkerSettings MarkerSettings { get; set; }
Property Value
| Type |
|---|
| SparkChartMarkerSettings |
NegativePointsFill
Gets or sets the brush for negative points in the area chart.
Declaration
public Brush NegativePointsFill { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.Brush |
ShowMarkers
Gets or sets a value indicating whether markers should be shown on the Spark Area Chart.
Declaration
public bool ShowMarkers { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
StrokeWidth
Gets or sets the stroke width for the Spark Area Chart.
Declaration
public double StrokeWidth { get; set; }
Property Value
| Type |
|---|
| System.Double |
Methods
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()