Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can the chart plugin for Confluence create Gantt Charts?

4 answers

1 accepted

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}

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?

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.

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!

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

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"

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

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

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...........

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

Thanks, so I am pissing in the wind.

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

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

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you