Class ChartTooltipTextStyle
Options to customize the text style of the tooltip.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartTooltipTextStyle : ChartDefaultFont, ISubcomponentTracker, IChartDefaultFont
Constructors
ChartTooltipTextStyle()
Declaration
public ChartTooltipTextStyle()
Properties
Color
Gets or sets the font color of the tooltip text.
Declaration
public override string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the color of the tooltip text. The default font color is determined by the chart's theme. By default, the theme is set to Material with a font color of rgba(249, 250, 251, 1). |
Overrides
Remarks
Accepts a valid CSS color string in hex or rgba format.
FontFamily
Gets or sets the font family of the tooltip text.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family for the tooltip 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 of the tooltip text.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight for the tooltip 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 tooltip text.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font size for the tooltip text. The default font size for the tooltip text is 12px. |
Overrides
Methods
OnInitialized()
Declaration
protected override void OnInitialized()