@@ -150,7 +150,6 @@ describe('Waterfall.supplyDefaults', function() {
150
150
it ( 'should coerce textinfo when textposition is not none' , function ( ) {
151
151
traceIn = {
152
152
y : [ 1 , 2 , 3 ] ,
153
- textposition : 'auto' ,
154
153
textinfo : 'text'
155
154
} ;
156
155
supplyDefaults ( traceIn , traceOut , defaultColor , { } ) ;
@@ -742,7 +741,6 @@ describe('A waterfall plot', function() {
742
741
y : [ 20 , 14 , 23 , 10 , 59 , 15 ] ,
743
742
text : [ 20 , 14 , 23 , 10 , 59 , 15 ] ,
744
743
type : 'waterfall' ,
745
- textposition : 'auto' ,
746
744
marker : {
747
745
color : [ '#ee1' , '#eee' , '#333' , '#9467bd' , '#dda' , '#922' ] ,
748
746
}
@@ -785,7 +783,6 @@ describe('A waterfall plot', function() {
785
783
} , {
786
784
width : [ 0.4 , 0.6 , 0.8 , 1 ] ,
787
785
text : [ 'Three' , 2 , 'inside text' , 0 ] ,
788
- textposition : 'auto' ,
789
786
textfont : { size : [ 10 ] } ,
790
787
y : [ 3 , 2 , 1 , 0 ] ,
791
788
x : [ 1 , 2 , 3 , 4 ] ,
@@ -799,7 +796,6 @@ describe('A waterfall plot', function() {
799
796
type : 'waterfall'
800
797
} , {
801
798
text : [ 0 , 'outside text' , - 3 , - 2 ] ,
802
- textposition : 'auto' ,
803
799
y : [ 0 , - 0.25 , - 3 , - 2 ] ,
804
800
x : [ 1 , 2 , 3 , 4 ] ,
805
801
type : 'waterfall'
@@ -1150,7 +1146,6 @@ describe('A waterfall plot', function() {
1150
1146
x : [ 'Product A' , 'Product B' , 'Product C' ] ,
1151
1147
y : [ 20 , 14 , 23 ] ,
1152
1148
text : [ 20 , 14 , 23 ] ,
1153
- textposition : 'auto'
1154
1149
} ] )
1155
1150
. then ( function ( ) {
1156
1151
_assertNumberOfWaterfallTextNodes ( 3 ) ;
0 commit comments