ClassChartCategoryAxisTitleBorder
Configures the border appearance around category axis titles in ChartCategoryAxisTitle. Use this component to add visual emphasis to axis titles by defining border color, style pattern, and thickness. Borders improve title readability against complex chart backgrounds and help establish visual hierarchy in charts with multiple axes or complex layouts. Essential for creating professional-looking chart presentations.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartCategoryAxisTitleBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartCategoryAxisTitleBorder
Implements:
Inherited Members
Constructors
ChartCategoryAxisTitleBorder()
Declaration
public ChartCategoryAxisTitleBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
Sets the border color around the category axis title. Accepts any valid CSS color including hex codes (#333333), RGB values (rgb(51,51,51)), named colors (darkgray), or HSL values. Use borders to create visual emphasis around axis titles, improve readability against complex chart backgrounds, or establish visual hierarchy in multi-axis charts.
DashType
Defines the line style pattern for the category axis title border using DashType values. Choose from various patterns: Solid for continuous borders, Dash for dashed outlines, Dot for dotted borders, DashDot for alternating dashes and dots, LongDash for longer dash segments, LongDashDot for long dashes with dots, and LongDashDotDot for complex patterns. Different patterns help distinguish title elements from other chart components.
Declaration
[Parameter]
public DashType? DashType { get; set; }
Property Value
Width
Controls the thickness of the category axis title border in pixels. Set to 0 (default) to hide the border completely, or use positive values like 1-2 pixels for subtle outlines, or larger values for prominent borders. Combine with Color and DashType to create custom title styling that enhances axis identification and chart readability.
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