Configures the border styling for legend item markers in ChartLegendItemMarkers. Use this component to add definition and visual emphasis to marker boundaries by defining border color and line style. Borders help distinguish markers from the legend background and improve overall legend clarity, especially important for creating professional chart presentations.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartLegendItemMarkersBorder : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartLegendItemMarkersBorder
Implements:
Inherited Members
Constructors
public ChartLegendItemMarkersBorder()
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 border color for legend item markers. Accepts any valid CSS color including hex codes (#666666), RGB values (rgb(102,102,102)), named colors (gray), or HSL values. Marker borders help define marker shapes and create visual distinction between markers and the legend background, improving overall legend clarity and readability.
[Parameter]
public string Color { get; set; }
Defines the line style pattern for legend item marker borders using DashType values. Choose from various patterns: Solid for continuous borders, Dash for dashed outlines, Dot for dotted borders, DashDot for alternating dashes and dots, LongDash for longer dash segments, LongDashDot for long dashes with dots, and LongDashDotDot for complex patterns. Different patterns help distinguish marker types or series categories.
[Parameter]
public DashType? DashType { get; set; }