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

Table rendering is truncated in pdf/png exports #61

Open
zhongnansu opened this issue Apr 21, 2021 · 1 comment
Open

Table rendering is truncated in pdf/png exports #61

zhongnansu opened this issue Apr 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@zhongnansu
Copy link
Member

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.


I've been trying out the report feature in the past week and got it finally working.

Then i tried to generate some pdf reports. I tried reporting a dashboard and a visualization including a data table showing some top accessed urls from a webserver.

Problem is that the resulting Report pdf Height seems to be limited somehow. The pdf is only showing the first 23 Entries of the data table and i don't see any option anywhere to change that size. I do need the last 50 Entries to be included in that Report.

Is there any option to increase the max shown size? Do i need to increase some resolution of the chromium-headless-browser or is the limit somewhere else? Or will this not work at all and do i need to use csv exports for achieving my top list?

Thank you very much for building this nice reporting feature so far.
Any help on this would be really appreciated.

This issue is submitted by @uplexPaul
opendistro-for-elasticsearch/kibana-reports#326

@zhongnansu zhongnansu added the enhancement New feature or request label Apr 21, 2021
@anirudha anirudha changed the title Better render of tables in pdf/png reports Table rendering is truncated in pdf/png exports May 13, 2021
@anirudha anirudha removed the untriaged label Apr 7, 2022
@kai-ten
Copy link

kai-ten commented Jan 3, 2023

Can a table visualization leverage the Formatted / Raw export buttons that already exist?

Quick way may be to add a "Table Visualization" dropdown option when creating a new report definition, then handling the logic to leverage the Formatted export code to generate the CSV.

Tables are pretty useless when I can't use any SQL / PPL to generate reports (which is also limited), and a 10k record report beats a screenshot of 20 records.

May take a look at the code in the coming weeks, if anyone knows the places to look ahead of time I wouldn't complain 😃
Thanks.

@rupal-bq rupal-bq transferred this issue from opensearch-project/reporting Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants