Skip to content

Schedule graphic added to PDF

Oliver Kiss requested to merge exportGraphic into main

--public

Schedule graphic is now included in the exported PDF.

--end_public

Since the PDF library could not render the schedule component, this implementation takes a screenshot of the component and passes it to the PDF document. This does put a bit higher load on the client since the screenshotting is quite expensive. A new dependency 'html-to-image' is introduced in order to create screenshots of the schedule graphic.

Merge request reports