alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SmithChartLegendSettings

    Options to customize the legend in the chart.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SmithChartLegendSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnInitializedAsync()
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SmithChartLegendSettings : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    SmithChartLegendSettings()

    Declaration
    public SmithChartLegendSettings()

    Properties

    Alignment

    Alignment for legend.

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

    ColumnCount

    Column count for legend.

    Declaration
    [Parameter]
    public int ColumnCount { get; set; }
    Property Value
    Type
    int

    Description

    Description for legend.

    Declaration
    [Parameter]
    public string Description { get; set; }
    Property Value
    Type
    string

    Height

    Height of the legend.

    Declaration
    [Parameter]
    public string Height { get; set; }
    Property Value
    Type
    string

    ItemPadding

    Spacing between legend items.

    Declaration
    [Parameter]
    public double ItemPadding { get; set; }
    Property Value
    Type
    double

    Position

    Position of the legend.

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

    RowCount

    Row count for legend.

    Declaration
    [Parameter]
    public int RowCount { get; set; }
    Property Value
    Type
    int

    Shape

    Shape of the legend.

    Declaration
    [Parameter]
    public Shape Shape { get; set; }
    Property Value
    Type
    Shape

    ShapePadding

    Padding between the legend shape and text.

    Declaration
    [Parameter]
    public double ShapePadding { get; set; }
    Property Value
    Type
    double

    ToggleVisibility

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

    Declaration
    [Parameter]
    public bool ToggleVisibility { get; set; }
    Property Value
    Type
    bool

    Visible

    Visibility of the legend.

    Declaration
    [Parameter]
    public bool Visible { get; set; }
    Property Value
    Type
    bool

    Width

    Width of the legend.

    Declaration
    [Parameter]
    public string Width { get; set; }
    Property Value
    Type
    string

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Implements

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