It's not a secret anymore!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
wood burning stoves
 
subject: create chart using ireport
 
Similar Threads
How to Create vaious graphs in Jasper Ireport?
how to use code from java class in xml file?
Jasper report dataset help?
JasperReports - Desparate Help Required
Exception while replacing an XML tag in an XML file