Interface: AxisLabelsFormatterContextObject

Highcharts. AxisLabelsFormatterContextObject

成员

axis :Highcharts.Axis

The axis item of the label

Type:

chart :Highcharts.Chart

The chart instance.

Type:

isFirst :boolean

Whether the label belongs to the first tick on the axis.

Type:
  • boolean

isLast :boolean

Whether the label belongs to the last tick on the axis.

Type:
  • boolean

pos :number

The position on the axis in terms of axis values. For category axes, a zero-based index. For datetime axes, the JavaScript time in milliseconds since 1970.

Type:
  • number

text :string

The preformatted text as the result of the default formatting. For example dates will be formatted as strings, and numbers with language-specific comma separators, thousands separators and numeric symbols like k or M.

Type:
  • string

tick :Highcharts.Tick

The Tick instance.

Type:

value :number|string

This can be either a numeric value or a category string.

Type:
  • number | string