menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfSparklineBase - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfSparklineBase

    Represents the SfSparklineBase class. To render this, create an instance of the SfSparklineBase class, and set required properties.

    Inheritance
    System.Object
    SfSparklineBase
    SfAreaSparkline
    SfColumnSparkline
    SfLineSparkline
    SfWinLossSparkline
    Namespace: Syncfusion.SfSparkline.XForms
    Assembly: Syncfusion.SfSparkline.XForms.dll
    Syntax
    public class SfSparklineBase : View, IParentThemeElement, IThemeElement

    Constructors

    SfSparklineBase()

    Initializes a new instance of the SfSparklineBase class.

    Declaration
    public SfSparklineBase()

    Fields

    EmptyPointValueProperty

    Gets or sets the EmptyPointValue property. This property is used to set a value, which can be either average, zero, or none. This is a bindable property.

    Declaration
    public static readonly BindableProperty EmptyPointValueProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ItemsSourceProperty

    Gets or sets the ItemsSource property. This property is used to collect the datas for sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty ItemsSourceProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    MaximumYValueProperty

    Gets or sets the MaximumY value. This property is used to set the maximum value of the y-axis for sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty MaximumYValueProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    MinimumYValueProperty

    Gets or sets the MinimumY value. This property is used to set the minimum value of the y-axis for sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty MinimumYValueProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    PaddingProperty

    Gets or sets the Padding property. This property is used to set Padding to the sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty PaddingProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RangeBandColorProperty

    Gets or sets the RangeBandColor property. This property is used to set range band colors to sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty RangeBandColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RangeBandEndProperty

    Gets or sets the RangeBandEnd property. This property is used to set the end value of the range band in y-axis. This is a bindable property.

    Declaration
    public static readonly BindableProperty RangeBandEndProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RangeBandStartProperty

    Gets or sets the RangeBandStart property. This property is used to set the start value of the range band in y-axis. This is a bindable property.

    Declaration
    public static readonly BindableProperty RangeBandStartProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    StrokeColorProperty

    Gets or sets the StrokeColor property. This property is used to set the stroke color for sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty StrokeColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    StrokeWidthProperty

    Gets or sets the stroke width property. This property is used to customize the width for sparkline. This is a bindable property.

    Declaration
    public static readonly BindableProperty StrokeWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    YBindingPathProperty

    Gets or sets the YBindingPath property. This property is used to set property path to retrieve Y data from ItemsSource. This is a bindable property.

    Declaration
    public static readonly BindableProperty YBindingPathProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    EmptyPointValue

    Gets or sets the EmptyPointValue property. This property is used to set a value, which can be either average, zero, or none. This is a bindable property.

    Declaration
    public EmptyPointValues EmptyPointValue { get; set; }
    Property Value
    Type
    EmptyPointValues

    ItemsSource

    Gets or sets the ItemsSource property. This property is used to collect the datas for sparkline. This is a bindable property.

    Declaration
    public IEnumerable ItemsSource { get; set; }
    Property Value
    Type Description
    System.Collections.IEnumerable

    This property takes the IEnumerable types as its value.

    MaximumYValue

    Gets or sets the MaximumY value. This property is used to set the maximum value of the y-axis for sparkline. This is a bindable property.

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

    MinimumYValue

    Gets or sets the MinimumY value. This property is used to set the minimum value of the y-axis for sparkline. This is a bindable property.

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

    Padding

    Gets or sets the property. This property is used to set Padding to the sparkline. This is a bindable property.

    Declaration
    public Thickness Padding { get; set; }
    Property Value
    Type
    Xamarin.Forms.Thickness

    RangeBandColor

    Gets or sets the RangeBandColor property. This property is used to set range band colors to sparkline. This is a bindable property.

    Declaration
    public Color RangeBandColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    RangeBandEnd

    Gets or sets the RangeBandEnd property. This property is used to set the end value of the range band in y-axis. This is a bindable property.

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

    This property takes the System.Double as its value.

    RangeBandStart

    Gets or sets the RangeBandStart property. This property is used to set the start value of the range band in y-axis. This is a bindable property.

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

    This property takes the System.Double as its value.

    StrokeColor

    Gets or sets the StrokeColor property. This property is used to set the stroke color for sparkline. This is a bindable property.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the color value.

    StrokeWidth

    Gets or sets the stroke width property. This property is used to customize the width for sparkline. This is a bindable property.

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

    This property takes the double value.

    YBindingPath

    Gets or sets the YBindingPath property. This property is used to set property path to retrieve Y data from ItemsSource.

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

    This property takes the System.String as its value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved