We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05188d6 commit af4a07cCopy full SHA for af4a07c
src/components/modebar/manage.js
@@ -85,6 +85,7 @@ function getButtonGroups(gd) {
85
var hasPolar = fullLayout._has('polar');
86
var hasSankey = fullLayout._has('sankey');
87
var allAxesFixed = areAllAxesFixed(fullLayout);
88
+ var hasUnifiedHoverLabel = ['x unified', 'y unified'].indexOf(fullLayout.hovermode) !== -1;
89
90
var groups = [];
91
@@ -146,7 +147,7 @@ function getButtonGroups(gd) {
146
147
if(hasCartesian) {
148
hoverGroup = ['toggleSpikelines', 'hoverClosestCartesian', 'hoverCompareCartesian'];
149
}
- if(hasNoHover(fullData)) {
150
+ if(hasNoHover(fullData) || hasUnifiedHoverLabel) {
151
hoverGroup = [];
152
153
0 commit comments