Gantt Export to PDF or PNG not working

Using commercial license of Gantt 7.1.4. I’ve set up for export using the hosted version of export using “https://export.dhtmlx.com/gantt/api.js”. When I attempt to export to PDF or PNG, I get the following error:

RangeError: Maximum call stack size exceeded in Utils.js:48

The Gantt I’m exporting only has 24 total rows.

When I attempt to export to Excel it works fine.

Any ideas what I’m doing wrong?

-Lester

For everybody who has encountered a similar issue:

The most probable reason is the data you are parsing, but it’s hard to suggest what exactly goes wrong without seeing the data.

Exactly that issue was fixed by adding raw: true parameter to the exportToPDF method.