Improve the export efficiency[React]


#1

Hello,

I’m using the dhtmlxGantt v.7.0.1 Professional.

I have an issue when trying to export a big amount data

Failed to export ten thousand pieces of data. How can you improve the export efficiency

Thanks a lot in advance.


#2

Hello,
If you try to use the online export server, you are limited to 20 seconds:
https://docs.dhtmlx.com/gantt/desktop__export.html#:~:text=If%20the%20process%20takes%20over%20than%2020%20seconds
To export large charts, you need to use the standalone export module.

If you use the standalone export module and try to export the data to PNG by pieces, you need to wait long enough to export the data.

Here is the result of the export of 3000 tasks with the export module:
https://drive.google.com/file/d/1WOElpehCdZc-lOQW-WhrK-gudnVA3xsw/view?usp=sharing
It took almost 50 minutes to export 22155 pieces from the following snippet:
http://snippet.dhtmlx.com/5/85a3cf74e

Exporting the same chart to PDF takes only 12 seconds:
http://snippet.dhtmlx.com/5/f3d759a50
Here is the file:
https://files.dhtmlx.com/30d/c2ef17d4a4eedd2fc45d276dcd818e4b/gantt.pdf

The export time depends on the chart sizes and the computer resources.