Class ChartDataLabel
Options to customize the datalabel for the series
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ChartDataLabel
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartDataLabel : SfDataBoundComponent
Constructors
ChartDataLabel()
Declaration
Properties
Alignment
Specifies the alignment for the datalabels
Declaration
public Alignment Alignment { get; set; }
Property Value
Angle
Specifies the angle at which label rotation takes place
Declaration
public double Angle { get; set; }
Property Value
Type |
Description |
System.Double |
|
Border
Options to customize the border of the datalabel
Declaration
public ChartDataLabelBorder Border { get; set; }
Property Value
ChildContent
Gets and sets the content of the component
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
EnableRotation
Enable the rotation of datalabel
Declaration
public bool EnableRotation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Fill
Specifies the fill color of the datalabel
Declaration
public string Fill { get; set; }
Property Value
Type |
Description |
System.String |
|
Font
Options to customize the text style of the datalabel
Declaration
public ChartDataLabelFont Font { get; set; }
Property Value
LabelIntersectAction
Specifies the label intersect action for the datalabel
Declaration
public string LabelIntersectAction { get; set; }
Property Value
Type |
Description |
System.String |
|
Margin
Options to customize the margin for the datalabel
Declaration
public ChartDataLabelMargin Margin { get; set; }
Property Value
Name
Specifies the datalabel mapping name for the series
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Opacity
Defines the opacity of the datalabel
Declaration
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
Position
Specifies the label position of the datalabel
Declaration
public LabelPosition Position { get; set; }
Property Value
Rx
Width of rounded corner in horizontal orientation
Declaration
public double Rx { get; set; }
Property Value
Type |
Description |
System.Double |
|
Ry
Width of rounded corner in vertical orientation
Declaration
public double Ry { get; set; }
Property Value
Type |
Description |
System.Double |
|
Template
Specifies the custom HTML element in place of datalabel
Declaration
public RenderFragment<ChartDataPointInfo> Template { get; set; }
Property Value
Visible
Enables the visiblity of datalabel
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