menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartFont

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    ChartFont
    AxisLabelStyleAxes
    AxisLabelStylePrimaryXAxis
    AxisLabelStylePrimaryYAxis
    AxisTitleStyleAxes
    AxisTitleStylePrimaryXAxis
    AxisTitleStylePrimaryYAxis
    ChartLegendTextStyle
    ChartLegendTitleStyle
    ChartTooltipTextStyle
    DataLabelSettingsFontDataLabel
    MultiLevelLabelsPrimaryXAxisTextStyle
    MultiLevelLabelsPrimaryYAxisTextStyle
    MultiLevelLabelsTextStyleMultiLevelLabels
    StripLineSettingsTextStyleStripLines
    StripLinesPrimaryXAxisTextStyle
    StripLinesPrimaryYAxisTextStyle
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartFont : EJTagHelper

    Constructors

    ChartFont()

    Declaration
    public ChartFont()

    Properties

    Color

    Color for the text.

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

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    FontFamily

    FontFamily for the text.

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

    The default value is null

    FontStyle

    FontStyle for the text.

    Declaration
    [HtmlAttributeName("fontStyle")]
    public string FontStyle { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Normal"

    FontWeight

    FontWeight for the text.

    Declaration
    [HtmlAttributeName("fontWeight")]
    public string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Normal"

    Opacity

    Opacity for the text.

    Declaration
    [HtmlAttributeName("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Size

    Font size for the text.

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

    The default value is "16px"

    TextAlignment

    text alignment.

    Declaration
    [HtmlAttributeName("textAlignment")]
    public Alignment TextAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    The default value is Alignment.Center

    TextOverflow

    Specifies the chart title text overflow.

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

    The default value is TextOverflow.Wrap

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved