Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LegendLocation - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LegendLocation

    Gets or sets the location of the legend, relative to the circular gauge. If x is 20, legend moves by 20 pixels to the right of the gauge. It requires the Position to be Custom in the legend settings.

    Inheritance
    System.Object
    SfBaseComponent
    LegendLocation
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.CircularGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LegendLocation : SfBaseComponent

    Constructors

    LegendLocation()

    Declaration
    public LegendLocation()

    Properties

    X

    Gets or sets the X coordinate of the legend in the circular gauge.

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

    Y

    Gets or sets the Y coordinate of the legend in the circular gauge.

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

    Methods

    OnInitializedAsync()

    OnInitializedAsync method is called when the component has received its initial parameters.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    System.Threading.Tasks.Task representing the asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved