menu

Blazor

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

    Show / Hide Table of Contents

    Class SmithChartLegendSettings

    Options to customize the legend in the chart.

    Inheritance
    System.Object
    SfBaseComponent
    SmithChartLegendSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SmithChartLegendSettings : SfBaseComponent

    Constructors

    SmithChartLegendSettings()

    Declaration
    public SmithChartLegendSettings()

    Properties

    Alignment

    Alignment for legend.

    Declaration
    public SmithChartAlignment Alignment { get; set; }
    Property Value
    Type
    SmithChartAlignment

    ColumnCount

    Column count for legend.

    Declaration
    public int ColumnCount { get; set; }
    Property Value
    Type
    System.Int32

    Description

    Description for legend.

    Declaration
    public string Description { get; set; }
    Property Value
    Type
    System.String

    Height

    Height of the legend.

    Declaration
    public string Height { get; set; }
    Property Value
    Type
    System.String

    ItemPadding

    Spacing between legend items.

    Declaration
    public double ItemPadding { get; set; }
    Property Value
    Type
    System.Double

    Position

    Position of the legend.

    Declaration
    public LegendPosition Position { get; set; }
    Property Value
    Type
    LegendPosition

    RowCount

    Row count for legend.

    Declaration
    public int RowCount { get; set; }
    Property Value
    Type
    System.Int32

    Shape

    Shape of the legend.

    Declaration
    public Shape Shape { get; set; }
    Property Value
    Type
    Shape

    ShapePadding

    Padding between the legend shape and text.

    Declaration
    public double ShapePadding { get; set; }
    Property Value
    Type
    System.Double

    ToggleVisibility

    If set to true, series visibility collapses based on the legend visibility.

    Declaration
    public bool ToggleVisibility { get; set; }
    Property Value
    Type
    System.Boolean

    Visible

    Visibility of the legend.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type
    System.Boolean

    Width

    Width of the legend.

    Declaration
    public string Width { get; set; }
    Property Value
    Type
    System.String

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved