alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ChartDefaultLocation

    Provides options for customizing the location of chart elements.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ChartSubComponent
    ChartDefaultLocation
    ChartLocation
    ChartMarkerOffset
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    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.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartDefaultLocation : ChartSubComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    ChartDefaultLocation()

    Declaration
    public ChartDefaultLocation()

    Properties

    X

    Gets or sets the x-coordinate of the legend in pixels.

    Declaration
    [Parameter]
    public virtual double X { get; set; }
    Property Value
    Type Description
    double

    A double representing the horizontal position of the legend. The value is measured in pixels.

    Remarks

    Adjusting this property changes the x-position of the chart legend, allowing it to be precisely aligned within the chart area.

    Y

    Gets or sets the y-coordinate of the legend in pixels.

    Declaration
    [Parameter]
    public virtual double Y { get; set; }
    Property Value
    Type Description
    double

    A double representing the vertical position of the legend. The value is measured in pixels.

    Remarks

    Changing this property affects the y-position of the chart legend, enabling precise vertical placement within the chart layout.

    Implements

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