Problem with making a Two Dimensional chart in the new blank page of Confluence.
Asked by Jiebyoung Park:

Hi,

There is a problem with making the chart in the new template page in Confluence.

Reproducing Scenario

1. Create New Blank Page
2. Go to 'Insert'
3. Select 'Jira'
4. Go to 'JIRA Charts'
5. Select 'Two Dimensional'
6. Input the Filter Condition.
7. Click 'Insert'
8. The chart is not inserted to the page without any error message : This is a Bug

For reference, There is no problem in the old Blank Page (they say this will be gone away)

If there were wrong my operation, please let me know.

Best Regards


Answers:
author: Jiebyoung Park
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952)

Did you confirm my feedback? the problem isn't still resolved.

To me, this is quite severe issue.

I cannot use the new blank template due to this reason.

I hope this will be solved as soon as possible!

Thanks!


author: Diego
body: Hello [@Jiebyoung Park](/t5/user/viewprofilepage/user-id/2713299) !

As I understand, inserting the Jira Charts macro is not working as intended in your instance. Clicking the "Insert" button closes the dialog but the macro is not inserted on the page.

I tried that on my test instance just before replying to your question. Albeit a little slow, the workflow yields the expected results, our charts are shown:
> ![JiraChartWorking.gif](https://community.atlassian.com/t5/image/serverpage/image-id/85495i3DF59116782DCCDC/image-dimensions/518x411?v=v2 "JiraChartWorking.gif")

The environment in which I tested is the following:
> *Windows 10 -- Version 1903, Build 18362.356*
>
> *Firefox 73.0.1 -- 64bit*
>
> *Confluence Fabric Editor (New Editor)*

With the results above, I would like to ask you a few questions for clarification:
> 1. *Is this happening with any filter that you might select during the Jira Charts macro setup?*
> 2. *Is this happening with already existing Jira Charts Macros?*
> 3. *Is this happening regardless of Browser used?*
> 4. *Is this happening even in incognito/private mode in your browser?*
> 5. *Is this affecting other users?*

Let us hear from you! Looking forward to your reply.

comments: author: Jiebyoung Park
body: **Thanks for your reply.**
> 1. *Is this happening with any filter that you might select during the Jira Charts macro setup? =\> Y**es, all filters (although it's quite simple filter) fail to be inserted.***
> 2. *Is this happening with already existing Jira Charts Macros? **=\> There has been no problem in the old Blank Page Template but, I haven't be successful in the new Blank Page Template once. In the case that I copy the chart created in the old Blank Page Template to the new one, the chart is inserted as just image like below*** *![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/85525iC78E61D2A92C1766/image-size/large?v=v2&px=999 "image.png")*
> 3. *Is this happening regardless of Browser used? **=\>*** ***I am not sure. but I currently use Chrome. I checked this also in Internet Explorer but failed to create the new Blank Page.***
> 4. *Is this happening even in incognito/private mode in your browser? **=\> Sorry,*** ***I can't understand your question.***
> 5. *Is this affecting other users? **Yes, other colleagues also are likewise on their environment.***
>
> ***For reference, there is no problem to create other type of chart in the new Blank Page Template. just two dimensional chart has this problem.***


author: Diego
body: Hello [@Jiebyoung Park](/t5/user/viewprofilepage/user-id/2713299) !  
I tried replicating this behaviour is both the *New Editor (Fabric)* and the *Legacy Editor (tinyMCE)* .  
In both cases, when I used the macro content was being displayed as expected.   
Here is what is looks like in the **New Editor:**

<br />

**Macro Settings:**
> ![Screen Shot 2020-04-13 at 13.07.51.png](https://community.atlassian.com/t5/image/serverpage/image-id/90197i2B6702FB76D1493F/image-dimensions/316x221?v=v2 "Screen Shot 2020-04-13 at 13.07.51.png")

**Edit Page:**
> **![Screen Shot 2020-04-13 at 13.08.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/90198iBB5E19A3EAF33E87/image-dimensions/493x188?v=v2 "Screen Shot 2020-04-13 at 13.08.01.png")**

**View Page:**
> ![Screen Shot 2020-04-13 at 13.08.14.png](https://community.atlassian.com/t5/image/serverpage/image-id/90199i289D2076EFF84961/image-dimensions/458x233?v=v2 "Screen Shot 2020-04-13 at 13.08.14.png")

<br />

Here is what it looks like in the **Legacy Editor:**

**Macro Settings:**
> **![Screen Shot 2020-04-13 at 13.09.05.png](https://community.atlassian.com/t5/image/serverpage/image-id/90202i3CDF16A30E7FD05F/image-dimensions/337x238?v=v2 "Screen Shot 2020-04-13 at 13.09.05.png")**

**Edit Page:**
> **![Screen Shot 2020-04-13 at 13.09.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/90203i91BFA934B9E2F732/image-dimensions/375x228?v=v2 "Screen Shot 2020-04-13 at 13.09.16.png")**

**View Page:**

> ![Screen Shot 2020-04-13 at 13.09.28.png](https://community.atlassian.com/t5/image/serverpage/image-id/90205i13647C2CEF1237A5/image-dimensions/303x260?v=v2 "Screen Shot 2020-04-13 at 13.09.28.png")

<br />

Now, when I copy the macro from the Legacy Editor into the New Editor, I can replicate your issue.   
Here is what is looks like **after I publish the page:**
> ![Screen Shot 2020-04-13 at 13.10.29.png](https://community.atlassian.com/t5/image/serverpage/image-id/90206i51F7B4032CEE692D/image-dimensions/378x266?v=v2 "Screen Shot 2020-04-13 at 13.10.29.png")

<br />

What is happening is that the ++*content that is actually copied is the place-holder for the macro, not the macro itself.*++ In the end, what happens is that ++*an image is attached in the new editor. Which is why it looks like the issues are not rendering.*++

A workaround for this behavior is this:
> 1. *Go to the Legacy Editor page*
> 2. *Edit the page*
> 3. *Check the filter used in the Two dimensional filter*
> 4. *Close the edit page*
> 5. *Go to the New Editor page*
> 6. *Edit the page*
> 7. *Insert a new Jira charts macro*
> 8. *Go into the macro settings*
> 9. *Use the same filter from the previous macro*
> 10. *Publish the page*

<br />

This behaviour is ++*exactly the same with the other types of charts.*++ The place-holders for both Pie Chart and Created vs Resolved chart ++*are the actual images representing the final result for the macro.*++   
At the same time, ++*the place-holder for the Two-Dimensional Chart is simply a blank chart.*++ This is what makes the behavior apparent.

> * **Short version:**   
>   *All charts have the same behavior when copying from Legacy Editor into the New Editor.*
> * *When pasting the copied content from the Legacy editor, the image that was used as place-holder is placed there.*
> * *Placing new macros and using the same filter should solve workaround the behavior.*

I hope this helps!