How add simple chart (No data available)
Asked by Sergey Korostelev:

Hi. I want add simple chart to page and edit it, but i see "No Data Available"

![image.png](/t5/image/serverpage/image-id/48107iAD1BF5B63E1879BB/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Shannon S
body: Sergey,

[The Chart Macro](https://confluence.atlassian.com/confcloud/chart-macro-724765165.html) requires that you provide it data in the form of a table.

Could you show us what your table looks like? It seems that Confluence isn't able to extract data from that table.

Regards,

Shannon

comments: author: Markus_Staeck
body: I would love to see a screen shot and maybe even an example of a working chart macro during its creation. I copied the chart data from one of the chart wiki pages, but fail to get past the no data available stage.


author: Shannon S
body: Hi Markus,

Welcome to Atlassian Community. It's nice to meet you.

I've been able to create a working Chart Macro using the examples from the [the Chart Macro](https://confluence.atlassian.com/confcloud/chart-macro-724765165.html?_ga=2.179729060.1012301510.1583747523-1807160611.1583331418) documentation. Could you show me the table that you copied in your Confluence page so I can determine why it might be showing no data available? Please also share the parameters of the Chart Macro you're attempting to insert.

Thank you,

Shannon


author: Monika Griffin
body: Hi there, I finally managed to get a pie chart with following table.

![chart makro table.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/94651iC14D4F074A1382B6/image-dimensions/505x200?v=v2 "chart makro table.PNG")After this This problem solved I would very much like to use a report-table from a workflow plugin to be shown as a chart. This table unfortunately looks like this and I get "no data" as result.

![chart makro table.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/94657iB793478B3876AFCB/image-size/large?v=v2&px=999 "chart makro table.PNG")

Am I right in assuming, that this is not going to work with this table?

Thanks very much for help and kind regards, Monika


author: Shannon S
body: Hi Monika,

I'm sorry for the delay, as I've been out.

I tested your initial table, and it just looks like you'll need to adjust your parameters if you want to read from a table like that. For example, here's how your chart looks on my page as a graph.

![CleanShot 2020-06-08 at 15.33.43.png](https://community.atlassian.com/t5/image/serverpage/image-id/98144i3933B2782E54EB58/image-dimensions/464x235?v=v2 "CleanShot 2020-06-08 at 15.33.43.png")

If I add the use of the **Columns** parameter, I can get the data to display in a table like this:

![CleanShot 2020-06-08 at 15.52.47.png](https://community.atlassian.com/t5/image/serverpage/image-id/98147i7DAB5603D7C48111/image-size/large?v=v2&px=999 "CleanShot 2020-06-08 at 15.52.47.png")

![CleanShot 2020-06-08 at 15.49.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/98146iC1D10129A5679749/image-dimensions/467x291?v=v2 "CleanShot 2020-06-08 at 15.49.50.png")

You can see here that I am telling Confluence that columns 1, 2, and 3 will contain the data I need to display. Note that I changed some other parameters to clean up the look a bit.

Can you try that and see if it helps you to display your tables how you had them?

Take care,

Shannon


author: Monika Griffin
body: Hi Shannon, Thank you very much for the explanation, which made it very easy!  
It helped me a lot - especially to better understand the selectable parameters.

Stay safe, cheers, Monika


author: Shannon S
body: Hi Monika,

You're welcome! Happy it helped you. :)

Take care, and stay safe too!

Shannon


Tags: cloud

confluence-cloud