How to rotate x-axis or y-axis label for 2D Reports in I-Report?

Document ID : KB000043295
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

How to rotate x-axis or y-axis label for 2D Reports in I-Report?

Environment:  

UIM Version: 8.x

UMP Version: 8.x

Answer: 

Below are the steps required to rotate x-axis or y-axis label for 2D reports in I-Report:

Open Jaspersoft IReport Designer Professional 5.2.0

Click ‘Palette’ in Right hand size vertical bar.

Capture1.JPG

Click on ‘Chart’ in Right Panel and select the chart type.

Capture2.JPG

‘Category Chart Wizard’ opens after clicking on ‘Ok’. Select ‘Dataset’ and click ‘Next’.

Capture3.JPG

Select ‘Series’ and click ‘Next’

Capture4.JPG

Select ‘Category and Values’ expression. Category appears on X-Axis and Values appear on Y-axis.

Capture5.JPG

Capture6.JPG

Click ‘Properties’ in Right hand size vertical bar.

In ‘Label Rotation’ tab, type -45.00, to get slanting label.

Capture7.JPG

Capture8.JPG

Since X-axis refers to ‘Category Axis’, so in ‘Category Axis Tick Label Rotation’ type -90.0 to get X-axis label vertically.

Capture9.JPG

Capture10.JPG

 

Additional Information:

For further details on I-Report customization, kindly go through below mentioned for accessing jaspersoft communities:

http://community.jaspersoft.com/questions/542811/rotating-x-axis-label-vertical-horizontal