Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFDateTimeAxis

    Represents a specialized axis to plot data with date time values. 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
    SFDateTimeAxis
    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.CoefficientToValue(Double)
    SFAxis.ValueToCoefficient(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 SFDateTimeAxis : SFRangeAxisBase

    Constructors

    SFDateTimeAxis()

    Declaration
    public SFDateTimeAxis()

    Properties

    ActualIntervalType

    Declaration
    public SFChartDateTimeIntervalType ActualIntervalType { get; }
    Property Value
    Type Description
    SFChartDateTimeIntervalType

    AutoScrollingDeltaType

    Gets or sets the date time unit of the value specified in the AutoScrollingDelta property.

    Declaration
    public SFChartDateTimeDeltaType AutoScrollingDeltaType { get; set; }
    Property Value
    Type Description
    SFChartDateTimeDeltaType

    IntervalType

    Gets or sets the date time unit of the value specified in the Interval property.

    Declaration
    public SFChartDateTimeIntervalType IntervalType { get; set; }
    Property Value
    Type Description
    SFChartDateTimeIntervalType

    RangePadding

    Gets or sets a padding type for the date time axis range.

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

    StripLines

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

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

    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)

    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)

    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)

    GenerateVisibleLabels()

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