1. Is there a way to make a label on the X axis with a max width and eventually break the word when needed? As you can see in the attachment and we want to break the sentence 'Assessors Profile'.
2. It seems that the X axis scales by data and some of our label information is disappearing, see attachment. We have used this method on the chart to set the max to 100 => tooltip_chart.getAxisX().setMax(100); We are using the method 'tooltip_chart.getAxisY().getLabels().setItem(0, "Lower levels");', 'tooltip_chart.getAxisY().getLabels().setItem(1, "Moderate levels");' and 'tooltip_chart.getAxisY().getLabels().setItem(2, "Higher levels");'
Fixed Scaling
in Styling and Aesthetics
Posted
1. Is there a way to make a label on the X axis with a max width and eventually break the word when needed? As you can see in the attachment and we want to break the sentence 'Assessors Profile'.
2. It seems that the X axis scales by data and some of our label information is disappearing, see attachment. We have used this method on the chart to set the max to 100 => tooltip_chart.getAxisX().setMax(100);
We are using the method 'tooltip_chart.getAxisY().getLabels().setItem(0, "Lower levels");', 'tooltip_chart.getAxisY().getLabels().setItem(1, "Moderate levels");' and 'tooltip_chart.getAxisY().getLabels().setItem(2, "Higher levels");'