Class Chart3DSubTitleStyle
Gets or sets the options for customizing the subtitle of the SfChart3D.
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DSubTitleStyle : Chart3DDefaultFont, IChart3DSubcomponentTracker, IChart3DDefaultFont
Remarks
Use this class to customize the font style, size, weight, and position of the subtitle in the SfChart3D. Based on the SfChart3D theme, the subtitle font style will be applied.
Constructors
Chart3DSubTitleStyle()
Declaration
public Chart3DSubTitleStyle()
Properties
Background
Gets or sets the background color of the 3D chart's subtitle.
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value specifying the background color of the 3D chart's subtitle. The default background color is Transparent. |
Remarks
The value can be specified in hex or rgba format, following valid CSS color string conventions.
FontFamily
Gets or sets the font family of the 3D chart subtitle.
Declaration
public override string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font family of the 3D chart subtitle. The default font family is determined by the 3D 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 3D chart subtitle, providing flexibility in text appearance and style.
FontSize
Gets or sets the font size of the chart subtitle.
Declaration
public override string FontSize { 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.
FontWeight
Gets or sets the font weight of the 3D chart subtitle.
Declaration
public override string FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the font weight of the 3D chart subtitle. The default font weight is determined by the 3D 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 3D chart subtitle, providing flexibility in text styling and emphasis.
Position
Gets or sets the subtitle position for the 3D chart.
Declaration
public Chart3DTitlePosition Position { get; set; }
Property Value
Type | Description |
---|---|
Chart3DTitlePosition | A Chart3DTitlePosition value that defines the position of the subtitle for 3D chart. |
Remarks
This property allows customization of the position for the 3D chart subtitle.
X
Gets or sets the x coordinate of the 3D chart's subtitle.
Declaration
public double X { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the x coordinate of the 3D chart's subtitle, measured in pixels. The default value is 0 pixel, providing a subtle subtitle appearance. |
Remarks
This property accepts numerical values to precisely control the x coordinate for the subtitle.
Y
Gets or sets the y coordinate of the 3D chart's subtitle.
Declaration
public double Y { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the y coordinate of the 3D chart's subtitle, measured in pixels. The default value is 0 pixel, providing a subtle subtitle appearance. |
Remarks
This property accepts numerical values to precisely control the y coordinate for the subtitle.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()