Class LinearGaugeTickBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeTickBuilder
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeTickBuilder : ControlBuilder
Constructors
LinearGaugeTickBuilder()
Declaration
public LinearGaugeTickBuilder()
LinearGaugeTickBuilder(LinearGaugeTick)
Declaration
public LinearGaugeTickBuilder(LinearGaugeTick model)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeTick | model |
Methods
Color(String)
Sets and gets the color for the major or minor tick line. This property accepts value in hex code, rgba string as a valid CSS color string.
Declaration
public LinearGaugeTickBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Height(Double)
Sets and gets the height of the tick line in the axis. The default value is 20 for major ticks and 10 for minor ticks.
Declaration
public LinearGaugeTickBuilder Height(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Interval(Double)
Sets and gets the gap between the ticks in the axis.
Declaration
public LinearGaugeTickBuilder Interval(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Offset(Double)
Sets and gets the offset value from where the ticks must be placed from the axis in linear gauge.
Declaration
public LinearGaugeTickBuilder Offset(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Position(Position)
Sets and gets the value to place the ticks in the axis.
Declaration
public LinearGaugeTickBuilder Position(Position value)
Parameters
Type | Name | Description |
---|---|---|
Position | value |
Returns
Width(Double)
Sets and gets the width of the tick line in the axis. The default value is 2 for major ticks and 1 for minor ticks.
Declaration
public LinearGaugeTickBuilder Width(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |