Jump to content
Changes to the Jaspersoft community edition download ×

Chart X-axis element name printing problem


alauddinctgbd

Recommended Posts

hi,

I am facing Bar chart X-axis element name printing problem. They are printed horizontally.

While i need to print them cris-cross like following.

size=279]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/chart_one-3c984ab2f38384aaa8fc6acf838d2683.jpg

 

is there any control in iReport 1.3.0

Any help appriciated.

 

Alauddin

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Under Chart Properties you can set the Label Rotation in degrees. Values between 0 and 90 return good results.

 

 

Please note that the label text is anchored to the leftmost character, so the rotation will be in the opposite direction to that shown in your example.

Link to comment
Share on other sites

Taking another look at this thread has revealed some really peculiar behaviour by jFreeCharts.

 

 

It seems that 300deg is not the same as -60deg !!! Using a negative angle incorporates changing the text orientation as well.

 

 

So if you want you labels oriented in the same direction as you example then use a negative label rotation angle (eg. -45 or -60 degrees).

 

.

Post edited by: jmurray, at: 2007/01/17 01:51

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...