Class
ChartYAxisPlotBandLabelBorder

Configures the border styling for Y-axis plot band labels. Provides comprehensive control over border appearance including color, line style, and thickness to enhance label visibility and professional presentation. Use this component to create clear visual separation between labels and plot band backgrounds, improving readability and chart aesthetics for value range identification.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

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

Inheritance: objectComponentBaseDataVizChildComponentChartYAxisPlotBandLabelBorder

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

ChartYAxisPlotBandLabelBorder()

Declaration

cs-api-definition
public ChartYAxisPlotBandLabelBorder()

Properties

ChildContent

Declaration

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

Property Value

RenderFragment

Color

Specifies the color of the border around Y-axis plot band labels for enhanced visual definition and professional presentation. Accepts any valid CSS color value including hex codes (#DDDDDD), RGB values (rgb(221,221,221)), or color names (lightgray). Use this property to create clear separation between label text and plot band backgrounds for improved readability and value range identification. Consider using subtle colors that complement your chart theme while ensuring labels stand out appropriately within highlighted value areas.

Declaration

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

Property Value

string

DashType

Defines the line pattern for Y-axis plot band label borders using predefined dash styles for visual emphasis and design consistency. Available options include solid lines for clean professional appearance, dotted lines for subtle definition, and various dash patterns for specialized chart presentations or visual hierarchy within value range highlighting. Use solid borders for maximum clarity and readability, or dash patterns to create visual distinction between different plot band labels. See DashType for all available line pattern options.

Declaration

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

Property Value

DashType?

Width

Sets the thickness of the Y-axis plot band label borders in pixels for appropriate visual weight and professional appearance. Use thin borders (1-2 pixels) for subtle label definition that enhances readability without overwhelming the value range visualization. Thicker borders (3-4 pixels) create more prominent label emphasis for charts requiring clear hierarchical distinction within plot bands. Set to 0 (default) to disable borders completely for clean, minimalist label presentation without visual distraction from value context.

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>