Class AxisLabelRenderEventArgs
Specifies the event arguments available for on axis label render events in the chart component.
Inheritance
System.Object
Syncfusion.Blazor.Charts.BaseEventArgs
AxisLabelRenderEventArgs
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class AxisLabelRenderEventArgs : BaseEventArgs
Properties
Axis
Defines the current axis.
Declaration
public ChartAxis Axis { get; }
Property Value
Remarks
This read-only property provides details about the axis where the label is applied.
LabelStyle
Gets or sets the axis current label font style.
Declaration
public ChartDefaultFont LabelStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartDefaultFont | A ChartDefaultFont that defines the font style of the current axis labels. |
Remarks
Use this property to modify the visual appearance of labels in terms of font size, type, etc.
Text
Gets or sets the axis current label text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Remarks
Modify this property to tailor the text content of the axis label on rendering.
Value
Gets or sets axis current label value.
Declaration
public double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Returns a double value. |
Remarks
This property reflects the numerical position where the label appears on the axis.