Live tooltip and stats legend
Move the cursor near the viewport edges. The tooltip flips horizontally and vertically, with a 12px cursor gap.
Scroll to move the plot near the top edge. The unlocked tooltip ignores pointer events, so cursor tracking and drag-to-zoom still work.
Click the plot to lock the cursor and select text inside the tooltip. Click the plot outside the tooltip to unlock it.