Class: Tick

Highcharts. Tick

new Tick(axis, pos [, type] [, noLabel] [, parameters])

The Tick class.

Parameters:
Name Type Argument Default Description
axis Highcharts.Axis

The axis of the tick.

pos number

The position of the tick on the axis in terms of axis values.

type string <optional>

The type of tick, either 'minor' or an empty string

noLabel boolean <optional>
false

Whether to disable the label or not. Defaults to false.

parameters Object <optional>

Optional parameters for the tick.

Members

axis :Highcharts.Axis

The related axis of the tick.

Type:

gridLine :Highcharts.SVGElement|undefined

The rendered grid line of the tick.

Type:

<readonly> isFirst :boolean|undefined

True if the tick is the first one on the axis.

Type:
  • boolean | undefined

<readonly> isLast :boolean|undefined

True if the tick is the last one on the axis.

Type:
  • boolean | undefined

label :Highcharts.SVGElement|undefined

The rendered text label of the tick.

Type:

mark :Highcharts.SVGElement|undefined

The rendered mark of the tick.

Type:

pos :number

The logical position of the tick on the axis in terms of axis values.

Type:
  • number

tickmarkOffset :number|undefined

The mark offset of the tick on the axis. Usually undefined, numeric for grid axes.

Type:
  • number | undefined

type :string

The tick type, which can be "minor", or an empty string.

Type:
  • string