ClassChartSeriesLegendItem
Configures the display and behavior of individual series items within the chart legend, controlling how each data series is represented in legend components. Manages legend item markers, highlighting effects, and visual styling to provide clear series identification and interactive feedback for users. Children: ChartSeriesLegendItemHighlight, ChartSeriesLegendItemMarkers.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChartSeriesLegendItem : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentChartSeriesLegendItem
Implements:
Inherited Members
Constructors
ChartSeriesLegendItem()
Declaration
public ChartSeriesLegendItem()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Type
Specifies the visual representation type for the legend item using ChartLegendItemType values. Determines how the series is displayed in the legend, such as with markers, lines, or other visual indicators that match the series presentation style in the chart.
Declaration
[Parameter]
public ChartLegendItemType? Type { get; set; }
Property Value
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