Questions tagged [pgfgantt]
{pgfgantt} concerns making Gantt charts based on the pgf package.
276
questions
0
votes
1
answer
27
views
Pgfgantt: grid lines and title separators according to title tier
I am trying to organize a gantt chart according to year and quarter. I am unable to format the grid and title-table lines.
I am unable have the horizontal lines within the title section to be ...
1
vote
0
answers
37
views
Progress bars stuck in pgfgantt
I'm experiencing some unexpected behaviour with progress bars in a little-endian format ganttchart environment. For example, with the MWE below:
\documentclass[crop]{standalone}
\usepackage{tikz}
\...
2
votes
2
answers
223
views
How to draw custom arrows in Gantt chart?
I have the following Gantt chart, but I want to make the following modifications to it.
There is currently a link from WP1 to WP2 (first and second bar). I want to keep that but instead of having a ...
5
votes
1
answer
59
views
How to calculate dates to pass as arguments to pdfgantt?
I'm trying to work with dates in Latex (via Overleaf) with the datetime2 and pdfgantt packages.
I have created a command to increment a date using \DTMsavejulianday. The below code shows that it is ...
0
votes
0
answers
103
views
pgfgantt - split progress label text into two lines
I created a gantt chart with pgfgantt and want to split the progress label text into two lines. I already tried "\", "\newline" and "\ganttalignnewline" but nothings ...
0
votes
0
answers
102
views
Gannt chart with Q1/Q2/Q3/Q4
I'm struggling with Gannt charts to replace months with Quarters (for having a more compact view). The question was previously asked here but I couldn't identify a proper answer. Any ideas?
A second ...
0
votes
0
answers
53
views
How to show "calendar week" next to the week numbers in pgfgantt
I'd like to show the words "calendar weeks" (or CW for short) left of the row of numbers . How can I do it?
(Bonus question: Why is the page title not right aligned on landscape pages in ...
0
votes
1
answer
46
views
pgfgantt- Adding a number line on top of gantt chart
How do you add a number line on top of a gantt chart as in the picture below?
MWE added.
\documentclass[ ]{article}
\usepackage{pgfgantt}
\definecolor{foobarblue}{RGB}{0,153,255}
\newganttchartelement{...
0
votes
0
answers
72
views
Why does PGFgantt struggle with a too large dimension?
I have the following code:
\documentclass{standalone}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[
today label={Heute},
today={\the\year-\the\month-\the\day},
time slot ...
0
votes
1
answer
54
views
pgfgantt hide overlapping date
I am trying to hide any Date in the second row (in this case the Nov 14th) that will overlap at the border of the chart. Does anybody know how to do that, thanks in advance!
\documentclass[a4paper]{...
1
vote
1
answer
164
views
How to draw a simple Gantt chart in latex?
I wanted to draw a simple Gantt chart like the following picture, but I saw that many instructions about Gantt charts on the Internet are much more complicated than I expected.
1
vote
1
answer
47
views
Defining styles in ganttchart
I know I can define a new ganttbar to customize a bar (for repeated use) as follows:
\documentclass{standalone}
\usepackage{pgfgantt}
\begin{document}
\newganttchartelement{mybar}{
mybar height=.2,
...
1
vote
1
answer
46
views
ganttchart with range in title
I want to have a range of months (Months 1-3, 4-6... etc) as the title of my gant chart, however when I do:
\documentclass{standalone}
\usepackage{pgfgantt}
\def\printrange#1#2{%
\pgfmathparse{int(...
0
votes
2
answers
130
views
Combine multiple ganttbars for the same title
In the MWE below
\documentclass{standalone}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[
vgrid,
hgrid,
bar/.append style={fill=red!50},
group/.append style={draw=black, fill=...
-2
votes
1
answer
64
views
using csvsimple inside a pgfgantt diagram?
Is there any possibility to use some data contained in a csv file to create milestone or bar inside a pgfgantt diagram ? And, if yes, how to do so ? Is this possible with csvsimple ? Is it possible to ...
1
vote
1
answer
202
views
Put short name of month in Gantt chart
I am trying to make a Gantt chart using the pgfgantt package. I would like help with the following two issues:
I want the short month names starting from March 2023 up to 24 months instead of "1,...
1
vote
3
answers
431
views
Gantt chart - borders and heading for task list and spacing in lines
\documentclass[tikz]{standalone}
% Uncomment the following line to allow the usage of graphics (.png, .jpg)
%\usepackage[pdftex]{graphicx}
% Comment the following line to NOT allow the usage of ...
0
votes
1
answer
119
views
How to remove extra blank horizontal grid line in ganttchart?
I am having some problem with an extra blank horizontal grid line that appears in the gantt chart. This is the code:
\documentclass[a4paper, 11pt]{article}
\usepackage{pgfgantt}
\usepackage{graphicx}...
1
vote
0
answers
124
views
How to fill a pgfgantt bar with a color gradient which fades from the center of the bar?
I'm trying to figure out how to fill a pgfgantt bar with a horizontal color gradient which fades from the center outwards. Unfortunately i'm having no luck!
I was wondering whether anyone knew how to ...
1
vote
1
answer
95
views
How to partially remove the `vgrid` in a `pgfgantt` diagram?
pgfgantt manual says one has to use vgrid={draw=none} to remove vertical lines of a grid. But, how can one restrict the removal to only a particular element? In particular, suppose a group and a bar ...
2
votes
1
answer
377
views
itemize not working in beamer class
I have multiple itemizes present in my work. So I am trying to change the itemization of the Gantt chart. I am unable to make the necessary changes.
\documentclass[xcolor=dvipsnames, aspectratio=169, ...
5
votes
1
answer
174
views
pgfgantt: Start the week on Sunday?
I want my Gantt chart to display with the week starting on Sunday. You can see this in the second gantt chart in the MWE. How do I accomplish that without explicitly writing out each week?
My use case ...
0
votes
1
answer
325
views
How to set height of a time slot in pgfgantt?
Having a Gantt chart that a fragment of is attached below I want to reduce the spacing in all slots. Naming of chart elements according to the attached picture.
I already know I can set height of an ...
0
votes
1
answer
344
views
pgfgantt: How to add dates to the ends of the bar?
The problem
I am making a Gantt chart using the pgffgantt package.
I would like the dates of the tasks to be displayed above the bars (in orange in the image below)
I tried to do things without ...
2
votes
1
answer
273
views
How can I create a Gantt / Sankey diagram combination?
Is there a package that would help me create a diagram such as the one below?
The example diagram can be found in this PATHOCOM project proposal.
It appears to be a combination of a Gantt and Sankey ...
1
vote
1
answer
185
views
Can I create a single ganttbar of a different height?
In a ganttchart environment I can set height of all bars with:
\begin{ganttchart}[
bar height=0.7,
]{1}{3}
\end{ganttchart}
Can I do something similar for a single ganttbar ?
What I ...
0
votes
1
answer
84
views
How to remove blank page, header and page number (memoir, gantt)
I'm using pgfgantt package with memoir, and what I'm getting is a blank page, and I couldn't find a command to help remove the header and the page number.
\documentclass[12pt,a4paper,oneside]{memoir}...
1
vote
1
answer
96
views
Adjusting x position of labels in gantttitlelist in pgfgantt
I'm using pgfgantt to produce timing diagrams. This works nicely except that time labels are centered on points 0.5 time units too far to the right. Example
\usepackage{pgfgantt}
\begin{document}
\...
1
vote
1
answer
192
views
Vertical lines in pgfgantt covering just one row
Here is an example of what I got:
\documentclass[10pt,a4paper]{article}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[
expand chart=\textwidth,
vgrid=true, hgrid=true,
canvas/....
1
vote
1
answer
387
views
Gantt bars with multicolour diagonal stripes
I have used pgfgantt to produce a simple Gantt chart for the work packages of my project:
\documentclass{article}
\usepackage{pgfgantt}
\begin{document}
\begin{ganttchart}[expand chart=\textwidth]{1}...
1
vote
2
answers
262
views
How do I create a timeline charts similar to this style? Suggestions
I would like to reproduce a lot of time line charts with a style similar to the image below.
The charts would show how different events in history are related to each other in time.
I would like to ...
2
votes
2
answers
131
views
Language pgfgantt -> Translate to portuguese
How to translate the text in Portuguese?
-Complete to completo
-Today to hoje
\documentclass[tikz]{standalone}
\usepackage{pgfgantt}
\title{Gantt Charts with the pgfgantt Package}
\begin{document}
...
1
vote
1
answer
322
views
How to insert text inside the rhombus of Milestone
I am trying to write some text inside the Milestone symbol:
as stated in here (P25)
\begin{ganttchart}[vgrid, hgrid]{10}
\gantttitle{Title}{10} \\
\ganttbar{Task 1}{1}{5} \\
\ganttmilestone%
[...
0
votes
1
answer
428
views
How to reduce the vertical spaces in the Gantt Chart?
How can I reduce the vertical spaces between all the label?
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{eurosym}
\...
1
vote
1
answer
532
views
How to increase the space between groups and tasks of Gantt Chart (pgfgantt package)
I was typing this gantt chart (code below), but I didn't figure out how to increase the space between "WP 1" and "Task 1.1" (please see figure attached). How can I do that? Thanks!
...
3
votes
1
answer
337
views
PGF Gantt, group label inside
When using the ' inline ' option for a ganttgroup, the label is written above the group. I would like to thicken (this can be done with the parameter group height) the group and that the naming of the ...
2
votes
1
answer
198
views
Removing unused rows from pgfgantt gantt chart
I am preparing a gantt chart in Overleaf using the pgfgrantt package. I use the bar and milestone top shift options to shift them up and squeeze them closer to one another. However, this leave a lot ...
1
vote
1
answer
45
views
How do I fix internal heights and get my bars showing in a pgfgantt chart?
I have essentially survival-type data, and I am trying to show the survival duration for each of four groups. I have end-point data, and I need to go backwards from the last date to show when each ...
2
votes
1
answer
268
views
How to align the title of a pgfgantt on the left
I would like align the titles of my gantt-chart on the left.
For the moment I have something like this:
but I would like the numbers (0, 0.2, 0.4, etc.) to be place on the left, not in the middle.
...
2
votes
1
answer
353
views
Pgfgantt: table or formatting for the task names and extra information
Problem: I am trying to include more information on the task name on a Gantt chart made with pgfgantt, in the form: ID, task name, duration and perhaps more information such as start/end dates. I am ...
2
votes
0
answers
90
views
Better time representation with Gantt chart (pgfgantt)
Pretty new to pgfgantt. Can anyone tell me how I can represent time with an $x$-axis , up the top of down the bottom of the chart?
MWE:
\documentclass[16pt]{article}
\usepackage{pgfgantt}
\usepackage[...
1
vote
1
answer
337
views
Gantttitle on more than one line
I would like to draw a Gantt chart. However, I need 15 weeks to be represented and it wouldn't fit in a single page so I would like to divide it by 3 with each section representing 5 weeks.
\...
0
votes
1
answer
2k
views
How to change the font size in a ganttchart?
How do I change the font size in a ganttchart? I tried putting in the scriptsize command in the same place like a table environment but it does not change anything.
\begin{ganttchart}{1}{16}
\...
1
vote
1
answer
153
views
pgfgantt how do you connect start-start at the same time with three segment?
In pgfgantt, connecting multiple simultaneously-starting bars by start-to-start produces a vertical arrow. Does pgfgantt support a three-segment arrow, i.e. left, down, right? (finish-to-start seems ...
1
vote
0
answers
379
views
Make gantt chart a figure
I would like my Gantt chart to appear in my list of figures. Is there an easy way of 'casting' the Gantt chart to a figure format that would then automatically include it in the list of figures?
...
1
vote
0
answers
93
views
pgfgantt: why is the figure shorter than \textwidth on the right?
I am no Latex Pro and trying to get the chart below to be exactly \textwidth wide, but somehow it is displayed shorter than the text on the right side. I don't understand why the expand chart=\...
2
votes
1
answer
946
views
Only place milestone label in the gantt chart
I would like to keep all the labels of my gantt chart on the outside of the chart, but would like to add an extra note (the date) to a milestone which should be placed in the chart next to the ...
1
vote
0
answers
55
views
use pgtgantt with babel package in a beamer frame
I would like to fit a gantt chart in a beamer frame with the babel package loaded with French language.
\documentclass[10pt,fleqn]{beamer}
\usepackage[french]{babel}
\usepackage{pgfgantt}
\begin{...
4
votes
1
answer
6k
views
Draw Gantt chart LaTeX with pgfgantt
I tried the example given here.
\documentclass{article}
\usepackage{pgfgantt}
\begin{document}
\begin{figure}[ftbp]
\begin{center}
\begin{ganttchart}[y unit title=0.4cm,
y unit chart=0.5cm,
vgrid,...
2
votes
2
answers
274
views
Gantt chart - set width of descriptions to be the same across charts
Hello and thank you for taking the time to look at my question.
I have a \pgfgantt chart that I need to split into a couple as it's too long (I'm using the latest version of \pgfgantt installed ...