meghrach Posted February 4, 2013 Share Posted February 4, 2013 Hi,I have a XML file from which I am trying to generate reports and bar charts. I was able to generate reports but I am not able to do bar charts. I have attached the sample XML file.I am using listbands for the sub dataset (XPATH "/assessment/results/pass" to get count parameter) and the main dataset is (XPATH "/dashbroad/assessments/assessment to get deviceName parameter"). I am using a parameter HOSTNAME whose expression is $F(devicename}. In the listband I have $F{count} and $P{HOSTNAME}. Reports are generated fine, listing the HOSTNAME and the Count.My question is how can I generate bar graphs giving the value of count parameter for each devicename. If all the parameters in XML file were under root it would have be straightfoward to generate reports and graphs. I have attached the jrxml file.Any help is greatly appreciated.SK Link to comment Share on other sites More sharing options...
oesina Posted February 5, 2013 Share Posted February 5, 2013 Hi Meghrach, do you mind attaching your sample file? Link to comment Share on other sites More sharing options...
meghrach Posted February 5, 2013 Author Share Posted February 5, 2013 Hi Oesina, My bad. I have attached the xml file now. Thanks, SK Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now