plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

fix: tooltip pointer position in hovermode x

Open OBe95 opened this issue 1 year ago • 0 comments

Attempt to fix https://github.com/plotly/plotly.js/issues/6900

If I understood well the logic in hover.js when hovermode === 'x'

  • lx represents the center of the highlighted data point
  • there is a logic to adapt the tooltip box so that it doesn't go outside of the main-svg
  • this logic seems to misplace the center of the tooltip pointer

OBe95 avatar Feb 15 '24 17:02 OBe95