Jump to content
We've recently updated our Privacy Statement, available here ×

Generating bar charts when using list bands


meghrach

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...