Class SparklineSparklineDataLabelSettings
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
SparklineSparklineDataLabelSettings
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class SparklineSparklineDataLabelSettings : EJTagHelper
Constructors
SparklineSparklineDataLabelSettings()
Declaration
public SparklineSparklineDataLabelSettings()
Properties
Border
To configure Sparkline dataLabel border color and width.
Declaration
public SparklineSparklineBorder Border { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineBorder | 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> |
EdgeLabelMode
To change the edge dataLabel placement.
Declaration
public EdgeLabelMode EdgeLabelMode { get; set; }
Property Value
Type | Description |
---|---|
EdgeLabelMode | The default value is EdgeLabelMode.None |
Fill
To configure the dataLabel fill color.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "transparent" |
Format
To configure the dataLabel format the value.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Offset
To configure Sparkline dataLabel offset.
Declaration
public SparklineLabelOffset Offset { get; set; }
Property Value
Type | Description |
---|---|
SparklineLabelOffset | The default value is null |
Opacity
To configure the dataLabel opacity.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
TextStyle
To configure Sparkline dataLabel text styles.
Declaration
public SparklineSparklineFont TextStyle { get; set; }
Property Value
Type | Description |
---|---|
SparklineSparklineFont | The default value is null |
Visible
To toggle the dataLabel visibility.
Declaration
public object Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |