Feature #12122

Gantt progress lines (html only)

Added by Toshi MARUYAMA about 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

80%

Category:Gantt
Target version:2.3.0
Resolution:Fixed

Description

This is a patch for trunk r10659.

Taken from the MS Project functionality descrition:

For the status date (today) of your project, it draws a progress line connecting in-progress tasks and tasks that should have started, creating a graph on the Gantt Chart with peaks pointing to the left for work that is behind schedule and peaks pointing to the right for work that is ahead of schedule.
The distance from the vertical line to the peak indicates the degree to which the task is ahead of or behind schedule as of the progress or status date.

gantt-progress-line-html.png (59 KB) Toshi MARUYAMA, 2012-10-17 11:40

gantt-progress-line-html-r10659.diff Magnifier (10 KB) Toshi MARUYAMA, 2012-10-17 11:40

progress-line-checkbox.png (20.8 KB) Toshi MARUYAMA, 2012-11-27 00:23

gantt-progress-line-html-r10880.diff Magnifier (12.6 KB) Toshi MARUYAMA, 2012-11-27 00:23

gantt-progress-line-html-r10927.diff Magnifier (13 KB) Toshi MARUYAMA, 2012-12-03 14:22

gantt-progress-line-html-r11137.diff Magnifier (11.2 KB) Toshi MARUYAMA, 2013-01-08 11:10

gantt-progress-line-html-r11137-V2.diff Magnifier (12.5 KB) Toshi MARUYAMA, 2013-01-08 15:16

gantt-progress-line-html-r11137-V2.png (8.06 KB) Toshi MARUYAMA, 2013-01-08 15:16

gantt-progress-line-html-r11140.png (8.44 KB) Toshi MARUYAMA, 2013-01-09 10:48

gantt-progress-line-html-r11140.diff Magnifier (14.3 KB) Toshi MARUYAMA, 2013-01-09 10:48


Related issues

Related to Redmine - Feature #3436: Show relations in Gantt diagram Closed 2009-06-02
Related to Redmine - Feature #12816: Filter issues by progress state New

Associated revisions

Revision 11210
Added by Jean-Philippe Lang almost 5 years ago

Gantt progress lines (#12122).

Patch by Toshi MARUYAMA.

Revision 11211
Added by Jean-Philippe Lang almost 5 years ago

Removed duplicate HTML element id (#12122).

Revision 11212
Added by Jean-Philippe Lang almost 5 years ago

Style should be applied to child legend only.

Revision 11213
Added by Jean-Philippe Lang almost 5 years ago

Fills locales (#12122).

Revision 11215
Added by Jean-Philippe Lang almost 5 years ago

Changed fieldset legend and make it hidden by default like on the issue list (#12122).

Revision 11223
Added by Toshi MARUYAMA almost 5 years ago

German translation updated by Daniel Felix (#12122)

Revision 11571
Added by Jean-Philippe Lang over 4 years ago

Preserve gantt options when changing filters (#12122).

Revision 11572
Added by Jean-Philippe Lang over 4 years ago

Merged r11571 from trunk (#12122).

History

#1 Updated by Go MAEDA about 5 years ago

+1

#2 Updated by nobu masu about 5 years ago

+1

#3 Updated by Jun NAITOH about 5 years ago

+1

#4 Updated by Etienne Massip about 5 years ago

Could you please describe the purpose?

To draw the critical path?

#5 Updated by Go MAEDA about 5 years ago

Etienne Massip wrote:

Could you please describe the purpose?

Microsoft Project has same feature. Please check the following url for the description of progress lines.

http://office.microsoft.com/en-us/project-help/about-progress-lines-HP001045770.aspx

#6 Updated by Etienne Massip about 5 years ago

  • Subject changed from Gantt progress line (html only) to Gantt progress lines (html only)
  • Description updated (diff)

I didn't even know it existed, thanks.

You should add a checkbox to activate/deactivate this functionality and please make the JS code more readable (more explicit variable names and some lines breaks) so it can be reviewed easily. For compression it can be uglified afterwards.

Change today_red_line id to a more general one (e.g. no color indication in the id).

#7 Updated by Jean-Philippe Lang about 5 years ago

I don't really see the benefit of this feature, maybe displaying precedes/blocks relations (#3436) would be a better option to start improving the gantt chart.

#8 Updated by Toshi MARUYAMA about 5 years ago

Gantt progress line needs in Japanese enterprise.
Customer always requires it to developer.

#9 Updated by Daniel Felix about 5 years ago

Just one suggestion. Those display could be switched. As a project manager I need sometimes different displays of my gantt. This could be some implementation, another one could be those connected display.
The whole gantt could be sorted by start- or enddate, or maybe sorted by number. This would be a benefit too.

#10 Updated by Toshi MARUYAMA almost 5 years ago

Daniel Felix wrote:

This could be some implementation, another one could be those connected display.

It is #3436.

The whole gantt could be sorted by start- or enddate, or maybe sorted by number. This would be a benefit too.

See #7335#note-16.

#11 Updated by Toshi MARUYAMA almost 5 years ago

This is a patch for trunk r10880.

I have added a checkbox to activate/deactivate this functionality

And I has changed JavaScript code (more explicit variable names).

#12 Updated by Toshi MARUYAMA almost 5 years ago

This is a patch for trunk r10927.

Fixed drawing when gantt is scrolled.

#13 Updated by Toshi MARUYAMA almost 5 years ago

Jean-Philippe Lang wrote:

I don't really see the benefit of this feature, maybe displaying precedes/blocks relations (#3436) would be a better option to start improving the gantt chart.

I have posted a patch at #3436#note-22.

#14 Updated by Toshi MARUYAMA almost 5 years ago

This is a patch rebased trunk r11137.

#15 Updated by Daniel Felix almost 5 years ago


After the recent changes, there should be two checkboxes.
1. Display Progress Lines
2. Display Relation Lines

Both could be a bit confusing for the enduser.

#16 Updated by Toshi MARUYAMA almost 5 years ago

Daniel Felix wrote:

After the recent changes, there should be two checkboxes.
1. Display Progress Lines
2. Display Relation Lines

Done.

This is a patch for trunk r11137.

#17 Updated by Etienne Massip almost 5 years ago

Daniel Felix wrote:

After the recent changes, there should be two checkboxes.
1. Display Progress Lines
2. Display Relation Lines

Both could be a bit confusing for the enduser.

Patch looks nice to me, would love to have this option.
Would "only" miss handling the critical path of the version/project and we would have a full Gantt.

#18 Updated by Toshi MARUYAMA almost 5 years ago

This is a patch for trunk r11140.

Changes:

  • On default, "Relations" checkbox is true, "progress line" checkbox is false.
  • Add "Relations" colors on checkbox.
    It is difficult to know which color is "blocks" or "proceeds".

#19 Updated by Etienne Massip almost 5 years ago

  • Target version set to Candidate for next major release

#20 Updated by Mischa The Evil almost 5 years ago

Daniel Felix wrote:

[...]
After the recent changes, there should be two checkboxes.
1. Display Progress Lines
2. Display Relation Lines

If Gantt progress lines are being integrated (which I think is a good idea if it can be supported), I'd say yes.

Toshi MARUYAMA wrote:

This is a patch for trunk r11140.

Changes:

  • On default, "Relations" checkbox is true, "progress line" checkbox is false.
  • Add "Relations" colors on checkbox.
    It is difficult to know which color is "blocks" or "proceeds".

[...]

Looks good to me.

#21 Updated by Daniel Felix almost 5 years ago

Hi Toshi,

i just tried the latest patch. It works fine with r11165!

Thanks for your great work! Hope to see this in the next major. :-)

#22 Updated by Jean-Philippe Lang almost 5 years ago

  • Target version changed from Candidate for next major release to 2.3.0

#23 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Patch committed in trunk. Toshi, thanks for this new gantt improvement!

#24 Updated by Daniel Felix almost 5 years ago

German translation for r11213
label_gantt_progress_line: Fortschrittslinie

#25 Updated by Toshi MARUYAMA almost 5 years ago

Daniel Felix wrote:

German translation for r11213
label_gantt_progress_line: Fortschrittslinie

Committed in trunk r11223, thanks.

#26 Updated by Gabriel Mazetto over 4 years ago

BUG: If i change the filter and click apply, progress line state is not preserved

#27 Updated by Etienne Massip over 4 years ago

  • Status changed from Closed to Reopened

#28 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from Reopened to Closed

Gabriel Mazetto wrote:

BUG: If i change the filter and click apply, progress line state is not preserved

Fixed in r11571.

Also available in: Atom PDF