Class LinearGaugeTickBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeTickBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.AspNetMvc.LinearGauge.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
| Type |
|---|
| LinearGaugeTickBuilder |
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
| Type |
|---|
| LinearGaugeTickBuilder |
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
| Type |
|---|
| LinearGaugeTickBuilder |
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
| Type |
|---|
| LinearGaugeTickBuilder |
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
| Type |
|---|
| LinearGaugeTickBuilder |
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 |
Returns
| Type |
|---|
| LinearGaugeTickBuilder |