@@ -292,7 +292,7 @@ describe('legend getLegendData user-defined legendrank', function() {
292292 legendgroup : 'group' ,
293293 showlegend : true
294294 } } ] ,
295- [ { _preSort : 0 , trace : {
295+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
296296 legendrank : 3 ,
297297 type : 'scatter' ,
298298 visible : true ,
@@ -301,7 +301,7 @@ describe('legend getLegendData user-defined legendrank', function() {
301301 } } ]
302302 ] ,
303303 [
304- [ { _preSort : 0 , trace : {
304+ [ { _groupMinRank : 2 , _preGroupSort : 1 , _preSort : 0 , trace : {
305305 legendrank : 2 ,
306306 type : 'bar' ,
307307 visible : 'legendonly' ,
@@ -361,7 +361,7 @@ describe('legend getLegendData user-defined legendrank', function() {
361361 legendgroup : '' ,
362362 showlegend : true
363363 } } ] ,
364- [ { _preSort : 0 , trace : {
364+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
365365 legendrank : 3 ,
366366 type : 'scatter' ,
367367 visible : true ,
@@ -439,7 +439,7 @@ describe('legend getLegendData user-defined legendrank', function() {
439439
440440 expected = [
441441 [
442- [ { _preSort : 0 , trace : {
442+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
443443 legendrank : 3 ,
444444 type : 'scatter' ,
445445 visible : true ,
@@ -499,7 +499,7 @@ describe('legend getLegendData user-defined legendrank', function() {
499499
500500 expected = [
501501 [
502- [ { _preSort : 0 , trace : {
502+ [ { _groupMinRank : 1 , _preGroupSort : 0 , _preSort : 0 , trace : {
503503 legendrank : 3 ,
504504 type : 'scatter' ,
505505 visible : true ,
@@ -515,7 +515,7 @@ describe('legend getLegendData user-defined legendrank', function() {
515515 } } ]
516516 ] ,
517517 [
518- [ { _preSort : 0 , trace : {
518+ [ { _groupMinRank : 2 , _preGroupSort : 1 , _preSort : 0 , trace : {
519519 legendrank : 2 ,
520520 type : 'bar' ,
521521 visible : 'legendonly' ,
@@ -564,7 +564,7 @@ describe('legend getLegendData default legendrank', function() {
564564
565565 expected = [
566566 [
567- [ { _preSort : 0 , trace : {
567+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
568568 type : 'scatter' ,
569569 visible : true ,
570570 legendgroup : 'group' ,
@@ -578,7 +578,7 @@ describe('legend getLegendData default legendrank', function() {
578578 } } ]
579579 ] ,
580580 [
581- [ { _preSort : 0 , trace : {
581+ [ { _groupMinRank : Infinity , _preGroupSort : 1 , _preSort : 0 , trace : {
582582 type : 'bar' ,
583583 visible : 'legendonly' ,
584584 legendgroup : '' ,
@@ -620,7 +620,7 @@ describe('legend getLegendData default legendrank', function() {
620620
621621 expected = [
622622 [
623- [ { _preSort : 0 , trace : {
623+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
624624 type : 'scatter' ,
625625 visible : true ,
626626 legendgroup : '' ,
@@ -715,7 +715,7 @@ describe('legend getLegendData default legendrank', function() {
715715 legendgroup : '' ,
716716 showlegend : true
717717 } } ] ,
718- [ { _preSort : 0 , trace : {
718+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
719719 type : 'scatter' ,
720720 visible : true ,
721721 legendgroup : '' ,
@@ -763,15 +763,15 @@ describe('legend getLegendData default legendrank', function() {
763763 legendgroup : 'group' ,
764764 showlegend : true
765765 } } ] ,
766- [ { _preSort : 0 , trace : {
766+ [ { _groupMinRank : Infinity , _preGroupSort : 0 , _preSort : 0 , trace : {
767767 type : 'scatter' ,
768768 visible : true ,
769769 legendgroup : 'group' ,
770770 showlegend : true
771771 } } ]
772772 ] ,
773773 [
774- [ { _preSort : 0 , trace : {
774+ [ { _groupMinRank : Infinity , _preGroupSort : 1 , _preSort : 0 , trace : {
775775 type : 'bar' ,
776776 visible : 'legendonly' ,
777777 legendgroup : '' ,
0 commit comments