alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class ChartDefaultLocation

    Provides options for customizing the location of chart elements, such as legends and titles.

    Inheritance
    System.Object
    SfBaseComponent
    ChartSubComponent
    ChartDefaultLocation
    ChartLocation
    ChartMarkerOffset
    Implements
    System.IAsyncDisposable
    Inherited Members
    SfBaseComponent.DisposeAsync()
    Namespace: Syncfusion.Blazor.Toolkit.Charts
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public class ChartDefaultLocation : ChartSubComponent, IAsyncDisposable, ISubcomponentTracker

    Constructors

    ChartDefaultLocation()

    Declaration
    public ChartDefaultLocation()

    Properties

    X

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

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

    A System.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
    public virtual double Y { get; set; }
    Property Value
    Type Description
    System.Double

    A System.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

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