Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Oct 18

Chart.js sometimes working sometimes not

Hi


I'm using an html iframe to display a pie chart using chart.js. It works fine in the preview and also loads correctly once in the live version, but if I refresh the page or leave it and return, the pie chart is still visible but the data I am pushing to it using postmessage does not load.


What's even more strange is that if I delete cookies and cache, the chart works again once only (and in incognito it works most of the time, but sometimes still fails to load). Has anyone ever come across an issue like this?


I've used the exact same code in the regular Wix Editor and it works fine.


Thanks

Hi,


Thanks for sharing. Typically, postMessage() can be a bit complicated to debug, but we can try our best to investigate if there is a problem with the event.


Can you share the site url please?

@Benjamin Devos thank you.


We will investigate and get back to you.

@Editor X Team Hi - have you been able to take a look? Thanks

Editor X

Design your boldest creations.