blob: e50fa8252314139596ea22e1f303537568f65a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
\usemodule[gantt]
%\usemodule[gantt][style=mp]
%\usemodule[gantt][style=tikz]
\setuppapersize[landscape][landscape]
\setuplayout[scale=0.8]
\setuppagenumbering[location=]
\starttext
\startgantt[xunitlength=0.5cm,fontsize=\tfx,titlefontsize=\tfx,drawledgerline=true]{10}{48}
\startganttitle
\titleelement{2009}{7}
\numtitle{2010}{1}{2012}{12}
\titleelement{2013}{5}
\stopganttitle
\startganttitle
\numtitle{6}{1}{12}{1}
\numtitle{1}{1}{12}{1}
\numtitle{1}{1}{12}{1}
\numtitle{1}{1}{12}{1}
\numtitle{1}{1}{5}{1}
\stopganttitle
\ganttbar{task 1}{2}{17}
\ganttgroup{a group of tasks}{6}{18}
\ganttbar{task 2}{5}{10}
\ganttbar[color=blue]{task 3}{15}{3}
\ganttbar{task 4}{20}{3}
\ganttcon{15}{4}{20}{6}
\ganttbar{task 5}{15}{5}
\ganttbarcon[color=red]{task 6}{20}{5}
\ganttbarcon{task 7}{30}{5}
\stopgantt
\stoptext
|