menu

WinForms

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

    Show / Hide Table of Contents

    Class DateTimeAxis3D

    Class implementation for DateTimeAxis3D

    Inheritance
    System.Object
    ChartAxis
    ChartAxisBase3D
    RangeAxisBase3D
    DateTimeAxis3D
    Implements
    ICloneable
    IRangeAxis
    Inherited Members
    ChartAxis.ActualPlotOffset
    ChartAxis.ActualRangeChanged
    ChartAxis.ArrangeRect
    ChartAxis.AxisBoundsChanged
    ChartAxis.AxisLineOffset
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.AxisLineStyle
    ChartAxis.AxisLineStyleProperty
    ChartAxis.CalculateVisibleRange(Size)
    ChartAxis.Clone()
    ChartAxis.CoefficientToActualValue(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.PolarCoefficientToValue(Double)
    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.ValueToPolarCoefficient(Double)
    ChartAxis.VisibleLabels
    ChartAxis.VisibleRange
    ChartAxisBase3D.CoefficientToValue(Double)
    ChartAxisBase3D.OnAxisBoundsChanged(ChartAxisBoundsEventArgs)
    RangeAxisBase3D.AddSmallTicksPoint(Double)
    RangeAxisBase3D.AddSmallTicksPoint(Double, Double)
    RangeAxisBase3D.IRangeAxis.Range
    RangeAxisBase3D.Range
    RangeAxisBase3D.SmallTickLineSize
    RangeAxisBase3D.SmallTickLineSizeProperty
    RangeAxisBase3D.SmallTickLinesPosition
    RangeAxisBase3D.SmallTickLinesPositionProperty
    RangeAxisBase3D.SmallTicksPerInterval
    RangeAxisBase3D.SmallTicksPerIntervalProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class DateTimeAxis3D : RangeAxisBase3D, ICloneable, IRangeAxis

    Constructors

    DateTimeAxis3D()

    Declaration
    public DateTimeAxis3D()

    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

    MaximumProperty

    The DependencyProperty for Maximum property.

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

    MinimumProperty

    The DependencyProperty for Minimum property.

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

    RangePaddingProperty

    The DependencyProperty for RangePadding property.

    Declaration
    public static readonly DependencyProperty RangePaddingProperty
    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.

    Maximum

    Gets or sets the maximum value for the axis range. This is null-able property.

    Declaration
    public DateTime? Maximum { get; set; }
    Property Value
    Type
    System.Nullable<System.DateTime>
    Remarks

    If we didn't set the maximum value, it will be calculate from the underlying collection.

    Minimum

    Gets or sets the minimum value for the axis range. This is null-able property.

    Declaration
    public DateTime? Minimum { get; set; }
    Property Value
    Type
    System.Nullable<System.DateTime>
    Remarks

    If we didn't set the minimum value, it will be calculate from the underlying collection.

    RangePadding

    Gets or sets a value indicating shift to the DateTimeAxis range inside or outside.

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

    Additional, to extend the range, Round, to round-off the range, None, do nothing, Auto, auto range based on type of series.

    Methods

    ApplyRangePadding(DoubleRange, Double)

    Apply padding based on interval

    Declaration
    protected override DoubleRange ApplyRangePadding(DoubleRange range, double interval)
    Parameters
    Type Name Description
    DoubleRange range

    The Range

    System.Double interval

    The Interval

    Returns
    Type Description
    DoubleRange

    Returns the padded range.

    Overrides
    ChartAxis.ApplyRangePadding(DoubleRange, Double)

    CalculateActualInterval(DoubleRange, Size)

    Calculates actual interval.

    Declaration
    protected override double CalculateActualInterval(DoubleRange range, Size availableSize)
    Parameters
    Type Name Description
    DoubleRange range

    The Range

    System.Windows.Size availableSize

    The Available Size

    Returns
    Type Description
    System.Double

    The Actual Interval.

    Overrides
    ChartAxis.CalculateActualInterval(DoubleRange, Size)

    CalculateActualRange()

    Calculates the actual range for the axis.

    Declaration
    protected override DoubleRange CalculateActualRange()
    Returns
    Type Description
    DoubleRange

    Returns the calculated actual range.

    Overrides
    ChartAxis.CalculateActualRange()

    CalculateNiceInterval(DoubleRange, Size)

    Calculates the nice interval.

    Declaration
    protected override double CalculateNiceInterval(DoubleRange actualRange, Size availableSize)
    Parameters
    Type Name Description
    DoubleRange actualRange

    The Actual Range

    System.Windows.Size availableSize

    The Available Size

    Returns
    Type Description
    System.Double

    Returns the calculated nice interval.

    Overrides
    ChartAxis.CalculateNiceInterval(DoubleRange, Size)

    CloneAxis(DependencyObject)

    Clones the axis.

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

    The Object

    Returns
    Type Description
    System.Windows.DependencyObject

    Returns the cloned axis.

    Overrides
    RangeAxisBase3D.CloneAxis(DependencyObject)

    GenerateVisibleLabels()

    Method implementation to Create VisibleLabels for DateTime axis.

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

    GetLabelContent(Double)

    Return object value from the given double value

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

    The Position

    Returns
    Type Description
    System.Object

    Return object value from the given double value.

    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

    The Event Arguments

    OnMaximumChanged(DependencyPropertyChangedEventArgs)

    Called when Maximum property changed

    Declaration
    protected virtual void OnMaximumChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The Event Arguments

    OnMinimumChanged(DependencyPropertyChangedEventArgs)

    Called when minimum property Changed

    Declaration
    protected virtual void OnMinimumChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The Event Arguments

    Implements

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