menu

UWP

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

    Show / Hide Table of Contents

    Class ChartAxis

    Represents the chart axis common properties and base of Horizontal and Radial Axis.

    Inheritance
    System.Object
    ChartAxis
    HorizontalAxis
    RadialAxis
    Namespace: Syncfusion.UI.Xaml.SmithChart
    Assembly: Syncfusion.SfSmithChart.UWP.dll
    Syntax
    public class ChartAxis : Control

    Constructors

    ChartAxis()

    Initializes a new instance of the ChartAxis class.

    Declaration
    public ChartAxis()

    Fields

    AxisLineStyleProperty

    The DependencyProperty for AxisLineStyle property.

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

    LabelIntersectActionProperty

    The DependencyProperty for LabelIntersectAction property.

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

    LabelPlacementProperty

    The DependencyProperty for LabelPlacement property.

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

    MajorGridlineStyleProperty

    The DependencyProperty for MajorGridlineStyle property.

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

    MinorGridlinesCountProperty

    The DependencyProperty for MinorGridlinesCount property.

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

    MinorGridlineStyleProperty

    The DependencyProperty for MinorGridlineStyle property.

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

    ShowAxisLineProperty

    The DependencyProperty for ShowAxisLine property.

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

    ShowMajorGridlinesProperty

    The DependencyProperty for ShowMajorGridlines property.

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

    ShowMinorGridlinesProperty

    The DependencyProperty for ShowMinorGridlines property.

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

    Properties

    AxisLineStyle

    Gets or sets the axis line style for the axis

    Declaration
    public Style AxisLineStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    LabelIntersectAction

    Gets or sets the style for the axis label

    Declaration
    public LabelIntersectActions LabelIntersectAction { get; set; }
    Property Value
    Type
    LabelIntersectActions

    LabelPlacement

    Gets or sets the style for the axis label

    Declaration
    public LabelPlacement LabelPlacement { get; set; }
    Property Value
    Type
    LabelPlacement

    MajorGridlineStyle

    Gets or sets the major gridlines style for the axis

    Declaration
    public Style MajorGridlineStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    MinorGridlinesCount

    Gets or sets the maximum minor grid lines render per 100 pixels

    Declaration
    public int MinorGridlinesCount { get; set; }
    Property Value
    Type
    System.Int32

    MinorGridlineStyle

    Gets or sets the minor gridlines style for the axis

    Declaration
    public Style MinorGridlineStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    ShowAxisLine

    Gets or sets a value indicating whether the axis line is visible.

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

    ShowMajorGridlines

    Gets or sets a value indicating whether the major grid lines are visible.

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

    ShowMinorGridlines

    Gets or sets a value indicating whether the minor grid lines are visible.

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

    Methods

    OnApplyTemplate()

    Applies the template for the chart axis.

    Declaration
    protected override void OnApplyTemplate()

    OnAxisLabelCreated(ChartAxisLabelEventArgs)

    Axis Label created event, to customize the axis label.

    Declaration
    protected void OnAxisLabelCreated(ChartAxisLabelEventArgs args)
    Parameters
    Type Name Description
    ChartAxisLabelEventArgs args

    Axis label event arguments

    Events

    LabelCreated

    Customizing the ChartAxis label text and styles.

    Declaration
    public event EventHandler LabelCreated
    Event Type
    Type
    System.EventHandler

    Extension Methods

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