Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Word wrap in the Charting widgets #7184
Long texts in textual elements (widget title, axis titles, point labels) are truncated with an ellipsis.
The Proposed Solution
We plan to implement word wrap for the following elements:
Word wrap will be enabled for these elements unless you turn it off via a new
wordWrap: 'normal' | 'break-word' | 'none'
overflow: 'ellipsis' | 'clip' | 'hide' | 'none'
If the legend is at a side of the chart and displays long texts without word wrap, it can occupy almost the entire container width and leave no room for the series and other chart elements.
We will add the
Axis Titles and Labels
You will be able to align axis titles via the
Axis labels will be wrapped automatically to fit in between two side-by-side ticks. If they still cannot fit,
Point Labels in the PieChart
Point labels in the PieChart will also have the
Tile Labels in the TreeMap
The TreeMap already has an option (
Tile labels in the TreeMap will have the
We Need Your Feedback
Take a Quick Poll