Class LegendSymbols
Represents a legend symbol entry containing shape markers, text, and template information for rendering legend items.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class LegendSymbols
Constructors
LegendSymbols()
Declaration
public LegendSymbols()
Properties
FirstSymbol
Gets or sets the first symbol (shape marker) rendering options for the legend item.
Declaration
public SymbolOptions FirstSymbol { get; set; }
Property Value
| Type |
|---|
| SymbolOptions |
Index
Gets or sets the index position of the legend symbol within the legend collection.
Declaration
public int Index { get; set; }
Property Value
| Type |
|---|
| int |
SecondSymbol
Gets or sets the second symbol (optional shape marker) for legend items with multiple shapes.
Declaration
public SymbolOptions SecondSymbol { get; set; }
Property Value
| Type |
|---|
| SymbolOptions |
Template
Gets or sets the custom render fragment for template-based legend item rendering.
Declaration
public RenderFragment? Template { get; set; }
Property Value
| Type |
|---|
| RenderFragment |
TextOption
Gets or sets the text rendering options for the legend item label.
Declaration
public TextOptions TextOption { get; set; }
Property Value
| Type |
|---|
| TextOptions |