Jump to content
Changes to the Jaspersoft community edition download ×

Axis values on graphs in IReport


rdavidso

Recommended Posts

Could someone help me with this. I am new to IReport and JasperReports

I am trying to create a line graph using IReport.

I can create the graph successfully but the y axis is incremented in decimal values (0.1,0.2..). This is not correct because decimal values are not correct in the context of my application.

Is there anyway I can force IReport to increment the y axis in integer values? The variable which is being used to plot the y corrordinates is of type Integer.

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 years later...

Try and place your chart in the "Detail" section and then drag it to the Page Header section and make the page height for the "Detail: 0.  The graph is generated record by record and it has to get all the data to draw the graph so it must be in the "Detail" section.

Link to comment
Share on other sites

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...