How to see the present week in the gantt chart ..?

302 views
Skip to first unread message

Chanti

unread,
May 19, 2015, 7:27:56 AM5/19/15
to taskjugg...@googlegroups.com
Hello taskjugglers,

 
           I made a project plan consisting of 5 main tasks and each main task has 10 subtasks. I produced a task report consisting of columns ->

  Name    Resources   Effort   Start   End   Note   Completion   Chart {daily}    


I adjusted the width of Name to Completion columns and had given enough width to the Chart.

At the end of every week I will update the project plan. I am doing these from last one month. But evrytime after updating and excuting tj3, I have to move the mouse to see the present week( in Gantt chart).
Is it possible to do any changes, so that I will be able to see the present week in my chart evrytime I update it....?

* I know about chart {week} and chart {month} options, but In my project plan I have to show it in daily format.



Any ideas/suggestions...

Thank you in advance.


  


Rob M

unread,
May 19, 2015, 7:49:58 AM5/19/15
to taskjugg...@googlegroups.com
Hi,
To get rid of the horizontal scrollbar, you must manually increase the chart column width.
For example:
    taskreport zzz "zzz" { # Simplified construction schedule
        numberformat "-" "" "," "" 0
        sorttasks plan.start.up
        start ${3} end ${4} # macros are set with start and end dates
        title "Simple Schedule"
        headline "Simplified Project Schedule"
        columns        line ,
                name { width 270 title "Task" } ,
                note { width 50 } ,
                start { } ,
                end { } ,
                chart { scale week width 670 ${TaskTip} }
    }

-Rob

Chanti

unread,
May 19, 2015, 9:47:53 AM5/19/15
to taskjugg...@googlegroups.com
HI Rob,

      you are right, but as per my requirement I should have scale "day".  when you have scale "day" in a three months or more duration project - you will obviously have horizontal scroll bar. 
my question is - I am in the second month of my project and for example i updated it and excuted tj3 today. In the taskreport I have a chart starting from the first day of my project - which I dont want - because i have to scroll horizontal scroll bar to the present week. 

is it possible to show the chart with that particular week as starting of chart (hiding the start of project to the before week of updated day) 

Rob Maurer

unread,
May 19, 2015, 9:49:43 AM5/19/15
to taskjugg...@googlegroups.com
Absolutely! You just set the start and end dates of the report, as shown in the highlighted line below:
    taskreport zzz "zzz" { # Simplified construction schedule
        numberformat "-" "" "," "" 0
        sorttasks plan.start.up
        start ${3} end ${4} # macros are set with start and end dates
        title "Simple Schedule"
        headline "Simplified Project Schedule"
        columns        line ,
                name { width 270 title "Task" } ,
                note { width 50 } ,
                start { } ,
                end { } ,
                chart { scale day width 670 ${TaskTip} }
    }


--
You received this message because you are subscribed to the "TaskJuggler Users" group.
To post to this group, send email to taskjugg...@googlegroups.com
To unsubscribe from this group, send email to
taskjuggler-us...@googlegroups.com
For more information about TaskJuggler visit http://www.taskjuggler.org
---
You received this message because you are subscribed to the Google Groups "TaskJuggler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taskjuggler-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
*     *     *     *
Rob Maurer
508.648.6308 voice/text new!
253.276.5340 fax
rob-maurer Skype
robm...@gmail.com

Chanti

unread,
May 19, 2015, 10:38:44 AM5/19/15
to taskjugg...@googlegroups.com
Hi Rob,

       you are absolutely right. Thank you very much. 
Frankly speaking I never used macros and i tried like this
              start ${2015-05-10} end ${2015-05-20}
after excuting it showed the following error:: Error: Unexpected token '$' found. Expecting one of :DATE, '%'

It would be very kind of you....if you can write a small project plan with macros and as per the above requirement.

once again thank you..

Rob M

unread,
May 19, 2015, 11:27:04 AM5/19/15
to taskjugg...@googlegroups.com
Hi,
Yes it would.
If you want to avoid macros, hard-code your dates like this:
start 2015-05-10 end 2015-05-20
If you decide to learn to use macros (and I think you should, they help you avoid time-consuming updates and needless repetition), just read the docs (you had to know I was going to say that):
and then define your macros before you use them...
macro StartDate [ 2015-05-10 ]
macro EndDate [ %{${StartDate} + 10d} ]


and then in your report definition:
start ${StartDate} end ${EndDate}
Kindly,
Rob

Chanti

unread,
May 20, 2015, 4:46:59 AM5/20/15
to taskjugg...@googlegroups.com
Hi Rob,

      For time being i used hard-code, but for sure I will learn using macros.
Thank you for the links and your time.

Have a nice week.

Kindly 
Sanoj
Reply all
Reply to author
Forward
0 new messages