Modify

Opened 5 years ago

Last modified 5 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

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

comment:1 Changed 5 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 5 years ago by billmeyer

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

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.