@@ -1268,7 +1268,7 @@ describe('Test gl3d trace click/hover:', function() {
1268
1268
} ) ;
1269
1269
} ) ;
1270
1270
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 ( ) {
1272
1272
'use strict' ;
1273
1273
1274
1274
var gd , fig ;
@@ -1393,16 +1393,17 @@ describe('hover on traces with (x|y|z|u|v|w)hoverformat', function() {
1393
1393
} ) ;
1394
1394
1395
1395
[
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 ' } ,
1398
1398
] . forEach ( function ( t ) {
1399
1399
it ( '@gl ' + t . type + ' trace' , function ( done ) {
1400
1400
fig . data = [ {
1401
1401
showscale : false ,
1402
- hoverinfo : 'x+y+z+u+v+w' ,
1402
+ hoverinfo : 'x+y+z+u+v+w+value ' ,
1403
1403
xhoverformat : '.1f' ,
1404
1404
yhoverformat : '.2f' ,
1405
1405
zhoverformat : '.3f' ,
1406
+ valuehoverformat : '.4f' ,
1406
1407
x : [ 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ] ,
1407
1408
y : [ 0 , 0 , 1 , 1 , 0 , 0 , 1 , 1 ] ,
1408
1409
z : [ 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 ] ,
0 commit comments