New to Telerik UI for BlazorStart a free 30-day trial

Manages the internal spacing within "to" value labels in range chart series between label borders and text content. Controls the space inside to label backgrounds to ensure proper text presentation and readability in range data visualizations.

Definition

Constructors

C#
public ChartSeriesLabelsToPadding()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

Sets the bottom internal padding space within "to" value labels in range series in pixels. Creates space between the label text and the bottom edge of the label background or border, ensuring proper text presentation and preventing cramped appearance in range visualizations.

C#
[Parameter]
public double? Bottom { get; set; }
C#
[Parameter]
public RenderFragment ChildContent { get; set; }

Sets the left internal padding space within "to" value labels in range series in pixels. Provides space between the label text and the left edge of the label background, ensuring text doesn't touch label boundaries and maintains readability in range data presentations.

C#
[Parameter]
public double? Left { get; set; }

Sets the right internal padding space within "to" value labels in range series in pixels. Creates space between the label text and the right edge of the label background or border, preventing text from appearing cramped and ensuring professional appearance in range visualizations.

C#
[Parameter]
public double? Right { get; set; }

Sets the top internal padding space within "to" value labels in range series in pixels. Provides space between the label text and the top edge of the label background, ensuring balanced text positioning and optimal readability in range data presentations.

C#
[Parameter]
public double? Top { get; set; }