alexa
menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class StockChartFont

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    StockChartFont
    StockChartAxisLabelStyleAxes
    StockChartLabelSettingsStyle
    StockChartLastValueLabelStyle
    StockChartLegendTextStyle
    StockChartLegendTitleStyle
    StockChartPrimaryXAxisLabelFont
    StockChartPrimaryXAxisTitleStyle
    StockChartPrimaryYAxisLabelFont
    StockChartPrimaryYAxisTitleStyle
    StockChartStockEventsTextStyle
    StockChartTitleStyle
    StockTooltipSettingsTextStyleTooltip
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.AspNetMvc.StockChart.dll
    Syntax
    public class StockChartFont : EJTagHelper

    Constructors

    StockChartFont()

    Declaration
    public StockChartFont()

    Properties

    Color

    Specifies the color of the text.

    Declaration
    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
    Syncfusion.EJ2.MvcTemplate<System.Object>

    FontFamily

    Specifies the font family for the text.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    FontStyle

    Specifies the style of the text.

    Declaration
    public string FontStyle { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Normal"

    FontWeight

    Specifies the font weight of the text.

    Declaration
    public string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "Normal"

    Opacity

    Specifies the opacity level for the text.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Size

    Specifies the size of the text.

    Declaration
    public string Size { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "16px"

    TextAlignment

    Specifies the alignment of the text.

    Declaration
    public Alignment TextAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    The default value is Alignment.Center

    TextOverflow

    Specifies how the chart title text should handle overflow.

    Declaration
    public TextOverflow TextOverflow { get; set; }
    Property Value
    Type Description
    TextOverflow

    The default value is TextOverflow.Wrap

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