Results 1 to 2 of 2
Thread: Graphs with Ireport
- 06-15-2007, 12:08 AM #1
Member
- Join Date
- Jun 2007
- Posts
- 92
- Rep Power
- 0
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.
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”.Java Code:select name, count (*) as counts from categories c, agents a where c.idCategory = a.idCategory group by c.idCategory order by c.idCategory
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 :cool:
- 07-05-2007, 06:59 PM #2
Member
- Join Date
- Jun 2007
- Posts
- 91
- Rep Power
- 0
JfreeChart is a very good and simple API for graphs
Please check this:
JFreeChart
Greetings
Daniel:o
Similar Threads
-
iReport
By Freddie in forum Advanced JavaReplies: 6Last Post: 04-20-2010, 06:25 PM -
To display performance statistics as graphs using JSP, Spring and JBoss
By sheeba in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 03-11-2009, 05:36 PM -
Graphs
By javaplus in forum Advanced JavaReplies: 1Last Post: 12-07-2007, 09:17 PM -
Eclipse+ireport
By Nick15 in forum EclipseReplies: 2Last Post: 05-14-2007, 04:55 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks