Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SFCategoryAxis

    Show / Hide Table of Contents

    Class SFCategoryAxis

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

    Inheritance
    System.Object
    SFAxis
    SFCategoryAxis
    Inherited Members
    SFAxis.OnPropertyChanged()
    SFAxis.GetActualDesiredIntervalsCount(SizeF)
    SFAxis.CalculateNiceInterval(DoubleRange, SizeF)
    SFAxis.CalculateActualRange()
    SFAxis.CoefficientToValue(Double)
    SFAxis.ValueToCoefficient(Double)
    SFAxis.ValueToPoint(Double)
    SFAxis.ValueToPolarCoefficient(Double)
    SFAxis.CalculateVisibleRange(SizeF)
    SFAxis.CalculateVisibleRangeWithSize(CGSize)
    SFAxis.DrawInContext(CGContext)
    SFAxis.DrawStripLinesInContext(CGContext)
    SFAxis.DrawGridLinesInContext(CGContext)
    SFAxis.RemoveStripLine(SFChartStripLine)
    SFAxis.ClearStripLines()
    SFAxis.PointForValue(Double)
    SFAxis.ValueForPoint(CGPoint)
    SFAxis.CoefficientForValue(Double)
    SFAxis.ValueForCoefficient(Double)
    SFAxis.AutoScrollingDelta
    SFAxis.IsVertical
    SFAxis.AutoScrollingMode
    SFAxis.PolarAngle
    SFAxis.EdgeLabelsDrawingMode
    SFAxis.OpposedPosition
    SFAxis.PlotOffset
    SFAxis.PlotOffsetStart
    SFAxis.PlotOffsetEnd
    SFAxis.MaximumLabels
    SFAxis.LabelRotationAngle
    SFAxis.AxisLineOffset
    SFAxis.LabelExtent
    SFAxis.RangeStyles
    SFAxis.ZoomPosition
    SFAxis.VisibleLabels
    SFAxis.VisibleRange
    SFAxis.ZoomFactor
    SFAxis.LabelsIntersectAction
    SFAxis.TickPosition
    SFAxis.ShowMajorGridLines
    SFAxis.LabelStyle
    SFAxis.MajorGridLineStyle
    SFAxis.MajorTickStyle
    SFAxis.Title
    SFAxis.CrossesAt
    SFAxis.CrossingAxisName
    SFAxis.RenderNextToCrossingValue
    SFAxis.Interval
    SFAxis.IsInversed
    SFAxis.AxisLineStyle
    SFAxis.EnableAutoIntervalOnZooming
    SFAxis.Name
    SFAxis.TrackballLabelStyle
    SFAxis.Visible
    SFAxis.LabelClicked
    SFAxis.LabelCreated
    Namespace: Syncfusion.SfChart.iOS
    Assembly: Syncfusion.SFChart.iOS.dll
    Syntax
    public class SFCategoryAxis : SFAxis

    Constructors

    SFCategoryAxis()

    Declaration
    public SFCategoryAxis()

    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 SFChartLabelPlacement LabelPlacement { get; set; }
    Property Value
    Type Description
    SFChartLabelPlacement

    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 Description
    NumericalStripLinesCollection

    Methods

    AddStripLine(SFChartStripLine)

    Declaration
    public override void AddStripLine(SFChartStripLine stripLine)
    Parameters
    Type Name Description
    SFChartStripLine stripLine
    Overrides
    SFAxis.AddStripLine(SFChartStripLine)

    ApplyRangePadding(DoubleRange, Double)

    Declaration
    protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
    Parameters
    Type Name Description
    DoubleRange range
    System.Double interval
    Returns
    Type Description
    DoubleRange
    Overrides
    SFAxis.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 Description
    System.Double
    Overrides
    SFAxis.CalculateActualInterval(DoubleRange, SizeF)

    GenerateVisibleLabels()

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