menu

Blazor

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

    Show / Hide Table of Contents

    Class Chart3DLegendTextStyle

    Gets or sets the options for customizing the legend font style in the SfChart3D.

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

    The legend text font and alignment can be customized using this instance of Chart3DLegendTextStyle.

    Constructors

    Chart3DLegendTextStyle()

    Declaration
    public Chart3DLegendTextStyle()

    Properties

    FontFamily

    Gets or sets the font family for the legend text.

    Declaration
    public override string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font family for the legend 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
    Chart3DDefaultFont.FontFamily

    FontSize

    Gets or sets the font size for the legend text.

    Declaration
    public override string FontSize { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font size for the legend text. The default font size for the legend text is 14px.

    Overrides
    Chart3DDefaultFont.FontSize

    FontWeight

    Gets or sets the font weight for the legend text.

    Declaration
    public override string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the font weight for the legend 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
    Chart3DDefaultFont.FontWeight
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved