![想要在左侧添加更多列吗?](https://linux22.com/image/293020/%E6%83%B3%E8%A6%81%E5%9C%A8%E5%B7%A6%E4%BE%A7%E6%B7%BB%E5%8A%A0%E6%9B%B4%E5%A4%9A%E5%88%97%E5%90%97%EF%BC%9F.png)
想要在左侧添加更多列吗?
\documentclass{article}
\usepackage{pgfgantt}
\usepackage{rotating}
\usepackage[graphicx]{realboxes}
\newganttchartelement*{mymilestone}{
mymilestone/.style={
shape=isosceles triangle,
inner sep=0pt,
draw=cyan,
top color=white,
bottom color=cyan!50
},
mymilestone incomplete/.style={
/pgfgantt/mymilestone,
draw=yellow,
bottom color=yellow!50
},
mymilestone label font=\slshape,
mymilestone left shift=0pt,
mymilestone right shift=0pt
}
\newgantttimeslotformat{stardate}{%
\def\decomposestardate##1.##2\relax{%
\def\stardateyear{##1}\def\stardateday{##2}%
}%
\decomposestardate#1\relax%
\pgfcalendardatetojulian{\stardateyear-01-01}{#2}%
\advance#2 by-1\relax%
\advance#2 by\stardateday\relax%
}
\begin{document}
\begin{sidewaysfigure}
\begin{ganttchart}[vgrid, hgrid]{1}{36}
\gantttitle{2014}{12}
\gantttitle{2015}{12}
\gantttitle{2016}{12}\\
\gantttitlelist{1,...,36}{1}\\
%First Group
\ganttgroup{Group 1}{1}{10} \\
\ganttbar{Task 1}{2}{3} \\
\ganttbar{Task 2}{4}{10} \\
\ganttbar{Task 3}{9}{12}\\
%\ganttlink{elem0}{elem1}
\ganttlink{elem1}{elem2}
\ganttlink{elem2}{elem3}
%\ganttmilestone{Milestone 1}{11}
%Second Group
\ganttgroup{Group 2}{14}{20} \\
\ganttbar{Task 1}{15}{18} \\
\ganttbar{Task 2}{18}{21} \\
\ganttbar{Task 3}{22}{24}\\
%\ganttlink{elem4}{elem5}
\ganttlink{elem5}{elem6}
\ganttlink{elem6}{elem7}
%\ganttmilestone{Milestone 1}{11}
%Third Group
\ganttgroup{Group 3}{25}{27} \\
\ganttbar{Task 1}{26}{28} \\
\ganttbar{Task 2}{28}{32} \\
\ganttbar{Task 3}{32}{35}
%\ganttlink{elem8}{elem9}
\ganttlink{elem9}{elem10}
\ganttlink{elem10}{elem11}
%\ganttmilestone{Milestone 1}{11}
\end{ganttchart}
\end{sidewaysfigure}
\end{document}