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

Is it possible to create such a chart with jasper reports?


leonid.pavlov

Recommended Posts

Hello all,

I would like to know if it is possible to create in jasper reports (Jasper Studio 6.5.1) a bar chart like one below:

index_5.png.9292108af6a27856762023bce7f62487.png

All bars having gray as background color, except the bar with value of sample department (red) and the bar with average value (blue).

The legend should include only the above three entries.

And next one limitation: the chart should be created only with jasper reports on-board resources - without customizers, java, and others.

Thank you!

index_5.png.2fffa8752f5aa425ecf6f1cbccf0e776.png

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You wanting to do this in community edition or jasper pro version. 
In pro version you could achieve this via ad hoc reporting and creating your domain and assigning attributes to the logged in person, which assigns department. Then you use the build in groovy function in the expression session to achieve this. 

In Community addition, out of the box, No. 
You will need to use customizers(Which requires utilizing the Jfreechar api library) and some logic in the jasperstudio when designing the report. 
Or integrate 3 party library, with then again you need to customize, which you do not want to do. 

 

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