Jump to content
JasperReports Library 7.0 is now available ×

Creating Bar graphs by sizing rectangles


2005 IR Help

Recommended Posts

By: sumtinjava - sumtin

Creating Bar graphs by sizing rectangles

2004-04-21 14:05

Hello,

 

I am currently working on a project with Jasper Reports and wanted to know if it is possible to specify rectangle height and/or width as a parameter when the report is filled? It seems textual information can be passed and displayed but I don't see how the dimensions of a rectangle could be passed. I want to specify the width or height of a rectangle for building a bar graph by using a value from the database as the width or height of a rectangle. I don't have to pass the data in as a parameter neccesarily but I need to specify the rectangle's height or width some way or another. The only way I saw to do this was by loading in the report file before filling it and changing the properties in Java. Is this the only way?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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