Search results

LabelModel

Interface for a class Label

Properties

autoAngle

boolean

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

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.

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.

offset

number

Distance of the labels from axis in pixel.

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.

useRangeColor

boolean

If set true, labels takes the range color.