Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,257,426
Community Members
 
Community Events
164
Community Groups

How to use the Chart macro to display a chart based on data from an attached file?

This Chart Macro page at atlassian.com says we can "add the Chart macro to a page to display a chart based on data . . . from an attached file."

The page then explains how to create a chart on a page based on data in a table on the same page, but nowhere does it explain how to create a chart based on data from an attached file, eg, a CSV file.  Or am I mistaken?

Perhaps the macro cannot allow you to create charts based on data from an attached file.

1 answer

Hi @Greg ,

As I can see, the standard Chart macro can be only saved as a png file attached to this or that page.

If you want to create a graph based on the CSV attachment, use the Table Filter and Charts for Confluence app.

The first step is to use the Table from CSV macro to show your CSV-attachment on the Confluence page as a plain table. 

The second step is to wrap your Table from CSV macro in the Chart from Table macro and create the required graph.

Note that if you specify the URL of your CSV file in the Table from CSV macro, your graph will be updated automatically at the same moment as your source file is modified.

Thanks, Katerina.  I'm happy to have found the the Confluence site I am using includes the Table from CSV macro - but I'm having trouble with too.  The dates in my CSV file (eg 2020-11-11) are displayed across three columns in the resulting table.  I've asked How to get stiltsoft's Table from CSV macro to recognise commas, not hyphens to as the separator?

Hi @Katerina

 

This is exactly what I am doing, but the page displays both the graph and, below it, the table.

Any idea how to make the table disappear?

Please, check here how to hide source tables and/or chart controls.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

2,358 views 19 41
Read article

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