ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class AccumulationDataLabelSettings

    Inheritance
    System.Object
    EJTagHelper
    AccumulationDataLabelSettings
    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 AccumulationDataLabelSettings : EJTagHelper

    Constructors

    AccumulationDataLabelSettings()

    Declaration
    public AccumulationDataLabelSettings()

    Properties

    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 object Border { get; set; }
    Property Value
    Type Description
    System.Object

    ConnectorStyle

    Options for customize the connector line in series. This property is applicable for Pie, Funnel and Pyramid series. The default connector length for Pie series is '4%'. For other series, it is null.

    Declaration
    public AccumulationChartConnector ConnectorStyle { get; set; }
    Property Value
    Type Description
    AccumulationChartConnector

    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, which accepts value in hex, 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 AccumulationChartFont Font { get; set; }
    Property Value
    Type Description
    AccumulationChartFont

    Format

    Used to format the data label that accepts any global string format like 'C', 'n1', 'P' etc. It also accepts placeholder like '{value}°C' in which value represent the data label, e.g, 20°C.

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

    IsComplex

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

    MaxWidth

    Specifies the maximum width of the data label.Use this property to limit label width and apply wrap or trimming to the label.

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

    Name

    The DataSource field which contains the data label value.

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

    ParentPropertyName

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

    Position

    Specifies the position of data label. They are. Outside - Places label outside the point. Inside - Places label inside the point.

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

    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 gets render.

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

    Template

    Custom template to format the data label content. 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

    TextOverflow

    Defines the text overflow behavior to employ when the data label text overflow. Clip - Truncates data label when it overflows the bounds. Ellipsis - Specifies an ellipsis (“...”) to the data label when it overflows the bounds. You can define maximum width of label by setting maxWidth property.

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

    TextWrap

    Defines the text wrap behavior to employ when the data label overflow. Normal - Truncates data label when it overflows the bounds. Wrap - Specifies to break a data label once it is too long to fit on a line by itself. AnyWhere - Specifies to break a data label at any point if there are no otherwise-acceptable break points in the line. You can define maximum width of label by setting maxWidth property.

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

    Visible

    If set true, data label for series gets render.

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