Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Show milestone name...
 
Notifications
Clear all

Show milestone name in Gantt

7 Posts
3 Users
0 Reactions
3,157 Views
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 
[#9263]

Hello,

in Gantt view, it will be great to show milestone name like activity name on bars.
So we can produce synthetic view for milestones for a group or all project.

Regards,


 
Posted : 26 Jan 2024 13H22
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

Also capability to add milestone in timeline will be usefull so we can produce a full timeline for a specific view in project, usefull for présentations out of ProjeQtOr.


 
Posted : 26 Jan 2024 13H25
(@marylene)
Posts: 592
Contributor Admin
 

Ticket #7984 et Ticket #7976 recorded
Ticket #7809 already existing


 
Posted : 29 Jan 2024 12H30
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

Doing this to show name of milestone in Gantt (also change a little size of done milestone and recorded milestone for more visibility) in jsgantt.js (line 1669 and below) :         

     

// Modified by JMMBB
          // Show name of mileStone in Gantt if showTaskNameOnPlanning is set to "yes"
          if (vTaskStart && vTaskEnd && Date.parse(vMaxDate)>=Date.parse(vTaskList.getEnd())) {
            // Construc visual for milestone
            const mileIcon = vTaskList.getCompVal() < 100 ? '◊' : '♦';
            // Get size for visuals, diamond is little bigger that losange for better render
            const mileIconSize = vTaskList.getCompVal() < 100 ? '1.6rem' : '2rem';
            // Show visual
            vRightTableTempMile += '' + mileIcon + '' ;
            // If showTaskNameOnPlanning; add a sapn to show name of milestone with a smaller font size (80%)
            if(showTaskNameOnPlanningBar==1) {
              vRightTableTempMile += '' + vTaskList.getNameTitle() + '' ;
            }
            // Close div
            vRightTableTempMile += '

';
 


 
Posted : 17 Feb 2024 21H27
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

@Babynus : it's not really me, it's my son who change the code for me, you remember the young developer meet in Open Source Forum in Paris ? 🙂


 
Posted : 17 Feb 2024 21H38
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

Work on V11.1.3 (not V 13 🙂 !)


 
Posted : 18 Feb 2024 15H08
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Thnaks for sharing the code.
Added as note on the ticket to ease developer work


 
Posted : 19 Feb 2024 11H55
Share:

Open source project management software

Subscribe to our newsletter

© All Rights Reserved. 2025 ProjeQtOr

Scroll to Top