menu

UWP

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

    Show / Hide Table of Contents

    Class TimeSpanAxis

    Class implementation for TimeSpanAxis

    Inheritance
    System.Object
    ChartAxis
    ChartAxisBase2D
    RangeAxisBase
    TimeSpanAxis
    Implements
    ICloneable
    IRangeAxis
    Inherited Members
    ChartAxis.ActualPlotOffset
    ChartAxis.ActualRangeChanged
    ChartAxis.ArrangeRect
    ChartAxis.AxisBoundsChanged
    ChartAxis.AxisLineOffset
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.AxisLineStyle
    ChartAxis.AxisLineStyleProperty
    ChartAxis.CalculateNiceInterval(DoubleRange, Size)
    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.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.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
    RangeAxisBase.AddSmallTicksPoint(Double)
    RangeAxisBase.AddSmallTicksPoint(Double, Double)
    RangeAxisBase.IncludeAnnotationRange
    RangeAxisBase.IncludeAnnotationRangeProperty
    RangeAxisBase.IRangeAxis.Range
    RangeAxisBase.Range
    RangeAxisBase.SmallTickLineSize
    RangeAxisBase.SmallTickLineSizeProperty
    RangeAxisBase.SmallTickLinesPosition
    RangeAxisBase.SmallTickLinesPositionProperty
    RangeAxisBase.SmallTicksPerInterval
    RangeAxisBase.SmallTicksPerIntervalProperty
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public class TimeSpanAxis : RangeAxisBase, ICloneable, IRangeAxis

    Constructors

    TimeSpanAxis()

    Declaration
    public TimeSpanAxis()

    Fields

    IntervalProperty

    The DependencyProperty for Interval property.

    Declaration
    public static readonly DependencyProperty IntervalProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MaximumProperty

    The DependencyProperty for Maximum property.

    Declaration
    public static readonly DependencyProperty MaximumProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MinimumProperty

    The DependencyProperty for Minimum property.

    Declaration
    public static readonly DependencyProperty MinimumProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    Interval

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

    Declaration
    public object Interval { get; set; }
    Property Value
    Type
    System.Object

    Maximum

    Gets or sets the maximum value for the axis range. This is nullable property.

    Declaration
    public object Maximum { get; set; }
    Property Value
    Type
    System.Object
    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 timespan axis range. This is nullable property.

    Declaration
    public object Minimum { get; set; }
    Property Value
    Type
    System.Object
    Remarks

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

    Methods

    ApplyRangePadding(DoubleRange, Double)

    Apply padding based on interval

    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, Size)

    Calculates actual interval

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

    CalculateActualRange()

    Calculates actual range

    Declaration
    protected override DoubleRange CalculateActualRange()
    Returns
    Type
    DoubleRange
    Overrides
    ChartAxis.CalculateActualRange()

    CalculateVisibleRange(Size)

    Calculates the visible range.

    Declaration
    protected override void CalculateVisibleRange(Size avalableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size avalableSize
    Overrides
    ChartAxisBase2D.CalculateVisibleRange(Size)

    CloneAxis(DependencyObject)

    Declaration
    protected override DependencyObject CloneAxis(DependencyObject obj)
    Parameters
    Type Name Description
    Windows.UI.Xaml.DependencyObject obj
    Returns
    Type
    Windows.UI.Xaml.DependencyObject
    Overrides
    RangeAxisBase.CloneAxis(DependencyObject)

    GenerateVisibleLabels()

    Method implementation for Generate Labels in ChartAxis

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

    GetLabelContent(Double)

    Return Object from the given double value

    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
    Windows.UI.Xaml.DependencyPropertyChangedEventArgs e

    OnMaximumChanged(DependencyPropertyChangedEventArgs)

    Called when Maximum property changed

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

    OnMinimumChanged(DependencyPropertyChangedEventArgs)

    Method implementation for Minimum property changed

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

    Implements

    ICloneable
    IRangeAxis

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved