menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class DateTimeAxis

    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
    ChartAxis
    RangeAxisBase
    DateTimeAxis
    Inherited Members
    ChartAxis.ActualRangeChanged
    ChartAxis.AutoIntervalOnZoomingEnabled
    ChartAxis.AutoScrollingDelta
    ChartAxis.AutoScrollingMode
    ChartAxis.AxisLineOffset
    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.Visibility
    ChartAxis.VisibleLabels
    ChartAxis.VisibleRange
    ChartAxis.ZoomFactor
    ChartAxis.ZoomPosition
    RangeAxisBase.EdgeLabelsVisibilityMode
    RangeAxisBase.MinorGridLineStyle
    RangeAxisBase.MinorTicksPerInterval
    RangeAxisBase.MinorTickStyle
    RangeAxisBase.ShowMinorGridLines
    RangeAxisBase.ValueToPolarCoefficient(Double)
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class DateTimeAxis : RangeAxisBase

    Constructors

    DateTimeAxis()

    Declaration
    public DateTimeAxis()

    Properties

    ActualIntervalType

    Declaration
    public DateTimeIntervalType ActualIntervalType { get; }
    Property Value
    Type
    DateTimeIntervalType

    AutoScrollingDeltaType

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

    Declaration
    public DateTimeDeltaType AutoScrollingDeltaType { get; set; }
    Property Value
    Type
    DateTimeDeltaType

    IntervalType

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

    Declaration
    public DateTimeIntervalType IntervalType { get; set; }
    Property Value
    Type
    DateTimeIntervalType

    Maximum

    Gets or sets the maximum value of the time period to be displayed on chart axis.

    Declaration
    public Date Maximum { get; set; }
    Property Value
    Type
    Java.Util.Date

    Minimum

    Gets or sets the minimum value of the time period to be displayed on chart axis.

    Declaration
    public Date Minimum { get; set; }
    Property Value
    Type
    Java.Util.Date

    RangePadding

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

    Declaration
    public DateTimeRangePadding RangePadding { get; set; }
    Property Value
    Type
    DateTimeRangePadding

    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
    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
    RangeAxisBase.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
    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)

    CalculateActualRange()

    Declaration
    protected override DoubleRange CalculateActualRange()
    Returns
    Type
    DoubleRange
    Overrides
    ChartAxis.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
    System.Double
    Overrides
    ChartAxis.CalculateNiceInterval(DoubleRange, SizeF)

    CalculateVisibleRange(SizeF)

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

    GenerateVisibleLabels()

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