Class DataLabelSettingsModel
Interface for a class DataLabelSettings.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class DataLabelSettingsModel : Object
Constructors
DataLabelSettingsModel()
Declaration
public DataLabelSettingsModel()
Properties
Alignment
Allows to set the alignment for data Label. They are, Near: Aligns the label to the left of the point. Center: Aligns the label to the center of the point. Far: Aligns the label to the right of the point.
Declaration
public object Alignment { get; set; }
Property Value
Type |
---|
System.Object |
Angle
Allows to specify the rotation angle to data label.
Declaration
public int Angle { get; set; }
Property Value
Type |
---|
System.Int32 |
Border
Allows option for customizing the border lines.
Declaration
public object Border { get; set; }
Property Value
Type |
---|
System.Object |
EnableRotation
Allows to set whether rotation to data label is enable or not.
Declaration
public bool EnableRotation { get; set; }
Property Value
Type |
---|
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 |
---|
System.String |
Font
Allows option for customizing the data label text.
Declaration
public object Font { get; set; }
Property Value
Type |
---|
System.Object |
Margin
Allows customize the margin to the data label.
Declaration
public object Margin { get; set; }
Property Value
Type |
---|
System.Object |
Name
Allows to set the data source field that contains the data label value.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Allows to set the opacity to the background.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Position
Allows to specify the position of the data label. They are, Outer: Positions the label outside the point. top: Positions the label on top of the point. Bottom: Positions the label at the bottom of the point. Middle: Positions the label to the middle of the point. Auto: Positions the label based on series.
Declaration
public LabelPosition Position { get; set; }
Property Value
Type |
---|
LabelPosition |
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 |
---|
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 |
---|
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 string Template { get; set; }
Property Value
Type |
---|
System.String |
Visible
Allows to set the visibility of data label to the series renders.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |