Herman Posted September 4, 2006 Share Posted September 4, 2006 Hi, everyone, I have a bar chart need to display a set of datas from a database. I'm using the "select clause". unfortunatly i can only display the last row of data in the bar chart. however, those data can be displayed correctly in a normal band. anyone can advise me how to get around it? Thanks heaps. Herman Link to comment Share on other sites More sharing options...
bklawans Posted September 5, 2006 Share Posted September 5, 2006 I'm guessing you have the key expression in the barchart data set. If all the values have the same key each row will overwrite the previous one and only the last row will be plotted. Take a good look at the sample bar chart in the demos that come with JasperReports for examples of what the various expressions should be. -Barry Link to comment Share on other sites More sharing options...
Herman Posted September 5, 2006 Author Share Posted September 5, 2006 Hi bklawans, Thanks a lot. Now I figured it out. Herman 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