HoverTooltip sizing bug in canvas mode
See original GitHub issueHello! I’m facing with wrong tooltip width calculation if my x
label is too long:
On image above bgwidth
is adjusted: tooltip goes far away from vertical blue line, but bg is still same size, PADDING
is 5
.
I believe we should calculate x label size same way with y label sizes. And I see no reason to use bgwidth
when we’re drawing on the canvas.
So, I’ll make a PR with fix. Also there would be some tooltip x
coord calculation improvements: if PADDING is 0 - tooltip will stick right to the vertical blue line:
PS it’s only fix for tooltip with yAccessor prop
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Tooltips not showing up when the viewport is at a specific size
The bug was indeed solved but when hovering the graph the tooltips no longer appear. If I change the viewport size (by opening...
Read more >Toolbox Docker Redesign - Artists Feedback & Testing - Krita Artists
Another feedback and suggestion that I have is ability to resize the toolbar. Like how we can resize it now in Krita. This...
Read more >How to add hovering annotations to a plot - Stack Overflow
I am using matplotlib to make scatter plots. Each point on the scatter plot is associated with a named object. I would like...
Read more >Power BI Report on Modern Family TV Series - Reddit
Just change the size of tool-tip page. There are two settings "use as tool-tip" (under page info) and second is canvas size which...
Read more >Documentation - Mapplic WordPress
Title - title of the location, visible in the hover tooltip, popups and sidebar. ... disables portrait mode while true forces it on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @iNikNik i made a small change to get svg also use the same helper methods as canvas. This is fixed now
@rrag also I had little proposal https://github.com/rrag/react-stockcharts/pull/189#issuecomment-266029923 . Does it makes sense for you?