Questions tagged [pgfgantt]
{pgfgantt} concerns making Gantt charts based on the pgf package.
257
questions
0
votes
1
answer
34
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 ...
0
votes
0
answers
16
views
pgfgantt layout issues. link lines clumped together
I am experimenting with the pgfgantt package,
I managed to get a sample plot, but it has some layout issues.
All the links vertical lines are grouped at the start/ end of the plot making it difficult ...
2
votes
1
answer
77
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
26
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
25
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
26
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
44
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/....
0
votes
0
answers
18
views
Conflict between pgfgantt and sn-jnl
I probably found an incompatibility between pgfgantt and sn-jnl, see the code below.
Please note that the code works if I change sn-jnl with article. Any idea about how to solve this?
\documentclass[...
1
vote
1
answer
54
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
142
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
51
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}
...
0
votes
1
answer
36
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
50
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
112
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!
...
2
votes
1
answer
70
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
40
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
26
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
61
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
85
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 ...
1
vote
0
answers
33
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
85
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
319
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}
\...
0
votes
0
answers
21
views
Why is my ganttchart ganttgroup text writing into the chart?
\documentclass[tikz]{standalone}
\usepackage{pgfgantt}
\title{Gantt Charts with the pgfgantt Package}
\begin{document}
%
% A simpler example from the package documentation:
%
\begin{ganttchart}[x ...
1
vote
1
answer
61
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
83
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
49
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
309
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
41
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{...
3
votes
1
answer
2k
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
92
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 ...
0
votes
0
answers
43
views
How to format weekly date range in "calendar week text" to appear as 1 - 6, 7 - 13, 14 - 20, and so on?
If I use something like this:
\ganttset{%
calendar week text={%
\small {\startday}
}%
}
I can get the week to be broken down by date:
But I want it to show the date for both the ...
1
vote
1
answer
143
views
Gantt chart without weekends
Duplicate of:
How to exclude or remove weekends from ganttchart
I'm looking to create a Gantt chart using pgfgantt that only displays certain days of the week, specifically excluding weekends or ...
1
vote
1
answer
208
views
Gantt chart bar label spacing issues
It took me a while to first of all get the spacing right on the gantt chart- easier if I could have found a way to shift the entire chart left but I could not find a way, I tried, flushleft but this ...
0
votes
0
answers
99
views
Gantt chart spacing, time unit change
The chart being produced is too wide, I only neede the unit of time every three-six months rather than every month? what is the valid format of the time unit to change this? e.g. i have tried 'x3 ...
1
vote
1
answer
134
views
pgfgantt animated gantt chart in beamer
I'm trying to apply animations such as the one here Tikz animated figure in Beamer to a gantt chart that uses pgfgantt: I'm trying to make the ganttbars appear after clicking, incrementally. If I ...
1
vote
1
answer
86
views
Vertical alignment of inline labels in pgfgantt
It seems that pgfgantt is vertically aligning inline label by automatically taking into account the space for descenders:
\documentclass{article}
\usepackage{pgfgantt}
\begin{document}
\begin{...
0
votes
1
answer
239
views
pgfgantt: milestone with two labels
Is it possible to modify the \ganttmilestone, such that it has (besides the label at north) a second, optional label positioned at south?
3
votes
1
answer
203
views
How to remove the text after the calculate percentage in a pgfgantt?
I would like to remove the "complete" after the percentage in the progress label and keep the 60% only, without a digit.
Thank you for your help.
Please find bellow a MWE.
\documentclass[...
2
votes
1
answer
131
views
Output of aux file from standalone with subpreambles contains undefined command
Was: Document starts with dimension as text
I'm using pgfgantt in a file in a subdirectory, which is included using the standalone subpreambles feature. However, the textual value of a dimension is ...
2
votes
1
answer
299
views
pgfgantt xcolor Error undefined color
\documentclass[border=10pt]{article}
\usepackage{pgfgantt}
\ganttset{group/.append style={orange},
milestone/.append style={red},
progress label node anchor/.append style={text=red}}
\begin{document}...
1
vote
0
answers
84
views
Additional column in pgfgantt
I am working in some Gantt charts using pfgantt package. At the moment I have the responsible for the task written after the task label. I would like to have a column after the task label with all the ...
1
vote
1
answer
129
views
pgfgantt externally compiled
I cannot get my gantt chart compiled when using \usepgfplotslibrary{external} and \tikzexternalize. (also use the compilation option -shell-escape when compiling) I just took the basic example from ...
1
vote
0
answers
347
views
Customising spacing and text elements in Gantt charts using pgfgantt
I'm having great difficulty figuring out how to customise the Gantt charts using the pgfgantt package. There are two things I want to do:
Have the ability to add text under the labels of the main ...
3
votes
1
answer
191
views
How to use pdfgantt in other language rather than english?
I was following the beautiful instructions for building a Gantt Chart (How to create a Gantt chart?), and I was doing great. Nevertheless, I've noticed that if I try to use SPANISH as a language ( ...
1
vote
1
answer
106
views
pgfgantt arrows look wired
Here is my MEW:
\documentclass[a4paper, 12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\usepackage{pgfgantt}
\begin{document}
\resizebox{\textwidth}{!}{%}
\begin{ganttchart}
[
...
2
votes
2
answers
115
views
Can someone explain how to use "\Smallestside" type macros from the adjustbox package?
I was trying to fit a gantt chart on a slide in beamer. I don't want to keep changing the dimensions of resizebox if the size of the gantt changes. I was reading the adjustbox package and on page 11 ...
1
vote
1
answer
143
views
Using \input for the gantt options
I am having an issue with using \input to enter the gantt chart options.
The command for a gantt chart is:
\begin{ganttchart}[options]{start tss}{end tss}
· · ·
\end{ganttchart}
In place of [...
2
votes
1
answer
114
views
Tikz \newcommand error
I am trying to create a \newcommand to save space. I won't get into the debates as to whether new commands are good or bad. I just know that my code is far easier for ME to debug with my custom ...
0
votes
0
answers
193
views
Typesetting a Gantt chart
so I'd like to typeset a Gantt chart like the one pictured below. It shoud go: Year>Month>Day of month, preferably with the orientation in the second image:
What I get:
My code:
\documentclass{...
2
votes
0
answers
131
views
pgfgantt : progression is wrong when using today offset=.5,
When I'm not using today offset=.5, I get this :
So the progression in grey is right. Now if I add today offset=.5, I get this :
The grey progression isn't 50% anymore. How can I do to nullify the ...