menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Chart3DTitleStyle - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Chart3DTitleStyle

    Gets or sets the options for customizing the title of the SfChart3D.

    Inheritance
    System.Object
    Chart3DSubComponent
    Chart3DDefaultFont
    Chart3DTitleStyle
    Inherited Members
    Chart3DDefaultFont.Color
    Chart3DDefaultFont.FontStyle
    Chart3DDefaultFont.Opacity
    Chart3DDefaultFont.TextAlignment
    Chart3DDefaultFont.TextOverflow
    Namespace: Syncfusion.Blazor.Chart3D
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Chart3DTitleStyle : Chart3DDefaultFont, IChart3DSubcomponentTracker, IChart3DDefaultFont
    Remarks

    Use this class to customize the font style, size, weight, and position of the title in the SfChart3D. Based on the SfChart3D 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
    public string Background { get; set; }
    Property Value
    Type Description
    System.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
    public override string FontFamily { get; set; }
    Property Value
    Type Description
    System.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
    Chart3DDefaultFont.FontFamily
    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
    public override string FontSize { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font size of the 3D chart title. The default title font size is 16px.

    Overrides
    Chart3DDefaultFont.FontSize
    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
    public override string FontWeight { get; set; }
    Property Value
    Type Description
    System.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
    Chart3DDefaultFont.FontWeight
    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
    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
    public double X { get; set; }
    Property Value
    Type Description
    System.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
    public double Y { get; set; }
    Property Value
    Type Description
    System.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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved