menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class CategoryAxis

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

    Inheritance
    System.Object
    ChartAxis
    CategoryAxis
    Inherited Members
    ChartAxis.ActualRangeChanged
    ChartAxis.AutoIntervalOnZoomingEnabled
    ChartAxis.AutoScrollingDelta
    ChartAxis.AutoScrollingMode
    ChartAxis.AxisLineOffset
    ChartAxis.CalculateActualRange()
    ChartAxis.CalculateNiceInterval(DoubleRange, SizeF)
    ChartAxis.CalculateVisibleRange(SizeF)
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.CrossesAt
    ChartAxis.CrossingAxisName
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.GetActualDesiredIntervalsCount(SizeF)
    ChartAxis.Interval
    ChartAxis.Inversed
    ChartAxis.IsVertical
    ChartAxis.LabelClicked
    ChartAxis.LabelCreated
    ChartAxis.LabelExtent
    ChartAxis.LabelRotationAngle
    ChartAxis.LabelsIntersectAction
    ChartAxis.LabelStyle
    ChartAxis.LineStyle
    ChartAxis.MajorGridLineStyle
    ChartAxis.MajorTickStyle
    ChartAxis.MaximumLabels
    ChartAxis.Name
    ChartAxis.OnPropertyChanged()
    ChartAxis.OpposedPosition
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetEnd
    ChartAxis.PlotOffsetStart
    ChartAxis.PointToValue(PointF)
    ChartAxis.PolarAngle
    ChartAxis.RangeStyles
    ChartAxis.RenderNextToCrossingValue
    ChartAxis.ShowMajorGridLines
    ChartAxis.ShowTrackballInfo
    ChartAxis.TickPosition
    ChartAxis.Title
    ChartAxis.TrackballLabelStyle
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.ValueToPoint(Double)
    ChartAxis.ValueToPolarCoefficient(Double)
    ChartAxis.Visibility
    ChartAxis.VisibleLabels
    ChartAxis.VisibleRange
    ChartAxis.ZoomFactor
    ChartAxis.ZoomPosition
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class CategoryAxis : ChartAxis

    Constructors

    CategoryAxis()

    Declaration
    public CategoryAxis()

    Properties

    ArrangeByIndex

    Gets or sets a value indicating whether to group the Category axis label values and create the segment based on it.

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

    True, to created the segment based on the index value. This is default value. False, to created the segment based on the axis label values.

    LabelPlacement

    Gets or sets an option that determines whether to place axis label, in between the tick lines or on the tick lines.

    Declaration
    public LabelPlacement LabelPlacement { get; set; }
    Property Value
    Type
    LabelPlacement

    StripLines

    Gets or sets the collection of strip lines to be added to the chart axis.

    Declaration
    public NumericalStripLinesCollection StripLines { get; set; }
    Property Value
    Type
    NumericalStripLinesCollection

    Methods

    ApplyRangePadding(DoubleRange, Double)

    Declaration
    protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
    Parameters
    Type Name Description
    DoubleRange range
    System.Double interval
    Returns
    Type
    DoubleRange
    Overrides
    ChartAxis.ApplyRangePadding(DoubleRange, Double)

    CalculateActualInterval(DoubleRange, SizeF)

    Declaration
    protected override double CalculateActualInterval(DoubleRange range, SizeF availableSize)
    Parameters
    Type Name Description
    DoubleRange range
    System.Drawing.SizeF availableSize
    Returns
    Type
    System.Double
    Overrides
    ChartAxis.CalculateActualInterval(DoubleRange, SizeF)

    GenerateVisibleLabels()

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