Class ChartLegendMargin
Provides options to customize the margins of a chart legend.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartLegendMargin : ChartDefaultMargin, ISubcomponentTracker
Constructors
ChartLegendMargin()
Declaration
public ChartLegendMargin()
Properties
Bottom
Gets or sets the bottom margin for the legend.
Declaration
public override double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the bottom margin for the legend. The default value is 0. |
Overrides
Remarks
Adjust this property to provide space below the chart legend.
Left
Gets or sets the left margin for the legend.
Declaration
public override double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the left margin for the legend. The default value is 0. |
Overrides
Remarks
Adjust this property to provide space on the left side of the chart legend.
Right
Gets or sets the right margin for the legend.
Declaration
public override double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the right margin for the legend. The default value is 0. |
Overrides
Remarks
Modify this property to provide space on the right side of the chart legend.
Top
Gets or sets the top margin for the legend.
Declaration
public override double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The double value representing the top margin for the legend. The default value is 0. |
Overrides
Remarks
Use this property to define space above the chart legend.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSet()
Declaration
protected override void OnParametersSet()