alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class LegendShape

    Defines the visual shape used to represent legend items in the chart.

    Inheritance
    System.Object
    LegendShape
    Namespace: Syncfusion.Blazor.Toolkit
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public sealed class LegendShape : Enum
    Remarks

    The shape appears next to the series name in the legend, aiding visual identification of data series. For line-based series, use line shapes; for area/bar series, use rectangular shapes.

    Fields

    ActualRect

    Legend item is displayed as a rectangle matching the series actual dimensions.

    Declaration
    public const LegendShape ActualRect
    Field Value
    Type
    LegendShape

    Circle

    Legend item is displayed as a filled circle.

    Declaration
    public const LegendShape Circle
    Field Value
    Type
    LegendShape

    Cross

    Legend item is displayed as a cross (+) symbol.

    Declaration
    public const LegendShape Cross
    Field Value
    Type
    LegendShape

    Diamond

    Legend item is displayed as a filled diamond shape.

    Declaration
    public const LegendShape Diamond
    Field Value
    Type
    LegendShape

    HorizontalLine

    Legend item is displayed as a horizontal line.

    Declaration
    public const LegendShape HorizontalLine
    Field Value
    Type
    LegendShape

    InvertedTriangle

    Legend item is displayed as a filled inverted (downward-pointing) triangle.

    Declaration
    public const LegendShape InvertedTriangle
    Field Value
    Type
    LegendShape

    Multiply

    Legend item is displayed as a multiply (×) symbol.

    Declaration
    public const LegendShape Multiply
    Field Value
    Type
    LegendShape

    Pentagon

    Legend item is displayed as a filled pentagon.

    Declaration
    public const LegendShape Pentagon
    Field Value
    Type
    LegendShape

    Rectangle

    Legend item is displayed as a filled rectangle.

    Declaration
    public const LegendShape Rectangle
    Field Value
    Type
    LegendShape

    SeriesType

    Legend item shape is automatically determined by the series type.

    Declaration
    public const LegendShape SeriesType
    Field Value
    Type
    LegendShape

    TargetRect

    Legend item is displayed as a target-style rectangle.

    Declaration
    public const LegendShape TargetRect
    Field Value
    Type
    LegendShape

    Triangle

    Legend item is displayed as a filled upright triangle.

    Declaration
    public const LegendShape Triangle
    Field Value
    Type
    LegendShape

    VerticalLine

    Legend item is displayed as a vertical line.

    Declaration
    public const LegendShape VerticalLine
    Field Value
    Type
    LegendShape
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved