File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ Choropleth.colorbar = require('../heatmap/colorbar');
17
17
Choropleth . calc = require ( './calc' ) ;
18
18
Choropleth . plot = require ( './plot' ) . plot ;
19
19
20
+ // add dummy hover handler to skip Fx.hover w/o warnings
21
+ Choropleth . hoverPoints = function ( ) { } ;
22
+
20
23
Choropleth . moduleType = 'trace' ;
21
24
Choropleth . name = 'choropleth' ;
22
25
Choropleth . basePlotModule = require ( '../../plots/geo' ) ;
Original file line number Diff line number Diff line change @@ -59,9 +59,8 @@ plotChoropleth.calcGeoJSON = function(trace, topojson) {
59
59
} ;
60
60
61
61
plotChoropleth . plot = function ( geo , calcData , geoLayout ) {
62
- function keyFunc ( d ) {
63
- return d [ 0 ] . trace . uid ;
64
- }
62
+
63
+ function keyFunc ( d ) { return d [ 0 ] . trace . uid ; }
65
64
66
65
var framework = geo . framework ,
67
66
gChoropleth = framework . select ( 'g.choroplethlayer' ) ,
You can’t perform that action at this time.
0 commit comments