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

Programmatically use "Chart From Table" macro.

Hi,

I am trying figure out a way to programatically (using the REST API) add the "Chart from Table" macro, but I have no success so far. For the built-in chart macro, I can do it this way (I guess this is called the "storage format"):

<ac:structured-macro ac:name="chart">  
<ac:parameter ac:name="title">Fish Sold</ac:parameter>  
<ac:parameter ac:name="type">pie</ac:parameter>  
<
ac:rich-text-body>    
  
<table>
...

This produces a static chart from the table data. 

How can I do the same for generating dynamic charts using the "Chart From Table" macro? I don't see much information about the storage format for these types of macros.

Any help is appreciated?

Thanks!

 

0 answers

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,604 views 7 7
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