Premium support for our pure JavaScript UI components


Post by til.schniese »

We are using the export server to export PDFs from the Scheduler component. Most of the time the schedule is pretty wide (it has tons of date columns). In our use case the pdf should also consist of one page. When now exporting it, the schedule only takes up e.g. 10% of the height of the whole page. This pdf is just unusable, as there is too much white space.
My goal would be to always use 100% of the height and 100% of the width and scale the schedule accordingly. I already tried it by modifying the single page exporter, but when using css scaling, I am also scaling the text, which is getting unreadable, when stretching too much.

Do you guys might have any smart solution to this problem, such that the whole page is getting filled, but the content is still readable?


Post by mats »

Can you please attach some PDFs so we can see the issue. Also your JS configuration would be helpful.

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by til.schniese »

If you take a look at the unscaled one, it takes up only parts of the height. In the second one I already tried to expand it, but then the text is not readable any more.

I am using the vue component in version 4.2.1

Attachments
unscaled.pdf
(65.29 KiB) Downloaded 7 times
scaled.pdf
(74.42 KiB) Downloaded 8 times

Post by mats »

How about zooming to fit before exporting? Or have user select the time span to print?

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by mats »

Opened a feature request to look into adding a new option to "trim" the edges of the time axis where there are no events. Would this help in your scenario? https://github.com/bryntum/support/issues/3421

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by til.schniese »

It was just an example, in a real case the whole timeline would have been filled, so trimming would not help much. Also like they are already able to pick the time span, but its not really convenient to export until you got the right time span, that matches the page


Post by mats »

And how would it look ideally? Do you want to split it on multiple pages horizontally, vertically?

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post Reply