menu

Blazor

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

    Show / Hide Table of Contents

    Class ChartCommonFont

    Sets and gets the options for customizing the text style of the chart component.

    Inheritance
    System.Object
    ChartCommonFont
    AccumulationChartDataLabelFont
    AccumulationChartLegendFont
    AccumulationChartLegendPageSettingsTextStyle
    AccumulationChartSubTitleStyle
    AccumulationChartTitleStyle
    AccumulationChartTooltipTextStyle
    RangeNavigatorLabelStyle
    RangeNavigatorTooltipTextStyle
    StockChartAxisLabelStyle
    StockChartAxisStripLineTextStyle
    StockChartAxisTitleStyle
    StockChartLegendTextStyle
    StockChartTooltipTextStyle
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartCommonFont : OwningComponentBase

    Constructors

    ChartCommonFont()

    Declaration
    public ChartCommonFont()

    Properties

    Color

    Sets and gets the color for the text.

    Declaration
    public virtual string Color { get; set; }
    Property Value
    Type
    System.String

    FontFamily

    Sets and gets the font family for the text.

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

    FontStyle

    Sets and gets the font style for the text.

    Declaration
    public string FontStyle { get; set; }
    Property Value
    Type
    System.String

    FontWeight

    Sets and gets the font weight for the text.

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

    Opacity

    Sets and gets the opacity for the text.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type
    System.Double

    Size

    Sets and gets the size for the text.

    Declaration
    public virtual string Size { get; set; }
    Property Value
    Type
    System.String

    TextAlignment

    Sets and gets the text alignment.

    Declaration
    public virtual Alignment TextAlignment { get; set; }
    Property Value
    Type
    Alignment

    TextOverflow

    Sets and gets the chart text overflow.

    Declaration
    public TextOverflow TextOverflow { get; set; }
    Property Value
    Type
    TextOverflow

    Methods

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved