Class
ChartSeriesLabelsFromPadding

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

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class ChartSeriesLabelsFromPadding : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsFromPadding

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartSeriesLabelsFromPadding()

Declaration

cs-api-definition
public ChartSeriesLabelsFromPadding()

Properties

Bottom

Sets the bottom internal padding space within "from" 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.

Declaration

cs-api-definition
[Parameter]
public double? Bottom { get; set; }

Property Value

double?

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Left

Sets the left internal padding space within "from" 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.

Declaration

cs-api-definition
[Parameter]
public double? Left { get; set; }

Property Value

double?

Right

Sets the right internal padding space within "from" 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.

Declaration

cs-api-definition
[Parameter]
public double? Right { get; set; }

Property Value

double?

Top

Sets the top internal padding space within "from" 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.

Declaration

cs-api-definition
[Parameter]
public double? Top { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>