Opened 9 years ago

Closed 8 years ago

Show only workdays in burndown chart

Reported by: Owned by: anonymous Joachim Hoessler normal EstimationToolsPlugin normal burndown 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

comment:1 follow-up:  4 Changed 9 years ago 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.

comment:2 Changed 9 years ago by anonymous

Summary: Show only workdays in burndownchart → Show only workdays in burndown chart

comment:3 Changed 9 years ago by anonymous

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

comment:4 in reply to:  1 Changed 9 years ago 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

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.

comment:5 Changed 9 years ago 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.

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).

comment:6 Changed 9 years ago by anonymous

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

comment:7 Changed 9 years ago 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

comment:8 Changed 8 years ago by anonymous

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

comment:9 Changed 8 years ago by Joachim Hoessler

Resolution: → fixed new → closed

(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.

Modify Ticket

Change Properties