RadChart provides automatic text wrapping. Just set
AutoTextWrap property
to
true and RadChart will wrap the text for the following items:
- Chart Title
- Chart Legend Item Labels
- Axis Item Labels
- Axis Labels
- MarkedZone Labels
- EmptySeriesMessage Label
- DataTable text elements
In addition, you can contorl all these individually -- set AutoTextWrap
to true , but disable some of the items and vice-versa. In the
above example RadChart calculates the available space for the X axis item labels
(the vertical axis labels) and does not wrap the text as there is no room for two-line
labels. The chart elements are resized accordingly thanks to the automatic layout
functionality.
You can
find more details about automatic text-wrapping in Radchart in
this help article.