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

xsjasper1005

Members
  • Posts

    3
  • Joined

  • Last visited

xsjasper1005's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Try to place the pie chart in the Summary section.
  2. Hi, maybe somebody has the same problem, so i will post my solution: First create a group for the dates (group expression is $F{DATE}) - name "DATE" Now create a group for the vendors (group expression is $F{VENDOR}) within first group - name "VENDOR" Now create the stacked bar chart with Increment Type "Group" and use VENDOR as the increment group. For series expression use $F{VENDOR} For category expression use $F{DATE} For value expression use $F{COUNT} Place the stacked bar chart in the Summary band. That's it. But currently my problem is the error message i got if the sql query returns no rows. I get "Error filling print... Null 'dataset' argument." Has anybody a solution for this? EDIT: my workaround is to set the "printWhenExpression" to $V{DATE_COUNT} (the variable will be created by iReport automatically when you create the DATE group). I think that will work correctly but i search for a solution to display an empty diagram. regards, Franz Post Edited by xsjasper1005 at 05/31/2010 12:50 Post Edited by xsjasper1005 at 05/31/2010 12:51
  3. Hi community, I am new to jasper reporting and i have to develop a simple stacked bar chart report. it should look like the stacked bar chart in the attachment - the sample stacked bar chart report is too complex so i don't understand how this thing works. How should i group the data from the sql server to generate the diagram (i grouped it by the date - but what to do now)? The result should be 1 diagram in the report which shows the count and vendors for the whole month. regards, Franz.
×
×
  • Create New...