Class CircularGaugeFontSettings
Defines the options for customizing fonts within the circular gauge component.
Inheritance
Namespace: Syncfusion.Blazor.CircularGauge
Assembly: Syncfusion.Blazor.dll
Syntax
public class CircularGaugeFontSettings : OwningComponentBase
Constructors
CircularGaugeFontSettings()
Declaration
public CircularGaugeFontSettings()
Properties
Color
Gets or sets the font color of the text in annotations, labels, and tooltips.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the color of the font. Default is |
Remarks
This property allows you to set the color for text elements within the circular gauge, such as annotations and tooltips.
FontFamily
Gets or sets the font family for text in annotations, tooltips, etc.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String specifying the font family. Default is |
Remarks
Use this property to define the font family for textual elements to ensure consistent styling across your circular gauge.
FontStyle
Gets or sets the style of the font used in annotations and tooltips.
Declaration
public string FontStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String indicating the font style, such as "Normal" or "Italic". The default is "Normal". |
Remarks
Adjust this property to change the font style of text elements, to distinguish different text usages visually.
FontWeight
Gets or sets the font weight for text in annotations, tooltips, etc.
Declaration
public string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String defining the font weight, such as "Bold" or "Regular". Default is |
Remarks
This property allows for the specification of font weight to enhance or reduce the emphasis of textual content.
Opacity
Gets or sets the opacity for annotation or tooltip text.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A System.Double value from 0 (fully transparent) to 1 (fully opaque). The default is 1. |
Remarks
Use this property to adjust the transparency of text, enabling more dynamic visual effects in your gauge.
Size
Gets or sets the font size of text in annotations, labels, and tooltips. The default size is '16px'.
Declaration
public virtual string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the font size. The default value is '16px'. |
Remarks
This property sets the size of the font, helping to ensure that text is clear and readable at various screen resolutions.
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |