Jump to content
Changes to the Jaspersoft community edition download ×

Dynamically resizing an image?

2004 IR Help

Recommended Posts

By: Rob Roland - robdaemon

Dynamically resizing an image?

2005-04-20 18:55

Hi all,


I have a chart in my report that I'm generating using JFreeChart. Depending on the amount of items that end up in this chart, I'd like to dynamically resize the image (and the band it exists in). I've been looking for a way to do this within a scriptlet, but I can't find anything.


Does anyone know if this is possible?







By: macoute - macoute

RE: Dynamically resizing an image?

2005-04-21 07:56

Reserve the max size, and resize the image in it.

But the size is constant





By: William Baker - wlbaker

RE: Dynamically resizing an image?

2005-04-22 16:35


You might look at the way the Table of Contents is handled in the demo. It manipulates the JasperPrint after it is filled.


I think I know what you want to do, and this only gives you a mediocre solution.

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