The same problem and solution in the following post, hope it helps.
If your Jira and Confluence apps are linked, there seems to be an option to configure a gadget feed to pull the Jira charts and put them in a Confluence page. This other post contains more details:
if you don't have the 'External Gadgets' option maybe you can check if you have the Gadgets plugin and if it's enabled, as explained here:
More about gadgets:
Hope it helps,
Hey there! New in town? Check out the new Confluence product guides! They are chock-full of helpful tips, tricks, and best practices to get you and your team started. Here’s a quick overview...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events