Class ChartSubTitleStyle
Options to customize the subtitle style of the chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartSubTitleStyle : ChartDefaultFont, ISubcomponentTracker, IChartDefaultFont
Constructors
ChartSubTitleStyle()
Declaration
public ChartSubTitleStyle()
Properties
FontFamily
Gets or sets the font family of the chart subtitle.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family of the chart subtitle. 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
Remarks
This property allows customization of the font family for the chart subtitle, providing flexibility in text appearance and style.
FontWeight
Gets or sets the font weight of the chart subtitle.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight of the chart subtitle. 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
This property allows customization of the font weight for the chart subtitle, providing flexibility in text styling and emphasis.
Size
Gets or sets the font size of the chart subtitle.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font size of the chart subtitle. The default subtitle font size is 12px. |
Overrides
Remarks
This property allows customization of the font size for the chart subtitle, providing flexibility in design and presentation.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()