Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SFAxisLabelStyle

    This class is used to customize the appearance of axis label.

    Inheritance
    System.Object
    SFLabelStyle
    SFAxisLabelStyle
    Inherited Members
    SFLabelStyle.OnPropertyChanged(Boolean, String)
    SFLabelStyle.Color
    SFLabelStyle.Font
    SFLabelStyle.BackgroundColor
    SFLabelStyle.BorderColor
    SFLabelStyle.BorderWidth
    SFLabelStyle.Margin
    SFLabelStyle.LabelFormatter
    SFLabelStyle.PropertyChanged
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class SFAxisLabelStyle : SFLabelStyle

    Constructors

    SFAxisLabelStyle()

    Declaration
    public SFAxisLabelStyle()

    Properties

    CornerRadius

    Gets or sets the value to draw rounded corners for axis labels backgrounds by using ChartCornerRadius.

    Declaration
    public ChartCornerRadius CornerRadius { get; set; }
    Property Value
    Type Description
    ChartCornerRadius

    LabelAlignment

    Gets or sets axis label alignment as Start to the tick line position or Center to the tick line position, or End to the tick line position.

    Declaration
    public ChartAxisLabelAlignment LabelAlignment { get; set; }
    Property Value
    Type Description
    ChartAxisLabelAlignment

    LabelsPosition

    Gets or sets the axis labels position in SFAxis elements panel.

    Declaration
    public SFChartAxisElementPosition LabelsPosition { get; set; }
    Property Value
    Type Description
    SFChartAxisElementPosition

    MaxWidth

    Gets or sets the maximum value to wrap the label.

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

    WrappedLabelAlignment

    Gets or sets the value to place the label at different position.

    Declaration
    public ChartAxisLabelAlignment WrappedLabelAlignment { get; set; }
    Property Value
    Type Description
    ChartAxisLabelAlignment
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved