Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bioviz-js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Remi PLANEL
bioviz-js
Commits
934f7721
Commit
934f7721
authored
May 29, 2019
by
Remi PLANEL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change type genomeAxis. Expect a SVGGElement
parent
49cb2080
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/scripts/component/rules/brushable-chromosome-rule.ts
src/scripts/component/rules/brushable-chromosome-rule.ts
+1
-1
src/scripts/component/rules/chromosome-rule.ts
src/scripts/component/rules/chromosome-rule.ts
+1
-1
No files found.
src/scripts/component/rules/brushable-chromosome-rule.ts
View file @
934f7721
...
...
@@ -105,7 +105,7 @@ export default function () {
.
call
(
brush
.
move
,
[
genomicToPx
(
_data
.
window
[
0
]),
genomicToPx
(
_data
.
window
[
1
])]);
globalAxisUpdate
.
select
<
SVGElement
>
(
"
.
"
+
htmlClassName
.
genericRule
)
.
select
<
SVG
G
Element
>
(
"
.
"
+
htmlClassName
.
genericRule
)
.
datum
((
d
:
BrushableAxisData
):
GenericAxisData
=>
({
title
:
d
.
title
,
interval
:
[
d
.
interval
[
0
],
d
.
interval
[
1
]]
}))
.
call
(
genomeAxisComponent
,
width
,
yPosition
);
...
...
src/scripts/component/rules/chromosome-rule.ts
View file @
934f7721
...
...
@@ -11,7 +11,7 @@ export default function () {
.
range
([
0
,
0
])
function
genomeAxis
(
_selection
:
Selection
<
SVGElement
,
GenericAxisData
,
SVGElement
,
any
>
,
_selection
:
Selection
<
SVG
G
Element
,
GenericAxisData
,
SVGElement
,
any
>
,
width
:
number
,
yPosition
:
number
=
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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