Class ChartLegendTextStyle
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartLegendTextStyle : ChartDefaultFont, ISubcomponentTracker, IChartDefaultFont
Constructors
ChartLegendTextStyle()
Declaration
public ChartLegendTextStyle()
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
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
Size
Gets or sets the font size for the legend text.
Declaration
public override string Size { 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
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()