From dbe30979c130fdc700661efadad351b08ff65f09 Mon Sep 17 00:00:00 2001 From: Yuval Greenfield Date: Thu, 5 May 2016 09:28:39 -0700 Subject: [PATCH] Make chart mouse hover feel responsive 100 ms causes a 10 fps performance which feels like it's lagging behind your cursor. 30 ms feels to fast and noisy, 50 ms feels snappy yet stable. --- src/plots/cartesian/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plots/cartesian/constants.js b/src/plots/cartesian/constants.js index 857e91bce81..995bc8fc665 100644 --- a/src/plots/cartesian/constants.js +++ b/src/plots/cartesian/constants.js @@ -66,7 +66,7 @@ module.exports = { HOVERFONT: 'Arial, sans-serif', // minimum time (msec) between hover calls - HOVERMINTIME: 100, + HOVERMINTIME: 50, // max pixels off straight before a lasso select line counts as bent BENDPX: 1.5