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!