Browse Source

Merge pull request #5948 from GordonSmith/HPCC-11472

HPCC-11472 Choropleth does not display in ECL Playground

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 years ago
parent
commit
048c979f51
1 changed files with 5 additions and 0 deletions
  1. 5 0
      esp/src/eclwatch/viz/DojoD3Choropleth.js

+ 5 - 0
esp/src/eclwatch/viz/DojoD3Choropleth.js

@@ -39,6 +39,11 @@ define([
 
         resize: function (args) {
             //  No resize (yet - its too slow)
+            this.calcGeom();
+            d3.select(this.target.domDivID).select("svg")
+                .attr("width", this.target.width)
+                .attr("height", this.target.height)
+            ;
         },
 
         renderTo: function (_target) {