-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF visual gets cut into lines #9
Comments
same for me, were you able to solve this issue ? |
No Still trying to find out why its doing this. Haven't found a solution yet. |
did someone found any solution to this |
I saw the same behavior after upgrading Grafana 11.2.2 to 11.4.0. |
+1 for this issue |
Hi.
When exporting to pdf, my pdf gets cut as in the attached example.
I have tried changing the html params to no avail.
Please any help would be appreciated
<script> /* Edit the following variables to enable/disable PDF generation and set the server URL */ const pdfGeneration = true; const pdfGenerationServerUrl = 'http://support.innovateitsupport.com:3001/'; /* */ if (pdfGeneration && pdfGenerationServerUrl) { document.onclick = function () { if (!document.getElementById('GF_EXPORT_marker')) { return; } let shareModalContent = document.querySelector('div[class*="shareModalContainer"]:has(a[aria-label="Tab Link"]), div[role="dialog"]:has(button[data-testid*="Tab Link"])'); let linkUrlInput = document.querySelector('#link-url-input'); let shareShortenUrl = document.querySelector('#share-shorten-url'); let linkToGrafanaImageRenderer = document.querySelector('a[href="https://grafana.com/grafana/plugins/grafana-image-renderer"]'); if (shareModalContent && linkUrlInput) { if (!shareModalContent.querySelector('.GF_EXPORT_export-pdf-container')) { let div = document.createElement('div'); div.classList.add('GF_EXPORT_export-pdf-container'); if (linkToGrafanaImageRenderer) { div.style.marginTop = '1rem'; } let button = document.createElement('button'); button.setAttribute('disabled', true) button.classList.add('GF_EXPORT_btn-export-pdf'); button.innerHTML = ` <style> .cls-1 { fill: #fff; stroke-width: 0px; } </style>The text was updated successfully, but these errors were encountered: