Blazor

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

    Show / Hide Table of Contents

    Class StockChartDataLabel

    To specify customization options for stockchart series datalabel.

    Inheritance
    System.Object
    StockChartDataLabel
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartDataLabel : OwningComponentBase

    Constructors

    StockChartDataLabel()

    Declaration
    public StockChartDataLabel()

    Properties

    Alignment

    Specifies the alignment for data Label. They are, Near: Aligns the label to the left of the point. Center: Aligns the label to the center of the point. Far: Aligns the label to the right of the point.

    Declaration
    public Alignment Alignment { get; set; }
    Property Value
    Type Description
    Alignment

    Angle

    Specifies angle for data label.

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

    ChildContent

    Gets and sets the content of the UI element.

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

    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 accepts value in hex and rgba as a valid CSS color string.

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

    LabelIntersectAction

    Show Datalabel Even two Data Labels Are Overflow.

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

    Name

    The DataSource field that contains the data label value.

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

    Opacity

    The opacity for the background.

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

    Position

    Specifies the position of the data label. They are, Outer: Positions the label outside the point. top: Positions the label on top of the point. Bottom: Positions the label at the bottom of the point. Middle: Positions the label to the middle of the point. Auto: Positions the label based on series.

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

    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

    Visible

    If set true, data label for series renders.

    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

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

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