ClassChartYAxisPlotBandLabelBorder
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:
public class ChartYAxisPlotBandLabelBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartYAxisPlotBandLabelBorder
Implements:
Inherited Members
Constructors
ChartYAxisPlotBandLabelBorder()
Declaration
public ChartYAxisPlotBandLabelBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
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.
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
[Parameter]
public DashType? DashType { get; set; }
Property Value
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.
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