-
Notifications
You must be signed in to change notification settings - Fork 310
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
Customized PDF template #315
Comments
In the visualisation section, select “Text Box”
Switch to HTML and add the text below (changing the IP to where your logos are being served):
Use Grafana Reporter to render the PDF
Works for me !
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
img {
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<img src=http://your_ip_where_you_have/logos/Control%20room%201.jpg alt="Control Room" style="width:50%;">
</body>
</html>
***@***.***
David Tomkins | Consultant
Meridian IT Ltd
Forward House | 17 High Street
Henley-in-Arden | Warwickshire | B95 5AA
t: +44(0)1564 330 650
e: ***@***.******@***.***>
[Banner graphic for website themeridian.com and company name Meridian IT United Kingdom]
From: Smark Meng ***@***.***>
Sent: 21 January 2022 18:25
To: IzakMarais/reporter ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [IzakMarais/reporter] Customized PDF template (Issue #315)
Does anyone know how to customize a pdf template? like add a logo or hide some variables of the dashboard?
—
Reply to this email directly, view it on GitHub<#315>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQUWAP6GFUIN2DRZEUL2HCLUXGQH3ANCNFSM5MQGDQZQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
…________________________________
The information contained in this message is confidential and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message.
Registered Office: Meridian IT Ltd, Forward House, 17 High Street, Henley-in-Arden, Warwickshire, B95 5AA. Place of Registration: England and Wales - Registration No. 2654994
|
…get the Dashboard right, and you won’t need to hide anything when you render the PDF 😊
David Tomkins | Consultant
Meridian IT Ltd
Forward House | 17 High Street
Henley-in-Arden | Warwickshire | B95 5AA
t: +44(0)1564 330 650
e: ***@***.******@***.***>
[Banner graphic for website themeridian.com and company name Meridian IT United Kingdom]
From: David Tomkins
Sent: 21 January 2022 18:58
To: IzakMarais/reporter ***@***.***>; IzakMarais/reporter ***@***.***>
Cc: Subscribed ***@***.***>
Subject: RE: [IzakMarais/reporter] Customized PDF template (Issue #315)
In the visualisation section, select “Text Box”
Switch to HTML and add the text below (changing the IP to where your logos are being served):
Use Grafana Reporter to render the PDF
Works for me !
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
img {
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<img src=http://your_ip_where_you_have/logos/Control%20room%201.jpg alt="Control Room" style="width:50%;">
</body>
</html>
***@***.***
David Tomkins | Consultant
Meridian IT Ltd
Forward House | 17 High Street
Henley-in-Arden | Warwickshire | B95 5AA
t: +44(0)1564 330 650
e: ***@***.******@***.***>
[Banner graphic for website themeridian.com and company name Meridian IT United Kingdom]
From: Smark Meng ***@***.******@***.***>>
Sent: 21 January 2022 18:25
To: IzakMarais/reporter ***@***.******@***.***>>
Cc: Subscribed ***@***.******@***.***>>
Subject: [IzakMarais/reporter] Customized PDF template (Issue #315)
Does anyone know how to customize a pdf template? like add a logo or hide some variables of the dashboard?
—
Reply to this email directly, view it on GitHub<#315>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQUWAP6GFUIN2DRZEUL2HCLUXGQH3ANCNFSM5MQGDQZQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
…________________________________
The information contained in this message is confidential and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message.
Registered Office: Meridian IT Ltd, Forward House, 17 High Street, Henley-in-Arden, Warwickshire, B95 5AA. Place of Registration: England and Wales - Registration No. 2654994
|
I had the same issue here. I've create a new panel and change to Text Box, set the mode to html but didn't work. what's can i do ? because the image is render on grafana, but dont work on pdf reporter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does anyone know how to customize a pdf template? like add a logo or hide some variables of the dashboard?
The text was updated successfully, but these errors were encountered: