Class
ChartSeriesLabelsToBorder

Configures the border styling for "to" value labels in range chart series to provide visual definition and enhance label readability. Controls border appearance around to value labels, helping distinguish range ending points and improving overall range series visualization clarity.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

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

Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsToBorder

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

ChartSeriesLabelsToBorder()

Declaration

cs-api-definition
public ChartSeriesLabelsToBorder()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

Sets the border color for "to" value labels in range series using any valid CSS color value. Accepts hex codes (#FF9800), RGB values (rgb(255, 152, 0)), named colors (orange, red), or HSL values. Use distinct colors to differentiate from/to label borders and maintain visual clarity in range data presentations.

Declaration

cs-api-definition
[Parameter]
public string Color { get; set; }

Property Value

string

DashType

Defines the line pattern style for "to" label borders using DashType values. Choose from "solid" for continuous borders, "dash" for dashed outlines, or other patterns to create distinctive styling that helps users distinguish to values in range series visualizations.

Declaration

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

Property Value

DashType?

Width

Specifies the thickness of "to" label borders in pixels. Use 1-2 pixels for subtle definition, 3-4 pixels for prominent borders, or 0 to remove borders. Border width should complement the label size and provide clear visual separation in range data presentations.

Declaration

cs-api-definition
[Parameter]
public double? Width { 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>