Class Scales
Class for scales.
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class Scales : EJTagHelper
Constructors
Scales()
Declaration
public Scales()
Properties
BackgroundColor
Gets or sets the BackgroundColor.
Declaration
[JsonProperty("backgroundColor")]
public string BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the color of the background. |
BarPointerCollection
Gets or sets the BarPointerCollection.
Declaration
public virtual List<BarPointers> BarPointerCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BarPointers> | Specifies the scaleBar Gradient of bar pointer. |
BarPointers
Gets or sets the BarPointers.
Declaration
[JsonProperty("barPointers")]
public List<BarPointers> BarPointers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BarPointers> | Specifies the scaleBar Gradient of bar pointer. |
Border
Gets or sets the Border.
Declaration
[JsonProperty("border")]
public LinearBorder Border { get; set; }
Property Value
Type | Description |
---|---|
LinearBorder | Specifies the border. |
CustomLabelCollection
Gets or sets the CustomLabelCollection.
Declaration
public virtual List<CustomLabel> CustomLabelCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CustomLabel> | Specifies the CustomLabels. |
CustomLabels
Gets or sets the CustomLabels.
Declaration
[JsonProperty("customLabels")]
public List<CustomLabel> CustomLabels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CustomLabel> | Specifies the customLabels. |
Direction
Gets or sets the Direction.
Declaration
[JsonProperty("direction")]
[JsonConverter(typeof(StringEnumConverter))]
public Directions Direction { get; set; }
Property Value
Type | Description |
---|---|
Directions | Specifies the scale Direction of the Scale. |
IndicatorCollection
Gets or sets the IndicatorCollection.
Declaration
public virtual List<Indicators> IndicatorCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Indicators> | Specifies the indicator. |
Indicators
Gets or sets the Indicators.
Declaration
[JsonProperty("indicators")]
public List<Indicators> Indicators { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Indicators> | Specifies the indicator. |
LabelCollection
Gets or sets the LabelCollection.
Declaration
public virtual List<Labels> LabelCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Labels> | Specifies the labels. |
Labels
Gets or sets the Labels.
Declaration
[JsonProperty("labels")]
public List<Labels> Labels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Labels> | Specifies the labels. |
Length
Gets or sets the Length.
Declaration
[JsonProperty("length")]
public double Length { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the length. |
MajorIntervalValue
Gets or sets the MajorIntervalValue.
Declaration
[JsonProperty("majorIntervalValue")]
public double MajorIntervalValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the major interval value. |
MarkerPointerCollection
Gets or sets the MarkerPointerCollection.
Declaration
public virtual List<MarkerPointers> MarkerPointerCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MarkerPointers> | Marker pointer is a collection by which we can set pointer value in the gauge. |
MarkerPointers
Gets or sets the MarkerPointers.
Declaration
[JsonProperty("markerPointers")]
public List<MarkerPointers> MarkerPointers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MarkerPointers> | Marker pointer is a collection by which we can set pointer value in the gauge. |
Maximum
Gets or sets the Maximum.
Declaration
[JsonProperty("maximum")]
public double Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the maximum value. |
Minimum
Gets or sets the Minimum.
Declaration
[JsonProperty("minimum")]
public double Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the minimum value. |
MinorIntervalValue
Gets or sets the MinorIntervalValue.
Declaration
[JsonProperty("minorIntervalValue")]
public double MinorIntervalValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the minor interval value. |
Position
Gets or sets the position.
Declaration
[JsonProperty("position")]
public LinearPosition Position { get; set; }
Property Value
Type | Description |
---|---|
LinearPosition | Specifies the position. |
RangeCollection
Gets or sets the RangeCollection.
Declaration
public virtual List<Ranges> RangeCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Ranges> | Linear Ranges is a collection by which we can customize the Ranges. |
Ranges
Gets or sets the Ranges.
Declaration
[JsonProperty("ranges")]
public List<Ranges> Ranges { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Ranges> | Linear Ranges is a collection by which we can customize the Ranges. |
ScaleOpacity
Gets or sets the Opacity.
Declaration
[JsonProperty("opacity")]
public double ScaleOpacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the scale opacity. |
ShadowOffset
Gets or sets the ShadowOffset.
Declaration
[JsonProperty("shadowOffset")]
public double ShadowOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the shadow offset. |
ShowBarPointers
Gets or sets the ShowBarPointers.
Declaration
[JsonProperty("showBarPointers")]
public bool ShowBarPointers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the bar pointers. |
ShowCustomLabels
Gets or sets value for ShowCustomLabels.
Declaration
[JsonProperty("showCustomLabels")]
public bool ShowCustomLabels { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the custom labels. |
ShowIndicators
Gets or sets the ShowIndicators.
Declaration
[JsonProperty("showIndicators")]
public bool ShowIndicators { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the indicators. |
ShowLabels
Gets or sets the value for ShowLabels.
Declaration
[JsonProperty("showLabels")]
public bool ShowLabels { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the labels. |
ShowMarkerPointers
Gets or sets the ShowMarkerPointers.
Declaration
[JsonProperty("showMarkerPointers")]
public bool ShowMarkerPointers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the marker pointers. |
ShowRanges
Gets or sets the ShowRanges.
Declaration
[JsonProperty("showRanges")]
public bool ShowRanges { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the ranges. |
ShowTicks
Gets or sets the ShowTicks.
Declaration
[JsonProperty("showTicks")]
public bool ShowTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Show/hide the ticks. |
TickCollection
Gets or sets the TickCollection.
Declaration
public virtual List<LinearTicks> TickCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<LinearTicks> | Specifies the ticks in the scale. |
Ticks
Gets or sets the Ticks.
Declaration
[JsonProperty("ticks")]
public List<LinearTicks> Ticks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<LinearTicks> | Specifies the ticks in the scale. |
Type
Gets or sets the Type.
Declaration
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
public ScaleType Type { get; set; }
Property Value
Type | Description |
---|---|
ScaleType | Specifies the type. |
Width
Gets or sets the Width.
Declaration
[JsonProperty("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Specifies the width. |
Methods
ShouldSerializeBarPointers()
Shoulds the serialize bar pointers.
Declaration
public bool ShouldSerializeBarPointers()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeBorder()
Shoulds the serialize border.
Declaration
public bool ShouldSerializeBorder()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeCustomLabel()
Shoulds the serialize custom label.
Declaration
public bool ShouldSerializeCustomLabel()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeIndicators()
Shoulds the serialize indicators.
Declaration
public bool ShouldSerializeIndicators()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeLabels()
Shoulds the serialize labels.
Declaration
public bool ShouldSerializeLabels()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeMarkerPointers()
Shoulds the serialize marker pointers.
Declaration
public bool ShouldSerializeMarkerPointers()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializePosition()
Shoulds the serialize position.
Declaration
public bool ShouldSerializePosition()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeRanges()
Shoulds the serialize ranges.
Declaration
public bool ShouldSerializeRanges()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeTicks()
Shoulds the serialize ticks.
Declaration
public bool ShouldSerializeTicks()
Returns
Type | Description |
---|---|
System.Boolean |