UWP

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAxisBase2D

    Show / Hide Table of Contents

    Class ChartAxisBase2D

    Represents a control that display the label, ticks and lines for axis in 2D.

    Inheritance
    System.Object
    ChartAxis
    ChartAxisBase2D
    CategoryAxis
    DateTimeCategoryAxis
    RangeAxisBase
    Implements
    ICloneable
    Inherited Members
    ChartAxis.MaximumLabelsProperty
    ChartAxis.HeaderPositionProperty
    ChartAxis.PositionPathProperty
    ChartAxis.ContentPathProperty
    ChartAxis.LabelFormatProperty
    ChartAxis.PlotOffsetProperty
    ChartAxis.PlotOffsetStartProperty
    ChartAxis.PlotOffsetEndProperty
    ChartAxis.AxisLineOffsetProperty
    ChartAxis.LabelsIntersectActionProperty
    ChartAxis.LabelsPositionProperty
    ChartAxis.LabelsSourceProperty
    ChartAxis.PostfixLabelTemplateProperty
    ChartAxis.PrefixLabelTemplateProperty
    ChartAxis.LabelExtentProperty
    ChartAxis.LabelRotationAngleProperty
    ChartAxis.AxisLineStyleProperty
    ChartAxis.OpposedPositionProperty
    ChartAxis.DesiredIntervalsCountProperty
    ChartAxis.ThumbLabelVisibilityProperty
    ChartAxis.ThumbLabelTemplateProperty
    ChartAxis.HeaderProperty
    ChartAxis.HeaderStyleProperty
    ChartAxis.HeaderTemplateProperty
    ChartAxis.TickLineSizeProperty
    ChartAxis.IsInversedProperty
    ChartAxis.OriginProperty
    ChartAxis.ShowOriginProperty
    ChartAxis.ShowAxisNextToOriginProperty
    ChartAxis.OriginLineStyleProperty
    ChartAxis.TickLinesPositionProperty
    ChartAxis.EdgeLabelsDrawingModeProperty
    ChartAxis.EdgeLabelsVisibilityModeProperty
    ChartAxis.MajorGridLineStyleProperty
    ChartAxis.MinorGridLineStyleProperty
    ChartAxis.MajorTickLineStyleProperty
    ChartAxis.MinorTickLineStyleProperty
    ChartAxis.ShowTrackBallInfoProperty
    ChartAxis.TrackBallLabelTemplateProperty
    ChartAxis.CrosshairLabelTemplateProperty
    ChartAxis.ShowGridLinesProperty
    ChartAxis.LabelStyleProperty
    ChartAxis.LabelTemplateProperty
    ChartAxis.EnableAutoIntervalOnZoomingProperty
    ChartAxis.RangeStylesProperty
    ChartAxis.CRoundDecimals
    ChartAxis.MaxPixelsCount
    ChartAxis.CoefficientToValue(Double)
    ChartAxis.CoefficientToActualValue(Double)
    ChartAxis.ValueToCoefficient(Double)
    ChartAxis.ValueToCoefficient(Double, Boolean)
    ChartAxis.GetLabelContent(Double)
    ChartAxis.GetRenderedRect()
    ChartAxis.GetArrangeRect()
    ChartAxis.Clone()
    ChartAxis.OnAxisVisibleRangeChanged(VisibleRangeChangedEventArgs)
    ChartAxis.AddSmallTicksPoint(Double)
    ChartAxis.AddSmallTicksPoint(Double, Double)
    ChartAxis.CalculateActualInterval(DoubleRange, Size)
    ChartAxis.CalculateNiceInterval(DoubleRange, Size)
    ChartAxis.GetActualDesiredIntervalsCount(Size)
    ChartAxis.OnPropertyChanged()
    ChartAxis.GenerateVisibleLabels()
    ChartAxis.CalculateActualRange()
    ChartAxis.ApplyRangePadding(DoubleRange, Double)
    ChartAxis.OnRegisteredSeriesCollectionChanged(Object, NotifyCollectionChangedEventArgs)
    ChartAxis.MeasureOverride(Size)
    ChartAxis.IsLogarithmic
    ChartAxis.ActualPlotOffset
    ChartAxis.MaximumLabels
    ChartAxis.VisibleRange
    ChartAxis.HeaderPosition
    ChartAxis.ArrangeRect
    ChartAxis.PositionPath
    ChartAxis.ContentPath
    ChartAxis.LabelFormat
    ChartAxis.PlotOffset
    ChartAxis.PlotOffsetStart
    ChartAxis.PlotOffsetEnd
    ChartAxis.AxisLineOffset
    ChartAxis.LabelsPosition
    ChartAxis.LabelsSource
    ChartAxis.PostfixLabelTemplate
    ChartAxis.PrefixLabelTemplate
    ChartAxis.LabelsIntersectAction
    ChartAxis.LabelExtent
    ChartAxis.LabelRotationAngle
    ChartAxis.AxisLineStyle
    ChartAxis.OpposedPosition
    ChartAxis.DesiredIntervalsCount
    ChartAxis.ThumbLabelVisibility
    ChartAxis.ThumbLabelTemplate
    ChartAxis.Header
    ChartAxis.HeaderStyle
    ChartAxis.HeaderTemplate
    ChartAxis.TickLineSize
    ChartAxis.VisibleLabels
    ChartAxis.IsInversed
    ChartAxis.Origin
    ChartAxis.ShowOrigin
    ChartAxis.ShowAxisNextToOrigin
    ChartAxis.OriginLineStyle
    ChartAxis.TickLinesPosition
    ChartAxis.EdgeLabelsDrawingMode
    ChartAxis.EdgeLabelsVisibilityMode
    ChartAxis.MajorGridLineStyle
    ChartAxis.MinorGridLineStyle
    ChartAxis.MajorTickLineStyle
    ChartAxis.MinorTickLineStyle
    ChartAxis.ShowTrackBallInfo
    ChartAxis.TrackBallLabelTemplate
    ChartAxis.CrosshairLabelTemplate
    ChartAxis.ShowGridLines
    ChartAxis.EnableAutoIntervalOnZooming
    ChartAxis.LabelStyle
    ChartAxis.LabelTemplate
    ChartAxis.CustomLabels
    ChartAxis.RangeStyles
    ChartAxis.AxisBoundsChanged
    ChartAxis.ActualRangeChanged
    ChartAxis.LabelCreated
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.dll
    Syntax
    public abstract class ChartAxisBase2D : ChartAxis, ICloneable

    Constructors

    ChartAxisBase2D()

    Called when instance created for ChartAxisBase2D

    Declaration
    public ChartAxisBase2D()

    Fields

    AutoScrollingDeltaProperty

    Using a DependencyProperty as the backing store for AutoScrollingDelta. This enables animation, styling, binding, etc...

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

    AutoScrollingModeProperty

    Using a DependencyProperty as the backing store for AutoScrollingMode. This enables animation, styling, binding, etc...

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

    DeferredScrollingProperty

    The DependencyProperty for DeferredScrolling property.

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

    EnableScrollBarProperty

    The DependencyProperty for EnableScrollBar property.

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

    EnableScrollBarResizingProperty

    The DependencyProperty for EnableScrollBarResizing property.

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

    EnableTouchModeProperty

    The DependencyProperty for EnableTouchMode property.

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

    IncludeStripLineRangeProperty

    The DependencyProperty for IncludeStripLineRange property.

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

    LabelBorderBrushProperty

    The DependencyProperty for LabelBorderBrush property

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

    LabelBorderWidthProperty

    The DependencyProperty for LabelBorderWidth property

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

    MultiLevelLabelsBorderTypeProperty

    The Dependency Property for MultiLevelLabelsBorderType

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

    MultiLevelLabelsProperty

    The DependencyProperty of MultiLevelLabels property

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

    PolarAngleProperty

    The Dependency property of PolarAngle property

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

    ShowLabelBorderProperty

    The Dependency property ShowLabelBorder

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

    StripLinesProperty

    The DependencyProperty for StripLines property.

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

    ZoomFactorProperty

    The DependencyProperty for ZoomFactor property.

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

    ZoomPositionProperty

    The DependencyProperty for ZoomPosition property.

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

    Properties

    AutoScrollingDelta

    Gets or sets the value that determines the range of value to be visible during auto scrolling. This is a bindable property.

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

    This property takes the double value

    AutoScrollingMode

    Gets or sets the mode to determine whether the axis should be auto scrolled at start or end position by using ChartAutoScrollingMode enum type.

    Declaration
    public ChartAutoScrollingMode AutoScrollingMode { get; set; }
    Property Value
    Type Description
    ChartAutoScrollingMode

    DeferredScrolling

    Gets or sets a value indicating whether to enable scrollbar to suspend value updates for every thumb value changes.

    Declaration
    public bool DeferredScrolling { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableScrollBar

    Gets or sets a value indicating whether to enable the scrollbar for the SfChart.

    Declaration
    public bool EnableScrollBar { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableScrollBarResizing

    Gets or sets a value indicating whether to enable the legacy style for the scroll bar.

    Declaration
    public bool EnableScrollBarResizing { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableTouchMode

    Gets or sets a value indicating whether to enable or disable touch mode for the scroll bar.

    Declaration
    public bool EnableTouchMode { get; set; }
    Property Value
    Type Description
    System.Boolean

    IncludeStripLineRange

    Gets or sets a value indicating whether to enable the axis to include the annotation range, while calculating the axis range.

    Declaration
    public bool IncludeStripLineRange { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    This feature is to avoid cropping or missing of annotation, which doesn't falls inside the axis range.

    LabelBorderBrush

    Gets or sets the LabelBorderBrush

    Declaration
    public Brush LabelBorderBrush { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    LabelBorderWidth

    Gets or sets the LabelBorderWidth

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

    MultiLevelLabels

    Gets or sets the multi level labels collection

    Declaration
    public ChartMultiLevelLabels MultiLevelLabels { get; set; }
    Property Value
    Type Description
    ChartMultiLevelLabels

    MultiLevelLabelsBorderType

    Gets or sets the BorderType for Multi level labels

    Declaration
    public BorderType MultiLevelLabelsBorderType { get; set; }
    Property Value
    Type Description
    BorderType

    PolarAngle

    Gets or sets the start angle Polar or radar series.

    Declaration
    public ChartPolarAngle PolarAngle { get; set; }
    Property Value
    Type Description
    ChartPolarAngle

    ShowLabelBorder

    Gets or sets a value indicating whether to show the border around axis label

    Declaration
    public bool ShowLabelBorder { get; set; }
    Property Value
    Type Description
    System.Boolean

    StripLines

    Gets or sets the striplines collection for the SfChart.

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

    ZoomFactor

    Gets or sets the value, between 0 to 1, that indicates the zoom level of the axis.

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

    Value must fall within 0 to 1.

    ZoomPosition

    Gets or sets the value, between 0 to 1, that indicates the start position in the actual range of the axis.

    Declaration
    public double ZoomPosition { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    This scrolls or pan the chart to particular range.

    Methods

    CalculateVisibleRange(Size)

    Calculates the visible range.

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

    CloneAxis(DependencyObject)

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

    OnApplyTemplate()

    Invoke to render chart Axis.

    Declaration
    protected override void OnApplyTemplate()

    OnAxisBoundsChanged(ChartAxisBoundsEventArgs)

    Called when the axis bounds changed.

    Declaration
    protected override void OnAxisBoundsChanged(ChartAxisBoundsEventArgs args)
    Parameters
    Type Name Description
    ChartAxisBoundsEventArgs args

    Which indicates ChartAxisBoundsEventArgs.

    Overrides
    ChartAxis.OnAxisBoundsChanged(ChartAxisBoundsEventArgs)

    PolarCoefficientToValue(Double)

    Declaration
    public override double PolarCoefficientToValue(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.Double
    Overrides
    ChartAxis.PolarCoefficientToValue(Double)

    ValueToPolarCoefficient(Double)

    Declaration
    public override double ValueToPolarCoefficient(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.Double
    Overrides
    ChartAxis.ValueToPolarCoefficient(Double)

    Events

    LabelClicked

    It invokes when axis label clicked.

    Declaration
    public event EventHandler<AxisLabelClickedEventArgs> LabelClicked
    Event Type
    Type Description
    System.EventHandler<AxisLabelClickedEventArgs>

    Implements

    ICloneable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)

    See Also

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