I am using the getOrgChart library from here, and I am trying to print out the entire chart instead of just the visible section. Unfortunately when using the standard libraries print function it will only print out the first section and I can't figure out how to print the entire chart (which is quite wide with around 200 nodes going horizontally). Even if it is across several pages I don't mind.
I have tried a few libraries like svgToPdf, jsPDF and I understand there are server-side alternatives like Phantom but I am unsure on the best way as well as the easiest to get my SVG tags to print fully.
Enables printing.
Default value: false
var orgchart = new getOrgChart($("#id"),{
enablePrint: true
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With