Class PivotViewPivotChartDataLabel
Inheritance
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewPivotChartDataLabel : EJTagHelper
Constructors
PivotViewPivotChartDataLabel()
Declaration
public PivotViewPivotChartDataLabel()
Properties
Angle
Allows to specify the rotation angle to data label.
Declaration
public double Angle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Border
Allows to set the border to data labels.
Declaration
public object Border { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
ConnectorStyle
Allows custom connector of the pie, funnel, pyramid and doughnut chart data label.
Declaration
public PivotViewPivotChartConnectorStyle ConnectorStyle { get; set; }
Property Value
Type | Description |
---|---|
PivotViewPivotChartConnectorStyle | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
EnableRotation
Allows to set whether rotation to data label is enable or not.
Declaration
public bool EnableRotation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Fill
Allows to set 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 | The default value is "transparent" |
Font
Allows to customize the font of data labels.
Declaration
public object Font { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Position
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 object Position { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Rx
Declaration
public double Rx { get; set; }
Property Value
Type |
---|
System.Double |
Ry
Declaration
public double Ry { get; set; }
Property Value
Type |
---|
System.Double |
Template
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 string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Visible
Allows to set the visibility of data label to the series renders.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |