Opened 8 years ago

Last modified 7 years ago

#5336 new enhancement

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


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 (3)

comment:1 Changed 8 years ago by aviram

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.

comment:2 Changed 7 years ago by Bill Meyer

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 7 years ago by aviram

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

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain aviram.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.