22
Views
2
Comments
v11 Charts doesn't work with RequireJS
Question

We recently upgraded our platform to v11, so far we found a conflict about Charts (for Traditional Web), it doesn't work with projects using RequireJS anymore, while it was working fine in v10, there is no front-end or back-end error, just nothing showing. anybody faced this issue? Would be appreciated if anyone has a workaround to share.

mvp_badge
MVP
Rank: #18

Hi Huipeng,

Did you check the browser's console for errors? Maybe that will help you, or you share them here?

Regards,

Daniel

Rank: #2900

Hi Daniel,

No error in the console at all, the Chart is supposed to be shown by an ajax refresh, but after clicking on the button, nothing happened. I figured out a solution, which is to place a hidden and empty chart at the top of the web screen, to let the page load Charts JS before Require JS, it works but not perfect.