Class CustomLabel
Class for custom label.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class CustomLabel : EJTagHelper
Constructors
CustomLabel()
Declaration
public CustomLabel()
Properties
Color
Gets or sets the Color.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the value for color. |
CustomLabelopacity
Gets or sets the CustomLabelOpacity.
Declaration
[JsonProperty("opacity")]
[Obsolete("CustomLabelopacity is deprecated, please use CustomLabelOpacity instead.")]
public double CustomLabelopacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the custom label opacity. |
CustomLabelOpacity
Declaration
[JsonProperty("opacity")]
public double CustomLabelOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
CustomLabelPositionType
Gets or sets CustomLabelPositionType.
Declaration
[JsonProperty("positionType")]
[JsonConverter(typeof(StringEnumConverter))]
public CustomLabelPositionType CustomLabelPositionType { get; set; }
Property Value
Type | Description |
---|---|
CustomLabelPositionType | Specifies the type of the custom label position. |
Font
Gets or sets the Font.
Declaration
[JsonProperty("font")]
public Font Font { get; set; }
Property Value
Type | Description |
---|---|
Font | Specifies the value for font. |
Position
Gets or sets the Position.
Declaration
[JsonProperty("position")]
public LinearPosition Position { get; set; }
Property Value
Type | Description |
---|---|
LinearPosition | Specifies the position of the custom labels. |
TextAngle
Gets or sets the TextAngle.
Declaration
[JsonProperty("textAngle")]
public int TextAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Specifies the value for text angle. |
Value
Gets or sets the Value.
Declaration
[JsonProperty("value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value. |
Methods
ShouldSerializeFont()
Shoulds the serialize font.
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializePosition()
Shoulds the serialize position.
Declaration
public bool ShouldSerializePosition()
Returns
Type | Description |
---|---|
System.Boolean |