diff options
author | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-06-02 02:16:57 +1200 |
---|---|---|
committer | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-06-02 02:16:57 +1200 |
commit | 67c8c1c7ebb9c765004e4eed562e602413d1ac52 (patch) | |
tree | 641a4025952ca28381ad4919d8f858dbbeb997e1 /public/js/mv/heap.js | |
parent | 23841aa444173afcf8e10b8ef67f4f7f29829225 (diff) | |
download | manavis-67c8c1c7ebb9c765004e4eed562e602413d1ac52.tar.gz manavis-67c8c1c7ebb9c765004e4eed562e602413d1ac52.tar.bz2 manavis-67c8c1c7ebb9c765004e4eed562e602413d1ac52.tar.xz manavis-67c8c1c7ebb9c765004e4eed562e602413d1ac52.zip |
Plot xp instances as map chart y axismap-inst-y
Diffstat (limited to 'public/js/mv/heap.js')
-rw-r--r-- | public/js/mv/heap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/mv/heap.js b/public/js/mv/heap.js index 4ba5c06..35385e0 100644 --- a/public/js/mv/heap.js +++ b/public/js/mv/heap.js @@ -7,7 +7,7 @@ var mv = function(mv) { heap.init = function() { function ea(p, d) { p.e += d.e; p.j += d.j; p.r++; return p; } function es(p, d) { p.e -= d.e; p.j -= d.j; p.r--; return p; } - function ez(p, d) { return { e: 0, j: 0, r: 0 }; } + function ez(p, d) { return { e: 0, j: 0, r: 0, str: 0, agi: 0 }; } heap.cfdata = crossfilter(mv.parser.records); heap.all = heap.cfdata.groupAll().reduce(ea, es, ez); monoGroup("date", function(d) { return d3.time.hour.round(d.date); }); |