Chart macro with Page Properties Report macro as data table won't render on Publish? Preview works.
Asked by Rab Tait:

I have a Chart macro set to a Gantt chart. The data for this is a Page Properties Report. In Edit mode, the Preview show the chart. However on Publish, no chart is rendered on the page. Has anyone got this working? Note that this is the Chart macro. I'm not using the Chart from Table Marketplace addon.

![Screenshot 2019-06-05 at 14.56.27.png](/t5/image/serverpage/image-id/56727i99DF44A48C6CA772/image-size/large?v=v2&px=999 "Screenshot 2019-06-05 at 14.56.27.png")


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Rab,

As a workaround you can use [Chart from Table](https://docs.stiltsoft.com/display/public/TableFilter/How+to+use+Chart+from+Table+macro) macro which is compatible with Page Properties Report macro. This macro comes with [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app.

comments: author: Rab Tait
body: Thanks yes. I've got a trial of this add-on and it does work as I want in terms of rendering data. However, the lack of control over the colors used for dynamically generated charts is a bit of an issue. The charts end up looking like they've been colored in by a child with a big box of crayons. I've added a change request to define a color set to be applied and used for each data series plotted on the chart. It's for a gantt chart of all live projects showing high level status of each. I can't see us paying for this add-on as it currently stands. Presentation is important at the level this output will be used.

I know that the colors can be set individually post generation. But this is not practical for dynamic content.


author: Andrey Khaneev _StiltSoft_
body: Hi Rab,

Starting from version 5.1.6 of the app Gantt chart bars have the same color by default. All existing charts will remain unchanged, but it possible to switch their color scheme to a single color in the macro settings. Also you can switch back to multi-color scheme in new macros if needed.

This improvement will be shipped to Cloud version of the app soon.


author: Andrey Khaneev _StiltSoft_
body: This improvement is shipped to the Cloud version now.


author: Katerina Rudkovskaya [Stiltsoft]
body: Hello [@Rab Tait](/t5/user/viewprofilepage/user-id/1193918),

Please note that we've released the **7.9.0** version, added the capability to select custom chart colors from a table.

*Select the corresponding columns with colors for the **Colors in the table columns** option.*   
*You can use colors from [this list](https://www.w3.org/wiki/CSS/Properties/color/keywords) or define your own HEX code colors.*

![2021-08-31_18h10_19.png](https://community.atlassian.com/t5/image/serverpage/image-id/158321i9D6817627B4D0DD9/image-size/large?v=v2&px=999 "2021-08-31_18h10_19.png")

Katerina  
Stiltsoft


author: Shannon S
body: Hello Rab,

Thank you for contacting us!

I have discovered that other users have been having the same issue, in the report below:

* [CONFCLOUD-51867](https://jira.atlassian.com/browse/CONFCLOUD-51867) *Page Properties Report - embedding in a chart macro*

At this time, we're working to determine if it's expected not to work, or if this is a bug.

Please click **Vote for this issue** and you will automatically be added to the list of watchers for updates.

Thank you for your help.

Regards,

Shannon

comments: author: Nicolas (Nick) Rion
body: Hey Shannon,

Almost 1 year and no news about this, can we have an update?

I cannot vote or watch the issue anymore.

Thanks for your help

-Nick


author: Shannon S
body: Hi [@Nicolas (Nick) Rion](/t5/user/viewprofilepage/user-id/3623823),

This particular feature request is in its prioritization phase, according to our [New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) workflow. This means that the feature has not yet been included in our upcoming roadmap.

I'm not quite sure why you might not be able to vote or watch the issue. I've tested this now with my Atlassian customer account, and I'm able to both vote and watch:

![CleanShot 2020-05-13 at 15.02.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/94684iA734E3D1AB7749B4/image-dimensions/346x364?v=v2 "CleanShot 2020-05-13 at 15.02.44.png")

How does that section look for you? If those links are greyed out, can you confirm that you're currently logged into [jira.atlassian.com](https://jira.atlassian.com/)? If you look in the top right-hand corner of the page, you should see your avatar.

![CleanShot 2020-05-13 at 15.05.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/94685i0D3494B3FFC86295/image-size/large?v=v2&px=999 "CleanShot 2020-05-13 at 15.05.01.png")

Thank you,

Shannon


author: Nicolas (Nick) Rion
body: Hi Shannon,

Thanks for the info, really appreciate it.

I could vote today, not sure what happened yesterday though, the links were greyed out.

I'll be watching this closely.

Best

- *Nick*


author: Shannon S
body: Hi Nick,

No worries! You know, sometimes that Jira site will log me out automatically, even though I'm logged my account everywhere else. It's possible that could have happened to you that one day, and since then you been logged back in. Let me know if you have any trouble in the future.

Take care, and have a pleasant rest of your week!

Shannon


author: Claudia J. Lara
body: it does not work with the last confluence version


Tags: atlassian-marketplace

cloud

confluence-cloud