krzysu / flot.tooltip

tooltip plugin for wonderful Flot plotting library
https://github.com/krzysu/flot.tooltip
187 stars 153 forks source link

Tooltip doesn't appear over piechart labels #73

Closed sheffieldnikki closed 10 years ago

sheffieldnikki commented 10 years ago

When you mouseover a piechart the tooltip appears fine, but if you mouseover label text (over the piechart) the tooltip disappears - presumably because the event isn't propagating to the parent? A javascript fix for this would be good, but a quick CSS workaround is:

.pieLabel {
  pointer-events: none;
  }

but that doesn't work in IE until v11.

krzysu commented 10 years ago

I checked that and I think this is issue with pie plugin, that labels are not propagating or triggering plothover event. I would rather ask pie plugin author about it.

sheffieldnikki commented 10 years ago

Thanks, I've added that as a new issue with flot.pie

nguyendt214 commented 9 years ago

Add in your style file:

flotTip{

z-index: 999; }

That's it. :)