lively.pt(224.6,575.0) 1947 0 0
TODO: DBVariable>>cnEquals is fuzzy about which inputs it recognizes, need to think about that.
Total 15+ unemployment (%)
Total 15-24 unemployment (%)
Income per person (fixed 2000 US$)
Total population
Total 15+ unemployment (%)
Total 15-24 unemployment (%)
Income per person (fixed 2000 US$)
Total population
Total 15+ unemployment (%)
Total 15-24 unemployment (%)
Income per person (fixed 2000 US$)
Total population
Record Screen
ObjectEditor -- Country>>reset
X

Menu
// changed at Thu Jan 29 2015 11:25:37 GMT+0100 (Central Europe Standard Time) by timfelgentr
eff
this.addScript(function reset() {
    var g = this.get("Graph")
    always: {
        solver: g.deltablue
        this.getPosition().equals(pt(
                g.mapToX(g.xData()[this.name][g.year()]),
                g.mapToY(g.yData()[this.name][g.year()])
        ));
    }
    
    always: {
        solver: g.deltablue
        this.getExtent().equals(pt(
            g.mapToSize(g.sizeData()[this.name][g.year()]),
            g.mapToSize(g.sizeData()[this.name][g.year()])
        ));
    }
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<lively.morphic.Morph#B291F... - Country>
Tag:
run
save
Tests

-- ALL --
reset
Scripts
-
+
-
Connections
+
-- ALL --
all
ObjectEditor -- Graph>>mapToSize
X

Menu
// changed at Thu Jan 29 2015 11:59:34 GMT+0100 (Central Europe Standard Time) by timfelgentr
eff
this.addScript(function mapToSize(value) {
    value = value || 0
    return (((value - this.sizeData().min) / this.sizeData().max) + 0.1) * 50
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<lively.morphic.Box#261C3... - Graph>
Tag:
run
save
Tests

-- ALL --
addMorphs
calculateMinAndMax
loadRealData
mapToSize
mapToX
mapToY
onrestore
removeMorphs
reset
sizeData
xData
yData
year
Scripts
-
+
-
Connections
+
-- ALL --
all