ClassChartCategoryAxisLabelsBorder
Configures the border appearance around category axis labels in ChartCategoryAxisLabels. Use this component to add visual emphasis to category labels by defining border color, style pattern, and thickness. Borders can improve label readability against complex chart backgrounds or create visual hierarchy in multi-axis charts. Combine with padding and margin settings for optimal label presentation.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartCategoryAxisLabelsBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartCategoryAxisLabelsBorder
Implements:
Inherited Members
Constructors
ChartCategoryAxisLabelsBorder()
Declaration
public ChartCategoryAxisLabelsBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
Sets the border color around category axis labels. Accepts any valid CSS color value including hex codes (#FF0000), RGB values (rgb(255,0,0)), named colors (red), or HSL values. Use this to create visual emphasis or improve label readability against complex chart backgrounds.
DashType
Defines the line style pattern for the category axis label border. Choose from predefined patterns to create different visual effects: Solid creates continuous borders, Dash produces dashed outlines, Dot creates dotted borders, DashDot alternates dashes and dots, LongDash uses longer dash segments, LongDashDot combines long dashes with dots, and LongDashDotDot creates complex patterns with long dashes followed by two dots.
Declaration
[Parameter]
public DashType? DashType { get; set; }
Property Value
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