Class PivotChartDataLabel
Allows to set the data label for the series.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
PivotChartDataLabel
Implements
System.IDisposable
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartDataLabel : SfDataBoundComponent, IDisposable
Constructors
PivotChartDataLabel()
Declaration
public PivotChartDataLabel()
Properties
Angle
Allows to specify the rotation angle to data label.
Declaration
public int Angle { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ConnectorStyle
Allows custom connector of the pie, funnel, pyramid and doughnut chart data label.
Declaration
public PivotChartConnectorStyle ConnectorStyle { get; set; }
Property Value
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 |
|
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 |
|
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 PivotChartLabelPosition Position { get; set; }
Property Value
Rx
Allows to set the roundedCornerX for the data label. It requires Border
values not to be null.
Declaration
public int Rx { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Ry
Allows to set the roundedCornerY for the data label. It requires Border
values not to be null.
Declaration
public int Ry { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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 RenderFragment<AccumulationChartDataPointInfo> Template { get; set; }
Property Value
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 |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements
System.IDisposable