Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,566
Community Members
 
Community Events
184
Community Groups

Using Python REST API, create a chart from a table, with the same display of the one got from editor

Hi,

using Python REST API, through the following wrapper module: atlassian-python-api · PyPI, I am creating a page using XHTML. My goal is to create a chart from a table, therefore I am using the chart macro described here: Chart Macro | Confluence Data Center and Server 5.9 | Atlassian Documentation, in particular, using the storage format version.

However I would like to obtain a chart that looks like the one I get when I create a chart from a table, using the browser editor, it looks better and it is also interactive, when you move the cursor on a point or bar, it appears the y-axis value for that point. If I use the storage format, I get a simple png picture.

I will insert a picture to explain myself better, this is the chart I got using the XHTML macro chart:
2023-05-25 10_43_35-TestFinalResult - Andrea Manganiello - Confluence and 7 more pages - Work - Micr.png

 

this instead is the one I want, got simply by clicking on a table, and selecting the "chart" button, one of the menu options that pop up underneath the table itself.

2023-05-25 10_44_01-TestFinalResult - Andrea Manganiello - Confluence and 7 more pages - Work - Micr.png
Is it possible to get a chart like the last one, using XHTML/Storage format macros?

Thank you very much in advance for your support.

0 answers

Suggest an answer

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

Atlassian Community Events