Jump to content
Changes to the Jaspersoft community edition download ×

Chart Questions (again...)


Recommended Posts

Here's a chart in my report:



Several questions:

How can I put actual value on top of each bar?

How can I define scaling? i.e. I want to use by 50,000 insted of 100,000.

How can I sort the months?

Further more, how can I put months of whole year?


Thank you very much!


Trying my luck, a repost of my query:



Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

1. In the Chart Properties tick off "Show Labels".


2. I don’t think that you can modify this property. It would be great if they added this functionality. Their implementation is a subset of the charts package. You might be able to implement the full package to get this.


3. I would do it in your SQL. If the SQL drives other processes in your report you could put the Chart in a subreport and run it off of a separate SQL.


4. Create 12 dummy buckets in your SQL. One for each month. Default them to zero. Then populate them with your data. The syntax would depend on your data base.

Link to comment
Share on other sites

hi svenn,


thank you very much for your reply.


with regards to #3, I should have mentioned that months are sorted when printed in the report (i.e. I have a group months in report detail and they are printed fine: Jan, Feb, Mar, Apr, May). But when the chart is printed, it's scambled :(


wrt #4, I am using a Custom JRDatasource and my back-end is not SQL.


thanks again!

Link to comment
Share on other sites

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