Search results

MultiLevelLabels API in React Chart API component

The MultiLevelLabels class is used to customize the appearance and behavior of multi-level labels in charts.

Properties

alignment

Alignment

Defines the position of the multi-level labels. The available options are:

  • Near: Places the multi-level labels close to the chart elements.
  • Center: Positions the multi-level labels in the center of the chart elements.
  • Far: Places the multi-level labels further from the chart elements.

Defaults to ‘Center’

border

LabelBorderModel

The border property allows customization of the border for multi-level labels. It includes options to set the color, width, and type of the border.

categories

MultiLevelCategoriesModel[]

Configures multi-level categories for multi-level labels.

overflow

TextOverflow

Defines the text overflow behavior for multi-level labels. The available options are:

  • Trim: Trims the text that overflows for multi-level labels.
  • Wrap: Wraps the text that overflows for multi-level labels.
  • None: No text overflow handling for multi-level labels.

Defaults to ‘Wrap’

textStyle

FontModel

Options to customize the multi-level labels.