Class Chart3DTitleStyle
Gets or sets the options for customizing the title of the 3D Chart.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Chart3D
Assembly: Syncfusion.Blazor.dll
Syntax
public class Chart3DTitleStyle : Chart3DDefaultFont, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
Use this class to customize the font style, size, weight, and position of the title in the 3D Chart. Based on the 3D Chart theme, the title font style will be applied.
Constructors
Chart3DTitleStyle()
Declaration
public Chart3DTitleStyle()
Properties
Background
Gets or sets the background color of the 3D chart's title.
Declaration
[Parameter]
public string Background { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string value specifying the background color of the 3D chart's title. 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 title.
Declaration
[Parameter]
public override string FontFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the font family of the 3D chart title. 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 title, providing flexibility in text appearance and style.
FontSize
Gets or sets the font size of the 3D chart title.
Declaration
[Parameter]
public override string FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the font size of the 3D chart title. The default title font size is 16px. |
Overrides
Remarks
This property allows customization of the font size for the 3D chart title, providing flexibility in design and presentation.
FontWeight
Gets or sets the font weight of the 3D chart title.
Declaration
[Parameter]
public override string FontWeight { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the font weight of the 3D chart title. 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 600. |
Overrides
Remarks
This property allows customization of the font weight for the 3D chart title, providing flexibility in text styling and emphasis.
Position
Gets or sets the title position for the 3D chart.
Declaration
[Parameter]
public Chart3DTitlePosition Position { get; set; }
Property Value
| Type | Description |
|---|---|
| Chart3DTitlePosition | A Chart3DTitlePosition value that defines the position of the title for 3D chart. |
Remarks
This property allows customization of the position for the 3D chart title.
X
Gets or sets the x coordinate of the 3D chart's title.
Declaration
[Parameter]
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double value representing the x coordinate of the 3D chart's title, measured in pixels. The default value is 0 pixel, providing a subtle title appearance. |
Remarks
This property accepts numerical values to precisely control the x coordinate for the title.
Y
Gets or sets the y coordinate of the 3D chart's title.
Declaration
[Parameter]
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double value representing the y coordinate of the 3D chart's title, measured in pixels. The default value is 0 pixel, providing a subtle title appearance. |
Remarks
This property accepts numerical values to precisely control the y coordinate for the title.