Class
ChartValueAxisPlotBandLabelBorder

Configures border styling around value axis plot band labels for enhanced visual presentation and readability. Provides control over border appearance including color, style, and thickness to create professional label designs that stand out from chart backgrounds. Use this component to add visual boundaries around plot band labels, improve text contrast, or highlight important annotations.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

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

Inheritance: objectComponentBaseDataVizChildComponentChartValueAxisPlotBandLabelBorder

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

ChartValueAxisPlotBandLabelBorder()

Declaration

cs-api-definition
public ChartValueAxisPlotBandLabelBorder()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

Sets the color of the border around value axis plot band labels. Accepts any valid CSS color value including hex codes (#666666), RGB values (rgb(102,102,102)), or color names (gray). Use this to create visual definition around plot band labels and ensure they stand out against chart backgrounds for better readability. Example: Set to "#333333" for dark professional borders around labels, or "#e0e0e0" for subtle light borders that don't dominate the annotation.

Declaration

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

Property Value

string

DashType

Sets the dash pattern style for the plot band label borders. Controls the visual appearance of label borders, allowing for solid lines or various dashed patterns to create different design effects. Use this to create distinctive border styles that complement your chart's visual design or differentiate plot band importance levels. Accepts values from the DashType enumeration including solid, dash, dot, and various dash-dot combinations.

Declaration

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

Property Value

DashType?

Width

Sets the thickness of the border around plot band labels in pixels. Controls how prominent the label borders appear, affecting the overall visual emphasis and readability of plot band annotations. Use this to create subtle outlines with thin borders or bold frames with thicker borders based on annotation importance. Example: Set to 1 for standard label borders, 2 for emphasized annotations, or 0 to hide borders completely.

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>