MultiLevelCategories

23 Sep 20251 minute to read

The MultiLevelCategories class allows defining and customizing the categories used in multi-level labels.
This is particularly useful when there is a need to display hierarchical or grouped data labels on the chart axis.

Properties

customAttributes object

Allows adding custom data for multi-level labels.

Defaults to null

end number|Date|string

Specifies the end value for the multi-level labels.

Defaults to null

maximumTextWidth number

Specifies the maximum width of the text for multi-level labels.

Defaults to null

start number|Date|string

Specifies the starting value for the multi-level labels.

Defaults to null

text string

Specifies the text to be displayed for the multi-level labels.

Defaults to ’’

type BorderType

Specifies the type of border for labels.
Available border types:

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

Defaults to ‘Rectangle’