Jump to content

[charts][groups] urgent help needed !


jbeausse

Recommended Posts

Hi All,

 

Here is a question, regarding charts and groups.

I've looked at all the documentation and all chart samples, but samples seem to be "academic"

and don't cover my needs.

 

Here is my problem :

- Data structure is the following : Gamme (Range), Produit, Année (Year), ventes1 (sales), ventes2

- I use a group at "year" level in order to :

* display a detailed table (range, product, zone, sales)

* display an aggregated bar chart (range / product)

 

Here is what I get :

size=286]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/pb_graphe_groupe2.gif

 

Here is a fragment of JRXML :

Code:

 

Please notice that the series expression is DYNAMIC, i.e the series names depend on data (in jasperreports samples, every seriesexpression is static).

 

Data are mostly fine EXCEPT for range "C" : look at sales for product D and F !

 

I can't find the appropriate configuration, and don't want to use subreports.

 

Do you have an idea to configure the chart dataset as needed ?

This is very urgent, thn'x in advance,

 

Julien,

France

Post edited by: jbeausse, at: 2007/01/04 12:21

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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