wiki:TimeVisualizerPlugin

Render burndown images in svg format

Links: open tickets | new ticket | svn | browse code

Description

This plugin creates customizable burndown graphs from the ticket history provided by TimingAndEstimationPlugin. Dynamic graphs can be easily embedded into Trac wiki pages.

Developed and tested with Trac 0.10.4, Python 2.4, sqlite, mod_python and Apache on Windows. The 0.6 version works on Trac 0.11.

Bugs/Feature Requests

Existing bugs and feature requests for TimeVisualizerPlugin are here.

If you have any issues, create a new ticket.

defect

7 / 11

enhancement

1 / 8

task

2 / 3

Installation

Dependencies: TimingAndEstimationPlugin was needed in 0.4 and earlier versions to feed the database with estimates and totalhours custom tickets. Browser must be able render SVG natively and support the html tag iframe. The latest Firefox, Opera and Safari browser versions should work.

  1. Get source files and install it:
    svn co https://trac-hacks.org/svn/timevisualizerplugin/branches/TimeVisualizer_0.6
    cd TimeVisualizer_0.6
    python setup.py install
    
  2. Edit your trac.ini file to enable the plugin:
    [components]
    <...other components...>
    tractimevisualizerplugin.* = enabled
    
  3. Restart server to propagate changes.

For details, see browser:/timevisualizerplugin/branches/TimeVisualizer_0.6/release_notes.txt

Usage

To test graphs and filtering, access "http://server:port/path_to_trac_env/tractimevisualizer". It will render the hours from the whole project's life cycle.

More practical is to get graphs from a certain time frame and filter the hours based on milestone and/or component. This is achieved with macro BurnDown. I wrote this plugin to replace ScrumBurndownPlugin, because its graphing capabilities were limited and it modifies the database schema.

In my example project, I have a wiki page with following content:

[[BurnDown(width=800,height=200,query=targetmilestone=mile1&datestart=08/8/07&dateend=8/22/07)]]

[[BurnDown(width=400,height=200,query=targetmilestone=mile1&datestart=08/8/07&dateend=8/15/07)]]
[[BurnDown(width=400,height=200,query=targetmilestone=mile1&datestart=08/15/07&dateend=8/22/07)]]

It renders the following graphs (picture is cropped to fit better on this page):

example burndowns

0.7 screenshot with multiple lines

For more, see browser:/timevisualizerplugin/branches/TimeVisualizer_0.6/release_notes.txt

Feedback

Feel free to give feedback.

Recent Changes

14861 by rjollos on 2015-08-06 04:37:43
0.7: Adds support for multiple lines and makes it possible to specify the color and with of the lines and the grid.

This is an untested patch that was previously attached the project wiki page.

14860 by rjollos on 2015-08-06 04:37:36
0.7: Created branch for 0.7.
3323 by mape on 2008-03-07 18:01:28
Applied patch, which fixes logging issue with cgi frontend, closes #2666
(more)

Author/Contributors

Author: mape (thtv08 _at_ gmail.com)
Maintainer: none (needsadoption)
Contributors:

Last modified 2 months ago Last modified on Mar 22, 2016, 10:52:25 PM

Attachments (2)

Download all attachments as: .zip