Class
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

Constructors

ChartSubtitleBorder()

Declaration

cs-api-definition
public ChartSubtitleBorder()

Properties

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Color

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.

Declaration

cs-api-definition
[Parameter]
public string Color { get; set; }

Property Value

string

DashType

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.

Declaration

cs-api-definition
[Parameter]
public DashType? DashType { get; set; }

Property Value

DashType?

Width

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.

Declaration

cs-api-definition
[Parameter]
public double? Width { get; set; }

Property Value

double?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>