Skip to content

[Vega] PDF reports do not have good dimensions compared to PNG reports #183550

@rshen91

Description

@rshen91

Kibana version:
8.15.0 local

Browser:
Chrome Version 124.0.6367.201 (Official Build) (arm64)

Describe the bug:
Vega reports only for PDFs have strange dimensions

PDF:

Image

[Logs] Visitors Map (5).pdf

PNG:

Logs  Visitors Map (2)

We believe it might have something to do with the screenshotting plugin or the dimensions are not be respected for PDFs.

Steps to reproduce:

  1. Load sample data - web logs has a vega map but any vega visualization shows this issue
  2. Go to vega and hit share and then PDF and export file
  3. Once the PDF report finishes you can see that the dimensions are very squished.

Expected behavior:
I would expect that the PDF would look similar to the PNG example and be more human readable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Reporting:ScreenshotReporting issues pertaining to PNG/PDF file exportFeature:VegaVega visualizationsTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions