[[PageOutline(2-5,Contents,pullout)]] = Plugin to render burndown SVG = {{{ #!html

News: version 0.6 is out (2008-02-26)

}}} '''Author:''' [wiki:mape] (thtv08 _at_ gmail.com) '''Links:''' [query:status!=closed&component=TimeVisualizerPlugin&order=priority open #] | [http://trac-hacks.org/newticket?component=TimeVisualizerPlugin&owner=mape new #] | [/svn/timevisualizerplugin svn] | [browser:timevisualizerplugin browse] | [log:timevisualizerplugin log] '''Description:''' This component draws customizable burndown graphs from ticket history provided by TimingAndEstimationPlugin. Dynamic graphs can be easily embedded to wiki pages. '''Compability''': Developed and tested with Trac 0.10.4, Python 2.4, sqlite, mod_python & apache on Windows. 0.6 version works on Trac 0.11! '''Dependencies:''' TimingAndEstimationPlugin was needed in 0.4 and earlier versions to feed database with estimates and totalhours custom tickets. Browser must render SVG natively & support html tag iframe. Latest Firefox, Opera & Safari should work. '''Feedback:''' [wiki:TimeVisualizerPlugin/FeedBack Feel free to give feedback] == Installation == 1. get source installation & install it {{{ svn co http://trac-hacks.org/svn/timevisualizerplugin/branches/TimeVisualizer_0.6 cd TimeVisualizer_0.6 python setup.py install }}} 2. Edit trac.ini and modify components section: {{{ [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 & filtering, access "http://server:port/path_to_trac_env/tractimevisualizer". It will render hours from whole project life cycle. More practical is to get graphs from some certain time frame and filter hours based on milestone and/or component. This is achieved with macro !BurnDown (ya, I wrote this plugin to replace ScrumBurndownPlugin because its graph was so limiting and I don't like plugins that modify database schema). In my example project, I have 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) [[Image(TracTimeVisualizerPlugin_ss1.PNG)]] For more, see browser:/timevisualizerplugin/branches/TimeVisualizer_0.6/release_notes.txt == Recent Changes == [[ChangeLog(timevisualizerplugin, 5)]] == Patches == === 0.7 patch === The [attachment:0.7_patch.diff] adds support for multiple lines and makes it possible to specify the color and with of the lines and the grid. See the release notes for details. The patch applies to the 0.6 release. Example: {{{ calc_fields=estimatedhours:red:2,estimatedhours-totalhours:green:2 }}} [[Image(0.7_screenshot.png)]] == Author/Contributors == '''Author:''' mape [[BR]] '''Maintainer:''' ''none (needsadoption)'' [[BR]] '''Contributors:''' [[BR]]