LabelBorder

23 Sep 20251 minute to read

The LabelBorder class provides options to customize the border settings for chart labels.

Properties

color string

The color of the border, which accepts values in hex and rgba as valid CSS color strings.

Defaults to ’’

type BorderType

Specifies the border type for the labels.
The available types include:

  • Rectangle
  • Without Top Border
  • Without Top and Bottom Border
  • Without Border
  • Brace
  • Curly Brace

Defaults to ‘Rectangle’

width number

The width property specifies the thickness of the border in pixels.

Defaults to 1