-
Notifications
You must be signed in to change notification settings - Fork 313
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
Text panel too large #52
Comments
I’ve had similar issues and it seems all of the panel values are hard coded
for a certain height. I’ve been trying to work on a way to pass in height
values for certain panels via the link URL but haven’t had much time.
However I think if parameters like this could be added it would make it
more customizable.
panel_<panelName>_height=200
panel_text_height=200
…On Sat, Apr 7, 2018 at 7:06 AM Knaky41 ***@***.***> wrote:
Hi,
I've implemented the reporter with success with Grafana 4.X
I've migrated to V5, and I’m unable to set the size of the text panel, it
takes a large space on the PDF.
I've tried to change the properties of the JSON dashboard but without
success.
Do you have a solution to have the text panel to be as large as one line
of text?
Thanks in advance,
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#52>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AghdWD0kH1wzmoAxBBZxX4uDvHZfcGjXks5tmJ3EgaJpZM4TLCff>
.
|
Yes, the panels are currently hardcoded here. Single stat panels are rendered slightly smaller and all other panels are rendered in a size: 1000x500 (the default size when using the I've done some quick tests using the Grafana UI: setting the height for text panels to 100 seems to work nicely. If the text block small, it doesn't render a lot of empty space. If the text block is large, Grafana ignores the hight restriction and renders it large enough to display all the text. I will implement this improvement when I have some time. |
Thanks for the quick answers :) Could you please define how I set the text panels to 100? Cheers, |
Currently the height is hard coded (see the link to the source code in the previous post). Setting it to 100 will require source code modifications that I hope to get to before long. If you don't want to wait, you can create a PR, making the changes at the location linked to above. You will have to add an |
Ok thanks 👍 I'll wait for your clean version :p Cheers |
Hi,
I've implemented the reporter with success with Grafana 4.X
I've migrated to V5, and I’m unable to set the size of the text panel, it takes a large space on the PDF.
I've tried to change the properties of the JSON dashboard but without success.
Do you have a solution to have the text panel to be as large as one line of text?
Thanks in advance,
Cheers
The text was updated successfully, but these errors were encountered: