Showing posts with label JasperReports. Show all posts
Showing posts with label JasperReports. Show all posts

Monday, July 18, 2011

counting the elements within a group

If you created a group by the name of this_group, you also created a counter for the elements within that group by the name of this_group_COUNT, i.e. a variable.

Sunday, July 17, 2011

JasperReports and JRuby

I am hot for combining these two – using the JasperReports API from JRuby for a nice utility, maybe a rewrite of my "TextApp nephew".

Monday, July 11, 2011

iReport: Java Heap Space problems

JasperForge > iReport Forums

This thread discusses, how to solve this problem at filling and also at export time (JasperReports jargon).

Filling time configuration:


  • ... > iReport > Compilation and execution > Execution options > [_] Limit the number of records (=?!= REPORT_MAX_COUNT -> the iReport UG, 6.2.3)
  • ... > iReport > Compilation and execution > Execution options > [_] Use virtualizer
  • ... > iReport > Compilation and execution > Virtualizer; apress's TDG to iReport treats the Large Report problem (a little) in chapter 18 "Solutions to Common Problems": "... Using Report Virtualizer".

Export time configuration:

The above thread discusses how to pass a "java -XmxN" parameter via iReport. (This is good for manipulating the size of the memory allocation pool.)

Traditionally that was to be specified on the iReport command line.
The modern way to achieve this is through
/etc/ireport.conf

Tuesday, July 5, 2011

how do I point my iReport to a JasperServer?

On OS X: Window > JasperReports Server Repository.
In the Repository Navigator there is an icon with a "+" (white on green) with the hint text "Add new server".

Sunday, July 3, 2011

jaspersoftstudio : JasperForge

jaspersoftstudio : JasperForge

From JasperForge.org/projects/jaspersoftstudio:
Jaspersoft Studio is a new, free, open source report designer for JasperReports. A full rewrite of iReport on top of the Eclipse platform.

Thursday, June 30, 2011

JasperReports: how to reduce the size of a Group band?

Change the Band height within the Group Header.

It maybe hard a little to find the Band height. You may want to Add Band for the Group Header first, otherwise that property (resp. set of properties) is simply not there.

Background:
I had a query with "GROUP BY country, current_month". I let each country Start on a new page. Each current_month had just one element, so I expected them to get displayed in a compact manner, but the default Band height of each group made them display with rather huge gaps.