Chart.Scatter icon indicating copy to clipboard operation
Chart.Scatter copied to clipboard

customTooltips not working properly

Open josef-rybicka-zz opened this issue 10 years ago • 1 comments

When setting customTooltips like in Chart.js, an event is triggered only when a cursor hovers the dot. Please see this example:

customTooltips: function(tooltip) {
   if(!tooltip) {
      $('#tooltip').hide(); //code never executed
   }
   $('#tooltip').html(tooltip.text);
   $('#tooltip').show();
}

Thats why my custom tooltips allways remain visible...

josef-rybicka-zz avatar Feb 02 '16 18:02 josef-rybicka-zz

Hi

I'm sorry, that did not answer for a long time. Could you give me an example on jsfiddle.net or similar site? I will use this as an error correction criterion.

dima117 avatar Feb 13 '16 17:02 dima117