ClassChartSeriesLabelsToBorder
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:
public class ChartSeriesLabelsToBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLabelsToBorder
Implements:
Inherited Members
Constructors
ChartSeriesLabelsToBorder()
Declaration
public ChartSeriesLabelsToBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
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.
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
[Parameter]
public DashType? DashType { get; set; }
Property Value
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.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns