Class
ChartYAxisPlotBandLabelPadding

Configures the internal spacing within Y-axis plot band labels for optimal text presentation and readability. Provides precise control over the space between the label text and its border or background to ensure professional appearance and clear value range identification. Use this component to create appropriate text breathing room, improve readability, and maintain consistent spacing standards across plot band labels.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

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

Inheritance: objectComponentBaseDataVizChildComponentChartYAxisPlotBandLabelPadding

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

ChartYAxisPlotBandLabelPadding()

Declaration

cs-api-definition
public ChartYAxisPlotBandLabelPadding()

Properties

Bottom

Sets the bottom internal spacing within Y-axis plot band labels in pixels for optimal text presentation and readability. Use this property to create appropriate space between the label text and its bottom border or background edge. Larger values (6-12 pixels) provide more breathing room for text, while smaller values (2-4 pixels) create compact label presentations. Consider font size and label background styling when setting bottom padding for professional appearance and value context clarity.

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 spacing within Y-axis plot band labels in pixels for optimal text alignment and presentation. Use this property to create appropriate space between the label text and its left border or background edge. Larger values (6-12 pixels) provide more text indentation, while smaller values (2-4 pixels) create compact layouts within plot bands. Consider text alignment and label background styling when setting left padding for professional value range identification and readability.

Declaration

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

Property Value

double?

Right

Sets the right internal spacing within Y-axis plot band labels in pixels for balanced text presentation and professional appearance. Use this property to create appropriate space between the label text and its right border or background edge. Larger values (6-12 pixels) provide more text margin, while smaller values (2-4 pixels) maximize label content space within plot bands. Consider text length and label styling when setting right padding for optimal readability and value range context presentation.

Declaration

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

Property Value

double?

Top

Sets the top internal spacing within Y-axis plot band labels in pixels for optimal vertical text positioning and readability. Use this property to create appropriate space between the label text and its top border or background edge. Larger values (6-12 pixels) provide more vertical breathing room, while smaller values (2-4 pixels) create compact vertical presentations. Consider font metrics and label background styling when setting top padding for professional value range labeling and measurement clarity.

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>