Skip to content
GitLab
Menu
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
62d452d5
Commit
62d452d5
authored
May 16, 2017
by
Mathieu Giraud
Browse files
js/scatterPlot.js: clean, remove dead code
parent
13d0e1b3
Pipeline
#2523
passed with stages
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
browser/js/scatterPlot.js
View file @
62d452d5
...
...
@@ -815,31 +815,6 @@ ScatterPlot.prototype = {
},
/**
* compute the height of a bar representing a given clone in the bar graph mode
* @param {integer} cloneID - clone index
* @return {float} height
* */
getBarHeight
:
function
(
cloneID
)
{
var
size
=
this
.
m
.
clone
(
cloneID
)
.
getSize
();
return
size
/
this
.
bar_max
;
},
/**
* compute the x pos of a bar representing a given clone in the bar graph mode
* @param {integer} cloneID - clone index
* @return {float} pos
* */
getBarPosition
:
function
(
cloneID
)
{
for
(
var
i
=
0
;
i
<
this
.
vKey
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
this
.
bar_v
[
this
.
vKey
[
i
]].
clones
.
length
;
j
++
)
{
if
(
this
.
bar_v
[
this
.
vKey
[
i
]].
clones
[
j
].
id
==
cloneID
)
return
this
.
bar_v
[
this
.
vKey
[
i
]].
clones
[
j
].
pos
;
}
}
},
/**
* select a mode
* @param {mode} new mode, this.MODE_*
...
...
Write
Preview
Supports
Markdown
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