visx icon indicating copy to clipboard operation
visx copied to clipboard

XYChart Tooltip without using Portal?

Open darrylyeo opened this issue 3 years ago • 4 comments

Is there any way to have the tooltip from XYChart be constrained to the bounds of the chart? i.e. use TooltipWithBounds instead of TooltipInPortal?

darrylyeo avatar Nov 30 '21 22:11 darrylyeo

I'd love to be able to use TooltipWithBounds to prevent the tooltips from going off screen on mobile/smaller screens!

zolrath avatar Feb 26 '22 04:02 zolrath

Yes, the lack of mobile constraints is a dealbreaker for me as well.

darrylyeo avatar Feb 26 '22 22:02 darrylyeo

this should be fairly straightforward to enable, if anyone is interested I'm happy to review!

williaster avatar May 05 '23 18:05 williaster

Has this been enabled?

chromodome avatar Aug 10 '23 10:08 chromodome