Dear Giulio
I am new in Jasperreport/iReport. Could you give me more detail tips?
Regards,
Mortoza

Giulio Toffoli <gt@businesslogic.it> wrote:

The common colution is create a scriptlet to collect row data and use the collected data to generate the chart on the fly.
iReport provides a layer of abstraction to make this easy, but you can write you own code.

Giulio

Kailasam, Karuppaiah wrote:

Yes, JFreeChart example is hard coded but you can easily change to get value from report.

 

What do you mean by each row of data in the report?

Are you expecting to see a chart per row?

 

If the answer is YES, why donít you create a sub report?

 

Hope this helps

 

Karup.

 


From: jasperreports-questions-admin@lists.sourceforge.net [mailto:jasperreports-questions-admin@lists.sourceforge.net] On Behalf Of Md. Mortoza Ali Khan
Sent: Tuesday, February 08, 2005 2:22 PM
To: Patrick Burleson; jasperreports-questions@lists.sourceforge.net
Subject: Re: [jasperreports-questions] Using charts

 

Hi Patrick and all

It is interesting to me too. Please share with me the outcome of your initiative.

Regards,

Mortoza

Patrick Burleson <pburleson@gmail.com> wrote:

Hello there,

I was looking at the JFreeChart example and noticed the chart data was
hard coded. I was wondering if my entire report is just a chart, how
can I access each row of data and add it to the chart and then at the
end display the chart?

Basically, what's the callback for dealing with each row of the data
in the report, and then at the end, just display the chart?

Thanks,
Patrick


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'



Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.