Search results

Tick API in JavaScript (ES5) Linear Gauge API control

Sets and gets the options for customizing the minor tick lines in axis.

Properties

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.

Defaults to null

height

number

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.

interval

number

Sets and gets the gap between the ticks in the axis.

Defaults to null

offset

number

Sets and gets the offset value from where the ticks must be placed from the axis in linear gauge.

Defaults to null

position

Position

Sets and gets the value to place the ticks in the axis.

Defaults to Auto

width

number

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.

Defaults to 2