New to Telerik UI for BlazorStart a free 30-day trial

Configures border styling around the chart value axis title for enhanced visual presentation and readability. Provides control over border appearance including color, style, and thickness to create professional title designs that stand out from chart backgrounds. Use this component to add visual boundaries around the value axis title, improve text contrast, or match your application's design theme.

Definition

Constructors

C#
public ChartValueAxisTitleBorder()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override void OnAfterRender(bool firstRender)
Parameters:firstRenderbool

Overrides: ComponentBase.OnAfterRender(bool)

C#
protected override void OnInitialized()

Overrides: DataVizChildComponent.OnInitialized()

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

Sets the color of the border around the chart value axis title. 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 the value axis title and ensure it stands out against chart backgrounds for better readability. Example: Set to "#333333" for dark professional borders around the title, or "#e0e0e0" for subtle light borders that complement the design.

C#
[Parameter]
public string Color { get; set; }

Sets the dash pattern style for the value axis title border. Controls the visual appearance of title 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 match your application's styling patterns. Accepts values from the DashType enumeration including solid, dash, dot, and various dash-dot combinations.

C#
[Parameter]
public DashType? DashType { get; set; }

Sets the thickness of the border around the value axis title in pixels. Controls how prominent the title border appears, affecting the overall visual emphasis and readability of the axis description. Use this to create subtle outlines with thin borders or bold frames with thicker borders based on title importance and design requirements. Example: Set to 1 for standard title borders, 2 for emphasized axis titles, or 0 to hide borders completely.

C#
[Parameter]
public double? Width { get; set; }