[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] creating simple barchart with some grouping

hello,

today i tried getting started with building my first birt report but it is somehow more difficult than i thought.

my sample data (csv) contains the name of a person and a number
tim - 10
tim - 18
tim - 3
tim - 22
tim - 28
kai - 7
kai - 21
kai - 14
kai - 29
kai - 15
kai - 23
kai - 23

i like to get a bar chart comparing both persons and looking like this:
- X-Axis should have steps 1-10, 11-20, 21-30, ... and there at each step there should be one bar for each person
- Y showing how often some nummer of the x-range occured
- at X 1-10 tims bar should have a y-value of 2 (because of numbers 3 and 10)
- at X 1-10 kais bar should have a y-value of 1 (because of the 7)


should look like this for the sample data above

first bar is for kai
second bar is for tim

----- fixed with font -----
 4 | - -     - -     x -
 3 | - -     - -     x -
 2 | - x     x -     x x
 1 | x x     x x     x x
 --+-----------------------
   | 1-10   11-20   21-30
---------------------------

i hope you unterstand what i mean ...



it would be really nice if someone could create such a report for me so i can see how it is done.

TIA

Tobias Mayer