ClassChartYAxisTitleBorder
Configures the border styling for Y-axis titles to enhance visual definition and professional presentation. Provides comprehensive control over border appearance including color, line style, and thickness to improve title visibility and chart aesthetics. Use this component to create clear visual separation between titles and chart backgrounds, improving readability and measurement context identification.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartYAxisTitleBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartYAxisTitleBorder
Implements:
Inherited Members
Constructors
ChartYAxisTitleBorder()
Declaration
public ChartYAxisTitleBorder()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Color
Specifies the color of the border around the Y-axis title for enhanced visual definition and professional presentation. Accepts any valid CSS color value including hex codes (#DDDDDD), RGB values (rgb(221,221,221)), or color names (lightgray). Use this property to create clear separation between the title text and chart background for improved readability and measurement context. Consider using subtle colors that complement your chart theme while ensuring the title stands out appropriately for axis identification.
DashType
Defines the line pattern for the Y-axis title border using predefined dash styles for visual emphasis and design consistency. Available options include solid lines for clean professional appearance, dotted lines for subtle definition, and various dash patterns for specialized chart presentations or visual hierarchy. Use solid borders for maximum clarity and readability, or dash patterns to create visual distinction between title elements and measurement context. See DashType for all available line pattern options.
Declaration
[Parameter]
public DashType? DashType { get; set; }
Property Value
Width
Sets the thickness of the Y-axis title border in pixels for appropriate visual weight and professional appearance. Use thin borders (1-2 pixels) for subtle title definition that enhances readability without overwhelming the chart. Thicker borders (3-4 pixels) create more prominent title emphasis for charts requiring clear hierarchical distinction and measurement context. Set to 0 (default) to disable borders completely for clean, minimalist title presentation without visual distraction from axis identification.
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