Class Chart3DAxisLabelStyle
Gets or sets the customization options for the axis label font style of the SfChart3D.
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DAxisLabelStyle : Chart3DDefaultFont, IChart3DSubcomponentTracker, IChart3DDefaultFont
Remarks
Use the Chart3DAxisLabelStyle class to customize the font style and appearance of axis labels in the SfChart3D. This class inherits properties from the Chart3DDefaultFont class, allowing you to define font-related settings such as font family, size, style, and weight.
Constructors
Chart3DAxisLabelStyle()
Declaration
public Chart3DAxisLabelStyle()
Properties
Color
Gets or sets the font color for axis labels.
Declaration
public override string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font color for axis labels. The default font color is determined by the chart's theme. By default, the theme is set to Material with a font color of rgba(97, 97, 97, 1). |
Overrides
Remarks
Use valid hex or rgba CSS color strings for the color value.
FontFamily
Gets or sets the font family for axis labels.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family for axis labels. The default font family is determined by the chart's theme. By default, the theme is set to Material with the font family Roboto. |
Overrides
FontSize
Gets or sets the font size for axis labels.
Declaration
public override string FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font size for axis labels. The default font size for the axis labels is 12px. |
Overrides
Remarks
The FontSize property allows you to specify the font size for rendering axis labels.
FontWeight
Gets or sets the font weight for axis labels.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight for axis labels. The default font weight is determined by the chart's theme. By default, the theme is set to Material with a font weight of 400. |
Overrides
Remarks
The FontWeight property allows you to specify the thickness or boldness of the font used for rendering axis labels.
Common values include "Normal", "Bold", "Bolder", "Lighter", or numeric values such as 100, 200, ..., 900.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()