Borja
Borja

Reputation: 3559

tooltip formatter Highcharts not work with Firefox ? - Bug?

I'm using 3D Scatter Chart" of Highcharts with version **4.1.4 I noticed that tooltip formatter doesn't work on firefox developement edition 64.0b3.

This is really strange because i'm sure that my code is not change and in latest days worked.

                formatter: function() { 
                    if((this.point.x < this.point.series.xAxis.max+0.1) && (this.point.options.stato == true)) {    //se il marker è visibile (cioè nel grafico) e nei confini del grafico mostro il fumetto                    
                        return '<div style="white-space:pre"><b class="colorunder"><span style="color:#0071B3;font-weight:bolder">Magnitude</b>:  </span>'+this.point.magn+' M<br/><b class="colorunder"><span style="color:#0071B3;font-weight:bolder">Date time</b>:  </span>'+this.point.data+'<br /><b class="colorunder"><span style="color:#0071B3;font-weight:bolder">Longitude</b>:  </span>'+this.point.x+'\u00B0'+'   '+' <b class="colorunder"><span style="color:#0071B3;font-weight:bolder">Latitude</b>:  </span>'+this.point.z+'\u00B0 <br/><b class="colorunder"><span style="color:#0071B3;font-weight:bolder">Depth</b>:  </span>'+this.point.y+' Km</div>';
                    } 
                    return false;
                }

Tooltip formatter on mouse over event (or touch) works very well with other browsers or firefox mobile.

Is a bug ?

Upvotes: 0

Views: 279

Answers (1)

Niran Manandhar
Niran Manandhar

Reputation: 1107

disabling clip and enabling stickyTracking seems to be a workaround for firefox tooltip events.

plotOptions: { series: { // stickyTracking: false clip: false } }

Upvotes: 1

Related Questions