Class Chart3DDataLabelSettings
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class Chart3DDataLabelSettings : EJTagHelper
Constructors
Chart3DDataLabelSettings()
Declaration
public Chart3DDataLabelSettings()
Properties
Angle
Specifies angle for data label.
Declaration
public double Angle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Border
Option for customizing the border lines.
Declaration
public Chart3DBorder Border { get; set; }
Property Value
Type | Description |
---|---|
Chart3DBorder | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
EnableRotation
Enables rotation for data label.
Declaration
public bool EnableRotation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
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 | The default value is "transparent" |
Font
Option for customizing the data label text.
Declaration
public Chart3DTextFont Font { get; set; }
Property Value
Type | Description |
---|---|
Chart3DTextFont | The default value is null |
Format
Used to format the point data label that accepts any global string format like 'C', 'n1', 'P' etc. It also accepts placeholder like '{value}°C' in which value represent the point data label, e.g, 20°C.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Margin
Margin configuration for the data label.
Declaration
public Chart3DMargin Margin { get; set; }
Property Value
Type | Description |
---|---|
Chart3DMargin | The default value is null |
Name
The DataSource field that contains the data label value.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Opacity
The opacity for the background.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Position
Specifies the position of the data label. They are, 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.
Declaration
public Chart3DDataLabelPosition Position { get; set; }
Property Value
Type | Description |
---|---|
Chart3DDataLabelPosition | The default value is Chart3DDataLabelPosition.Middle |
Template
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 | The default value is null |
Visible
If set true, data label for series renders.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |