Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery LinearGauge - scale.minorTick

Specifies properties of the gauge's minor ticks.

Type:

Object

Major and minor ticks are calculated automatically based on the scale's startValue and endValue property values. Major ticks are made visible by default. You can make minor tick visible as well, using their visible property. In addition, you can set a custom minor tick interval or add custom minor ticks using the tickInterval and customTickValues properties respectively. You can also specify the length, width and color of the minor ticks using corresponding properties.

View Demo

color

Specifies the color of the scale's minor ticks.

Type:

String

Default Value: '#FFFFFF'

This property supports the following colors:

length

Specifies the length of the scale's minor ticks.

Type:

Number

Default Value: 3

opacity

Specifies the opacity of the scale's minor ticks.

Type:

Number

Default Value: 1

visible

Indicates whether scale minor ticks are visible or not.

Type:

Boolean

Default Value: false

width

Specifies the width of the scale's minor ticks.

Type:

Number

Default Value: 1