menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SparklineAxis

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

    Inheritance
    System.Object
    SparklineAxis
    Namespace: Syncfusion.SfSparkline.XForms
    Assembly: Syncfusion.SfSparkline.XForms.dll
    Syntax
    public class SparklineAxis : Element, IThemeElement

    Constructors

    SparklineAxis()

    Initializes a new instance of the SparklineAxis class.

    Declaration
    public SparklineAxis()

    Fields

    AxisOriginProperty

    Gets or sets the AxisOrigin property. This property is used to set the origin for sparkline axis. This is a bindable property.

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

    IsVisibleProperty

    Gets or sets a value that indicates whether the axis should be visible. This is a bindable property.

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

    StrokeColorProperty

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

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

    StrokeWidthProperty

    Gets or sets the StrokeWidth property. This property is used to customize the width of the axis lines.

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

    Properties

    AxisOrigin

    Gets or sets the AxisOrigin property. This property is used to set the origin for sparkline axis. This is a bindable property.

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

    This property takes the System.Double value.

    IsVisible

    Gets or sets a value that indicates that whether the axis should be visible. This is a bindable property.

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

    This property takes the System.Boolean value.

    StrokeColor

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

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

    This property takes the Xamarin.Forms.Color value.

    StrokeWidth

    Gets or sets the StrokeWidth property. This property is used to customize the width of the axis lines.

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

    This property takes the double value.

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