menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class NumericalAxis

    Represents a specialized axis to plot data with number values. This class contains properties to customize grid lines, ticks, and labels.

    Inheritance
    System.Object
    ChartAxis
    RangeAxisBase
    NumericalAxis
    Inherited Members
    ChartAxis.ActualRangeChanged
    ChartAxis.AutoScrollingDelta
    ChartAxis.AutoScrollingDeltaProperty
    ChartAxis.AutoScrollingMode
    ChartAxis.AutoScrollingModeProperty
    ChartAxis.AxisLineOffset
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.AxisLineStyle
    ChartAxis.AxisLineStyleProperty
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.CrossesAt
    ChartAxis.CrossesAtProperty
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.EdgeLabelsDrawingModeProperty
    ChartAxis.EnableAutoIntervalOnZooming
    ChartAxis.EnableAutoIntervalOnZoomingProperty
    ChartAxis.IsInversed
    ChartAxis.IsInversedProperty
    ChartAxis.IsVertical
    ChartAxis.IsVisible
    ChartAxis.IsVisibleProperty
    ChartAxis.LabelClicked
    ChartAxis.LabelCreated
    ChartAxis.LabelExtent
    ChartAxis.LabelExtentProperty
    ChartAxis.LabelRotationAngle
    ChartAxis.LabelRotationAngleProperty
    ChartAxis.LabelsIntersectAction
    ChartAxis.LabelsIntersectActionProperty
    ChartAxis.LabelStyle
    ChartAxis.LabelStyleProperty
    ChartAxis.MajorGridLineStyle
    ChartAxis.MajorGridLineStyleProperty
    ChartAxis.MajorTickStyle
    ChartAxis.MajorTickStyleProperty
    ChartAxis.MaximumLabels
    ChartAxis.MaximumLabelsProperty
    ChartAxis.Name
    ChartAxis.NameProperty
    ChartAxis.OnCreateLabels()
    ChartAxis.OpposedPosition
    ChartAxis.OpposedPositionProperty
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetEnd
    ChartAxis.PlotOffsetEndProperty
    ChartAxis.PlotOffsetProperty
    ChartAxis.PlotOffsetStart
    ChartAxis.PlotOffsetStartProperty
    ChartAxis.PointToValue(Point)
    ChartAxis.PolarAngle
    ChartAxis.PolarAngleProperty
    ChartAxis.RangeStyles
    ChartAxis.RangeStylesProperty
    ChartAxis.RenderNextToCrossingValue
    ChartAxis.RenderNextToCrossingValueProperty
    ChartAxis.ShowMajorGridLines
    ChartAxis.ShowMajorGridLinesProperty
    ChartAxis.ShowTrackballInfo
    ChartAxis.ShowTrackballInfoProperty
    ChartAxis.TickPosition
    ChartAxis.TickPositionProperty
    ChartAxis.Title
    ChartAxis.TitleProperty
    ChartAxis.TrackballLabelStyle
    ChartAxis.TrackballLabelStyleProperty
    ChartAxis.TrackballLabelTemplate
    ChartAxis.TrackballLabelTemplateProperty
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.ValueToPoint(Double)
    ChartAxis.VisibleLabels
    ChartAxis.VisibleMaximum
    ChartAxis.VisibleMinimum
    ChartAxis.ZoomFactor
    ChartAxis.ZoomFactorProperty
    ChartAxis.ZoomPosition
    ChartAxis.ZoomPositionProperty
    RangeAxisBase.EdgeLabelsVisibilityMode
    RangeAxisBase.EdgeLabelsVisibilityModeProperty
    RangeAxisBase.MinorGridLineStyle
    RangeAxisBase.MinorGridLineStyleProperty
    RangeAxisBase.MinorTicksPerInterval
    RangeAxisBase.MinorTicksPerIntervalProperty
    RangeAxisBase.MinorTickStyle
    RangeAxisBase.MinorTickStyleProperty
    RangeAxisBase.ShowMinorGridLines
    RangeAxisBase.ShowMinorGridLinesProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class NumericalAxis : RangeAxisBase, IThemeElement
    Examples
    SfChart chart = new SfChart();
    NumericalAxis primary = new NumericalAxis();
    primary.Title = new ChartAxisTitle();
    primary.Title.Text = "Sales Across Products";
    primary.Minimum = 0;
    primary.Maximum = 100;
    primary.Interval = 10;
    chart.PrimaryAxis = primary;
    chart.SecondaryAxis = new NumericalAxis();

    Constructors

    NumericalAxis()

    Initializes a new instance of the NumericalAxis class.

    Declaration
    public NumericalAxis()

    Fields

    IntervalProperty

    Gets or sets the interval value that represents the number of division required in the NumericalAxis. This is a bindable property.

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

    MaximumProperty

    Gets or sets the maximum value of visible range to be displayed on chart axis. This is a bindable property.

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

    MinimumProperty

    Gets or sets the minimum value of visible range to be displayed on chart axis. This is a bindable property.

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

    RangePaddingProperty

    Gets or sets a padding type for the numerical axis range. This is a bindable property.

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

    StripLinesProperty

    Gets or sets the collection of strip lines to be added to the chart axis. This is a bindable property.

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

    Properties

    Interval

    Gets or sets the interval value that represents the number of division required in the NumericalAxis. This is a bindable property.

    Declaration
    public Nullable<double> Interval { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    This property takes the double value.

    Maximum

    Gets or sets the maximum value of visible range to be displayed on chart axis. This is a bindable property.

    Declaration
    public Nullable<double> Maximum { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    This property takes double as its value.

    Minimum

    Gets or sets the minimum value of visible range to be displayed on chart axis. This is a bindable property.

    Declaration
    public Nullable<double> Minimum { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    This property takes double as its value.

    RangePadding

    Gets or sets a padding type for the numerical axis range. This is a bindable property.

    Declaration
    public NumericalPadding RangePadding { get; set; }
    Property Value
    Type Description
    NumericalPadding

    This property takes the NumericalPadding as value.

    StripLines

    Gets or sets the collection of strip lines to be added to the chart axis. This is a bindable property.

    Declaration
    public NumericalStripLineCollection StripLines { get; set; }
    Property Value
    Type Description
    NumericalStripLineCollection

    Strip Lines Collection.

    Methods

    OnBindingContextChanged()

    Override this method to execute an action when the BindingContext changes.

    Declaration
    protected override void OnBindingContextChanged()
    Overrides
    RangeAxisBase.OnBindingContextChanged()

    OnParentSet()

    Declaration
    protected override void OnParentSet()
    Overrides
    RangeAxisBase.OnParentSet()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved