ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class AccumulationDataLabelSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    AccumulationDataLabelSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class AccumulationDataLabelSettingsBuilder : ControlBuilder

    Constructors

    AccumulationDataLabelSettingsBuilder()

    Declaration
    public AccumulationDataLabelSettingsBuilder()

    AccumulationDataLabelSettingsBuilder(AccumulationDataLabelSettings)

    Declaration
    public AccumulationDataLabelSettingsBuilder(AccumulationDataLabelSettings model)
    Parameters
    Type Name Description
    AccumulationDataLabelSettings model

    Methods

    Angle(Double)

    Specifies angle for data label.

    Declaration
    public AccumulationDataLabelSettingsBuilder Angle(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Border(Object)

    Option for customizing the border lines.

    Declaration
    public AccumulationDataLabelSettingsBuilder Border(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    ConnectorStyle(AccumulationChartConnector)

    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 AccumulationDataLabelSettingsBuilder ConnectorStyle(AccumulationChartConnector value)
    Parameters
    Type Name Description
    AccumulationChartConnector value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    ConnectorStyle(Action<AccumulationChartConnectorBuilder>)

    Declaration
    public AccumulationDataLabelSettingsBuilder ConnectorStyle(Action<AccumulationChartConnectorBuilder> connectorStyle)
    Parameters
    Type Name Description
    System.Action<AccumulationChartConnectorBuilder> connectorStyle
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    EnableRotation(Boolean)

    Enables rotation for data label.

    Declaration
    public AccumulationDataLabelSettingsBuilder EnableRotation(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Fill(String)

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

    Declaration
    public AccumulationDataLabelSettingsBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Font(AccumulationChartFont)

    Option for customizing the data label text.

    Declaration
    public AccumulationDataLabelSettingsBuilder Font(AccumulationChartFont value)
    Parameters
    Type Name Description
    AccumulationChartFont value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Font(Action<AccumulationChartFontBuilder>)

    Declaration
    public AccumulationDataLabelSettingsBuilder Font(Action<AccumulationChartFontBuilder> font)
    Parameters
    Type Name Description
    System.Action<AccumulationChartFontBuilder> font
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Name(String)

    The DataSource field which contains the data label value.

    Declaration
    public AccumulationDataLabelSettingsBuilder Name(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Position(AccumulationLabelPosition)

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

    Declaration
    public AccumulationDataLabelSettingsBuilder Position(AccumulationLabelPosition value)
    Parameters
    Type Name Description
    AccumulationLabelPosition value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Rx(Double)

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

    Declaration
    public AccumulationDataLabelSettingsBuilder Rx(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Ry(Double)

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

    Declaration
    public AccumulationDataLabelSettingsBuilder Ry(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    ShowZero(Boolean)

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

    Declaration
    public AccumulationDataLabelSettingsBuilder ShowZero(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Template(String)

    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 AccumulationDataLabelSettingsBuilder Template(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder

    Visible(Boolean)

    If set true, data label for series gets render.

    Declaration
    public AccumulationDataLabelSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type Description
    AccumulationDataLabelSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved