Skip to content

Commit 98d841e

Browse files
Update src/traces/box/hover.js
Co-authored-by: Alex Johnson <alex@plot.ly>
1 parent f3f3c5c commit 98d841e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/box/hover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function hoverOnBoxes(pointData, xval, yval, hovermode) {
143143
var hasMean = trace.boxmean || (trace.meanline || {}).visible;
144144
var hasFences = trace.boxpoints || trace.points;
145145

146-
// labels with euqual values (e.g. when min === q1) should be presented in certain order
146+
// labels with equal values (e.g. when min === q1) should still be presented in the order they have when they're unequal
147147
var attrs =
148148
(hasFences && hasMean) ? ['max', 'uf', 'q3', 'med', 'mean', 'q1', 'lf', 'min'] :
149149
(hasFences && !hasMean) ? ['max', 'uf', 'q3', 'med', 'q1', 'lf', 'min'] :

0 commit comments

Comments
 (0)