Class ChartDataLabelMargin
Provides option to customize the margin of the data label.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartDataLabelMargin : ChartDefaultMargin, ISubcomponentTracker
Constructors
ChartDataLabelMargin()
Declaration
public ChartDataLabelMargin()
Properties
Bottom
Gets or sets the bottom margin of the data label.
Declaration
public override double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the size of the bottom margin. The default value is 5. |
Overrides
Remarks
This property allows customization of the space between the data label and the bottom edge of its boundary.
Left
Gets or sets the left margin of the data label.
Declaration
public override double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the size of the left margin. The default value is 5. |
Overrides
Remarks
This property allows customization of the space between the data label and the left edge of its boundary.
Right
Gets or sets the right margin of the data label.
Declaration
public override double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the size of the right margin. The default value is 5. |
Overrides
Remarks
This property allows customization of the space between the data label and the right edge of its boundary.
Top
Gets or sets the top margin of the data label.
Declaration
public override double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the size of the top margin. The default value is 5. |
Overrides
Remarks
This property allows customization of the space between the data label and the top edge of its boundary.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()