Class: Tick

Highcharts. Tick

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

The Tick class.

参数:
名字 类型 特质 默认值 详情
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 <可选>

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

noLabel boolean <可选>
false

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

parameters object <可选>

Optional parameters for the tick.

成员

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