alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class BulletChartLegendSettings

    Sets and gets the options for customizing the legend of the bullet chart component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    BulletChartLegendSettings
    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 BulletChartLegendSettings : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    BulletChartLegendSettings()

    Declaration
    public BulletChartLegendSettings()

    Properties

    Alignment

    Sets and gets the legend in bullet chart can be aligned as follows: Near: Aligns the legend to the left of the bullet chart. Center: Aligns the legend to the center of the bullet chart. Far: Aligns the legend to the right of the bullet chart.

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

    Background

    Sets and gets the background color of the bullet chart legend that accepts value in hex and rgba as a valid CSS color string.

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

    Height

    Sets and gets the height of the legend.

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

    Opacity

    Sets and gets the opacity of the bullet chart legend.

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

    Padding

    Sets and gets option to customize the padding between legend items.

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

    Position

    Position of the legend in the bullet chart are, Auto: Places the legend based on area type. Top: Displays the legend at the top of the bullet chart. Left: Displays the legend at the left of the bullet chart. Bottom: Displays the legend at the bottom of the bullet chart. Right: Displays the legend at the right of the bullet chart. Custom: Displays the legend based on the given x and y values.

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

    ShapeHeight

    Sets and gets the shape height of the bullet chart legend.

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

    ShapePadding

    Sets and gets the padding between the bullet chart legend shape and text.

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

    ShapeWidth

    Sets and gets the shape width of the bullet chart legend.

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

    TabIndex

    Sets and gets the tabIndex value for the bullet chart legend.

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

    Visible

    Sets and gets the visible of the legend.

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

    Width

    Sets and gets the 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