Blazor

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

    Show / Hide Table of Contents

    Class DataLabelSettingsModel

    Interface for a class DataLabelSettings

    Inheritance
    System.Object
    DataLabelSettingsModel
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DataLabelSettingsModel : Object

    Constructors

    DataLabelSettingsModel()

    Declaration
    public DataLabelSettingsModel()

    Properties

    Alignment

    Allows to set 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 object Alignment { get; set; }
    Property Value
    Type Description
    System.Object

    Angle

    Allows to specify the rotation angle to data label.

    Declaration
    public int Angle { get; set; }
    Property Value
    Type Description
    System.Int32

    Border

    Allows option for customizing the border lines.

    Declaration
    public object Border { get; set; }
    Property Value
    Type Description
    System.Object

    EnableRotation

    Allows to set whether rotation to data label is enable or not.

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

    Fill

    Allows to set 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

    Font

    Allows option for customizing the data label text.

    Declaration
    public object Font { get; set; }
    Property Value
    Type Description
    System.Object

    Margin

    Allows customize the margin to the data label.

    Declaration
    public object Margin { get; set; }
    Property Value
    Type Description
    System.Object

    Name

    Allows to set the data source field that contains the data label value.

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

    Opacity

    Allows to set the opacity to the background.

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

    Position

    Allows to specify 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

    Allows to set the roundedCornerX for the data label. It requires border values not to be null.

    Declaration
    public int Rx { get; set; }
    Property Value
    Type Description
    System.Int32

    Ry

    Allows to set the roundedCornerY for the data label. It requires border values not to be null.

    Declaration
    public int Ry { get; set; }
    Property Value
    Type Description
    System.Int32

    Template

    Allows custom template to show the data label. Use ${point.x} and ${point.y} as a placeholder text to display the corresponding data point.

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

    Visible

    Allows to set the visibility of data label to the series renders.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved