diff options
author | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-05-28 14:52:54 +1200 |
---|---|---|
committer | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-05-28 14:52:54 +1200 |
commit | 919ac3f8297f5b5b14809471a5c0f140859e2fa0 (patch) | |
tree | 4056ee9b74987ecb89e6369469672992b0e1571a | |
parent | 4d89ed1f0ceb5632e0a76671a82114f8cde16a0f (diff) | |
download | manavis-919ac3f8297f5b5b14809471a5c0f140859e2fa0.tar.gz manavis-919ac3f8297f5b5b14809471a5c0f140859e2fa0.tar.bz2 manavis-919ac3f8297f5b5b14809471a5c0f140859e2fa0.tar.xz manavis-919ac3f8297f5b5b14809471a5c0f140859e2fa0.zip |
Fix brush call, remove debugging output
-rw-r--r-- | public/js/util/trellis-chart.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/public/js/util/trellis-chart.js b/public/js/util/trellis-chart.js index bad1cb4..8b92344 100644 --- a/public/js/util/trellis-chart.js +++ b/public/js/util/trellis-chart.js @@ -188,7 +188,6 @@ function trellisChart(anchor, monoGroups) { colBodies = columns.selectAll(".chartBody") .data(function(d) { return [d]; }).enter().append("g") .attr("class", "chartBody") - .each(function(d, i, j) { console.log("Created chart body", d, i, j); }) ; } @@ -289,7 +288,7 @@ function trellisChart(anchor, monoGroups) { } function redrawBrush(d, i, brushG) { - if (d.filter() && d.brush().empty()) + if (d.filter() && d.brush.empty()) d.brush.extent(d.filter()); brushG.call(d.brush.x(_scale)); |