Skip to content

Selecting optimize for printing exports pdf graphs with the X-axis labels moved into the chart #72314

@TinaHeiligers

Description

@TinaHeiligers

Kibana version:
7.7.1
Elasticsearch version:
7.7.1
Server OS version:
macOS
Browser:
Chrome
Version 83.0.4103.116 (Official Build) (64-bit)
Original install method (e.g. download page, yum, from source, etc.):
from source
Describe the bug:
Creating a pdf report of a dashboard using the 'optimize for printing', the x-axis labels on graphs move into the graph panel. The scroll bar also fires its rendered event early.

Steps to reproduce:

  1. run kibana version 7.7.1
  2. load the eCommerce sample dataset
  3. open the dashboard
  4. select Share -> PDF Reports -> Optimize for printing -> Generate PDF
  5. repeat step 4 without the Optimize for printing option: Share -> PDF Reports -> Generate PDF
  6. wait for the reports to generate
  7. open the reports and observe that the x-axis label for [eCommerce] Sales by Category has moved into the visualization panel for the optimized for printing report

Expected behavior:
The x-axis should remain below the visualization layer in PDF reports generated when Optimize for printing is selected.

Screenshots (if relevant):
Not optimized for printing:
Screen Shot 2020-07-17 at 09 40 30

Optimized for printing:
Screen Shot 2020-07-17 at 09 39 25

Errors in browser console (if relevant):
Non
Provide logs and/or server output (if relevant):
No errors or warnings logged

Any additional context:
The reporting team looked into the issue and noticed that the scroll bar seems to be firing its "rendered" event early. I wasn't able to track the early rendering in my local setup.

Metadata

Metadata

Assignees

Labels

Feature:VislibVislib chart implementationTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experiencev7.7.1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions