Skip to content

Commit b0cdd4e

Browse files
committed
bug correction
1 parent 2d30ec6 commit b0cdd4e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

js/eurostat-map.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
//transform nice nuts map using eurostat-map.js?
2626
//d3.v5.js ?
2727
//https://github.com/d3/d3-shape#symbols
28+
//proportional circles: extend to squares + other symbols?
2829

2930
//map with proportionnal rectangle (only height varies)/squares
3031
//composition chroploth + prop circle
@@ -129,8 +130,8 @@
129130
out.legendBoxCornerRadius_ = out.legendBoxPadding_;
130131
out.legendBoxOpacity_ = 0.5;
131132
out.legendBoxFill_ = "white";
132-
out.legendBoxWidth_;
133-
out.legendBoxHeight_;
133+
out.legendBoxWidth_ = 250;
134+
out.legendBoxHeight_ = 350;
134135

135136
//definition of generic accessors based on the name of each property name
136137
for(var p in out)

test/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
.filtersDefinitionFun(EstLib.getFillPatternDefinitionFun({ patternSize: 5, minSize: 1, maxSize: 5.5, shape: "circle", bckColor: "white", symbColor: "black" } ))
3131
.classToFillStyle(EstLib.getFillPatternLegend())
3232
.type("ps")
33-
//.legendBoxHeight(250)
33+
.legendBoxHeight(250)
3434
//.legendBoxWidth(200)
3535
.legendLabelWrap(200)
3636
.set(opts)

0 commit comments

Comments
 (0)