Convert Gantt Chart as base64String Image


Hi ,

I am using paid version of Gantt Chart. Is there any way to convert gantt chart as base64Image String.

I need to pass this gantt chart as image to the server (java) . Currently I am using html2canvas.js library. Let me know if you have default utilty in dhtmlx ?


Hello Aravind,
There is no built-in way to export the data as a base64 image.

You can export the data to a PNG file by using our online export server or the standalone export module:
Each PNG file is limited to the 10000x10000 sizes. If the width is smaller, the height can be larger and vice versa.

You can try implementing a custom solution to convert the file to a base64 image, but I don’t have a ready solution for that.