Class ChartTitleStyle
Options to customize the title style of the chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartTitleStyle : ChartDefaultFont, ISubcomponentTracker, IChartDefaultFont
Constructors
ChartTitleStyle()
Declaration
public ChartTitleStyle()
Properties
AccessibilityDescription
Gets or sets the accessibility description for the Title.
Declaration
public string AccessibilityDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility description for the Title. The default value is an empty string. |
Remarks
Use this property to provide an accessibility description for the Title.
AccessibilityRole
Gets or sets the accessibility role for the Title.
Declaration
public string AccessibilityRole { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility role for the Title. The default value is null. |
Remarks
Use this property to provide an accessibility role for the Title.
Focusable
Gets or sets the accessibility keyboard navigation focus option for the Title.
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 Title. The default value is true. |
Remarks
Use this property to toggle the keyboard navigation focus for the Title.
FontFamily
Gets or sets the font family of the chart title.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family of the chart title. 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 title, providing flexibility in text appearance and style.
FontWeight
Gets or sets the font weight of the chart title.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight of the chart title. The default font weight is determined by the chart's theme. By default, the theme is set to Material with a font weight of 600. |
Overrides
Remarks
This property allows customization of the font weight for the chart title, providing flexibility in text styling and emphasis.
Size
Gets or sets the font size of the chart title.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font size of the chart title. The default title font size is 16px. |
Overrides
Remarks
This property allows customization of the font size for the chart title, providing flexibility in design and presentation.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()