elasticsearch/kibana — pull request #436 by spenceralger (2013-08-28 18:18:11+00:00)
Title: The tooltip should be more responsive

When the tooltip is rendered close to the edge of the screen it should display on the side of the mouse that has space for it. These changes accomplish this and centralize the logic. Used in the "histogram", "pie", "terms", and "hits" panels.