MantisBT - v3.2 Release
View Issue Details
0001257v3.2 ReleasePDF Generationpublic2013-02-28 04:192014-07-16 21:30
Assigned Tocaseydk 
PlatformOSOS Version
Product Version 
Target Version3.2Fixed in Version3.2 
Summary0001257: Gantt chart print to PDF only shows the first 24 tasks
DescriptionAfter not having used Gantt charts before, we now have a PM that likes them. He's complaining that when he tries to print Gantt charts to PDF it only prints the first 24-or-so tasks and then stops and prints the chart key (in much larger type).

Additional InformationI have suggested a workaround in that he simply right-clicks the chart on the web page and downloads it, but I haven't been able to overcome this PDF generation problem.
TagsNo tags attached.
duplicate of 0001248closed caseydk Pending Requests view gantt in PDF incomplete 
has duplicate 0000396closed  Pending Requests Multipage Gantt chart error 
has duplicate 0001294closed  Pending Requests Gantt not generating complete chart when printing to PDF 
has duplicate 0001375closed caseydk Pending Requests PDF Gantt Chart only showing first 22 task 
Attached Files

2013-03-02 14:17   
(Last edited: 2013-03-02 23:23)
Since there's an easy work around for this one (Show Full Project -> view image -> print to PDF), I'm pushing this beyond the v3.0 release.

FYI: There *is* Gantt chart pagination code built into the PDF generation but it doesn't seem to work as expected

2013-03-03 04:14   
Using IE this work around doesn't work
2014-06-14 19:50   
Finally resolved this one for v4.0 but you should be able to just grab this patch:

My test projects had 22, 105, and 364 tasks and each worked as expected.
2014-06-19 20:56   
Backported this fix to v3.2

Issue History
2013-02-28 04:19simonnzgNew Issue
2013-03-02 14:17caseydkNote Added: 0002807
2013-03-02 14:17caseydkProjectv3.0 Release => Pending Requests
2013-03-02 23:23caseydkNote Edited: 0002807
2013-03-02 23:23caseydkRelationship addedhas duplicate 0000396
2013-03-03 04:14dlw1660Note Added: 0002821
2013-03-30 10:48caseydkRelationship addedhas duplicate 0001294
2014-06-10 21:44caseydkRelationship addedhas duplicate 0001375
2014-06-10 21:44caseydkProjectPending Requests => v4.0 Release (Planning)
2014-06-10 22:43caseydkRelationship addedduplicate of 0001248
2014-06-10 22:49caseydkTarget Version => 4.0
2014-06-12 19:47caseydkCategoryGeneral => PDF Generation
2014-06-14 19:50caseydkNote Added: 0003485
2014-06-14 19:50caseydkStatusnew => resolved
2014-06-14 19:50caseydkFixed in Version => 4.0
2014-06-14 19:50caseydkResolutionopen => fixed
2014-06-14 19:50caseydkAssigned To => caseydk
2014-06-19 20:56caseydkNote Added: 0003504
2014-06-22 12:36caseydkProjectv4.0 Release (Planning) => v3.2 Release
2014-06-22 12:36caseydkFixed in Version4.0 => 3.2
2014-06-22 12:36caseydkTarget Version4.0 => 3.2
2014-07-16 21:30caseydkStatusresolved => closed