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

Create array for histogram data from sql query in iReport?


jasonovation

Recommended Posts

 Hello all,

I have a SQL query which returns two fields, a string name and a float value. I would like to create a histogram of the values in iReport using the bar chart. This requires creating bins for the histogram, and sorting the values into bins. I'm comfortable with Java, but I'm not sure what the best approach for doing this in iReport is. Do I need to make a scriptlet? Can I do this in the expression editor for the chart? It seems like I will need to make some kind of local array that I can assign the bin values to.

Thanks



Post Edited by jasonovation at 09/11/2012 21:57
Link to comment
Share on other sites

  • 2 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...