@@ -109,7 +109,7 @@ function calcHover(pointData, x, y, trace) {
109109
110110    var  font  =  trace . textfont ; 
111111    if ( font )  { 
112-         di . ts  =  Array . isArray ( font . size )  ? font . size [ id ]  : font . size ; 
112+         di . ts  =  Lib . isArrayOrTypedArray ( font . size )  ? font . size [ id ]  : font . size ; 
113113        di . tc  =  Array . isArray ( font . color )  ? font . color [ id ]  : font . color ; 
114114        di . tf  =  Array . isArray ( font . family )  ? font . family [ id ]  : font . family ; 
115115    } 
@@ -118,7 +118,7 @@ function calcHover(pointData, x, y, trace) {
118118    if ( marker )  { 
119119        di . ms  =  Lib . isArrayOrTypedArray ( marker . size )  ? marker . size [ id ]  : marker . size ; 
120120        di . mo  =  Lib . isArrayOrTypedArray ( marker . opacity )  ? marker . opacity [ id ]  : marker . opacity ; 
121-         di . mx  =  Array . isArray ( marker . symbol )  ? marker . symbol [ id ]  : marker . symbol ; 
121+         di . mx  =  Lib . isArrayOrTypedArray ( marker . symbol )  ? marker . symbol [ id ]  : marker . symbol ; 
122122        di . mc  =  Lib . isArrayOrTypedArray ( marker . color )  ? marker . color [ id ]  : marker . color ; 
123123    } 
124124
@@ -143,10 +143,10 @@ function calcHover(pointData, x, y, trace) {
143143    if ( hoverlabel )  { 
144144        di . hbg  =  Array . isArray ( hoverlabel . bgcolor )  ? hoverlabel . bgcolor [ id ]  : hoverlabel . bgcolor ; 
145145        di . hbc  =  Array . isArray ( hoverlabel . bordercolor )  ? hoverlabel . bordercolor [ id ]  : hoverlabel . bordercolor ; 
146-         di . hts  =  Array . isArray ( hoverlabel . font . size )  ? hoverlabel . font . size [ id ]  : hoverlabel . font . size ; 
146+         di . hts  =  Lib . isArrayOrTypedArray ( hoverlabel . font . size )  ? hoverlabel . font . size [ id ]  : hoverlabel . font . size ; 
147147        di . htc  =  Array . isArray ( hoverlabel . font . color )  ? hoverlabel . font . color [ id ]  : hoverlabel . font . color ; 
148148        di . htf  =  Array . isArray ( hoverlabel . font . family )  ? hoverlabel . font . family [ id ]  : hoverlabel . font . family ; 
149-         di . hnl  =  Array . isArray ( hoverlabel . namelength )  ? hoverlabel . namelength [ id ]  : hoverlabel . namelength ; 
149+         di . hnl  =  Lib . isArrayOrTypedArray ( hoverlabel . namelength )  ? hoverlabel . namelength [ id ]  : hoverlabel . namelength ; 
150150    } 
151151    var  hoverinfo  =  trace . hoverinfo ; 
152152    if ( hoverinfo )  { 
0 commit comments