Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-15-2007, 01:08 AM
Member
 
Join Date: Jun 2007
Posts: 92
Rep Power: 0
Marcus is on a distinguished road
Default Graphs with Ireport
In these days I was investigating and learning iReport and the truth before to make reports from the code, the difference really is great.I searched I could not manage to create a graph. In the notes what I found they said to me that it puts the graph in the report summary. and that when it does it would appear to me an option to qualify Scriptlets, soon to choose “Yes”, but never it appeared to me east message.

My query (SQL) is simple.

Code:
select name, count (*) as counts
from categories c, agents a
where c.idCategory = a.idCategory
group by c.idCategory
order by c.idCategory
I create a graph (foot 3D), in data of the graph (chart dates), I have 2 lapels “DataSet” and “Details”, in this last one I add in Key Expression $F{name} and in value Expression $F{counts}. I am not safe of what values it is necessary to put in “Key Expression” and in “Expression”.

In some notes that I also read is the series of data, although still on 3d I do not have it or it does not appear to me. In “DataSet” I do not make changes, although I proved to change a little to see if it worked. In aim the registries appear, but the graph no! I have version 1.2.5.

Marcus
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-05-2007, 07:59 PM
Member
 
Join Date: Jun 2007
Posts: 92
Rep Power: 0
Daniel is on a distinguished road
Default
JfreeChart is a very good and simple API for graphs

Please check this:

JFreeChart

Greetings
Daniel
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To display performance statistics as graphs using JSP, Spring and JBoss sheeba Enterprise JavaBeans 1 03-11-2009 06:36 PM
Creating and visualizing graphs - JGraphT(I) JavaForums Java Blogs 0 02-11-2008 12:20 PM
Graphs javaplus Advanced Java 1 12-07-2007 10:17 PM
iReport Freddie Advanced Java 2 07-25-2007 01:19 PM
Eclipse+ireport Nick15 Eclipse 2 05-14-2007 05:55 PM


All times are GMT +2. The time now is 06:23 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org