Posted: 6 Nov 2015 4:49 EST Last activity: 21 Jun 2017 13:18 EDT
Chart size issues caused by labels and legend
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 what we are facing:
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.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
We have also sent you a private message opening up a communication channel in case you have any further questions.