Controls the external spacing around chart series data point labels to prevent overlap and ensure proper label positioning relative to other chart elements. Manages the space between labels and surrounding chart components for optimal readability and visual balance.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesLabelsMargin : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsMargin
Implements:
Inherited Members
Constructors
public ChartSeriesLabelsMargin()
Properties
Sets the bottom external margin space below series data point labels in pixels. Creates separation between labels and elements below them, preventing overlap with chart axes, other labels, or chart borders. Use values like 3-10 pixels for optimal label spacing.
[Parameter]
public double? Bottom { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
Sets the left external margin space to the left of series data point labels in pixels. Provides separation between labels and adjacent chart elements, ensuring clear label positioning and preventing visual conflicts. Common values range from 3-15 pixels.
[Parameter]
public double? Left { get; set; }
Sets the right external margin space to the right of series data point labels in pixels. Creates separation between labels and other chart elements, maintaining proper visual hierarchy and preventing overlap in dense data visualizations.
[Parameter]
public double? Right { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides: