Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remi PLANEL
bioviz-js
Commits
adccf152
Commit
adccf152
authored
Apr 08, 2019
by
Remi PLANEL
Browse files
Remove intermediate selection test
parent
9b947115
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/sequence/genome-axis.ts
View file @
adccf152
...
...
@@ -27,13 +27,13 @@ export default function () {
.
tickFormat
(
format
(
"
.3s
"
));
const
genomeAxisSelection
=
container
.
selectAll
<
SVG
G
Element
,
[
number
,
number
]
>
(
"
g.genome-axis
"
)
.
selectAll
<
SVGElement
,
[
number
,
number
]
>
(
"
g.genome-axis
"
)
.
data
([
_data
]);
// ENTER
const
genomeAxisSelectionEnter
=
genomeAxisSelection
.
enter
()
.
append
<
SVG
G
Element
>
(
"
g
"
)
.
append
<
SVGElement
>
(
"
g
"
)
.
classed
(
"
genome-axis
"
,
true
);
genomeAxisSelectionEnter
...
...
@@ -61,15 +61,10 @@ export default function () {
.
text
(
title
);
const
test
=
genomeAxisSelectionUpdate
.
select
<
SVGElement
>
(
"
g.axis-elems
"
)
.
attr
(
"
transform
"
,
"
translate(0, 50)
"
);
test
.
call
(
genomeAxisComponent
);
//test.transition().call(genomeAxisComponent);
genomeAxisSelectionUpdate
.
select
<
SVGSVGElement
>
(
"
g.axis-elems
"
)
.
attr
(
"
transform
"
,
"
translate(0, 50)
"
)
.
call
(
genomeAxisComponent
);
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment