Closed fiddleatwork closed 4 years ago
I would like to be able to show a popup window with the chart like I do in Python.
I pasted the data class example into my spring boot application and when I run I get:
Caused by: java.awt.HeadlessException: null
If I comment the .show() and call .save() I get:
java.lang.IllegalArgumentException: No enum constant kravis.render.PlotFormat.
Please tell me if I'm missing something.
Thanks, Michael
To solve the headless exception, I used:
-Djava.awt.headless=false
I would like to be able to show a popup window with the chart like I do in Python.
I pasted the data class example into my spring boot application and when I run I get:
Caused by: java.awt.HeadlessException: null
If I comment the .show() and call .save() I get:
java.lang.IllegalArgumentException: No enum constant kravis.render.PlotFormat.
Please tell me if I'm missing something.
Thanks, Michael