Time based graph of ticket statistics
Description
Generates time based graphs of total, new and closed tickets. It's based on TracTicketStatsPlugin but allows filter the tickets you want to display (e.g. graph only errors) as well as other parameters.
See also TicketChartsMacro, TracTicketStatsPlugin, TracMetrixPlugin.
Requirements
- Advanced Argument Parser for Trac Macros (AdvParseArgsPlugin).
Credits
The code it's based on TracTicketStatsPlugin and parts of TicketChartsMacro.
The date range parameter it's stolen from Trac trunk (the format for upcoming date field queries).
Bugs/Feature Requests
Existing bugs and feature requests for TicketStatsMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out TicketStatsMacro from here using Subversion, or browse the source with Trac.
Macro arguments
- height: graph height, default 500 px.
- column_width: default 40 px.
- res_days: resolution (in days) for each point in the graph.
- title
- daterange: date range specified as "from;to" or just "to". Using 0.12's date field query sintax (http://trac.edgewall.org/wiki/TracQuery?version=20#QueryLanguage)
Example
[[TicketStats(title = Total tickets last 15 days, height=250,daterange=15d,res_days=1)]]
[[TicketStats(title = Error tickets by week last 3 months, daterange=3m,res_days=7, query=Type='error')]]
Recent Changes
[8464] by rjollos on 08/27/10 21:25:59
Add revision info to macro. Fixes #6560.
[6661] by gnarvaja on 10/07/09 18:43:18
- Fix daterange for absolute dates.
[6537] by gnarvaja on 09/13/09 19:47:25
Initial commit.
[6536] by gnarvaja on 09/13/09 19:45:26
New hack TicketStatsMacro, created by gnarvaja
Author/Contributors
Attachments
- severalGraphs.png (28.3 kB) - added by gnarvaja on 09/13/09 19:54:08.


