ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDataLabelSettings - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDataLabelSettings

    Inheritance
    System.Object
    EJTagHelper
    ChartDataLabelSettings
    MarkerSettingsDataLabelMarker
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsCollection
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartDataLabelSettings : EJTagHelper

    Constructors

    ChartDataLabelSettings()

    Declaration
    public ChartDataLabelSettings()

    Properties

    Alignment

    Specifies the alignment for data Label. They are, Near: Aligns the label to the left of the point. Center: Aligns the label to the center of the point. Far: Aligns the label to the right of the point.

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

    Angle

    Specifies angle for data label.

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

    Border

    Option for customizing the border lines.

    Declaration
    public ChartBorder Border { get; set; }
    Property Value
    Type Description
    ChartBorder

    ContentTemplate

    To get or set value for ContentTemplate.

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

    EnableRotation

    Enables rotation for data label.

    Declaration
    public bool EnableRotation { get; set; }
    Property Value
    Type Description
    System.Boolean

    Fill

    The background color of the data label accepts value in hex and rgba as a valid CSS color string.

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

    Font

    Option for customizing the data label text.

    Declaration
    public ChartFont Font { get; set; }
    Property Value
    Type Description
    ChartFont

    IsComplex

    Declaration
    protected override bool IsComplex { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsComplex

    LabelIntersectAction

    Show Datalabel Even two Data Labels Are Overflow

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

    Margin

    Margin configuration for the data label.

    Declaration
    public ChartMargin Margin { get; set; }
    Property Value
    Type Description
    ChartMargin

    Name

    The DataSource field that contains the data label value.

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

    Opacity

    The opacity for the background.

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

    ParentPropertyName

    Declaration
    protected override string ParentPropertyName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ParentPropertyName

    Position

    Specifies the position of the data label. They are, Outer: Positions the label outside the point. top: Positions the label on top of the point. Bottom: Positions the label at the bottom of the point. Middle: Positions the label to the middle of the point. Auto: Positions the label based on series.

    Declaration
    public LabelPosition Position { get; set; }
    Property Value
    Type Description
    LabelPosition

    Rx

    The roundedCornerX for the data label. It requires border values not to be null.

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

    Ry

    The roundedCornerY for the data label. It requires border values not to be null.

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

    ShowZero

    If set true, data label for zero values in series renders.

    Declaration
    public bool ShowZero { get; set; }
    Property Value
    Type Description
    System.Boolean

    Template

    Custom template to show the data label. Use ${point.x} and ${point.y} as a placeholder text to display the corresponding data point.

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

    Visible

    If set true, data label for series renders.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved