ChartSubtitleBorder
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
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSubtitleBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSubtitleBorder
Implements:
Inherited Members
Constructors
public ChartSubtitleBorder()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
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.
[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.
[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.
[Parameter]
public double? Width { get; set; }