netj / 3x

3X — a Workbench for eXecutable eXploratory eXperiments
http://netj.github.io/3x/
21 stars 4 forks source link

Popover on Hover #12

Closed jaericson closed 4 years ago

jaericson commented 10 years ago

Instead of needing to click on an SVG element, show popovers on hover. If a user clicks on an SVG element, do not hide the popover.

This also entails adding invisible, event-handling rectangles for each visible bar in the bar graph to accept the mouseover event. The main purpose of this is to alleviate the problem of zero-height bars that would normally not allow the user to see the popover.