Hello!
I’m having a gantt chat of this size : [png in dropbox]
I tried to make the pdf split it in multiple pages in all possible ways, I tried all these settings parameters
Hello Ahmed,
You are using the Gantt API the wrong way. All these options should be specified inside the additional_parameter object of the export function:
When the merge_pages parameter is enabled, you can see all the content, but the online export server is limited by the 20-second limit, so, to see larger charts, you need to use the standalone export module.
Hello Ahmed,
PDF is a document file, so it may have pages. PNG is a picture, it cannot have multiple pages. So, it should be expected that the exportToPNG function doesn’t have the merge_pages, format, and landscape parameters in the additional_settings object. But you can use the slice_archive option that allows to create multiple parts of PNG images of the chart: https://docs.dhtmlx.com/gantt/api__gantt_exporttopng.html#:~:text=Exporting%20large%20Gantt%20by%20pieces
Please note that creating PNG images requires more RAM and time. So, if you use the online export server, you can export only the smaller charts comparing with the exportToPDF function.
You can experiment with that in the following snippet:
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan