Class LinearGaugeRangeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeRangeBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeRangeBuilder : ControlBuilder
Constructors
LinearGaugeRangeBuilder()
Declaration
public LinearGaugeRangeBuilder()
LinearGaugeRangeBuilder(List<LinearGaugeRange>)
Declaration
public LinearGaugeRangeBuilder(List<LinearGaugeRange> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<LinearGaugeRange> |
collection |
|
Methods
Add()
Declaration
Border(LinearGaugeBorder)
Sets and gets the options to customize the style properties of the border for the axis range.
Declaration
public LinearGaugeRangeBuilder Border(LinearGaugeBorder border)
Parameters
Returns
Border(Action<LinearGaugeBorderBuilder>)
Declaration
public LinearGaugeRangeBuilder Border(Action<LinearGaugeBorderBuilder> border)
Parameters
Returns
Color(String)
Sets and gets the color of the axis range.
Declaration
public LinearGaugeRangeBuilder Color(string color)
Parameters
Type |
Name |
Description |
System.String |
color |
|
Returns
End(Double)
Sets and gets the end value for the range in axis.
Declaration
public LinearGaugeRangeBuilder End(double end)
Parameters
Type |
Name |
Description |
System.Double |
end |
|
Returns
EndWidth(Double)
Sets and gets the width for the end of the range in axis.
Declaration
public LinearGaugeRangeBuilder EndWidth(double endWidth)
Parameters
Type |
Name |
Description |
System.Double |
endWidth |
|
Returns
LinearGradient(LinearGaugeLinearGradient)
Sets and gets the properties to render a linear gradient for the range.
If both linear and radial gradient is set, then the linear gradient will be rendered in the range.
Declaration
public LinearGaugeRangeBuilder LinearGradient(LinearGaugeLinearGradient linearGradient)
Parameters
Returns
LinearGradient(Action<LinearGaugeLinearGradientBuilder>)
Declaration
public LinearGaugeRangeBuilder LinearGradient(Action<LinearGaugeLinearGradientBuilder> linearGradient)
Parameters
Returns
Offset(Double)
Sets and gets the offset value from where the range must be placed from the axis in linear gauge.
Declaration
public LinearGaugeRangeBuilder Offset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
Returns
Offset(String)
Sets and gets the offset value from where the range must be placed from the axis in linear gauge.
Declaration
public LinearGaugeRangeBuilder Offset(string offset)
Parameters
Type |
Name |
Description |
System.String |
offset |
|
Returns
Position(Position)
Sets and gets the position to place the ranges in the axis.
Declaration
public LinearGaugeRangeBuilder Position(Position position)
Parameters
Returns
RadialGradient(LinearGaugeRadialGradient)
Sets and gets the properties to render a radial gradient for the range.
Declaration
public LinearGaugeRangeBuilder RadialGradient(LinearGaugeRadialGradient radialGradient)
Parameters
Returns
RadialGradient(Action<LinearGaugeRadialGradientBuilder>)
Declaration
public LinearGaugeRangeBuilder RadialGradient(Action<LinearGaugeRadialGradientBuilder> radialGradient)
Parameters
Returns
Start(Double)
Sets and gets the start value for the range in axis.
Declaration
public LinearGaugeRangeBuilder Start(double start)
Parameters
Type |
Name |
Description |
System.Double |
start |
|
Returns
StartWidth(Double)
Sets and gets the width for the start of the range in axis.
Declaration
public LinearGaugeRangeBuilder StartWidth(double startWidth)
Parameters
Type |
Name |
Description |
System.Double |
startWidth |
|
Returns