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

JavaScript/jQuery CircularGauge - scale.tick

Specifies properties 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 property 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