@@ -292,7 +292,7 @@ describe('legend getLegendData user-defined legendrank', function() {
292
292
legendgroup : 'group' ,
293
293
showlegend : true
294
294
} } ] ,
295
- [ { _preSort : 0 , trace : {
295
+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
296
296
legendrank : 3 ,
297
297
type : 'scatter' ,
298
298
visible : true ,
@@ -301,7 +301,7 @@ describe('legend getLegendData user-defined legendrank', function() {
301
301
} } ]
302
302
] ,
303
303
[
304
- [ { _preSort : 0 , trace : {
304
+ [ { _groupMinRank : 2 , _preGroupSort : 1 , _preSort : 0 , trace : {
305
305
legendrank : 2 ,
306
306
type : 'bar' ,
307
307
visible : 'legendonly' ,
@@ -361,7 +361,7 @@ describe('legend getLegendData user-defined legendrank', function() {
361
361
legendgroup : '' ,
362
362
showlegend : true
363
363
} } ] ,
364
- [ { _preSort : 0 , trace : {
364
+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
365
365
legendrank : 3 ,
366
366
type : 'scatter' ,
367
367
visible : true ,
@@ -439,7 +439,7 @@ describe('legend getLegendData user-defined legendrank', function() {
439
439
440
440
expected = [
441
441
[
442
- [ { _preSort : 0 , trace : {
442
+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
443
443
legendrank : 3 ,
444
444
type : 'scatter' ,
445
445
visible : true ,
@@ -499,7 +499,7 @@ describe('legend getLegendData user-defined legendrank', function() {
499
499
500
500
expected = [
501
501
[
502
- [ { _preSort : 0 , trace : {
502
+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
503
503
legendrank : 3 ,
504
504
type : 'scatter' ,
505
505
visible : true ,
@@ -515,7 +515,7 @@ describe('legend getLegendData user-defined legendrank', function() {
515
515
} } ]
516
516
] ,
517
517
[
518
- [ { _preSort : 0 , trace : {
518
+ [ { _groupMinRank : 2 , _preGroupSort : 1 , _preSort : 0 , trace : {
519
519
legendrank : 2 ,
520
520
type : 'bar' ,
521
521
visible : 'legendonly' ,
@@ -564,7 +564,7 @@ describe('legend getLegendData default legendrank', function() {
564
564
565
565
expected = [
566
566
[
567
- [ { _preSort : 0 , trace : {
567
+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
568
568
type : 'scatter' ,
569
569
visible : true ,
570
570
legendgroup : 'group' ,
@@ -578,7 +578,7 @@ describe('legend getLegendData default legendrank', function() {
578
578
} } ]
579
579
] ,
580
580
[
581
- [ { _preSort : 0 , trace : {
581
+ [ { _groupMinRank : Infinity , _preGroupSort : 1 , _preSort : 0 , trace : {
582
582
type : 'bar' ,
583
583
visible : 'legendonly' ,
584
584
legendgroup : '' ,
@@ -620,7 +620,7 @@ describe('legend getLegendData default legendrank', function() {
620
620
621
621
expected = [
622
622
[
623
- [ { _preSort : 0 , trace : {
623
+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
624
624
type : 'scatter' ,
625
625
visible : true ,
626
626
legendgroup : '' ,
@@ -715,7 +715,7 @@ describe('legend getLegendData default legendrank', function() {
715
715
legendgroup : '' ,
716
716
showlegend : true
717
717
} } ] ,
718
- [ { _preSort : 0 , trace : {
718
+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
719
719
type : 'scatter' ,
720
720
visible : true ,
721
721
legendgroup : '' ,
@@ -763,15 +763,15 @@ describe('legend getLegendData default legendrank', function() {
763
763
legendgroup : 'group' ,
764
764
showlegend : true
765
765
} } ] ,
766
- [ { _preSort : 0 , trace : {
766
+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
767
767
type : 'scatter' ,
768
768
visible : true ,
769
769
legendgroup : 'group' ,
770
770
showlegend : true
771
771
} } ]
772
772
] ,
773
773
[
774
- [ { _preSort : 0 , trace : {
774
+ [ { _groupMinRank : Infinity , _preGroupSort : 1 , _preSort : 0 , trace : {
775
775
type : 'bar' ,
776
776
visible : 'legendonly' ,
777
777
legendgroup : '' ,
0 commit comments