menu

WinForms

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

    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.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.CalculateActualInterval(DoubleRange, Size)
    ChartAxis.CalculateActualRange()
    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.GenerateVisibleLabels()
    ChartAxis.GetActualDesiredIntervalsCount(Size)
    ChartAxis.GetArrangeRect()
    ChartAxis.GetLabelContent(Double)
    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
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.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
    System.Windows.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
    System.Windows.DependencyProperty

    DeferredScrollingProperty

    The DependencyProperty for DeferredScrolling property.

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

    EnableScrollBarProperty

    The DependencyProperty for EnableScrollBar property.

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

    EnableScrollBarResizingProperty

    The DependencyProperty for EnableScrollBarResizing property.

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

    EnableTouchModeProperty

    The DependencyProperty for EnableTouchMode property.

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

    IncludeStripLineRangeProperty

    The DependencyProperty for IncludeStripLineRange property.

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

    LabelBorderBrushProperty

    The DependencyProperty for LabelBorderBrush property

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

    LabelBorderWidthProperty

    The DependencyProperty for LabelBorderWidth property

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

    MultiLevelLabelsBorderTypeProperty

    The Dependency Property for MultiLevelLabelsBorderType

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

    MultiLevelLabelsProperty

    The DependencyProperty of MultiLevelLabels property

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

    PolarAngleProperty

    The Dependency property of PolarAngle property

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

    ShowLabelBorderProperty

    The Dependency property ShowLabelBorder

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

    StripLinesProperty

    The DependencyProperty for StripLines property.

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

    ZoomFactorProperty

    The DependencyProperty for ZoomFactor property.

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

    ZoomPositionProperty

    The DependencyProperty for ZoomPosition property.

    Declaration
    public static readonly DependencyProperty ZoomPositionProperty
    Field Value
    Type
    System.Windows.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
    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
    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
    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
    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
    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
    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
    System.Windows.Media.Brush

    LabelBorderWidth

    Gets or sets the LabelBorderWidth

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

    MultiLevelLabels

    Gets or sets the multi level labels collection

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

    MultiLevelLabelsBorderType

    Gets or sets the BorderType for Multi level labels

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

    PolarAngle

    Gets or sets the start angle Polar or radar series.

    Declaration
    public ChartPolarAngle PolarAngle { get; set; }
    Property Value
    Type
    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
    System.Boolean

    StripLines

    Gets or sets the striplines collection for the SfChart.

    Declaration
    public ChartStripLines StripLines { get; set; }
    Property Value
    Type
    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
    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
    System.Windows.Size avalableSize
    Overrides
    ChartAxis.CalculateVisibleRange(Size)

    CloneAxis(DependencyObject)

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

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

    Declaration
    public 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
    System.Double
    Overrides
    ChartAxis.PolarCoefficientToValue(Double)

    ValueToPolarCoefficient(Double)

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

    Events

    LabelClicked

    It invokes when axis label clicked.

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

    Implements

    ICloneable

    See Also

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