menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewPivotChartDataLabelBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotViewPivotChartDataLabelBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotViewPivotChartDataLabelBuilder : ControlBuilder

    Constructors

    PivotViewPivotChartDataLabelBuilder()

    Declaration
    public PivotViewPivotChartDataLabelBuilder()

    PivotViewPivotChartDataLabelBuilder(PivotViewPivotChartDataLabel)

    Declaration
    public PivotViewPivotChartDataLabelBuilder(PivotViewPivotChartDataLabel model)
    Parameters
    Type Name Description
    PivotViewPivotChartDataLabel model

    Methods

    Angle(Double)

    Allows to specify the rotation angle to data label.

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

    Border(Object)

    Allows to set the border to data labels.

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

    ConnectorStyle(PivotViewPivotChartConnectorStyle)

    Allows custom connector of the pie, funnel, pyramid and doughnut chart data label.

    Declaration
    public PivotViewPivotChartDataLabelBuilder ConnectorStyle(PivotViewPivotChartConnectorStyle value)
    Parameters
    Type Name Description
    PivotViewPivotChartConnectorStyle value
    Returns
    Type
    PivotViewPivotChartDataLabelBuilder

    ConnectorStyle(Action<PivotViewPivotChartConnectorStyleBuilder>)

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

    EnableRotation(Boolean)

    Allows to set whether rotation to data label is enable or not.

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

    Fill(String)

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

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

    Font(Object)

    Allows to customize the font of data labels.

    Declaration
    public PivotViewPivotChartDataLabelBuilder Font(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PivotViewPivotChartDataLabelBuilder

    Position(Object)

    Allows to specify the position of the data label. They are, Outside: Positions the label outside the point. Inside: Positions the label on top of the point.

    Declaration
    public PivotViewPivotChartDataLabelBuilder Position(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    PivotViewPivotChartDataLabelBuilder

    Rx(Double)

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

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

    Ry(Double)

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

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

    Template(String)

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

    Visible(Boolean)

    Allows to set the visibility of data label to the series renders.

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