@@ -1268,7 +1268,7 @@ describe('Test gl3d trace click/hover:', function() {
12681268 } ) ;
12691269} ) ;
12701270
1271- describe ( 'hover on traces with (x|y|z|u|v|w)hoverformat' , function ( ) {
1271+ describe ( 'hover on traces with (x|y|z|u|v|w)hoverformat and valuehoverformat ' , function ( ) {
12721272 'use strict' ;
12731273
12741274 var gd , fig ;
@@ -1393,16 +1393,17 @@ describe('hover on traces with (x|y|z|u|v|w)hoverformat', function() {
13931393 } ) ;
13941394
13951395 [
1396- { type : 'isosurface' , nums : 'x: 1.0\ny: 1.00\nz: 1.000\nvalue: 8' } ,
1397- { type : 'volume' , nums : 'x: 1.0\ny: 1.00\nz: 1.000\nvalue: 8' } ,
1396+ { type : 'isosurface' , nums : 'x: 1.0\ny: 1.00\nz: 1.000\nvalue: 8.0000 ' } ,
1397+ { type : 'volume' , nums : 'x: 1.0\ny: 1.00\nz: 1.000\nvalue: 8.0000 ' } ,
13981398 ] . forEach ( function ( t ) {
13991399 it ( '@gl ' + t . type + ' trace' , function ( done ) {
14001400 fig . data = [ {
14011401 showscale : false ,
1402- hoverinfo : 'x+y+z+u+v+w' ,
1402+ hoverinfo : 'x+y+z+u+v+w+value ' ,
14031403 xhoverformat : '.1f' ,
14041404 yhoverformat : '.2f' ,
14051405 zhoverformat : '.3f' ,
1406+ valuehoverformat : '.4f' ,
14061407 x : [ 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ] ,
14071408 y : [ 0 , 0 , 1 , 1 , 0 , 0 , 1 , 1 ] ,
14081409 z : [ 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 ] ,
0 commit comments