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

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.

0 votes

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

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/ 

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
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