search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to export Gantt chart view in png/svg/pdf in 2022.4.5483 version.

Asked by Bikram Jeet Singh
1 month ago.


I was able to export the svg and png, but the exported image is not proper, getting the appended html with the png.

I used this function to export:
(this.dp as any).exportAs("SVG", { area: "viewport"}).download()

Answer posted by Dan Letecky [DayPilot]
1 month ago.

The latest release now supports export customization events in the Gantt Chart component as well (

You can use onBeforeRowHeaderExport to customize the row headers (args.columns[].text):

An onBeforeTaskExport to customize the box text (e.g. args.textRight):

There is a new Gantt chart export tutorial in the works that will include and example - I'll keep you updated.

Comment posted by Anonymous
1 month ago.

Thank you very much for your help ;)

Comment posted by Bikram Jeet Singh
1 month ago.

Thank you

New Reply
This reply is
or drop files here
Your name (optional):