| 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
|
 |
 |
|
|
subject: create chart using ireport
|
|
|