Hi,
I migrated to export_api, and export to PDF/PNG returns an empty file.
I’m using online service for exporting.
Example:
My gantt looks like this:
.
My export function:
this.gantt.exportToPNG({
name: name,
raw: true
});
And when raw is set to false, InternalServerError occurs
Hello,
Unfortunately, I was not able to reproduce your issue.
The following snippet seems to work correctly for me:
DHTMLX Snippet Tool ;
It’s hard to suppose what exactly goes wrong in your case without more details, so could you please reproduce the issue in the snippet above(open the snippet => reproduce the issue => click the “Save” button => send me the new link)? Alternatively, if possible, please provide a simplified demo where the problem can be reproduced.
The sample you created uses version 8.0.X, and we have 8.0.0 version. Can you try it with with 8.0.0 ?
Hello,
I tried to reproduce the issue in the following trial demo with Gantt v8.0.0, but it seems to work correctly for me:
gantt_8.0.0_trial.zip (1.9 MB)
You check it by using the sample/08_api/06_export.html file.
It’s hard to suppose what exactly goes wrong in your case without more details, so could you please provide a simplified demo where the problem can be reproduced?
Ok, we will update to 9.x version and see if it works.