Jump to content
We've recently updated our Privacy Statement, available here ×

JayLink

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by JayLink

  1. Just create a variable for "Item" by going to "View" -> Variables -> [ New ]. Set the Variable Class Type to java.lang.Integer, set the Calculation Type to "Count", and set the Variable Expression to:

     

     

    new Integer(0)

     

     

    Then, make a field for your variable on the report.

     

     

    It will then auto-increment like you want.

    Post edited by: JayLink, at: 2007/10/05 21:34

  2. Hi --

     

     

    By default, the Pie 3D chart's legend's "bullets" are colored circles. I am trying to match the appearance of an old Crystal Report, and the Crystal uses colored squares.

     

     

    Evidently, this is very important to one of our users. :angry:

     

     

    Is there any way to change this, perhaps by editing the chartLegend tag or subtags?

     

     

    Thanks,

     

     

    - Jay

  3. Hi there --

     

     

    I understand how to return a value from a subreport to the master report. I also understand how to sum these return values.

     

     

    What I would like to do, however, is to have a list of subreport totals in my master report's summary.

     

     

    For example, let's say I have customers in three cities: Chicago, London, and Milan, and I call the subreport once for each city. Each time it is run, I will return the number of customers in that city.

     

     

    So, let's pretend that I have 6 customers in Chicago, 3 in London, and 4 in Milan. I don't just want the number 13. Instead, I want my master report's summary to say:

     

     

    Chicago: 6

    London: 3

    Milan: 4

     

    Total: 13

     

     

    Ideally, I would prefer not to have another subreport in the Summary, because the query is complex and takes several minutes to run.

     

     

    Can I store the return value from each subreport's query separately somehow? When I try this, I just seem to end up with the last subreport's value in all of my variables.

     

     

    Thanks so much,

     

     

    - Jay

     

    Post edited by: JayLink, at: 2007/05/31 19:16

    Post edited by: JayLink, at: 2007/05/31 19:17

×
×
  • Create New...