BiAbstractGauge2Ticks
This class is the base class of all ticks classes
This class extends BiGauge2Component and therefore all methods and fields available for BiGauge2Component are also available for BiAbstractGauge2Ticks .
Constructor
new BiAbstractGauge2Ticks ( )
Parameters
No parameters.
Properties
| Name | Type | Descripton |
color | Number |  |  | The color of the ticks |
colorFunction | Function |  |  | Function used to set color on the ticks. The value passed to this is the index of th tick. The function should be on the form: String function(n) If a string is set it will be interpreted as the function body. The function will be passed the value v. |
colors | Array |  |  | Array specifying what colors to use for the ticks. The array is on the form: ['black',3, 'blue',2, 'white', 3 ...] First the color to use then the number of labels to use it on. A comma separated string can be set instead of an array, the string will then be parsed to an array. If both colors and colorFunction has been set colors takes precedence. |
tickCount | Number |  |  | Number of ticks |
tickLength | Number |  |  | The length of each tick. |
tickWidth | Number |  |  | The width of each tick. |
Methods
None.
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
None.