Commit adccf152 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Remove intermediate selection test

parent 9b947115
...@@ -27,13 +27,13 @@ export default function () { ...@@ -27,13 +27,13 @@ export default function () {
.tickFormat(format(".3s")); .tickFormat(format(".3s"));
const genomeAxisSelection = container const genomeAxisSelection = container
.selectAll<SVGGElement, [number, number]>("g.genome-axis") .selectAll<SVGElement, [number, number]>("g.genome-axis")
.data([_data]); .data([_data]);
// ENTER // ENTER
const genomeAxisSelectionEnter = genomeAxisSelection const genomeAxisSelectionEnter = genomeAxisSelection
.enter() .enter()
.append<SVGGElement>("g") .append<SVGElement>("g")
.classed("genome-axis", true); .classed("genome-axis", true);
genomeAxisSelectionEnter genomeAxisSelectionEnter
...@@ -61,15 +61,10 @@ export default function () { ...@@ -61,15 +61,10 @@ export default function () {
.text(title); .text(title);
const test = genomeAxisSelectionUpdate genomeAxisSelectionUpdate
.select<SVGElement>("g.axis-elems") .select<SVGSVGElement>("g.axis-elems")
.attr("transform", "translate(0, 50)"); .attr("transform", "translate(0, 50)")
.call(genomeAxisComponent);
test.call(genomeAxisComponent);
//test.transition().call(genomeAxisComponent);
}); });
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment