DataExplorer
DataExplorer copied to clipboard
Charts run off the edge of PDF pages
I'm using the below command in a shiny app to generate a PDF report using the output from create_report. I've tried several datasets and for some reason the charts sometimes leak off the edge of the PDF pages (see screenshot). Thank you for any help.
the_report_file <- tempfile(tmpdir = ".", pattern = "report", fileext =".pdf")
create_report(for_profile, output_file = the_report_file, y = input$col_dependent, output_format = pdf_document(), config = configure_report(add_plot_str = FALSE))

Hi @tcash21 thanks for the information, and I can re-produce this with any dataset. While I do not have an immediate solution, please generate a html report and manually save it as pdf, if that is an option. I tested that route, and the pdf report looks OK.
Thanks again for raising this issue!