Blazor

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

    Show / Hide Table of Contents

    Class ChartDataLabel

    Options to customize the datalabel for the series.

    Inheritance
    System.Object
    ChartSubComponent
    ChartDataLabel
    Inherited Members
    ChartSubComponent.PopSubcomponent()
    ChartSubComponent.PushSubcomponent()
    ChartSubComponent.Dispose(Boolean)
    ChartSubComponent.BuildRenderTree(RenderTreeBuilder)
    ChartSubComponent.ChildContent
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChartDataLabel : ChartSubComponent, IChartElement, ISubcomponentTracker

    Constructors

    ChartDataLabel()

    Declaration
    public ChartDataLabel()

    Properties

    Alignment

    Specifies the alignment for the datalabels.

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

    Angle

    Specifies the angle at which label rotation takes place.

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

    Border

    Options to customize the border of the datalabel.

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

    EnableRotation

    Enable the rotation of datalabel.

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

    Fill

    Specifies the fill color of the datalabel.

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

    Font

    Options to customize the text style of the datalabel.

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

    LabelIntersectAction

    Specifies the label intersect action for the datalabel.

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

    Margin

    Options to customize the margin for the datalabel.

    Declaration
    public ChartDataLabelMargin Margin { get; set; }
    Property Value
    Type Description
    ChartDataLabelMargin

    Name

    Specifies the datalabel mapping name for the series.

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

    Opacity

    Defines the opacity of the datalabel.

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

    Position

    Specifies the label position of the datalabel.

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

    RendererType

    Declaration
    public Type RendererType { get; set; }
    Property Value
    Type Description
    System.Type

    Rx

    Width of rounded corner in horizontal orientation.

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

    Ry

    Width of rounded corner in vertical orientation.

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

    Template

    Specifies the custom HTML element in place of datalabel.

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

    Visible

    Enables the visiblity of datalabel.

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

    Methods

    OnInitialized()

    Declaration
    protected override void OnInitialized()

    OnParametersSet()

    Declaration
    protected override void OnParametersSet()
    Overrides
    ChartSubComponent.OnParametersSet()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved