menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class DateTimeCategoryAxis

    Represents a specialized axis to plot data with date-time values based on index.

    Inheritance
    System.Object
    ChartAxis
    DateTimeCategoryAxis
    Inherited Members
    ChartAxis.TickPositionProperty
    ChartAxis.MaximumLabelsProperty
    ChartAxis.IsVisibleProperty
    ChartAxis.PlotOffsetProperty
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.LabelsIntersectActionProperty
    ChartAxis.AutoScrollingModeProperty
    ChartAxis.PolarAngleProperty
    ChartAxis.LabelExtentProperty
    ChartAxis.LabelRotationAngleProperty
    ChartAxis.LabelStyleProperty
    ChartAxis.AxisLineStyleProperty
    ChartAxis.RangeStylesProperty
    ChartAxis.OpposedPositionProperty
    ChartAxis.TitleProperty
    ChartAxis.IsInversedProperty
    ChartAxis.EdgeLabelsDrawingModeProperty
    ChartAxis.MajorGridLineStyleProperty
    ChartAxis.MajorTickStyleProperty
    ChartAxis.ZoomPositionProperty
    ChartAxis.ZoomFactorProperty
    ChartAxis.ShowMajorGridLinesProperty
    ChartAxis.EnableAutoIntervalOnZoomingProperty
    ChartAxis.AutoScrollingDeltaProperty
    ChartAxis.NameProperty
    ChartAxis.ShowTrackballInfoProperty
    ChartAxis.TrackballLabelStyleProperty
    ChartAxis.TrackballLabelTemplateProperty
    ChartAxis.CrossesAtProperty
    ChartAxis.RenderNextToCrossingValueProperty
    ChartAxis.PlotOffsetStartProperty
    ChartAxis.PlotOffsetEndProperty
    ChartAxis.ValueToPoint(Double)
    ChartAxis.PointToValue(Point)
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.OnCreateLabels()
    ChartAxis.VisibleMinimum
    ChartAxis.VisibleMaximum
    ChartAxis.VisibleLabels
    ChartAxis.TickPosition
    ChartAxis.MaximumLabels
    ChartAxis.IsVisible
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetStart
    ChartAxis.PlotOffsetEnd
    ChartAxis.AxisLineOffset
    ChartAxis.LabelsIntersectAction
    ChartAxis.AutoScrollingMode
    ChartAxis.PolarAngle
    ChartAxis.LabelExtent
    ChartAxis.LabelRotationAngle
    ChartAxis.LabelStyle
    ChartAxis.AxisLineStyle
    ChartAxis.RangeStyles
    ChartAxis.OpposedPosition
    ChartAxis.Title
    ChartAxis.IsInversed
    ChartAxis.IsVertical
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.MajorGridLineStyle
    ChartAxis.MajorTickStyle
    ChartAxis.ZoomPosition
    ChartAxis.ZoomFactor
    ChartAxis.ShowMajorGridLines
    ChartAxis.EnableAutoIntervalOnZooming
    ChartAxis.Name
    ChartAxis.ShowTrackballInfo
    ChartAxis.TrackballLabelStyle
    ChartAxis.AutoScrollingDelta
    ChartAxis.TrackballLabelTemplate
    ChartAxis.CrossesAt
    ChartAxis.RenderNextToCrossingValue
    ChartAxis.LabelCreated
    ChartAxis.LabelClicked
    ChartAxis.ActualRangeChanged
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class DateTimeCategoryAxis : ChartAxis, IThemeElement

    Constructors

    DateTimeCategoryAxis()

    Initializes a new instance of the DateTimeCategoryAxis class.

    Declaration
    public DateTimeCategoryAxis()

    Fields

    IntervalProperty

    Gets or sets the interval value that represents the number of division required in the DateTimeCategoryAxis. This is a Bindable property.

    Declaration
    public static readonly BindableProperty IntervalProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    IntervalTypeProperty

    Gets or sets the date time unit of the value specified in the Interval property. This is a Bindable property.

    Declaration
    public static readonly BindableProperty IntervalTypeProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    StripLinesProperty

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

    Declaration
    public static readonly BindableProperty StripLinesProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Interval

    Gets or sets the value that determines the interval between labels.

    Declaration
    public Nullable<double> Interval { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    This property takes the double value.

    IntervalType

    Gets or sets the value that determines the type of interval to be displayed in axis.

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

    This property takes DateTimeIntervalType as value.

    StripLines

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

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

    Strip Lines Collection.

    Methods

    OnBindingContextChanged()

    Override this method to execute an action when the BindingContext changes.

    Declaration
    protected override void OnBindingContextChanged()
    Overrides
    ChartAxis.OnBindingContextChanged()

    OnParentSet()

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