@@ -142,7 +142,7 @@ define(function (require) {
142142 // which will be much faster and useful in pixel manipulation
143143 var returnRGBArray = ! ! out ;
144144 ! isNormalized && ( value = this . _normalizeData ( value ) ) ;
145- out = zrColor . fastMapToColor ( value , thisOption . parsedVisual , out ) ;
145+ out = zrColor . fastLerp ( value , thisOption . parsedVisual , out ) ;
146146 return returnRGBArray ? out : zrColor . stringify ( out , 'rgba' ) ;
147147 } ,
148148 this
@@ -152,7 +152,7 @@ define(function (require) {
152152 _doMap : {
153153 linear : function ( normalized ) {
154154 return zrColor . stringify (
155- zrColor . fastMapToColor ( normalized , this . option . parsedVisual ) ,
155+ zrColor . fastLerp ( normalized , this . option . parsedVisual ) ,
156156 'rgba'
157157 ) ;
158158 } ,
@@ -161,7 +161,7 @@ define(function (require) {
161161 var result = getSpecifiedVisual . call ( this , value ) ;
162162 if ( result == null ) {
163163 result = zrColor . stringify (
164- zrColor . fastMapToColor ( normalized , this . option . parsedVisual ) ,
164+ zrColor . fastLerp ( normalized , this . option . parsedVisual ) ,
165165 'rgba'
166166 ) ;
167167 }
0 commit comments