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

Configures the border styling around the chart subtitle to provide visual definition and enhance subtitle presentation. Controls border appearance including colors, line patterns, and thickness to create professional subtitle layouts and improve overall chart visual hierarchy.

Definition

Constructors

C#
public ChartSubtitleBorder()

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

Sets the border color for the chart subtitle using any valid CSS color value. Accepts hex codes (#E0E0E0), RGB values (rgb(224, 224, 224)), named colors (lightgray, silver), or HSL values. Use subtle border colors that complement the subtitle without overpowering the text content.

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

Defines the line pattern style for subtitle borders using DashType values. Choose from "solid" for continuous borders, "dash" for dashed lines, "dot" for dotted patterns, or other combinations to create distinctive subtitle styling that matches chart design themes.

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

Specifies the thickness of the subtitle border in pixels. Use 1-2 pixels for subtle borders, 3-4 pixels for more prominent definition, or 0 to remove borders completely. Border width should complement subtitle text size and overall chart proportions.

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