256MbTeam/Redmine-Scrumbler — Issue #50: Trend line in burndown
Author: Hawkin
Created: 2012-03-06 09:30:12+00:00
State: open

Hi all.

We found that there is a missing info in the burndown. This is the trend line. This line formed by initial point and actual point in the real data. This line will show you if the sprint is on time and the estimated date it will complete.

We thought that this is not and issue, this is a feature. And I was working on it and a solution in javacript. I copy the git diff if you want to include it in the graph.

```
$ git diff
diff --git a/app/views/scrumbler_sprints/burndown.html.erb b/app/views/scrumbler_sprints/burndown.html.erb
index 76a7195..608af9b 100644
--- a/app/views/scrumbler_sprints/burndown.html.erb
+++ b/app/views/scrumbler_sprints/burndown.html.erb
@@ -39,6 +39,23 @@
current_extr = today
};

+ var trend_val = 0;
+ var trend_date = today;
+ for (i=0; i