Project

General

Profile

Actions

Patch #12730

open

Fix sorting and PDF output of Gantt diagram & start date calculation and grouping

Added by Tobias Droste almost 12 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Category:
Gantt
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This patch does several things:

  1. Fixes the sorting of issues so that the oldest one are on top and the newer ones are at the bottom
  2. Fixes the PDF output for short items where the length of the bar would be 0 or negative with the old calculation
  3. If no start date is given the date of the first issue in the query is used and the month count is set to include all issues (max. 48)
  4. Keeps the query from other views and respects the grouping to group items in the diagram too (see Screenshot). If a query has no grouping the view is the same as in the original version.

It passes all test that are available for the Gantt diagram.

(I could split it into 4 patches and provide more screenshots if there's interest)


Files

gantt_diagram.diff (18.5 KB) gantt_diagram.diff Patch for Gantt diagram Tobias Droste, 2013-01-04 10:08
grouped_gantt_diagram.png (53.4 KB) grouped_gantt_diagram.png Screenshot of a grouped diagram (by priority) Tobias Droste, 2013-01-04 10:08
Fix-PDF-output-of-Gantt-diagram-for-small-tickets.patch (4.46 KB) Fix-PDF-output-of-Gantt-diagram-for-small-tickets.patch Patch to fix PDF output of Gantt diagram with small ticket durations Tobias Droste, 2013-01-05 09:29
Gantt-Calculate-month-from-and-count-from-current-query.patch (4.55 KB) Gantt-Calculate-month-from-and-count-from-current-query.patch Patch to calculate start month and month count from the current query Tobias Droste, 2013-01-05 09:29

Related issues

Related to Redmine - Feature #347: Grouping issues in Gantt viewNew

Actions
Related to Redmine - Feature #4786: Gantt Chart - Grouping issues by target versionClosed2010-02-10

Actions
Related to Redmine - Feature #7836: Ability to save Gantt query filtersClosedJean-Philippe Lang2011-03-11

Actions
Related to Redmine - Defect #8366: Gantt Version OrderingClosed2011-05-13

Actions
Related to Redmine - Feature #9565: Gantt graph grouped by "assigned to"New2011-11-14

Actions
Related to Redmine - Feature #11293: Order/Group tasks by users on GanttNew

Actions
Related to Redmine - Defect #7335: Sorting issues in gantt by date, not by idClosedToshi MARUYAMA2011-01-15

Actions
Related to Redmine - Defect #11840: trouble with ganttNew

Actions
Related to Redmine - Defect #6407: New gantt charts shouldn't display all issues / versionsClosedJean-Baptiste Barth2010-09-16

Actions
Actions

Also available in: Atom PDF