Hi Christian, There is a possibility to use the editor mode of the charts. You can do this by going to the Advanced tab, and select Developer mode. Then you can toggle editor mode after you run your project and show your chart. You can then copy the JSON into the Layout options and you are done!
https://docs.mendix.com/refguide/attachments/charts/toggle-editor.png