[dev] Own Statistic extensions

Alexander Scholler alexander.scholler at augsburg.de
Mon May 15 15:36:26 CEST 2006


Hi,

after some work I now know that it's quite easy to use the statistic 
framework to "write" your own statistics.

In graph-output mode, each -row- of the table is displayed as one line.
I now have the following problem:

I use time-related SQL-queries to get the data, e.g.
"Date, No. of Tickets" represents one row of the queried date.
But that means that the graph-line, in this case just one single line, 
namly "No. of tickets" is presented by one -column-.

The question is:
* how can a table (x,y) be "rotated" to (y,x) (sorry, I'm a perl newbie 
- could you give me a code snip) or
* can the statistic framework be told that the columns represent the 
data-lines.

Bye, Alex


More information about the dev mailing list