Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How to find the ID for a table to use in a Bar Chart macro?

Hi!

I am trying to create a Bar chart using the Chart macro. I have filter for the data I want to show; works fine with a standard pie chart. But when creating a bar chart, I am expected to enter a comma separated list for the table ID(s) to use. I have tables of data on my page,  How do I find table IDs?

3 answers

Hi @Katarina Palm ,

As I understand from the Atlassian documentation, the table id selection may be only required if your page structure is very complex, for example, you use section and column macros inside the chart macro body and your tables are all mixed up.

If you use a simple layout, then it is not necessary to fill in this field and you may leave it blank:

Mon 3-1.pngMon 3-3.pngThe standard Chart macro is not very flexible (besides it doesn't work with the dynamic macros), so we can recommend to use the Chart from Table macro provided by the Table Filter and Charts for Confluence app.

Let's take the same table as an example:

Mon 3-2.pngMon 3-4.pngMon 3-5.pngAs you can see, you can filter what items to include into your chart.

This example was created for the Horizontal table orientation:

Mon 3-6.png

And now let's choose the vertical one:

Mon 3-7.pngMon 3-8.pngOur chart has changed - now you can choose which form is more relevant to your case.

Oh man, I got this to work once and now I can't remember all the details!

The documentation says "Comma separated list of table ids and/or table numbers (starting at 1) ."

Within the Chart macro, you can have more than 1 table. By default, it appears that the Chart macro will chart the data from all the tables within the macro (combines data). If you tell it table ID 1, then it will only chart the data from the first table. If you tell it table ID 2, then it will only chart the data from the second table, and so on.

https://support.atlassian.com/confluence-cloud/docs/insert-the-chart-macro/ 

The link provided doesn't work (extra characters at the end) so here's a link that does.

Thanks! I saw this option in other answers, but I am primarily looking for a solution within the standard product. Seems it is not very well supported, tough...

BRs, Katarina

Suggest an answer

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

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,860 views 30 134
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