menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DateTimeAxis - API Reference

    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
    RangeAxisBase.ValueToPolarCoefficient(Double)
    RangeAxisBase.MinorTicksPerInterval
    RangeAxisBase.EdgeLabelsVisibilityMode
    RangeAxisBase.MinorGridLineStyle
    RangeAxisBase.MinorTickStyle
    RangeAxisBase.ShowMinorGridLines
    ChartAxis.OnPropertyChanged()
    ChartAxis.GetActualDesiredIntervalsCount(SizeF)
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.ValueToPoint(Double)
    ChartAxis.PointToValue(PointF)
    ChartAxis.AutoScrollingDelta
    ChartAxis.IsVertical
    ChartAxis.AutoScrollingMode
    ChartAxis.PolarAngle
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.OpposedPosition
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetStart
    ChartAxis.PlotOffsetEnd
    ChartAxis.Visibility
    ChartAxis.MaximumLabels
    ChartAxis.LabelRotationAngle
    ChartAxis.AxisLineOffset
    ChartAxis.LabelExtent
    ChartAxis.RangeStyles
    ChartAxis.ZoomPosition
    ChartAxis.VisibleLabels
    ChartAxis.VisibleRange
    ChartAxis.ZoomFactor
    ChartAxis.LabelsIntersectAction
    ChartAxis.TickPosition
    ChartAxis.ShowMajorGridLines
    ChartAxis.LabelStyle
    ChartAxis.MajorGridLineStyle
    ChartAxis.MajorTickStyle
    ChartAxis.Title
    ChartAxis.CrossesAt
    ChartAxis.CrossingAxisName
    ChartAxis.RenderNextToCrossingValue
    ChartAxis.ShowTrackballInfo
    ChartAxis.TrackballLabelStyle
    ChartAxis.AutoIntervalOnZoomingEnabled
    ChartAxis.Name
    ChartAxis.LineStyle
    ChartAxis.Inversed
    ChartAxis.Interval
    ChartAxis.LabelClicked
    ChartAxis.LabelCreated
    ChartAxis.ActualRangeChanged
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 Description
    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 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
    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 Description
    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 Description
    System.Double
    Overrides
    ChartAxis.CalculateActualInterval(DoubleRange, SizeF)

    CalculateActualRange()

    Declaration
    protected override DoubleRange CalculateActualRange()
    Returns
    Type Description
    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 Description
    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 - 2023 Syncfusion Inc. All Rights Reserved