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

How to show multiple chart base on input control selection


cheapwebhoster

Recommended Posts

I would like to make multiple chart on jasperstudio and the number of charts appears based on the input control item selection. For example using HTML5 chart (column grah) with the input control of the following condition

  1. In input control value there is A, B, C
  2. If A is selected in the input control filter then the report show bar graph base on A
  3. If A and B is selected then two bar graph appear and it belong to A and B respectively
  4. Likewise if A, B, C is selected then 3 bar graph is showing and it belong to A, B, C selected data respectively

Please advise how it can be done...i have running out of idea how to do it

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,
Yes, this is very easily possible. You need to read about "Print when condition" and use it.
Pallete Components have a print when condition which decides when the component will print and passed on what parameters. Get the value of the input control (A,B or C) into a parameter and decide which to print when.

Also note, you will need a multi-select list of values type of Input control.

Hope this helps,
KKriplani

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