DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Charts - Resolved Axis Label Overlapping

In this demo, argument axis labels overlap due to their length.

To specify the overlapping behavior, you can use one of the following label.overlappingBehavior modes:

  • none
    Leaves axis labels overlapped.

  • hide
    Hides certain axis labels and leaves more space for the others.

  • rotate
    Rotates axis labels at the angle specified by the rotationAngle property.

  • stagger
    Arranges axis labels into two staggered rows. Use the staggeringSpacing property to specify an empty space between rows.

To give you the ability to edit code on the fly, the demo uses SystemJS. For this reason, launching the demo takes some time. We strongly recommend that you do not use this approach in real projects.
Backend API

All of the values above can be applied to a horizontal axis, but only none and hide can be specified for a vertical axis.