Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 06ad9a7

Browse files
committed
unified hoverlabel: swap hovermode in orientationaxes block
1 parent a9c899b commit 06ad9a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plot_api/plot_api.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,6 +1737,10 @@ function _restyle(gd, aobj, traces) {
17371737
hovermode.set('y');
17381738
} else if(hovermode.get() === 'y') {
17391739
hovermode.set('x');
1740+
} else if(hovermode.get() === 'x unified') {
1741+
hovermode.set('y unified');
1742+
} else if(hovermode.get() === 'y unified') {
1743+
hovermode.set('x unified');
17401744
}
17411745
}
17421746

0 commit comments

Comments
 (0)