Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFLogarithmicAxis

    Represents a specialized axis to plot data with number values in logarithmic scale. This class contains properties to customize grid lines, ticks and labels. Ranges can be explicitly set using Minimum and Maximum properties. If the ranges are not specified, nice range and intervals will be calculated automatically.

    Inheritance
    System.Object
    SFAxis
    SFRangeAxisBase
    SFLogarithmicAxis
    Inherited Members
    SFRangeAxisBase.MinorTicksPerInterval
    SFRangeAxisBase.EdgeLabelsVisibilityMode
    SFRangeAxisBase.MinorGridLineStyle
    SFRangeAxisBase.MinorTickStyle
    SFRangeAxisBase.ShowMinorGridLines
    SFRangeAxisBase.Minimum
    SFRangeAxisBase.Maximum
    SFAxis.CalculateVisibleRangeWithSize(CGSize)
    SFAxis.DrawInContext(CGContext)
    SFAxis.DrawStripLinesInContext(CGContext)
    SFAxis.DrawGridLinesInContext(CGContext)
    SFAxis.PointForValue(Double)
    SFAxis.ValueForPoint(CGPoint)
    SFAxis.CoefficientForValue(Double)
    SFAxis.ValueForCoefficient(Double)
    SFAxis.OnPropertyChanged()
    SFAxis.GetActualDesiredIntervalsCount(SizeF)
    SFAxis.ApplyRangePadding(DoubleRange, Double)
    SFAxis.ValueToPoint(Double)
    SFAxis.ValueToPolarCoefficient(Double)
    SFAxis.Interval
    SFAxis.IsInversed
    SFAxis.AxisLineStyle
    SFAxis.EnableAutoIntervalOnZooming
    SFAxis.Name
    SFAxis.TrackballLabelStyle
    SFAxis.Visible
    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.LabelClicked
    SFAxis.LabelCreated
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFLogarithmicAxis : SFRangeAxisBase

    Constructors

    SFLogarithmicAxis()

    Declaration
    public SFLogarithmicAxis()

    Properties

    LogarithmicBase

    Gets or sets the base value of the logarithmic axis. The default value is 10.

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

    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

    AddSmallTicksPoint(Double, Double)

    Declaration
    protected override void AddSmallTicksPoint(double position, double interval)
    Parameters
    Type Name Description
    System.Double position
    System.Double interval
    Overrides
    SFRangeAxisBase.AddSmallTicksPoint(Double, 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)

    CalculateActualRange()

    Declaration
    protected override DoubleRange CalculateActualRange()
    Returns
    Type Description
    DoubleRange
    Overrides
    SFAxis.CalculateActualRange()

    CalculateNiceInterval(DoubleRange, SizeF)

    Declaration
    protected override double CalculateNiceInterval(DoubleRange actualRange, SizeF availableSize)
    Parameters
    Type Name Description
    DoubleRange actualRange
    System.Drawing.SizeF availableSize
    Returns
    Type Description
    System.Double
    Overrides
    SFAxis.CalculateNiceInterval(DoubleRange, SizeF)

    CalculateVisibleRange(SizeF)

    Declaration
    protected override void CalculateVisibleRange(SizeF availableSize)
    Parameters
    Type Name Description
    System.Drawing.SizeF availableSize
    Overrides
    SFAxis.CalculateVisibleRange(SizeF)

    CoefficientToValue(Double)

    Declaration
    public override double CoefficientToValue(double coefficient)
    Parameters
    Type Name Description
    System.Double coefficient
    Returns
    Type Description
    System.Double
    Overrides
    SFAxis.CoefficientToValue(Double)

    GenerateVisibleLabels()

    Declaration
    protected override void GenerateVisibleLabels()
    Overrides
    SFAxis.GenerateVisibleLabels()

    ValueToCoefficient(Double)

    Declaration
    public override float ValueToCoefficient(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.Single
    Overrides
    SFAxis.ValueToCoefficient(Double)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved