ChartPlotAreaBorder
Configures the border styling around the chart plot area to define visual boundaries and enhance chart presentation. Controls border color, line style patterns, and thickness to create professional chart layouts and improve data region definition within the overall chart design.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartPlotAreaBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartPlotAreaBorder
Implements:
Inherited Members
Constructors
public ChartPlotAreaBorder()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
[Parameter]
public RenderFragment ChildContent { get; set; }
Sets the color of the plot area border using any valid CSS color value. Accepts hex codes (#333333), RGB values (rgb(51, 51, 51)), named colors (gray, black), or HSL values. Choose colors that complement the chart theme and provide clear visual separation between the plot area and other chart elements.
[Parameter]
public string Color { get; set; }
Defines the line pattern for the plot area border using DashType values. Options include "solid" for continuous lines, "dash" for dashed borders, "dot" for dotted patterns, "dashDot" for alternating dash-dot patterns, and other combinations. Use different patterns to create distinctive visual styles or match design themes.
[Parameter]
public DashType? DashType { get; set; }
Specifies the thickness of the plot area border in pixels. Use 1-2 pixels for subtle borders, 3-5 pixels for prominent borders, or 0 to hide the border completely. Border width affects the overall chart layout and should be balanced with other visual elements for optimal appearance.
[Parameter]
public double? Width { get; set; }