@@ -79,32 +79,6 @@ scatter.cleanData = function(fullData) {
7979
8080scatter . colorbar = require ( './colorbar' ) ;
8181
82- // used in the drawing step for 'scatter' and 'scattegeo' and
83- // in the convert step for 'scatter3d'
84- scatter . getBubbleSizeFn = function ( trace ) {
85- var marker = trace . marker ,
86- sizeRef = marker . sizeref || 1 ,
87- sizeMin = marker . sizemin || 0 ;
88-
89- // for bubble charts, allow scaling the provided value linearly
90- // and by area or diameter.
91- // Note this only applies to the array-value sizes
92-
93- var baseFn = marker . sizemode === 'area' ?
94- function ( v ) { return Math . sqrt ( v / sizeRef ) ; } :
95- function ( v ) { return v / sizeRef ; } ;
96-
97- // TODO add support for position/negative bubbles?
98- // TODO add 'sizeoffset' attribute?
99- return function ( v ) {
100- var baseSize = baseFn ( v / 2 ) ;
101-
102- // don't show non-numeric and negative sizes
103- return ( isNumeric ( baseSize ) && baseSize > 0 ) ?
104- Math . max ( baseSize , sizeMin ) : 0 ;
105- } ;
106- } ;
107-
10882scatter . calc = function ( gd , trace ) {
10983 var xa = Axes . getFromId ( gd , trace . xaxis || 'x' ) ,
11084 ya = Axes . getFromId ( gd , trace . yaxis || 'y' ) ;
0 commit comments