Class RangesBuilder
Class for range builder.
Inheritance
System.Object
RangesBuilder
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
Assembly: Syncfusion.EJ.dll
Syntax
public class RangesBuilder
Constructors
RangesBuilder(Scales)
Initializes a new instance of the RangesBuilder class to indicate the scale range.
Declaration
public RangesBuilder(Scales ranges)
Parameters
Type | Name | Description |
---|---|---|
Scales | ranges | The ranges. |
Methods
Add()
Adds this instance.
Declaration
public void Add()
Border(Action<LinearBorderBuilder>)
Borders the specified border.
Declaration
public RangesBuilder Border(Action<LinearBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearBorderBuilder> | border | The border. |
Returns
Type | Description |
---|---|
RangesBuilder |
DistanceFromScale(Double)
Distances from scale.
Declaration
public RangesBuilder DistanceFromScale(double distanceFromScale)
Parameters
Type | Name | Description |
---|---|---|
System.Double | distanceFromScale | The distance from scale. |
Returns
Type | Description |
---|---|
RangesBuilder |
EndValue(Double)
Ends the value.
Declaration
public RangesBuilder EndValue(double endValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | endValue | The end value. |
Returns
Type | Description |
---|---|
RangesBuilder |
EndWidth(Double)
Ends the width.
Declaration
public RangesBuilder EndWidth(double endWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | endWidth | The end width. |
Returns
Type | Description |
---|---|
RangesBuilder |
Gradients(Action<RangeGradientBuilder>)
Gradientses the specified gradient.
Declaration
public RangesBuilder Gradients(Action<RangeGradientBuilder> gradient)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RangeGradientBuilder> | gradient | The gradient. |
Returns
Type | Description |
---|---|
RangesBuilder |
Placement(RangePlacement)
Placements the specified placement.
Declaration
public RangesBuilder Placement(RangePlacement placement)
Parameters
Type | Name | Description |
---|---|---|
RangePlacement | placement | The placement. |
Returns
Type | Description |
---|---|
RangesBuilder |
RangeBackgroundColor(String)
Ranges the color of the background.
Declaration
public RangesBuilder RangeBackgroundColor(string backgroundColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | backgroundColor | Color of the background. |
Returns
Type | Description |
---|---|
RangesBuilder |
RangeOpacity(Double)
Ranges the opacity.
Declaration
public RangesBuilder RangeOpacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity | The opacity. |
Returns
Type | Description |
---|---|
RangesBuilder |
StartValue(Double)
Starts the value.
Declaration
public RangesBuilder StartValue(double startValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startValue | The start value. |
Returns
Type | Description |
---|---|
RangesBuilder |
StartWidth(Double)
Starts the width.
Declaration
public RangesBuilder StartWidth(double startWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startWidth | The start width. |
Returns
Type | Description |
---|---|
RangesBuilder |