目前,我已经制作了一个甘特图,但正如您从图像中看到的,您无法正确地看到它,并且看起来很乱。我试过调整,但没有成功。如果有人能帮我使它看起来更好,请。这是我第一次尝试创建甘特图。另外,我也尝试过让它显示我们当前所处的进程中的活动行。此外,如果一项任务少于一周,这是一种在不使甘特图过长的情况下显示这一情况的方法。有什么建议吗?
\documentclass[final]{cmpreport}
\subsection{Gantt Chart \& Critical Path}
\begin{sideways}
\newganttchartelement{voidbar}{
voidbar/.style={
draw=black,
top color=black!25,
bottom color=black!23
}}
\begin{ganttchart}[x unit=0.27cm, vgrid, title label font=\footnotesize,
canvas/.style={draw=black, dotted}]{1}{44}
\gantttitlelist{1,...,22}{2} \\
%the elements, bars and milestones, are identified as elem0, elem1, etc
%elem1
\ganttbar{A.Project Assigned}{1}{2} \\ %elem0
\ganttbar{B. Create Plan}{1}{4} \\ %elem1
\ganttbar{C. Ambassador Requirements}{5}{6} \\ %elem2
\ganttbar{D. Recruit Ambassadors} {7}{8} \\
\ganttbar{E. Communicate with Ambassadors } {9}{10} \\
\ganttbar {F. Set Marketing Objectives} {11}{11} \\
\ganttbar {G. Design, publish \& evaluate survey} {11}{14} \\
\ganttbar {H. Design Marketing Comms} {15}{18} \\
\ganttbar {I. Execute Plan} {19}{24} \\
\ganttbar {J. Set Webpage Objectives} {25}{25} \\
\ganttbar {K. Website Research} {25}{26} \\
\ganttbar {L. Website Prototype} {27}{28} \\
\ganttbar {M. Approve design/develop} {28}{29} \\
\ganttbar {N. Test \& evaluate} {30}{30} \\
\ganttbar {O. Venue \& theme} {31}{34} \\
\ganttbar {P. Choose Catering \& Entertainment } {35}{36} \\
\ganttbar {Q. Final Presentation} {37}{37} \\
\ganttlink{elem0}{elem2}
\ganttlink{elem1}{elem2}
\ganttlink{elem2}{elem3}
\ganttlink{elem5}{elem6}
\ganttlink{elem8}{elem9}
\ganttlink{elem9}{elem10}
\ganttlink{elem9}{elem11}
\end{ganttchart}
\end{sideways}
发布于 2021-03-12 11:17:30
我知道这是一个非常古老的问题,但是今天我开始学习pgfgantt
,我发现ganttchart
可以使用expand chart
选项来调整图表的大小。示例:
expand chart=1.2\textwidth
有关pgfgantt
包文档的更多信息,请访问:http://bay.uchicago.edu/CTAN/graphics/pgf/contrib/pgfgantt/pgfgantt.pdf
https://stackoverflow.com/questions/40509679
复制相似问题