alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class AccumulationChartCenter

    Gets or sets options to customize the center of the accumulation chart.

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

    Constructors

    AccumulationChartCenter()

    Declaration
    public AccumulationChartCenter()

    Properties

    X

    Gets or sets the X-coordinate for the center of the SfAccumulationChart.

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

    A string representing the horizontal position of the chart center, typically expressed as a percentage of the total width. The default value is 50%, indicating that the chart is centered horizontally.

    Remarks

    Adjusting the X value customizes the horizontal alignment of the chart's center. This value should be specified as a percentage.

    Examples
    // The following code snippet demonstrates how to set the X-coordinate of the chart's center to "30%":
    <SfAccumulationChart>
        <AccumulationChartSeriesCollection>
            <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
            </AccumulationChartSeries>
        </AccumulationChartSeriesCollection>
        <AccumulationChartCenter X="30%"></AccumulationChartCenter>
    </SfAccumulationChart>

    Y

    Gets or sets the Y-coordinate for the center of the SfAccumulationChart.

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

    A string representing the vertical position of the chart center, typically expressed as a percentage of the total height. The default value is 50%, indicating that the chart is centered vertically.

    Remarks

    Adjusting the Y value customizes the vertical alignment of the chart's center. This value should be specified as a percentage.

    Examples
    // The following code snippet demonstrates how to set the Y-coordinate of the chart's center to "60%":
    <SfAccumulationChart>
        <AccumulationChartSeriesCollection>
            <AccumulationChartSeries DataSource="@StatisticsDetails" XName="Browser" YName="Users">
            </AccumulationChartSeries>
        </AccumulationChartSeriesCollection>
        <AccumulationChartCenter Y="60%"></AccumulationChartCenter>
    </SfAccumulationChart>

    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