Skip to content

Commit f726248

Browse files
committed
revise order of displaying lf and uf in box hover
1 parent ca5f2d9 commit f726248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/box/hover.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ function hoverOnBoxes(pointData, xval, yval, hovermode) {
145145

146146
// labels with euqual values (e.g. when min === q1) should be presented in certain order
147147
var attrs =
148-
(hasFences && hasMean) ? ['uf', 'max', 'q3', 'mean', 'q1', 'min', 'lf'] :
149-
(hasFences && !hasMean) ? ['uf', 'max', 'q3', 'q1', 'min', 'lf'] :
148+
(hasFences && hasMean) ? ['max', 'uf', 'q3', 'mean', 'q1', 'lf', 'min'] :
149+
(hasFences && !hasMean) ? ['max', 'uf', 'q3', 'q1', 'lf', 'min'] :
150150
(!hasFences && hasMean) ? ['max', 'q3', 'mean', 'q1', 'min'] :
151151
['max', 'q3', 'q1', 'min'];
152152

0 commit comments

Comments
 (0)