3

The percent complete is already shown in the color area. Is there a way to remove the text description?

  • 1
    Please post the code you have so far as a minimal working example. – Andrew Swann Sep 24 '16 at 14:24
  • If anyone wants to have the percentage but not the word "complete" this link may help https://tex.stackexchange.com/questions/558623/how-to-remove-the-text-after-the-calculate-percentage-in-a-pgfgantt – Isaac May 28 '21 at 00:36

1 Answers1

7

Just leave the option progress label text empty:

\documentclass{standalone}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[
vgrid,
hgrid,
bar/.append style={fill=green},
bar incomplete/.append style={fill=red},
progress=today,
today=6,
group progress label node/.append style={below=3pt}
]{1}{12}
\gantttitle{Title}{12} \\
\ganttgroup{Group 1}{1}{10} \\
\ganttbar[
bar progress label font=\color{green!25!black}\sffamily
]{Subtask 1}{1}{3} \\
\ganttbar[
progress label text={$\displaystyle\frac{#1}{100}$}
]{Subtask 2}{5}{12} \\
\ganttbar[
progress label text={}
]{Subtask 3}{5}{12}
\end{ganttchart}
\end{document}

progress label text

mirkom
  • 1,664