Class ChartAxisLabelStyle
This class is used to customize the appearance of ChartAxis label such as label alignment and label position.
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartAxisLabelStyle : ChartLabelStyle, IThemeElement
Constructors
ChartAxisLabelStyle()
Initializes a new instance of the ChartAxisLabelStyle class.
Declaration
public ChartAxisLabelStyle()
Fields
CornerRadiusProperty
Gets or sets the value to draw rounded corners for axis labels background. This is a bindable property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LabelAlignmentProperty
Gets or sets the Alignment of the axis labels. This is a bindable property.
Declaration
public static readonly BindableProperty LabelAlignmentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LabelsPositionProperty
Gets or sets the position of the axis labels. This is a bindable property.
Declaration
public static readonly BindableProperty LabelsPositionProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MaxWidthProperty
Gets or sets the maximum value to wrap the axis label. This is a bindable property.
Declaration
public static readonly BindableProperty MaxWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
WrappedLabelAlignmentProperty
Gets or sets the value to place the label at different position. This is a bindable property.
Declaration
public static readonly BindableProperty WrappedLabelAlignmentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
CornerRadius
Gets or sets the value to draw rounded corners for axis labels background. This is a bindable property.
Declaration
public ChartCornerRadius CornerRadius { get; set; }
Property Value
Type |
---|
ChartCornerRadius |
LabelAlignment
Gets or sets the axis label at start, end, and center positions. This is a bindable property.
Declaration
public ChartAxisLabelAlignment LabelAlignment { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisLabelAlignment | This property takes the AxisElementPosition as its value. |
LabelsPosition
Gets or sets the position of the axis labels. This is a bindable property.
Declaration
public AxisElementPosition LabelsPosition { get; set; }
Property Value
Type | Description |
---|---|
AxisElementPosition | This property takes the AxisElementPosition as its value. |
MaxWidth
Gets or sets the maximum value to wrap the axis label.
Declaration
public double MaxWidth { get; set; }
Property Value
Type |
---|
System.Double |
WrappedLabelAlignment
Gets or sets the value to place the label at different position.
Declaration
public ChartAxisLabelAlignment WrappedLabelAlignment { get; set; }
Property Value
Type |
---|
ChartAxisLabelAlignment |