Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Gantt Charts

Jacob Yount
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2013

Can the chart plugin for Confluence create Gantt Charts?

5 answers

1 accepted

0 votes
Answer accepted
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2013

Yes it does. However, it looks like the documentation page that use to exist is not publicly available anymore. It is not clear that part of the chart plugin has been maintained completely as one of the old examples does not work. At some point, this will all be corrected.

Here is a simple example that works - use insert wiki markup:

{chart:type=gantt|dataOrientation=vertical|columns=,,1,2,3,4|displayData=before|width=500|dateFormat=MM/dd/yyyy}

{csv:output=wiki}
Plan, Start, End, Percent\\complete
Create issue, 1/30/2007, 2/1/2007, 30%
Provide examples, 1/30/2007, 2/7/2007, 40%
Write code/tests, 2/3/2007, 2/4/2007
Write docs, 2/4/2007, 2/5/2007
Release update,	2/5/2007, 2/5/2007
{csv}

{csv:output=wiki}
Actual, Start, End, Percent\\complete
Create issue, 1/30/2007, 2/11/2007, 100%
Provide examples, 1/30/2007, 2/17/2007, 90%
Write code/tests, 2/3/2007, 2/14/2007
Write docs, 2/4/2007, 2/15/2007
Release update,	2/5/2007, 2/15/2007
{csv}

{chart}

Jacob Yount
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2013

Another quick question, would it be possible to create a chart without having a built in project plan? Say, if I wanted to use a third party software to create my own project plan, could I then use the Chart plugin to display that project plan as a Gantt Chart?

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2013

Yes, only if you could get the software to create a table (csv like above) or similar that the gantt chart type needs to create a chart.

Bipin Patel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 12, 2014

Hi - I have plotted the gantt chart. Would want to also display the value labels for each bar i.e. start and finish dates in example....unable to find out such attribute.

{chart:type=gantt|xLabel=Projects|yLabel=Planned Dates|legend=false|timeSeries=true|timePeriod =month|dataOrientation=vertical|columns=,,1,2,3,4,5|rangeAxisLowerBound=11/01/2013|rangeAxisUpperBound=12/31/2014|displayData=false|width=1000|dateFormat=MM/dd/yyyy}
{excerpt-include:Consolidation Server Refactoring|nopanel=true}
{excerpt-include:TC X9 Interface Flexibility (Xmapper replacement)|nopanel=true}
{excerpt-include:TC 1.0 CS Support JIRA Uplift - P1|nopanel=true}
{excerpt-include:TC 1.0 CS Support JIRA Uplift - P2|nopanel=true}
{excerpt-include:TC 1.0 Branch Volume Improvements|nopanel=true}
{excerpt-include:TC 1.0 CS SCERs Uplift|nopanel=true}
{chart}

On each child pages below is the code....e.g.TC 1.0 CS Support JIRA Uplift - P1

{excerpt}
{table-plus:id=CSSupportJIRAUpliftP1Planned|columnTypes=S,-,.|autoNumber=true}
|| Plan || Start|| End|| Percent\\Complete||
|TC 1.0 CS Support JIRA Uplift - P1| 02/06/2014| 03/10/2014| 100% |
{table-plus}
{excerpt}

Any help would be appreciated! Thanks!

Aaron Edwards
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2017

My current version of Confluence didn't like the CSV macros in Bob's original answer. I was able to get it working by pasting the below into the page as 'confluence wiki markup':

{chart:type=gantt|dataOrientation=vertical|columns=,,1,2,3,4|displayData=before|width=500|dateFormat=MM/dd/yyyy}
|| Plan || Start || End || Percent\\complete ||
|| Create issue | 1/30/2007 | 2/1/2007 | 30%
|| Provide examples | 1/30/2007 | 2/7/2007 | 40%
|| Write code/tests | 2/3/2007 | 2/4/2007
|| Write docs | 2/4/2007 | 2/5/2007
|| Release update | 2/5/2007 | 2/5/2007

|| Actual || Start || End || Percent\\complete ||
|| Create issue | 1/30/2007 | 2/11/2007 | 100% |
|| Provide examples | 1/30/2007 | 2/17/2007 | 90% |
|| Write code/tests | 2/3/2007 | 2/14/2007 |
|| Write docs | 2/4/2007 | 2/15/2007 |
|| Release update | 2/5/2007 | 2/15/2007 |
{chart}
Like • Benjamin Quisumbing likes this
Jim Constant
Contributor
June 1, 2017

Hi Aaron,

Did you have to do anything special to get this to work. I've tried what you have above as well as an example in the Atlassian documentation and all it does is display, "No Data Available".

I've copied and pasted your example above and I've created an empty chart macro just '{chart:type=gantt|dataOrientation=vertical|columns=,,1,2,3,4|displayData=before|width=500|dateFormat=MM/dd/yyyy}' and then pasted the data into it but I get the same thing - "No Data Available"

2 votes
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2017 edited

As an alternative you can cretae Gantt chart using Chart from Table macro (Table Filter and Charts macro).

Jim Constant
Contributor
June 1, 2017

Thanks, Andrey. That looks simpler so I'll try it out.

1 vote
Takafumi Ohtake -Ricksoft-
Atlassian Partner
May 29, 2022

Hi everyone,

Gantt Chart Planner for Confluence is an option to create Gantt charts in confluence.

And, an article Plan Projects and Roadmaps with Gantt Charts in Confluence Cloud summarizes the pros and cons of various ways to draw Gantt charts in Confluence Cloud. I think it helps you select your best way to draw Gantt charts.

1 vote
Parva C_ - Narva Software
Contributor
June 21, 2020

Hi everyone,

As an alternative if you are looking for advanced but easy to use gantt charts in Confluence, please try out our add-on: Easy Gantt Charts for Confluence

You can make gantt charts by entering table data and using drag & drop features. Let us know if you face any issues. 

0 votes
Reg Hawkins October 18, 2017

Has anyone ever got the chart macro actually pulling data from JIRA using a JIRA filter and displaying in the Gantt or am I just trying in vane...........

Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2017

Confluence native Chart macro doesn't work with Jira Issues macro, but Chart from Table macro (Table Filter and Charts macro) does.

Reg Hawkins October 18, 2017

Thanks, so I am pissing in the wind.

Another plug in to buy..........great.

Deleted user September 6, 2019

I've tried to put a jira filter on the page so I can copy the data into a table on the chart. I'd love to hide the jira filter - is there anyway to do that so I just get the gantt chart?

(I also don't want to buy another add on).

Thanks!
Laurie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events