novus/nvd3 — pull request #436 by darora (2014-02-04 22:52:36+00:00)
Title: Allow the gravity to be a string, or a function to calculate it dynamically

If it is a function, it will be called with the position of the element,
and its dimensions. This can be used to control the tooltip positioning as necessary.