We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84f7c3 commit 98f5f37Copy full SHA for 98f5f37
src/components/modebar/buttons.js
@@ -253,13 +253,6 @@ function handleCartesian(gd, ev) {
253
if(astr === 'hovermode' && (val === 'x' || val === 'y')) {
254
val = fullLayout._isHoriz ? 'y' : 'x';
255
button.setAttribute('data-val', val);
256
- } else if(astr === 'hovermode' && val === 'closest') {
257
- for(i = 0; i < axList.length; i++) {
258
- ax = axList[i];
259
- if(allSpikesEnabled === 'on' && !ax.showspikes) {
260
- allSpikesEnabled = 'off';
261
- }
262
263
}
264
265
aobj[astr] = val;
0 commit comments