menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartTitleSettingsBuilder

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

    Constructors

    ChartTitleSettingsBuilder()

    Declaration
    public ChartTitleSettingsBuilder()

    ChartTitleSettingsBuilder(ChartTitleSettings)

    Declaration
    public ChartTitleSettingsBuilder(ChartTitleSettings model)
    Parameters
    Type Name Description
    ChartTitleSettings model

    Methods

    Accessibility(TitleSettingsAccessibility)

    Options to improve accessibility for chart title and subtitle elements.

    Declaration
    public ChartTitleSettingsBuilder Accessibility(TitleSettingsAccessibility value)
    Parameters
    Type Name Description
    TitleSettingsAccessibility value
    Returns
    Type
    ChartTitleSettingsBuilder

    Accessibility(Action<ChartAccessibilityBuilder>)

    Declaration
    public ChartTitleSettingsBuilder Accessibility(Action<ChartAccessibilityBuilder> accessibility)
    Parameters
    Type Name Description
    System.Action<ChartAccessibilityBuilder> accessibility
    Returns
    Type
    ChartTitleSettingsBuilder

    Background(String)

    The background property sets the background color of the chart title and subtitle.

    Declaration
    public ChartTitleSettingsBuilder Background(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    ChartTitleSettingsBuilder

    Border(Object)

    The border property allows configuring the border settings for the chart title and subtitle.

    Declaration
    public ChartTitleSettingsBuilder Border(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    ChartTitleSettingsBuilder

    Color(String)

    The color property specifies the color of the text used for the chart title and subtitle.

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

    FontFamily(String)

    The fontFamily property specifies the font family for the text used in the chart title and subtitle.

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

    FontStyle(String)

    The fontStyle property specifies the style of the text used for the chart title and subtitle.

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

    FontWeight(String)

    The fontWeight property specifies the weight (thickness) of the text used for the chart title and subtitle.

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

    Opacity(Double)

    Specifies the opacity for the text.

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

    Position(TitlePosition)

    Defines the position for the chart title and subtitle. The available options are: Top: Displays the title and subtitle at the top of the chart. Left: Displays the title and subtitle at the left of the chart. Bottom: Displays the title and subtitle at the bottom of the chart. Right: Displays the title and subtitle at the right of the chart. Custom: Displays the title and subtitle based on the specified x and y values.

    Declaration
    public ChartTitleSettingsBuilder Position(TitlePosition value)
    Parameters
    Type Name Description
    TitlePosition value
    Returns
    Type
    ChartTitleSettingsBuilder

    Size(String)

    Specifies the font size for the chart title and subtitle.

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

    TextAlignment(Alignment)

    The textAlignment property determines how the text is aligned within the specified area.

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

    TextOverflow(TextOverflow)

    The textOverflow property determines how the text in the chart title and subtitle behaves when it exceeds the available space.

    Declaration
    public ChartTitleSettingsBuilder TextOverflow(TextOverflow value)
    Parameters
    Type Name Description
    TextOverflow value
    Returns
    Type
    ChartTitleSettingsBuilder

    X(Double)

    Defines the X coordinate for the chart title and subtitle.

    Declaration
    public ChartTitleSettingsBuilder X(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    ChartTitleSettingsBuilder

    Y(Double)

    Defines the Y coordinate for the chart title and subtitle.

    Declaration
    public ChartTitleSettingsBuilder Y(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    ChartTitleSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved