alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class SunburstChartMargin

    Configures the margin settings for the Sunburst chart.

    Inheritance
    object
    ComponentBase
    SunburstChartMargin
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    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()
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.Charts.dll
    Syntax
    public class SunburstChartMargin : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
    Remarks

    The SunburstChartMargin component provides options for controlling the spacing between the Sunburst chart and the edges of its container.

    Margins can be specified independently for the left, right, top, and bottom sides to adjust the chart layout and prevent content from appearing too close to the container boundaries.

    Examples
    <SfSunburstChart>
        <SunburstChartMargin Left="10" Right="10" Top="10" Bottom="10" />
    </SfSunburstChart>

    Constructors

    SunburstChartMargin()

    Declaration
    public SunburstChartMargin()

    Properties

    Bottom

    Gets or sets the bottom margin of the Sunburst chart.

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

    A double value that specifies the bottom margin, in pixels. The default value is 10.

    Remarks

    This property determines the amount of space between the bottom edge of the chart container and the Sunburst chart content.

    Increasing the bottom margin creates additional spacing below the chart, which can be useful for accommodating legends, labels, or other elements displayed beneath the chart.

    Examples
    <SfSunburstChart>
        <SunburstChartMargin Bottom="20" />
    </SfSunburstChart>

    Left

    Gets or sets the left margin of the Sunburst chart.

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

    A double value that specifies the left margin, in pixels. The default value is 10.

    Remarks

    This property determines the amount of space between the left edge of the chart container and the Sunburst chart content.

    Increasing the left margin creates additional spacing on the left side of the chart, which can be useful for accommodating labels, titles, or other surrounding content.

    Examples
    <SfSunburstChart>
        <SunburstChartMargin Left="20" />
    </SfSunburstChart>

    Right

    Gets or sets the right margin of the Sunburst chart.

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

    A double value that specifies the right margin, in pixels. The default value is 10.

    Remarks

    This property determines the amount of space between the right edge of the chart container and the Sunburst chart content.

    Increasing the right margin creates additional spacing on the right side of the chart, which can be useful for accommodating labels, legends, or other surrounding content.

    Examples
    <SfSunburstChart>
        <SunburstChartMargin Right="20" />
    </SfSunburstChart>

    Top

    Gets or sets the top margin of the Sunburst chart.

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

    A double value that specifies the top margin, in pixels. The default value is 10.

    Remarks

    This property determines the amount of space between the top edge of the chart container and the Sunburst chart content.

    Increasing the top margin creates additional spacing above the chart, which can be useful for accommodating titles, subtitles, or other elements displayed above the chart.

    Examples
    <SfSunburstChart>
        <SunburstChartMargin Top="20" />
    </SfSunburstChart>

    Implements

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