krzysu/flot.tooltip — pull request #12 by fmsf (2013-01-03 23:10:00+00:00)
Title: Callback function to allow for dynamic tooltip generation

It should be possible to do:
content : function(xval, yval){
if(xval==1234){
return '

'+yval*2+'

';
} else {
return '

'+yval*yval+'

';
}
}

I tried to keep the code in the same format you have. If you accept the pool I suggest you to review the documentation I pushed. Hope it helps ;)