Is there a way to change the colors in the Pie chart macro in Confluence?

Dennie Carter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 25, 2024

I am adding multiple instances of the pie chart macro to a Confluence page. Each are based off a different filter. I would like the colors of the states to remain consistent throughout the page. For Example, the state of "done" to show as Green. Since each pie chart has a different amount of states (ie one filter currently has records in 3 states, the other in 4) the colors are not consistent. Hopefully there is a way to do this with the standard macros.

3 answers

3 votes
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2024

Hi @Dennie Carter ,

The Table Filter, Charts & Spreadsheets for Confluence app (that is our add-on) may help your case.

You'll be able to select colors for your statuses from the additional column of your source table, so that the consistency will be maintained. https://docs.stiltsoft.com/tfac/dc-server/pie-and-donut-chart-tyres-140936105.html#PieandDonutcharttyрes-Setcolors

For example, no matter if your source table is a manually created table or comes from the Jira Issues macro, you can group it by statuses and then assign a special color to this or that status (with the help of the Pivot Table and Table Transformer macros that also come with the app). You apply the same condition for all the tables and all your Pie charts will use the same color scheme no matter how many statuses are present in the chart at this precise moment.

0 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2024

Hello @Dennie Carter ,

Screenshot 2024-01-25 at 15.29.36.png

This a default pie chart in Atlassian, and there is no option to edit the colors of the each part.

Testing results from other chart like applications:

  • Charts.js - app is not functioning properly
  • Quickinsights - doesn't give the option to add a macro within a page when you search for it
  • Custom Jira Charts for Confluence - give the error when the app is started
  • MUC Editor - doesn't work really good

Overall, like @Charlie Misonne  said, this is not possible sadly.

0 votes
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2024

Hi Dennie,

I'm afraid that's not possible. There was a feature request for this but it was not implemented: https://jira.atlassian.com/browse/CONFCLOUD-41625

Some plugins can do it however.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events