menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartFontBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartFontBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartFontBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartFontBuilder : ControlBuilder

    Constructors

    ChartFontBuilder()

    Declaration
    public ChartFontBuilder()

    ChartFontBuilder(ChartFont)

    Declaration
    public ChartFontBuilder(ChartFont model)
    Parameters
    Type Name Description
    ChartFont model

    Methods

    Color(String)

    Specifies the color of the text.

    Declaration
    public ChartFontBuilder Color(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartFontBuilder

    FontFamily(String)

    Specifies the font family for the text.

    Declaration
    public ChartFontBuilder FontFamily(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartFontBuilder

    FontStyle(String)

    Specifies the style of the text.

    Declaration
    public ChartFontBuilder FontStyle(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartFontBuilder

    FontWeight(String)

    Specifies the font weight of the text.

    Declaration
    public ChartFontBuilder FontWeight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartFontBuilder

    Opacity(Double)

    Specifies the opacity level for the text.

    Declaration
    public ChartFontBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    ChartFontBuilder

    Size(String)

    Specifies the size of the text.

    Declaration
    public ChartFontBuilder Size(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartFontBuilder

    TextAlignment(Alignment)

    Specifies the alignment of the text.

    Declaration
    public ChartFontBuilder TextAlignment(Alignment value)
    Parameters
    Type Name Description
    Alignment value
    Returns
    Type
    ChartFontBuilder

    TextOverflow(TextOverflow)

    Specifies how the chart title text should handle overflow.

    Declaration
    public ChartFontBuilder TextOverflow(TextOverflow value)
    Parameters
    Type Name Description
    TextOverflow value
    Returns
    Type
    ChartFontBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved