menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support
Class SfSparkChart - MAUI-ToolKit API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfSparkChart

    Represents the base class for all Spark Charts and provides common behaviors and control flow.

    Inheritance
    System.Object
    SfSparkChart
    SfSparkAreaChart
    SfSparkColumnChart
    SfSparkLineChart
    SfSparkWinLossChart
    Implements
    Microsoft.Maui.IContentView
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Namespace: Syncfusion.Maui.Toolkit.SparkCharts
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public abstract class SfSparkChart : View, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

    Constructors

    SfSparkChart()

    Initializes a new instance of the SfSparkChart class.

    Declaration
    public SfSparkChart()

    Fields

    AxisLineStyleProperty

    Identifies the AxisLineStyle bindable property.

    Declaration
    public static readonly BindableProperty AxisLineStyleProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    AxisOriginProperty

    Identifies the AxisOrigin bindable property.

    Declaration
    public static readonly BindableProperty AxisOriginProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ItemsSourceProperty

    Identifies the ItemsSource bindable property.

    Declaration
    public static readonly BindableProperty ItemsSourceProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MaximumYValueProperty

    Identifies the MaximumYValue bindable property.

    Declaration
    public static readonly BindableProperty MaximumYValueProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MinimumYValueProperty

    Identifies the MinimumYValue bindable property.

    Declaration
    public static readonly BindableProperty MinimumYValueProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    PaddingProperty

    Identifies the Padding bindable property.

    Declaration
    public static readonly BindableProperty PaddingProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ShowAxisProperty

    Identifies the ShowAxis bindable property.

    Declaration
    public static readonly BindableProperty ShowAxisProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StrokeProperty

    Identifies the Stroke bindable property.

    Declaration
    public static readonly BindableProperty StrokeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    YBindingPathProperty

    Identifies the YBindingPath bindable property.

    Declaration
    public static readonly BindableProperty YBindingPathProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    AxisLineStyle

    Gets or sets the line style for axis.

    Declaration
    public SparkChartLineStyle AxisLineStyle { get; set; }
    Property Value
    Type
    SparkChartLineStyle

    AxisOrigin

    Gets or sets the value to configure axis orgin.

    Declaration
    public double AxisOrigin { get; set; }
    Property Value
    Type
    System.Double

    ItemsSource

    Gets or sets the collection used to generate the _content of the chart.

    Declaration
    public object ItemsSource { get; set; }
    Property Value
    Type
    System.Object

    MaximumYValue

    Gets or sets the maximum value for the Y-axis.

    Declaration
    public double MaximumYValue { get; set; }
    Property Value
    Type
    System.Double

    MinimumYValue

    Gets or sets the minimum value for the Y-axis.

    Declaration
    public double MinimumYValue { get; set; }
    Property Value
    Type
    System.Double

    Padding

    Gets or sets the padding for the chart line, area, column or win-loss.

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type
    Microsoft.Maui.Thickness

    ShowAxis

    Gets or sets the flag to visible axis.

    Declaration
    public bool ShowAxis { get; set; }
    Property Value
    Type
    System.Boolean

    Stroke

    Gets or sets the brush used to draw the stroke for the chart line, area, column or win-loss.

    Declaration
    public Brush Stroke { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    YBindingPath

    Gets or sets the path to the property used for Y-axis values.

    Declaration
    public string YBindingPath { get; set; }
    Property Value
    Type
    System.String

    Methods

    OnBindingContextChanged()

    Declaration
    protected override void OnBindingContextChanged()

    Implements

    Microsoft.Maui.IContentView
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved