2014-10-04 96 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); 
    } 
}