Commit 8f4623a8444fff89503e2aef221e943b22e1d795
1 parent
ffd617ec
Updated datasetexplorer
Showing
1 changed file
with
2 additions
and
3 deletions
datalets/datasetexplorer-datalet/js/buildtreemap.js
... | ... | @@ -15,7 +15,6 @@ function build(root, meta, place_holder, select_listener, width, height) { |
15 | 15 | |
16 | 16 | var x = d3.scale.linear() |
17 | 17 | .domain([0, width]) |
18 | - .domain([0, width]) | |
19 | 18 | .range([0, width]); |
20 | 19 | |
21 | 20 | var y = d3.scale.linear() |
... | ... | @@ -247,8 +246,8 @@ function build(root, meta, place_holder, select_listener, width, height) { |
247 | 246 | line = [word], |
248 | 247 | lineNumber = 0, |
249 | 248 | lineHeight = 1.1, // ems |
250 | - x = parseFloat(text.attr("x")), | |
251 | - y = parseFloat(text.attr("y")), | |
249 | + //x = parseFloat(text.attr("x")), | |
250 | + //y = parseFloat(text.attr("y")), | |
252 | 251 | dy = parseFloat(text.attr("dy")); |
253 | 252 | text.selectAll("tspan").remove(); |
254 | 253 | |
... | ... |