Search results

Label

Configures the axis label.

Properties

autoAngle

boolean

if set true, the labels will get rotated along the axis.

Defaults to false

font

FontModel

The font of the axis labels

format

string

To format the axis label, which accepts any global string format like ‘C’, ‘n1’, ‘P’ etc. Also accepts placeholder like ‘{value}°C’ in which value represent the axis label e.g. 20°C.

Defaults to

hiddenLabel

string

Specifies the label of an axis, which must get hide when an axis makes a complete circle. They are

  • first - Hides the 1st label on intersect.
  • last - Hides the last label on intersect.
  • none - Places both the labels.

Defaults to None

offset

number

Distance of the labels from axis in pixel.

Defaults to 0

position

string

Specifies the position of the labels. They are,

  • inside - Places the labels inside the axis.
  • outside - Places the labels outside of the axis.

Defaults to Inside

useRangeColor

boolean

If set true, labels takes the range color.

Defaults to false