Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [pgfgantt]

{pgfgantt} concerns making Gantt charts based on the pgf package.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

vrule from pgfgantt: Vertical line not being drawn completely

I'm trying to create a Gantt chart with pgfgantt and I'd like to include vertical lines to mark certain occasions. The manual suggests \ganttvrule which kind of works, but not really. It draws the ...
ReaderGuy42's user avatar
0 votes
1 answer
39 views

crossreferencing via \label and \ref in pgfgantt?

It does not seem possible to refer via \ref to elements in pgfgantt. Or is there some way to do so? EDIT: I would be interested to have a similar functionality as the one available in pgfplot with ...
Jpk's user avatar
  • 121
1 vote
1 answer
66 views

Trying to replicate this Gantt chart

I want to replicate some Gantt charts shown in the book “Operating System Concepts” to demonstrate how CPU scheduling algorithms work, like this one: I tried to replicate it using the pgfgantt ...
ncant's user avatar
  • 37
4 votes
1 answer
164 views

pgfgantt: There is no , in font nullfont!

I'm aware that this question has been asked many times here in different variations. However, I couldn't find a question regarding this topic that was related to pgfgantt. Nor could I find this topic ...
Pompan's user avatar
  • 41
1 vote
1 answer
45 views

Move Gantt chart

How do I get the content of the gantt to move lower down the page please? Its to close to the (grey) Year / Month / Week. \documentclass{article} \usepackage{pgfgantt} \usepackage{rotating} \...
arkriger's user avatar
  • 133
0 votes
0 answers
40 views

Expand or position Gantt chart to take two columns of space

How do I expand or position the Gantt chart so that it would take up two columns of my two-column layout, without adjusting the amount of text that comes before it or reordering sections, of course? ...
Andriy Sultanov's user avatar
1 vote
1 answer
73 views

A ganttbar in two parts on the same line

I want to design a work-package composed of two successive phases. So on the same line I would draw two rectangles. \documentclass{article} \RequirePackage{pgfgantt} \begin{document} \...
the world is not flat's user avatar
0 votes
0 answers
51 views

Pgfgantt remove labels of month

My project has a 6 years duration and I want to realise a Gantt chart still readable in the width of the A4 page, in portrait format. I want to remove the labels (the numbers) in the month line of ...
the world is not flat's user avatar
2 votes
1 answer
48 views

How to obtain object coordinates in pgfganttchart?

This question Gantt chart - columns and rows are not aligned showed some misaligned rows in a Gantt chart. To my impression package pgfgantt doesn't provide the requested outcome per se. However, ...
MS-SPO's user avatar
  • 13.9k
1 vote
3 answers
142 views

Gantt chart - columns and rows are not aligned

My problem is that I can't seem to align the columns and rows in the Gantt chart. Namely, the first column should have a background color as in the example (Violet) and the second column (Duration) ...
Zeljko Hrcek's user avatar
0 votes
1 answer
86 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 ...
Ash's user avatar
  • 1
1 vote
0 answers
55 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} \...
William Barker's user avatar
2 votes
2 answers
418 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 ...
pixel's user avatar
  • 1,370
5 votes
1 answer
87 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 ...
IanS's user avatar
  • 153
0 votes
0 answers
140 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 ...
Achille 's user avatar
0 votes
1 answer
65 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{...
GermanShepherd's user avatar
0 votes
0 answers
101 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 ...
TobiBS's user avatar
  • 5,270
0 votes
1 answer
67 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]{...
Apikid's user avatar
  • 5
1 vote
1 answer
208 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.
Fitter Jack's user avatar
1 vote
1 answer
60 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, ...
Tohiko's user avatar
  • 1,833
1 vote
1 answer
59 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(...
Tohiko's user avatar
  • 1,833
0 votes
2 answers
237 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=...
Tohiko's user avatar
  • 1,833
-2 votes
1 answer
77 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 ...
Certes's user avatar
  • 35
1 vote
1 answer
305 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,...
Ginko-Mitten's user avatar
1 vote
3 answers
737 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 ...
Sara ismail-sutton's user avatar
0 votes
1 answer
210 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}...
user92's user avatar
  • 3
2 votes
0 answers
159 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 ...
ZekeMarshall's user avatar
1 vote
1 answer
133 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 ...
user avatar
2 votes
1 answer
482 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, ...
avi007's user avatar
  • 85
5 votes
1 answer
201 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 ...
adham327's user avatar
0 votes
1 answer
517 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 ...
zajer's user avatar
  • 217
0 votes
1 answer
522 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 ...
Brinfer's user avatar
  • 105
2 votes
1 answer
354 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 ...
Diomidis Spinellis's user avatar
1 vote
1 answer
250 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 ...
zajer's user avatar
  • 217
0 votes
1 answer
107 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}...
Diana's user avatar
  • 1,289
1 vote
1 answer
99 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} \...
Gaslight Deceive Subvert's user avatar
1 vote
1 answer
221 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/....
Gaslight Deceive Subvert's user avatar
2 votes
1 answer
581 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}...
Psychonaut's user avatar
  • 3,184
1 vote
2 answers
294 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 ...
RichWalt's user avatar
  • 171
2 votes
2 answers
151 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} ...
Andre Petroro's user avatar
1 vote
1 answer
414 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% [...
BabaYaga's user avatar
  • 157
0 votes
1 answer
582 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} \...
BabaYaga's user avatar
  • 157
1 vote
1 answer
660 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! ...
Vinícius's user avatar
3 votes
1 answer
557 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 ...
xounamoun's user avatar
  • 221
2 votes
1 answer
256 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 ...
Rob S's user avatar
  • 23
1 vote
1 answer
62 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 ...
Michelle's user avatar
  • 553
2 votes
1 answer
366 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. ...
Hello3456's user avatar
2 votes
1 answer
555 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 ...
user avatar
2 votes
0 answers
111 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[...
Chris Swan's user avatar
1 vote
1 answer
422 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. \...
Dunno's user avatar
  • 329

1
2 3 4 5 6