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