All docs
V19.1
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery LinearGauge - scale.tick

Specifies options of the gauge's major ticks.

Type:

Object

Major ticks are calculated automatically based on the scale's startValue and endValue property values. They are visible by default. You can set a custom major tick interval or a custom major ticks set using the tickInterval and customTicks properties respectively. To specify the visibility of major ticks, use the visible property. You can also specify the length, width and color of the major ticks using corresponding properties.

color

Specifies the color of the scale's major ticks.

Type:

String

Default Value: '#FFFFFF'

This option supports the following colors:

length

Specifies the length of the scale's major ticks.

Type:

Number

Default Value: 5

opacity

Specifies the opacity of the scale's major ticks.

Type:

Number

Default Value: 1

visible

Indicates whether scale major ticks are visible or not.

Type:

Boolean

Default Value: true

width

Specifies the width of the scale's major ticks.

Type:

Number

Default Value: 2