menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTitle

    Show / Hide Table of Contents

    Class ChartTitle

    Inheritance
    System.Object
    EJTagHelper
    Title
    ChartTitle
    Inherited Members
    Title.ShouldSerializeFont()
    Title.Text
    Title.MaximumTitleWidth
    Title.Offset
    Title.TextAlignment
    Title.Alignment
    Title.AxisTitlePosition
    Title.Font
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class ChartTitle : Title

    Constructors

    ChartTitle()

    Declaration
    public ChartTitle()

    Properties

    Background

    Gets or sets the value for Background, which provides options to customize chart title of the background.

    Declaration
    [JsonProperty("background")]
    public string Background { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Specifies options for customizing the background of the chart title.

    Border

    Gets or sets the value for Border properties in title, which provides option to customize chart title border.

    Declaration
    [JsonProperty("border")]
    public ChartTitleBorder Border { get; set; }
    Property Value
    Type Description
    ChartTitleBorder
    Remarks

    Options to customize the border of Chart title.

    EnableTrim

    Gets or sets the value for EnableTrim, which trims chart title, when it exceeds title maximum width or chart area.

    Declaration
    [JsonProperty("enableTrim")]
    public bool EnableTrim { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Specifies whether to trim the chart title when it exceeds the chart area or the maximum width of the title.

    IsReversed

    Gets or sets the value for IsReversed, which renders chart title either left or right based on alignment.

    Declaration
    [JsonProperty("isReversed")]
    public bool IsReversed { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Enables or disables RTL for chart title.

    MaximumWidth

    Gets or sets the value for MaximumWidth, which spcifies maximum width of the chart title text to be rendered.

    Declaration
    [JsonProperty("maximumWidth")]
    public string MaximumWidth { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Maximum width of the title, when the title exceeds this width, the title gets trimmed, when enableTrim is true.

    SubTitle

    Gets or sets the value for SubTitle properties, which provides options to customize chart sub title.

    Declaration
    [JsonProperty("subTitle")]
    public ChartSubTitle SubTitle { get; set; }
    Property Value
    Type Description
    ChartSubTitle
    Remarks

    Options to customize the sub title of Chart.

    TextOverflow

    Gets or sets the TextOverflow of the title, which trims or wraps the text title when it exceeds the maximum title width.

    Declaration
    [JsonProperty("textOverflow")]
    public ChartTitleTextOverflow TextOverflow { get; set; }
    Property Value
    Type Description
    ChartTitleTextOverflow
    Remarks

    Specifies the action taken when the title textWidth is more than the maxtitlewidth .

    Visible

    Gets or sets the value for Visible, which controls visibility of title text provided for chart.

    Declaration
    [JsonProperty("visible")]
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Controls the visibility of chart title.

    Methods

    ShouldSerializeBorder()

    Declaration
    public bool ShouldSerializeBorder()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved