File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes create chart using ireport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "create chart using ireport" Watch "create chart using ireport" New topic
Author

create chart using ireport

prriya pratheep
Greenhorn

Joined: Jun 10, 2008
Posts: 22
I need to create a chart through java i am creating report. Need to generate chart for monthly sales and cost.I use array list for cost , sales ,actual_cost and actual_sales and month and pass this array list through map.My map already has some other values.

My java code










My jrxml file


where ChartDataset is my subreport have parameters Actual_cost ,Actual_sale,Sale,Cost and month which I want to use in my XY chart where month is in x axis and Others as values.

How can i retrieve these values in my chart. when i try to run with $P{REPORT_PARAMETERS_MAP}.get( "Actual_Cost" ) I am getting empty key . I try to print in text box nothing is getting.

Can you please help me to get values. I am new to ireport and last one week i am trying this.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create chart using ireport
 
Similar Threads
JasperReports - Desparate Help Required
Exception while replacing an XML tag in an XML file
how to use code from java class in xml file?
Jasper report dataset help?
How to Create vaious graphs in Jasper Ireport?