Skip to content

Bad tooltip display (wrong location and size) when embedded in Wordpress #1052

@pierre-haessig

Description

@pierre-haessig

I've embedded interactive Altair/Vega-Lite charts in a Wordpress page: https://pierreh.eu/a-decade-of-office-notebook-processors/. It mostly works fine (the embedding method is mostly the classical Vega-Embed README, with Wordpress specific bits described in https://pierreh.eu/vega-lite-wordpress/)

However, the display of the tooltip, which is a multiline one breaks:

  • The location and size is wrong (huge blank rectangle).
  • not 100% of the time though, sometimes it works

For the comparison, I've embedded the same json chart specifications in a blank page: https://pierre-haessig.github.io/notebook-cpu-performance/Geekbench%206%20plots/CPUs_bydate.html

See screenshots in the discussion vega/vega-lite#9608

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions