Here are 3 Java based extensions from the community that you can try: https://github.com/ecomfe/awesome-echarts#java Thanks
*Ovilia* On Mon, Oct 30, 2023 at 4:14 PM Benjamin Suqui C. <bsu...@gmail.com> wrote: > Hello Olivia, > > Thank you for your reply. > I have searched the internet, and I come across ECharts-Java, however the > solution is a Json file. > > I have tried with the Java Image class, but I only get Errors. It seems > that you must connect to echarts-engine directly on the Internet to get the > chart. > > Is there any way from the area-backend with JAVA to get the diagram > obtained in an html file? > > Thanks again for an answer? > Benjamin > > > > > El lun, 30 oct 2023 a la(s) 07:19, Ovilia (oviliazh...@gmail.com) > escribió: > >> Hi, >> >> You can try to export the chart into base64 string and pass it to Java. >> The API is: >> https://echarts.apache.org/en/api.html#echartsInstance.getDataURL >> Here's an example of half donut: >> https://echarts.apache.org/examples/en/editor.html?c=pie-half-donut >> >> Thanks >> >> *Ovilia* >> >> >> On Mon, Oct 30, 2023 at 2:15 PM Benjamin Suqui C. <bsu...@gmail.com> >> wrote: >> >>> Hi ECharts Team, >>> >>> I am a backend developer, I want to export chart diagrams to PDF files. >>> I have discovered Apache echarts and it looks really great. Is there any >>> possibility to pass the charts to PNG images with Java (not JavaScript). >>> I tried it by passing json String to byte[], but there is a NULL as >>> response. >>> >>> I also take this opportunity to ask if you have a char for the HalfDonut >>> option? >>> >>> Thanks for your answer, >>> Benjamin >>> >>