Class PivotViewPivotChartDataLabelBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
PivotViewPivotChartDataLabelBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewPivotChartDataLabelBuilder : ControlBuilder
Constructors
PivotViewPivotChartDataLabelBuilder()
Declaration
public PivotViewPivotChartDataLabelBuilder()
PivotViewPivotChartDataLabelBuilder(PivotViewPivotChartDataLabel)
Declaration
public PivotViewPivotChartDataLabelBuilder(PivotViewPivotChartDataLabel model)
Parameters
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
Border(Object)
Allows to set the border to data labels.
Declaration
public PivotViewPivotChartDataLabelBuilder Border(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
ConnectorStyle(PivotViewPivotChartConnectorStyle)
Allows custom connector of the pie, funnel, pyramid and doughnut chart data label.
Declaration
public PivotViewPivotChartDataLabelBuilder ConnectorStyle(PivotViewPivotChartConnectorStyle value)
Parameters
Returns
ConnectorStyle(Action<PivotViewPivotChartConnectorStyleBuilder>)
Declaration
public PivotViewPivotChartDataLabelBuilder ConnectorStyle(Action<PivotViewPivotChartConnectorStyleBuilder> connectorStyle)
Parameters
Returns
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
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
Font(Object)
Allows to customize the font of data labels.
Declaration
public PivotViewPivotChartDataLabelBuilder Font(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
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
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
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
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
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