Jump to content
JChartFX Community
  • 0

Fixed Scaling


kevinjohanvandort
 Share

Question

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");'

 

post-46833-0-20621000-1415284414_thumb.jpg

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...