-
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
Generate horizontal pdf #359
Comments
@ericsirius you need rerun the command "go install -v github.com/IzakMarais/reporter/cmd/grafana-reporter" and "grafana-reporter". this step is rquired after every change you make on the any files. than create a report. I hope it will work for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I already did all the steps and test, but it does not work here, someone can help me ? the pdf is not in landscap mode
%use square brackets as golang text templating delimiters
\documentclass{article}
\usepackage{pdflscape}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\graphicspath{ {images/} }
\begin{document}
\begin{landscape}
\title{[[.Title]] [[if .VariableValues]] \ \large [[.VariableValues]] [[end]] [[if .Description]] \ \small [[.Description]] [[end]]}
\date{[[.FromFormatted]]\to[[.ToFormatted]]}
\maketitle
\begin{center}
[[range .Panels]][[if .IsSingleStat]]\begin{minipage}{0.3\textwidth}
\includegraphics[width=\textwidth]{image[[.Id]]}
\end{minipage}
[[else]]\par
\vspace{0.5cm}
\includegraphics[width=\textwidth]{image[[.Id]]}
\par
\vspace{0.5cm}
[[end]][[end]]
\end{center}
\end{landscape}
\end{document}
The text was updated successfully, but these errors were encountered: