Jump to content
Changes to the Jaspersoft community edition download ×

Chart help (Customizer perhaps?)


krispyjala

Recommended Posts

Hello all!

I am running into some trouble trying to sort the series within each category of my bar graph. It seems that my series is not sorted as it should (Low, Medium, High, Critical) and these values had been converted from an id value in descending order of (3,2,1,0). In my subdataset input, my sql query is already ordering by category (MMM-yyyy) and by priority in descending order. It appears to me what's happening is that whatever value is drawn first on the bar graph, the report just puts it first until it encounters another one etc...that is why in my graph is showing High Low Medium Critical. Is there a way to fix this? I have started looking into writing my own class (using JRChartCustomizer) but still I cannot find a way to manipulate the data within JFreeChart's chart variable. Has anybody encountered this problem and if so how did you get around it?

Any help is greatly appreciated!
Best,
Kris.


Post edited by: krispyjala, at: 2007/05/17 21:55

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...

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