nittu02 Posted February 26, 2007 Share Posted February 26, 2007 Hey, Am a very new user to i-reports and i would like some clarification on some points! any help would be really appreciated. I have created a pie chart which gives a plot between the name of the users and the number of cases associated to them. So the wedge size varies according to the number of cases/spcific user.The key expression was $F{user_name} and value expression was $V{SUM_case_number_COUNT_1} How do i create a bar chart to reflect the same situation?that is, on the X-axis i want the name of the users and on the Y- axis i want the number of cases assigned to them. What should be the series, X, and Y expressions?? plz help. Link to comment Share on other sites More sharing options...
jmurray Posted February 27, 2007 Share Posted February 27, 2007 The Category expression would be the username, the Value expression would be the number of calls. You only have one dataset, so the Series expression can be any static value (eg. new java.lang.Integer(1) or "My Series") Link to comment Share on other sites More sharing options...
nittu02 Posted February 28, 2007 Author Share Posted February 28, 2007 Hey thanks a lot... now there is just one more doubt.. where do i put this bar chart? i tried putting it in the "title" band but there was no data. then, there was pageheader and then a custom band i created called username. when i put the chart into details, it is printing fine, but it repeats in every page. is there any way to print it only once??? size=400]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/screenshot.JPG Post edited by: nittu02, at: 2007/02/28 06:27 Link to comment Share on other sites More sharing options...
jmurray Posted February 28, 2007 Share Posted February 28, 2007 The placement of any chart will depend on what you want to display. Generally speaking a chart will show summary information, so you would put it in the LastPageFooter band or Summary band 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