PDF (when used with peer JsPDF) #243
The following config options are added to control the orientation of the PDF document when the peer JsPDF dependency is used:
const config = ref({
userOptions: {
print: {
scale: 2,
orientation: 'auto', // New; 'auto' | 'l' | 'p'
overflowTolerance: 0.2 // New; control the overflow percentage above which content will be shown on multiple pages
}
}
})
For the VueUiQuickChart
component, these options are located:
const config = ref({
userOptionsPrint {
scale: 2,
orientation: 'auto', // New; 'auto' | 'l' | 'p'
overflowTolerance: 0.2 // New; control the overflow percentage above which content will be shown on multiple pages
}
})