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
vidjil
vidjil
Commits
aa137372
Commit
aa137372
authored
Nov 24, 2014
by
Marc Duez
Browse files
scatterplot.js : debug v-distribution with multi-system
parent
5ac691a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/scatterPlot.js
View file @
aa137372
...
...
@@ -789,8 +789,8 @@ ScatterPlot.prototype = {
this
.
resizeH
=
document
.
getElementById
(
this
.
id
)
.
offsetHeight
-
this
.
marge_top
-
this
.
marge_bot
;
if
(
this
.
splitX
==
"
allele_v
"
||
this
.
splitX
==
"
gene_v
"
||
this
.
splitX
==
"
allele_j
"
||
this
.
splitX
==
"
gene_j
"
||
this
.
splitY
==
"
allele_v
"
||
this
.
splitY
==
"
gene_v
"
||
this
.
splitY
==
"
allele_j
"
||
this
.
splitY
==
"
gene_j
"
){
if
(
this
.
splitY
!=
"
bar
"
&&
(
this
.
splitX
==
"
allele_v
"
||
this
.
splitX
==
"
gene_v
"
||
this
.
splitX
==
"
allele_j
"
||
this
.
splitX
==
"
gene_j
"
||
this
.
splitY
==
"
allele_v
"
||
this
.
splitY
==
"
gene_v
"
||
this
.
splitY
==
"
allele_j
"
||
this
.
splitY
==
"
gene_j
"
)
)
{
this
.
use_system_grid
=
true
;
this
.
buildSystemGrid
()
}
else
{
...
...
@@ -798,7 +798,7 @@ ScatterPlot.prototype = {
this
.
systemGrid
=
{}
}
if
(
this
.
use_system_grid
&&
this
.
m
.
system
==
"
multi
"
&&
this
.
m
.
system_selected
.
length
>
1
){
if
(
this
.
splitY
!=
"
bar
"
&&
this
.
use_system_grid
&&
this
.
m
.
system
==
"
multi
"
&&
this
.
m
.
system_selected
.
length
>
1
){
this
.
gridSizeW
=
0.8
*
this
.
resizeW
;
this
.
gridSizeH
=
1
*
this
.
resizeH
;
}
else
{
...
...
@@ -836,9 +836,6 @@ ScatterPlot.prototype = {
this
.
systemGrid
[
system
].
y
=
((
i
*
2
)
+
1
)
/
(
n
*
2
)
i
++
}
},
/* Recalcule les coefficients d'agrandissement/réduction, en fonction de la taille de la div
...
...
@@ -1477,7 +1474,7 @@ ScatterPlot.prototype = {
system_label_update
:
function
(
data
)
{
self
=
this
;
if
(
data
.
length
<=
1
){
if
(
typeof
data
==
"
undefined
"
||
data
.
length
<=
1
){
this
.
label_container
.
style
(
"
display
"
,
"
none
"
);
}
else
{
this
.
label_container
.
style
(
"
display
"
,
""
);
...
...
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