menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class ChartFont

    Inheritance
    System.Object
    EJTagHelper
    ChartFont
    Inherited Members
    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 ChartFont : EJTagHelper

    Constructors

    ChartFont()

    Declaration
    public ChartFont()

    Properties

    Color

    Gets or sets the font Color, which provides an option to customize text color of series, axis, title, tooltip, legend, datalabel etc.

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

    FontFamily

    Gets or sets the FontFamily, which provides an option to customize font family of crosshair label, sub title, indicator, points, etc.

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

    FontSize

    Gets or sets the font Size, which provides an option to customize text size of datalabel, axis, tooltip, series, legend, etc.

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

    FontStyle

    Gets or sets the FontStyle, which provides an option to customize text style of axis, stripline, indicator, series, tooltip etc.

    Declaration
    [JsonProperty("fontStyle")]
    [JsonConverter(typeof(StringEnumConverter))]
    public ChartFontStyle FontStyle { get; set; }
    Property Value
    Type Description
    ChartFontStyle

    FontWeight

    Gets or sets the FontWeight, which provides an option to customize text weight of stripline, legend, points, indicator, title, etc.

    Declaration
    [JsonProperty("fontWeight")]
    [JsonConverter(typeof(StringEnumConverter))]
    public ChartFontWeight FontWeight { get; set; }
    Property Value
    Type Description
    ChartFontWeight

    Opacity

    Gets or sets the font Opacity, which provides an option to customize text opacity of tooltip, axis, data label, series, etc.

    Declaration
    [JsonProperty("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved