menu

WinForms

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

    Show / Hide Table of Contents

    Class DateTimeCategoryAxis

    Represents a DateTime indexed axis.

    Inheritance
    System.Object
    ChartAxis
    ChartAxisBase2D
    DateTimeCategoryAxis
    Implements
    ICloneable
    Inherited Members
    ChartAxis.ActualPlotOffset
    ChartAxis.ActualRangeChanged
    ChartAxis.AddSmallTicksPoint(Double)
    ChartAxis.AddSmallTicksPoint(Double, Double)
    ChartAxis.ApplyRangePadding(DoubleRange, Double)
    ChartAxis.ArrangeRect
    ChartAxis.AxisBoundsChanged
    ChartAxis.AxisLineOffset
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.AxisLineStyle
    ChartAxis.AxisLineStyleProperty
    ChartAxis.CalculateActualRange()
    ChartAxis.Clone()
    ChartAxis.CoefficientToActualValue(Double)
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.ContentPath
    ChartAxis.ContentPathProperty
    ChartAxis.CrosshairLabelTemplate
    ChartAxis.CrosshairLabelTemplateProperty
    ChartAxis.CRoundDecimals
    ChartAxis.CustomLabels
    ChartAxis.DesiredIntervalsCount
    ChartAxis.DesiredIntervalsCountProperty
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.EdgeLabelsDrawingModeProperty
    ChartAxis.EdgeLabelsVisibilityMode
    ChartAxis.EdgeLabelsVisibilityModeProperty
    ChartAxis.EnableAutoIntervalOnZooming
    ChartAxis.EnableAutoIntervalOnZoomingProperty
    ChartAxis.GetActualDesiredIntervalsCount(Size)
    ChartAxis.GetArrangeRect()
    ChartAxis.GetRenderedRect()
    ChartAxis.Header
    ChartAxis.HeaderPosition
    ChartAxis.HeaderPositionProperty
    ChartAxis.HeaderProperty
    ChartAxis.HeaderStyle
    ChartAxis.HeaderStyleProperty
    ChartAxis.HeaderTemplate
    ChartAxis.HeaderTemplateProperty
    ChartAxis.IsInversed
    ChartAxis.IsInversedProperty
    ChartAxis.IsLogarithmic
    ChartAxis.LabelCreated
    ChartAxis.LabelExtent
    ChartAxis.LabelExtentProperty
    ChartAxis.LabelFormat
    ChartAxis.LabelFormatProperty
    ChartAxis.LabelRotationAngle
    ChartAxis.LabelRotationAngleProperty
    ChartAxis.LabelsIntersectAction
    ChartAxis.LabelsIntersectActionProperty
    ChartAxis.LabelsPosition
    ChartAxis.LabelsPositionProperty
    ChartAxis.LabelsSource
    ChartAxis.LabelsSourceProperty
    ChartAxis.LabelStyle
    ChartAxis.LabelStyleProperty
    ChartAxis.LabelTemplate
    ChartAxis.LabelTemplateProperty
    ChartAxis.MajorGridLineStyle
    ChartAxis.MajorGridLineStyleProperty
    ChartAxis.MajorTickLineStyle
    ChartAxis.MajorTickLineStyleProperty
    ChartAxis.MaximumLabels
    ChartAxis.MaximumLabelsProperty
    ChartAxis.MaxPixelsCount
    ChartAxis.MeasureOverride(Size)
    ChartAxis.MinorGridLineStyle
    ChartAxis.MinorGridLineStyleProperty
    ChartAxis.MinorTickLineStyle
    ChartAxis.MinorTickLineStyleProperty
    ChartAxis.OnAxisVisibleRangeChanged(VisibleRangeChangedEventArgs)
    ChartAxis.OnCreateAutomationPeer()
    ChartAxis.OnPropertyChanged()
    ChartAxis.OnRegisteredSeriesCollectionChanged(Object, NotifyCollectionChangedEventArgs)
    ChartAxis.OpposedPosition
    ChartAxis.OpposedPositionProperty
    ChartAxis.Origin
    ChartAxis.OriginLineStyle
    ChartAxis.OriginLineStyleProperty
    ChartAxis.OriginProperty
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetEnd
    ChartAxis.PlotOffsetEndProperty
    ChartAxis.PlotOffsetProperty
    ChartAxis.PlotOffsetStart
    ChartAxis.PlotOffsetStartProperty
    ChartAxis.PositionPath
    ChartAxis.PositionPathProperty
    ChartAxis.PostfixLabelTemplate
    ChartAxis.PostfixLabelTemplateProperty
    ChartAxis.PrefixLabelTemplate
    ChartAxis.PrefixLabelTemplateProperty
    ChartAxis.RangeStyles
    ChartAxis.RangeStylesProperty
    ChartAxis.ShowAxisNextToOrigin
    ChartAxis.ShowAxisNextToOriginProperty
    ChartAxis.ShowGridLines
    ChartAxis.ShowGridLinesProperty
    ChartAxis.ShowOrigin
    ChartAxis.ShowOriginProperty
    ChartAxis.ShowTrackBallInfo
    ChartAxis.ShowTrackBallInfoProperty
    ChartAxis.ThumbLabelTemplate
    ChartAxis.ThumbLabelTemplateProperty
    ChartAxis.ThumbLabelVisibility
    ChartAxis.ThumbLabelVisibilityProperty
    ChartAxis.TickLineSize
    ChartAxis.TickLineSizeProperty
    ChartAxis.TickLinesPosition
    ChartAxis.TickLinesPositionProperty
    ChartAxis.TrackBallLabelTemplate
    ChartAxis.TrackBallLabelTemplateProperty
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.ValueToCoefficient(Double, Boolean)
    ChartAxis.VisibleLabels
    ChartAxis.VisibleRange
    ChartAxisBase2D.AutoScrollingDelta
    ChartAxisBase2D.AutoScrollingDeltaProperty
    ChartAxisBase2D.AutoScrollingMode
    ChartAxisBase2D.AutoScrollingModeProperty
    ChartAxisBase2D.CalculateVisibleRange(Size)
    ChartAxisBase2D.DeferredScrolling
    ChartAxisBase2D.DeferredScrollingProperty
    ChartAxisBase2D.EnableScrollBar
    ChartAxisBase2D.EnableScrollBarProperty
    ChartAxisBase2D.EnableScrollBarResizing
    ChartAxisBase2D.EnableScrollBarResizingProperty
    ChartAxisBase2D.EnableTouchMode
    ChartAxisBase2D.EnableTouchModeProperty
    ChartAxisBase2D.IncludeStripLineRange
    ChartAxisBase2D.IncludeStripLineRangeProperty
    ChartAxisBase2D.LabelBorderBrush
    ChartAxisBase2D.LabelBorderBrushProperty
    ChartAxisBase2D.LabelBorderWidth
    ChartAxisBase2D.LabelBorderWidthProperty
    ChartAxisBase2D.LabelClicked
    ChartAxisBase2D.MultiLevelLabels
    ChartAxisBase2D.MultiLevelLabelsBorderType
    ChartAxisBase2D.MultiLevelLabelsBorderTypeProperty
    ChartAxisBase2D.MultiLevelLabelsProperty
    ChartAxisBase2D.OnApplyTemplate()
    ChartAxisBase2D.OnAxisBoundsChanged(ChartAxisBoundsEventArgs)
    ChartAxisBase2D.PolarAngle
    ChartAxisBase2D.PolarAngleProperty
    ChartAxisBase2D.PolarCoefficientToValue(Double)
    ChartAxisBase2D.ShowLabelBorder
    ChartAxisBase2D.ShowLabelBorderProperty
    ChartAxisBase2D.StripLines
    ChartAxisBase2D.StripLinesProperty
    ChartAxisBase2D.ValueToPolarCoefficient(Double)
    ChartAxisBase2D.ZoomFactor
    ChartAxisBase2D.ZoomFactorProperty
    ChartAxisBase2D.ZoomPosition
    ChartAxisBase2D.ZoomPositionProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class DateTimeCategoryAxis : ChartAxisBase2D, ICloneable

    Constructors

    DateTimeCategoryAxis()

    Declaration
    public DateTimeCategoryAxis()

    Fields

    IntervalProperty

    The DependencyProperty for Interval property.

    Declaration
    public static readonly DependencyProperty IntervalProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IntervalTypeProperty

    The DependencyProperty for IntervalType property.

    Declaration
    public static readonly DependencyProperty IntervalTypeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Interval

    Gets or sets a value that determines the interval between labels. If this property is not set, interval will be calculated automatically.

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

    IntervalType

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

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

    This property hold the values ranges from Year, Months to Milliseconds.

    Methods

    CalculateActualInterval(DoubleRange, Size)

    Calculates actual interval

    Declaration
    protected override double CalculateActualInterval(DoubleRange range, Size availableSize)
    Parameters
    Type Name Description
    DoubleRange range
    System.Windows.Size availableSize
    Returns
    Type
    System.Double
    Overrides
    ChartAxis.CalculateActualInterval(DoubleRange, Size)

    CalculateNiceInterval(DoubleRange, Size)

    Declaration
    protected override double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
    Parameters
    Type Name Description
    DoubleRange actualRange
    System.Windows.Size availableSize
    Returns
    Type
    System.Double
    Overrides
    ChartAxis.CalculateNiceInterval(DoubleRange, Size)

    CloneAxis(DependencyObject)

    Declaration
    protected override DependencyObject CloneAxis(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type
    System.Windows.DependencyObject
    Overrides
    ChartAxisBase2D.CloneAxis(DependencyObject)

    GenerateVisibleLabels()

    Method implementation for Create VisibleLabels for DateTime axis

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

    GetLabelContent(Double)

    Method implementation for Get LabelContent for given position

    Declaration
    public override object GetLabelContent(double position)
    Parameters
    Type Name Description
    System.Double position
    Returns
    Type
    System.Object
    Overrides
    ChartAxis.GetLabelContent(Double)

    OnIntervalChanged(DependencyPropertyChangedEventArgs)

    Called when Interval property changed

    Declaration
    protected virtual void OnIntervalChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Implements

    ICloneable

    See Also

    ChartAxisBase2D
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved