menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LegendRenderEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LegendRenderEventArgs

    Specifies the event arguments available for the legend render events in the chart component.

    Inheritance
    System.Object
    Syncfusion.Blazor.Charts.BaseEventArgs
    LegendRenderEventArgs
    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
    System.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
    System.String

    Accepts the string value.

    Remarks

    This property allows customization of the label that appears in the chart legend.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved