Skip to content
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

Cannot see all columns of a Dataframe #16

Open
Manas73 opened this issue Mar 22, 2021 · 1 comment
Open

Cannot see all columns of a Dataframe #16

Manas73 opened this issue Mar 22, 2021 · 1 comment

Comments

@Manas73
Copy link

Manas73 commented Mar 22, 2021

I have around 12 columns in a dataframe and want to generate a pdf. However, once I generate the pdf I can only see the first 7 columns and the rest are cut off. Any way I can get all columns to be visible? I am fine if the font size is reduced (it should be readable).

Preview of the issue:
image

@veghp
Copy link
Member

veghp commented Mar 22, 2021

Hmm.. PDF Reports uses weasyprint for PDF generation and the problem seems to be that the page is not wide enough, or, conversely, the table is too wide. (Is the html generated properly?)
I'll have to refer you to the Weasyprint documentation for the customization of PDF templates.
You can try

  • decreasing the font size as you suggested
  • increasing the page size
  • use landscape (instead of portrait) orientation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants