I am currently working on a Flot graph, the API which seems pretty powerful overall, although examples of advanced use are not widely documented.
The API suggests there
There is also a simple tooltip plugin for it, you can find it here
And I also add some feature to the plugin, you can find it on github. https://github.com/skeleton9/flot.tooltip