Blazor

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

    Show / Hide Table of Contents

    Class AccumulationDataLabelSettings

    Datalabels shows the information about the data points in the accumulation chart.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    AccumulationDataLabelSettings
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AccumulationDataLabelSettings : SfBaseComponent

    Constructors

    AccumulationDataLabelSettings()

    Declaration
    public AccumulationDataLabelSettings()

    Properties

    Angle

    Specifies angle for data label.

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

    Border

    Option for customizing the border lines.

    Declaration
    public AccumulationChartDataLabelBorder Border { get; set; }
    Property Value
    Type Description
    AccumulationChartDataLabelBorder

    ChildContent

    Gets and sets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    ConnectorStyle

    Options for customize the connector line in series. This property is applicable for Pie, Funnel and Pyramid series. The default connector length for Pie series is '4%'. For other series, it is null.

    Declaration
    public AccumulationChartConnector ConnectorStyle { get; set; }
    Property Value
    Type Description
    AccumulationChartConnector

    EnableRotation

    Enables rotation for data label.

    Declaration
    public bool EnableRotation { get; set; }
    Property Value
    Type Description
    System.Boolean

    Fill

    The background color of the data label, which accepts value in hex, rgba as a valid CSS color string.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    Font

    Option for customizing the data label text.

    Declaration
    public AccumulationChartDataLabelFont Font { get; set; }
    Property Value
    Type Description
    AccumulationChartDataLabelFont

    Name

    The DataSource field which contains the data label value.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Position

    Specifies the position of data label. They are. Outside - Places label outside the point. Inside - Places label inside the point.

    Declaration
    public AccumulationLabelPosition Position { get; set; }
    Property Value
    Type Description
    AccumulationLabelPosition

    Rx

    The roundedCornerX for the data label. It requires Border values not to be null.

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

    Ry

    The roundedCornerY for the data label. It requires Border values not to be null.

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

    ShowZero

    If set true, datalabels will be visible for zero points.

    Declaration
    public bool ShowZero { get; set; }
    Property Value
    Type Description
    System.Boolean

    Template

    Custom template to format the data label content. Use ${point.x} and ${point.y} as a placeholder text to display the corresponding data point.

    Declaration
    public RenderFragment<AccumulationChartDataPointInfo> Template { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment<AccumulationChartDataPointInfo>

    Visible

    If set true, data label for series gets render.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved