Class Labels
Class for labels
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 Labels : EJTagHelper
Constructors
Labels()
Declaration
public Labels()
Properties
Angle
Gets or sets the Angle.
Declaration
[JsonProperty("angle")]
public int Angle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Specifies the angle of labels. |
DistanceFromScale
Gets or sets the DistanceFromScale.
Declaration
[JsonProperty("distanceFromScale")]
public DistanceFromScale DistanceFromScale { get; set; }
Property Value
Type | Description |
---|---|
DistanceFromScale | Specifies the DistanceFromScale of labels. |
Font
Gets or sets the Font.
Declaration
[JsonProperty("font")]
public Font Font { get; set; }
Property Value
Type | Description |
---|---|
Font | Specifies the font. |
IncludeFirstValue
Gets or sets the IncludeFirstValue.
Declaration
[JsonProperty("includeFirstValue")]
public bool IncludeFirstValue { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | need to includeFirstValue. |
Opacity
Gets or sets the Opacity.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the opacity. |
Placement
Gets or sets the Placement.
Declaration
[JsonProperty("placement")]
[JsonConverter(typeof(StringEnumConverter))]
public LabelPlacement Placement { get; set; }
Property Value
Type | Description |
---|---|
LabelPlacement | Specifies the label Placement of label. |
TextColor
Gets or sets the TextColor.
Declaration
[JsonProperty("textColor")]
public string TextColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the color of the text. |
Type
Gets or sets the Type.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("type")]
public LabelType Type { get; set; }
Property Value
Type | Description |
---|---|
LabelType | Specifies the label Style of label. |
UnitText
Gets or sets the UnitText.
Declaration
[JsonProperty("unitText")]
public string UnitText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the unit text. |
UnitTextPlacement
Gets or sets the UnitTextPlacement.
Declaration
[JsonProperty("unitTextPlacement")]
[JsonConverter(typeof(StringEnumConverter))]
public UnitTextPlacement UnitTextPlacement { get; set; }
Property Value
Type | Description |
---|---|
UnitTextPlacement | Specifies the unitText Position of label. |
Methods
ShouldSerializeDistanceFromScale()
Shoulds the serialize distance from scale.
Declaration
public bool ShouldSerializeDistanceFromScale()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeFont()
Shoulds the serialize font.
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean |