Ticket #4073 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Show only workdays in burndown chart

Reported by: anonymous Assigned to: hoessler
Priority: normal Component: EstimationToolsPlugin
Severity: normal Keywords: burndown
Cc: Trac Release: 0.10

Description

Hi,

it would be nice to have a burndown chart which shows only workdays. Usually I plot the graph only for the days the team is working (ignoring Saturdays and Sundays) to get a graph without visual "gaps".

How about a new INI setting:
burndown_days = mo,tu,we,th,fr (default setting is shown here)

Hope you like the idea, MMM

Attachments

Change History

(follow-up: ↓ 4 ) 11/17/08 18:10:42 changed by anonymous

Hi again, I made a patch for Trac 0.10 with the following additions to the burndown chart macro. It can be dynamically configured instead of an INI file setting, I thought different teams may want different configurations.

  • weekends: show weekends in chart, 0 or 1 (defaults to 1)
  • expected: show expected hours in chart, 0 or any number to define expected hours (defaults to 0).
  • gridlines: show gridlines in chart, 0 or any number to define hour steps (defaults to 0)
  • colorexpected: color for expected hours graph specified as 6-letter string of hexadecimal values in the format RRGGBB. Defaults to ffddaa, a nice yellow.

Additionally the bottom label is more compact, month and year are one line now (i.e. 11/2008). Joachim I am going to send you an email later... maybe you like the changes and we can merge them.

11/17/08 18:11:32 changed by anonymous

  • summary changed from Show only workdays in burndownchart to Show only workdays in burndown chart.

11/18/08 10:18:47 changed by anonymous

Looks like the 0.10 branch has not the latest fixes (such as [4703] to treat closed tickets as 0 hours remaining).

(in reply to: ↑ 1 ) 11/19/08 11:57:26 changed by anonymous

Hi, I'm really interested for having your version. Netherless I'm using Trac 0.11. Do you think I can use your patch on this version?? And where can I find it? Thanks

Replying to anonymous:

Hi again, I made a patch for Trac 0.10 with the following additions to the burndown chart macro. It can be dynamically configured instead of an INI file setting, I thought different teams may want different configurations. * weekends: show weekends in chart, 0 or 1 (defaults to 1) * expected: show expected hours in chart, 0 or any number to define expected hours (defaults to 0). * gridlines: show gridlines in chart, 0 or any number to define hour steps (defaults to 0) * colorexpected: color for expected hours graph specified as 6-letter string of hexadecimal values in the format RRGGBB. Defaults to ffddaa, a nice yellow. Additionally the bottom label is more compact, month and year are one line now (i.e. 11/2008). Joachim I am going to send you an email later... maybe you like the changes and we can merge them.

11/21/08 10:46:18 changed by anonymous

Here please a temporary link to the patched source. I merged the changes to treat closed tickets as 0 hours and fixed the HoursRemaining macro to behave the same way.

http://www.piratson.se/archive/estimationtools_branch10_patched1.zip

Examples:

[[BurndownChart(milestone=Sprint 1, startdate=2008-11-10, enddate=2008-11-21, 
  weekends=0, width=400, height=200, color=ff0000)]]

[[BurndownChart(milestone=Sprint 1, startdate=2008-11-10, enddate=2008-11-21, 
  expected=200, weekends=0, gridlines=25, width=400, height=200, 
  color=ff0000, colorexpected=888888)]]

First chart example ignores weekends, the second shows expected hours and real hours (Scrum burndown style).

11/27/08 14:21:59 changed by anonymous

Here is an updated patched source, burndownchart.py:scale_data() removed too many days.

http://www.piratson.se/archive/estimationtools_branch10_patched2.zip

12/09/08 22:52:25 changed by anonymous

Here is an updated patched source, still one day too much has been removed. http://www.piratson.se/archive/estimationtools_branch10_patched3.zip

03/12/09 19:27:40 changed by anonymous

One more update, shorter URL by using values with less digits after comma.
http://www.piratson.se/archive/estimationtools_branch10_patched4.zip

03/14/09 15:27:48 changed by hoessler

  • status changed from new to closed.
  • resolution set to fixed.

(In [5358]) Integrated changes as proposed by Mark Seuffert in #4073. This fixes #4073, and additionally adds gridlines and expected progress to the burndown chart. Also, the bottom label is more compact now.


Add/Change #4073 (Show only workdays in burndown chart)




Change Properties
Action