alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class StockChartDataLabel

    To specify customization options for stock chart series data label.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    StockChartDataLabel
    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.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()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartDataLabel : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    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
    [Parameter]
    public Alignment Alignment { get; set; }
    Property Value
    Type
    Alignment

    Angle

    Specifies angle for data label.

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

    EnableRotation

    Enables rotation for data label.

    Declaration
    [Parameter]
    public bool EnableRotation { get; set; }
    Property Value
    Type
    bool

    Fill

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

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

    LabelIntersectAction

    Show Datalabel Even two Data Labels Are Overflow.

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

    Name

    The DataSource field that contains the data label value.

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

    Opacity

    The opacity for the background.

    Declaration
    [Parameter]
    public double Opacity { get; set; }
    Property Value
    Type
    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
    [Parameter]
    public LabelPosition Position { get; set; }
    Property Value
    Type
    LabelPosition

    Rx

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

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

    Ry

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

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

    Visible

    If set true, data label for series renders.

    Declaration
    [Parameter]
    public bool Visible { get; set; }
    Property Value
    Type
    bool

    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