Opened 15 years ago
Closed 7 years ago
#5336 closed enhancement (wontfix)
Use Trac Reports as source for charts
Reported by: | scratcher | Owned by: | aviram |
---|---|---|---|
Priority: | normal | Component: | TicketChartsMacro |
Severity: | trivial | Keywords: | reports charts |
Cc: | Trac Release: | 0.11 |
Description
It would be great to use a report from Trac as data provider for chart. Currently a lot of things could be done via reports but not available in queries. I believe that future versions of Trac will contain sophisticated query mechanisms, but so far reports are irreplaceable.
Attachments (0)
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Can you give some of the directions on the parameter, and on how to implement this? It would be a very useful option.
comment:3 Changed 15 years ago by
To be honest, the last time I worked on a Trac plugin was back then, and I pretty much forgot... What I can tell you is, that although reports and queries are quite the same - they're not implemented quite the same. Reports are (obviously) stored in Trac's database, and you can get the information out of there. From what I remember, the thing that makes it hard to implement reports for my macros, is that the operators of the query (i.e. &, |) are stored differently. The format is quite different...
You are correct. When I started writing this plugin, I've written it with another parameter - report. I have not implemented this due to lack of time (this isn't a minor change; this can be pretty significant). If you want to implement this, write to me here, and I'll give you some initial directions about how this should be done.