alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class LegendRenderEventArgs

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

    Inheritance
    object
    BaseEventArgs
    LegendRenderEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

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