aspose 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
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: create chart using ireport
 
Similar Threads
How to Create vaious graphs in Jasper Ireport?
JasperReports - Desparate Help Required
Exception while replacing an XML tag in an XML file
Jasper report dataset help?
how to use code from java class in xml file?