Class AccumulationDataLabelSettings
Datalabels shows the information about the data points in the accumulation chart.
Inheritance
System.Object
AccumulationDataLabelSettings
Assembly: Syncfusion.Blazor.dll
Syntax
public class AccumulationDataLabelSettings : SfBaseComponent
Constructors
AccumulationDataLabelSettings()
Declaration
public AccumulationDataLabelSettings()
Properties
Angle
Specifies angle for data label.
Declaration
public double Angle { get; set; }
Property Value
Border
Option for customizing the border lines.
Declaration
public AccumulationChartDataLabelBorder Border { get; set; }
Property Value
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Microsoft.AspNetCore.Components.RenderFragment |
ConnectorStyle
Options for customize the connector line in series.
This property is applicable for Pie, Funnel and Pyramid series.
The default connector length for Pie series is '4%'. For other series, it is null.
Declaration
public AccumulationChartConnector ConnectorStyle { get; set; }
Property Value
EnableRotation
Enables rotation for data label.
Declaration
public bool EnableRotation { get; set; }
Property Value
Fill
The background color of the data label, which accepts value in hex, rgba as a valid CSS color string.
Declaration
public string Fill { get; set; }
Property Value
Font
Option for customizing the data label text.
Declaration
public AccumulationChartDataLabelFont Font { get; set; }
Property Value
Gets and sets the data label format that accepts any global string format like 'C', 'P', 'N1', etc.
It also accepts placeholder like '{value}°C' in which value represent the data label, for example, 20°C.
Declaration
public string Format { get; set; }
Property Value
Type |
Description |
System.String |
Specifies the format for the data label. The default value is null .
|
MaxWidth
Gets and sets the maximum width of the individual datalabel item after which they get trimmed, wrapped.
Declaration
public double MaxWidth { get; set; }
Property Value
Name
The DataSource field which contains the data label value.
Declaration
public string Name { get; set; }
Property Value
Position
Specifies the position of data label. They are.
Outside - Places label outside the point.
Inside - Places label inside the point.
Declaration
public AccumulationLabelPosition Position { get; set; }
Property Value
Rx
The roundedCornerX for the data label. It requires Border
values not to be null.
Declaration
public double Rx { get; set; }
Property Value
Ry
The roundedCornerY for the data label. It requires Border
values not to be null.
Declaration
public double Ry { get; set; }
Property Value
ShowZero
If set true, datalabels will be visible for zero points.
Declaration
public bool ShowZero { get; set; }
Property Value
Template
Custom template to format the data label content. 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
TextOverflow
Gets and sets the text overflow behavior to employ when the individual datalabel text overflowing the point segment or slice or MaxWidth
Declaration
public LabelOverflow TextOverflow { get; set; }
Property Value
TextWrap
Gets and sets the text wrap behavior to employ when the individual datalabel text overflowing the point segment or slice or MaxWidth
Declaration
public TextWrap TextWrap { get; set; }
Property Value
Visible
If set true, data label for series gets render.
Declaration
public bool Visible { get; set; }
Property Value
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 |
System.Threading.Tasks.Task |
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
System.Threading.Tasks.Task |