Question

6
Replies
369
Views
TianweiZ Member since 2015 5 posts
Accenture
Posted: 4 years ago
Last activity: 4 years 8 months ago
Closed
Solved

Text wrap/text truncation for chart labels

Hi,

Our product is facing an issue with our charts functionality.

The bar charts appear as desired when the vertical axis labels are short. However, once the labels become too long, it starts to push the bar charts to the right, causing it to be smaller than desired.

I would like to know if there is a method to text wrap the vertical axis labels.

For our pie charts, they shrink once the items in the legend exceed a certain number and I would like to know if there is a way to force the legend box to be a fixed height and width such that if there are too many items, the user will need to scroll down.

This is an example of the charts I'm getting. I'm wondering if I can get the bar chart to truncate the labels with "..." earlier, maybe after 10 characters.

As for the pie chart legend, I'm wondering if I can get the legend to only list 5 before making the user scroll.

Image removed.

User Interface
Moderation Team has archived post
Share this page LinkedIn