Class LegendRenderEventArgs
Specifies the event arguments available for the legend render events in the chart component.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class LegendRenderEventArgs : BaseEventArgs
Constructors
LegendRenderEventArgs()
Declaration
public LegendRenderEventArgs()
Properties
Fill
Gets or sets the legend color.
Declaration
public string Fill { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
Remarks
This property determines the color used in the legend to represent chart elements.
MarkerShape
Gets or sets the marker text.
Declaration
public ChartShape MarkerShape { get; set; }
Property Value
| Type | Description |
|---|---|
| ChartShape | A ChartShape value that defines the shape of the marker. |
Remarks
This property allows customization of the marker's appearance within the legend.
Shape
Gets or sets the legend shape.
Declaration
public LegendShape Shape { get; set; }
Property Value
| Type | Description |
|---|---|
| LegendShape | A LegendShape value that defines the shape of the legend. |
Remarks
Use this property to specify the graphical representation form used in legend items.
Text
Gets or sets the legend text.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
Remarks
This property allows customization of the label that appears in the chart legend.