2014-10-04 101 views

回答

0

我已经找到了如何做到这一点:

tooltip :{ 
    formatter: function(a) { 
     if(condition) 
      return "custom tooltip for the marker point"; 

     //otherwise call the defaultFormatter function this way 
     return a.defaultFormatter.call(this, a); 
    } 
}