Class Chart3DLegendTextStyle
Gets or sets the options for customizing the legend font style in the SfChart3D.
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DLegendTextStyle : Chart3DDefaultFont, IChart3DSubcomponentTracker, IChart3DDefaultFont
Remarks
The legend text font and alignment can be customized using this instance of Chart3DLegendTextStyle.
Constructors
Chart3DLegendTextStyle()
Declaration
public Chart3DLegendTextStyle()
Properties
FontFamily
Gets or sets the font family for the legend text.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family for the legend text. 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 the legend text.
Declaration
public override string FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font size for the legend text. The default font size for the legend text is 14px. |
Overrides
FontWeight
Gets or sets the font weight for the legend text.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight for the legend text. 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
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()