Can the Confluence Chart Macro get data from another source, e.g. another page or an attachment?

This question is in reference to Atlassian Documentation: Chart Macro

Can the Confluence Chart Macro get data from another source, e.g. another page or an attachment?

3 answers

1 accepted

This widget could not be displayed.

Hi,

Short answer: No

Longer answer: The Chart macro gets its data from the table that you add within the macro on the page.  This means that you can't drop an Excel spreadsheet in or link from another page.  The only possible answer would be to use an Excerpt Include or Page Properties report within the Chart macro itself, but I don't know if that would work.

In the Atlassian Marketplace there are a number of paid-for and free add-ons that allow you to do this

It works with Excerpt Include. Thanks!

@software.tooling How exactly did you get this working with the Excerpt Include macro? Did you add the macro in the chart setup under the tables section of the chart macro or somewhere else? Just started using confluence over the last few months, so I'm not entirely sure if this process is different from what you did over a year ago. Thanks for your help.

This widget could not be displayed.

Hi,

Alternatively you can use Chart from Table macro. It works with Page / Excerpt Include and other macros that produce tables.

As Rob and Andrey already state: Any macro creating an HTML table will be rendered by the Chart Macro. We use it with our table macros as you can see in our blog post.

Comparison of Chart macro against Chart from Table macro on stiltsoft.com lists a number of macros (the Page Properties Report Macro being one of them) that will work with the Chart Macro and the Chart from Table Macro (see "Support for data tables generated by other macros").

 

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

235 views 2 4
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you