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

JasperStudio 6.3.1 chart problem


domagoj.hrzic

Recommended Posts

Hi all,

having trouble generating a chart, I'm using JasperStudio 6.3.1.

I created query that joins multiple tables, for categorized reporting.

I have let's say 80000 rows with a priority defined for each row with 5 different priority values repeating.

Now I want to create a pie chart to display priority count for each value.

As chart dataset series i put column where are all of the priorities repeating, and in value count of all rows.

I'm getting the error:

net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRRuntimeException: Key 3 normal is duplicated in pie dataset.

Is there a way, parameter or function to avoid this problem. I'm aware that it would be better to write only query to get the set of 5 value with a total count.

 

Please help,

 

Thanks

 

Link to comment
Share on other sites

  • 2 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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