Controls the external spacing around "to" value labels in range chart series to prevent overlap and ensure proper label positioning. Manages the space between to labels and other chart elements, optimizing layout for clear range data visualization and avoiding visual conflicts with from labels.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesLabelsToMargin : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsToMargin
Implements:
Inherited Members
Constructors
public ChartSeriesLabelsToMargin()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
Sets the bottom external margin space below "to" value labels in range series in pixels. Creates separation between to labels and elements below them, preventing overlap with chart data or other labels. Use values like 3-10 pixels for optimal spacing in range visualizations.
[Parameter]
public double? Bottom { get; set; }
[Parameter]
public RenderFragment ChildContent { get; set; }
Sets the left external margin space to the left of "to" value labels in range series in pixels. Provides separation between to labels and adjacent chart elements, ensuring clear label positioning. Common values range from 3-15 pixels depending on label density and chart layout.
[Parameter]
public double? Left { get; set; }
Sets the right external margin space to the right of "to" value labels in range series in pixels. Creates separation between to labels and other chart elements, particularly important when displaying both from and to labels to avoid visual overlap and maintain readability.
[Parameter]
public double? Right { get; set; }
Sets the top external margin space above "to" value labels in range series in pixels. Provides separation between to labels and elements above them, ensuring proper visual hierarchy and preventing overlap with chart titles or other labels in range data presentations.
[Parameter]
public double? Top { get; set; }