Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nvd3 disabling tooltip delay on show/hide

http://jsfiddle.net/kaliatech/PGyKF/

This example has a continuously updating nvd3 line graph. By default nvd3 introduces a delay in showing the tooltip during a mouse hover.

Is there anyway to disable this?

like image 552
amrk7 Avatar asked Dec 03 '25 22:12

amrk7


1 Answers

The controls for adjusting delays and transitions are in css files

Edited nv.d3.css

.nvtooltip {
...
...
transition: opacity 0ms linear;
-moz-transition: opacity 0ms linear;
-webkit-transition: opacity 0ms linear;

transition-delay: 0ms;
-moz-transition-delay: 0ms;
-webkit-transition-delay: 0ms;
...
...
}

Worked!

like image 148
amrk7 Avatar answered Dec 06 '25 14:12

amrk7