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

gootjemar

Members
  • Posts

    12
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by gootjemar

  1. My question is the same as http://community.jaspersoft.com/questions/500285/use-subreport-return-value-charts, but after replying on that I don't see it coming up in the list. So another entry.

    Basically the problem is that it is possible to use return values from a subreport for a chart, but the values do not match the rows. It is one row behind. This is because the evaluation value that you normally set for a return value on 'Band' cannot be set when using that variable in a chart.

    Does anybody knows a solution within iReports? I think it is possible in structured procedures or beans etc. but wouldn't it be nice to have this working in Jasper.....

     

    An example is to go through the last 12 months and show the totals of orders in a chart. My subreport gives a value per month:

    Month 1: 10, Month 2: 12, Month 3: 9 etc.

    But when creating the chart it says:

    Month 1: , Month 2: 10, Month 3: 12, Month 4: 9 etc.

     

    Regards,

    Margot

  2. We are now 6 years later and this is not working. Well, as far as I can see. The link for feature request does not exists (anymore).

    Almost all my charts will be based on subreports - return values, but I don't think I can solve this problem within Jasper?

    Regards,

    gootjemar

  3. Hi, I was not able to open your jasper and jrxml files. But maybe you could put the 2 graphs in 2 different bands (for example detail1 and detail2). On band level you can specify if the whole band has to 'stay together' by selecting 'Prevent' on the 'Split Type' property.

    Otherwise use 'float' for the second graph in the 'Position Type' property.

    Hopefully this anser is useful.

  4. Hi, I'm new on the forum so my apologies if I did not include some required documentation to explain the issue.

    I've got a problem with the Charts Pro element in iReport 4.0.1. The chart is based on a very simple query with person and a total. I follow the instructions as per the chapter 5 of the tutorials (jasperforge.org/website/ireportwebsite/IR Website/tutorials/podcast_5/podcast_5.html?header=project&target=ireport) and midway after setting the first bits up the video does a preview. When I click on my preview then the program starts thinking but simply returns to the Designer without giving an error or saying that the page is empty.
    I see this behavior often in iReports (the preview goes back to designer without any message) and most of the time it is related that I made a mistake in a variable type. For example that it requires a string but I put an integer in or something.
    Only this time it is strange as I follow exactly what the video is saying. When I create a basic chart, then I get results. Also when I run it without charts and just show the data then the preview is working.

    Using the 'Column' chart I put the following data in the screens:
    - Chart configuration.Caption: Noise Levels (no quotes around them)
    - Chart Data.Dataset Items: one entry with values: Series Expression: "", Category Expression: $F{ASSEMBLY_ENGINEER} and Value Expression: $F{TOTAL}
    Rest of it left all on default. The fields in the expressions are chosen within the editor but the colour is red, which is a bit weird.

    So, do I need to enter more data somewhere? Or is there any way how I can see the error?

    Thanks,
    Margot

×
×
  • Create New...