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 9dcc03f commit 81fcf2cCopy full SHA for 81fcf2c
src/components/fx/hover.js
@@ -1215,14 +1215,14 @@ function createHoverText(hoverData, opts) {
1215
var item0 = groupedHoverData[0];
1216
1217
var unifiedhovertemplate = (
1218
- hovermode === 'y unified' ?
+ hovermode === 'x unified' ?
1219
item0.xa :
1220
item0.ya
1221
).unifiedhovertemplate;
1222
1223
var mainText = !unifiedhovertemplate ? t0 :
1224
Lib.hovertemplateString(unifiedhovertemplate, {}, fullLayout._d3locale,
1225
1226
{xa: item0.xa, x: item0.xVal} :
1227
{ya: item0.ya, y: item0.yVal}
1228
);
0 commit comments