Class ChartAxisLabelEventArgs
This class serves as an event data for the LabelCreated event. The event data holds the information when the axis label is created.
Inheritance
System.Object
ChartAxisLabelEventArgs
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class ChartAxisLabelEventArgs : EventArgs
Constructors
ChartAxisLabelEventArgs(String, Double)
Initializes a new instance of the ChartAxisLabelEventArgs class.
Declaration
public ChartAxisLabelEventArgs(string labelContent, double position)
Parameters
Type | Name | Description |
---|---|---|
System.String | labelContent | labelContent. |
System.Double | position | position. |
Properties
LabelContent
Gets or sets the string value that represents label text in axis. This property contains the text of created axis label.
Declaration
public string LabelContent { get; set; }
Property Value
Type |
---|
System.String |
LabelStyle
Gets or sets the chart axis label style for individual label. This property is used to customize the axis label.
Declaration
public ChartAxisLabelStyle LabelStyle { get; set; }
Property Value
Type |
---|
ChartAxisLabelStyle |
Position
Gets double value that represents position of corresponding axis label.
Declaration
public double Position { get; }
Property Value
Type |
---|
System.Double |