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.
Installation
TBD
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
- [13098] by rjollos on 2013-05-13 03:07:55
-
Refs #9261: Switch to using Yahoo YUI API 2.9.0. It appears that 2.5.2 is no longer available.
- [13097] by rjollos on 2013-05-13 03:07:35
-
Fixes #9261: Added Trac 0.12 compatibility, in which microsecond timestamps are used rather than timestamps with a resolution of seconds.
- [13096] by rjollos on 2013-05-13 03:07:17
-
Refs #8140: Fixed PEP-0008 violations.
Author/Contributors
Attachments (1)
- severalGraphs.png (28.3 KB) - added by gnarvaja 4 years ago.
Download all attachments as: .zip


