question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Position tooltip relative to highlighted data item

See original GitHub issue

What problem does this feature solve?

Using tooltip position callback, one can position the tooltip relative to the mouse or bounding container, but it does not expose any information about the highlighted data item or its position.

What does the proposed API look like?

series-line.tooltip.position = function (point: Array, params: Object|Array.<Object>, dom: HTMLDomElement, rect: Object, size: Object, itemRect: Object)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
susiwen8commented, Oct 10, 2020
0reactions
Bilgecommented, Apr 17, 2021

@susiwen8 How did 5.0 solve this? The documentation for tooltip.position is word-for-word the same as v4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Position tooltip relative to highlighted data item #13415 - GitHub
I want to position the tooltip relative to (near to) a highlighted data item (shown with red arrow) instead of relative to the...
Read more >
How to position tooltips correctly with CSS - Tutorialspoint
To position tooltips correctly, use the right, left, top and bottom properties. Let us see how to position tooltips on the right: ...
Read more >
Positioning a tooltip absolutely over relative text - Stack Overflow
However, the issue I'm having is that I can't keep the text positioned relatively while also achieving absolute position on the tooltip (it ......
Read more >
Position in React Tooltip component - Syncfusion
The Tooltip and its tip pointer can be positioned dynamically based on the target's location. This can be achieved by using the refresh...
Read more >
Telerik Web UI ToolTip Relative to Demo
Positioning a RadToolTip relative to the browser window (instead of to the mouse or to an element) is very useful in some scenarios....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found