[jasperreports-questions] Bar chart ranges help
Hi there, I am trying to create a percentage-based bar chart. The values should have a minimum of 0 and a maximum of 100. My data however, does not have a value which equals 100, so Jasper automatically scales the chart to the maximum value of my data. The result is, for a category with a value of 1%, the bar value for that category appears to be 100%, because it is the largest value in the whole dataset. How do I specify the ranges so that my data is always measured against the maximum 100%? I noticed that there was a parameter called Range axis min value expression and Range axis max value expression for the bar chart, but every time I tried to set them to 0 and 100 respectively, it failed to compile. Any help will be greatly appreciated. -- View this message in context: http://www.nabble.com/Bar-chart-ranges-help-tp23209510p23209510.html Sent from the jasperreports-questions mailing list archive at Nabble.com. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
[jasperreports-questions] Problem with chart created from beanCollection data source
Hi I have a report that includes a 3D bar chart which worked fine with SQL data source. Now I have changed it to use a list of Beans. The chart display with the correct bar heights but the x and y labels are missing. I have tried turning all fields into variables and changing the evaluate At properties and shortening the names, none of which seem to make a difference. The bar heights correspond to the Variable PERCENTAGE so I know the values are being populated it just the fields used for the category names don't show and the scale with the numbers on. The only thing I can see that may be causing this problem is that I group the data in the report and I also have some print when expressions. Can anyone help, I am about to throw the towel in on this one, this project is well overdue and I have been stuck at this point for the last 3 days. I will try and upload the files in a new post. Thanks Chris http://www.nabble.com/file/p23173901/ProcessingResultsTemplate.jrxml ProcessingResultsTemplate.jrxml -- View this message in context: http://www.nabble.com/Problem-with-chart-created-from-beanCollection-data-source-tp23173901p23173901.html Sent from the jasperreports-questions mailing list archive at Nabble.com. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions