I was trying to use the Chart macro inside user macro by using the following code,
## @noparams
<ac:structured-macro ac:name="chart">
<ac:parameter ac:name="type">line</ac:parameter>
<ac:parameter ac:name="Tables">Sample</ac:parameter>
</ac:structured-macro>
<table id="sample">
... body goes here...
</table>
I am getting `No Data Available` in my confluence page. How can I provide the dat to a Chart macro dynamically?
Chart macro is not compatible with dynamic tables, because it is build on the server side.
You can use Chart from Table macro (Table Filter and Charts add-on) instead, this macro is compatible with dynamic tables and charts are generated on the client side.
Is it possible to provide the table as part of the Macro declaration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you need to place your table inside:
<ac:structured-macro ac:name="chart">
<ac:parameter ac:name="type">line</ac:parameter>
<ac:parameter ac:name="Tables">Sample</ac:parameter>
<ac:rich-text-body>
here goes the table
</ac:rich-text-body>
</ac:structured-macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you insert data from other pages into your chart macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use page include, if you want the full page. Or you can make use of "multiexcerpt" macro to include a section of page.
Including this to graph will not work because the page content will be only fetched at the time of rendering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.