Example of undefined in React Chart Component


This example shows multilevel labels in the chart axis. We can add layers of labels to the axis using start and end range values.

More Details...


In this example, you can see how to group axis labels. You can customize text in each level by using alignment, overflow, textSytle and border properties.

Axis labels in each level can be arranged smartly using overflow property.

  • Trim - Trim the label when it intersect.
  • Wrap - Wrap the label when it intersect.
  • None - Shows all the labels.

Border of the axis labels can be customized by using type property.

  • Rectangle
  • Brace
  • WithoutTopBorder
  • WithoutTopandBottomBorder
  • CurlyBrace
  • withoutBorder.

More information on the multi level labels can be found in this documentation section.