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
AccessibilityDescription
Gets or sets the accessibility description for the chart SubTitle.
Declaration
public string AccessibilityDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility description for the chart SubTitle. The default value is an empty string. |
Remarks
Use this property to provide an accessibility description for the chart SubTitle.
AccessibilityRole
Gets or sets the accessibility role for the chart SubTitle.
Declaration
public string AccessibilityRole { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility role for the chart SubTitle. The default value is null. |
Remarks
Use this property to provide an accessibility role for the chart SubTitle.
Focusable
Gets or sets the accessibility keyboard navigation focus option for the chart SubTitle.
Declaration
public bool Focusable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Accepts the boolean value to enable or disable the keyboard navigation for the chart SubTitle. The default value is true. |
Remarks
Use this property to toggle the keyboard navigation focus for the chart SubTitle.
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()