Class Ranges
Class for ranges.
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class Ranges : EJTagHelper
Constructors
Ranges()
Declaration
public Ranges()
Properties
Border
Gets or sets the Border.
Declaration
[JsonProperty("border")]
public LinearBorder Border { get; set; }
Property Value
Type | Description |
---|---|
LinearBorder | Specifies the border. |
DistanceFromScale
Gets or sets the DistanceFromScale.
Declaration
[JsonProperty("distanceFromScale")]
public double DistanceFromScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the distanceFromScale in the ranges. |
EndValue
Gets or sets the EndValue.
Declaration
[JsonProperty("endValue")]
public double EndValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the end value. |
EndWidth
Gets or sets the EndWidth.
Declaration
[JsonProperty("endWidth")]
public double EndWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the endWidth in the ranges. |
GradientCollection
Gets or sets the GradientCollection.
Declaration
public virtual List<RangeGradient> GradientCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<RangeGradient> | Gradient is a collection by which we can set gradient effects to the ranges. |
Gradients
Gets or sets the Gradients.
Declaration
[JsonProperty("gradients")]
public List<RangeGradient> Gradients { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<RangeGradient> | Gradient is a collection by which we can set gradient effects to the ranges. |
Placement
Gets or sets the Placement.
Declaration
[JsonProperty("placement")]
[JsonConverter(typeof(StringEnumConverter))]
public RangePlacement Placement { get; set; }
Property Value
Type | Description |
---|---|
RangePlacement | Specifies the range Position in the ranges. |
RangeBackgroundColor
Gets or sets the backgroundColor.
Declaration
[JsonProperty("backgroundColor")]
public string RangeBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the backgroundColor in the ranges. |
RangeOpacity
Gets or sets the Opacity.
Declaration
[JsonProperty("opacity")]
public double RangeOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the range opacity. |
StartValue
Gets or sets the StartValue.
Declaration
[JsonProperty("startValue")]
public double StartValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the start value. |
StartWidth
Gets or sets the StartWidth.
Declaration
[JsonProperty("startWidth")]
public double StartWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the startWidth in the ranges. |
Methods
ShouldSerializeBorder()
Shoulds the serialize border.
Declaration
public bool ShouldSerializeBorder()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeGradient()
Shoulds the serialize gradient.
Declaration
public bool ShouldSerializeGradient()
Returns
Type | Description |
---|---|
System.Boolean |