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
E
Enhort
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Michael Menzel
Enhort
Commits
3cce3c30
Commit
3cce3c30
authored
Mar 12, 2019
by
Michael Menzel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only show the last 2 runs in barplot and * is now inside the bar
parent
f14b2c8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
frontend/src/main/java/de/thm/spring/backend/Session.java
frontend/src/main/java/de/thm/spring/backend/Session.java
+2
-2
frontend/src/main/resources/templates/result.html
frontend/src/main/resources/templates/result.html
+3
-2
No files found.
frontend/src/main/java/de/thm/spring/backend/Session.java
View file @
3cce3c30
...
...
@@ -158,8 +158,8 @@ public final class Session {
private
void
addOldcollectors
(
ResultCollector
col
)
{
if
(
oldcollectors
.
size
()
>
3
)
oldcollectors
.
remove
(
3
);
if
(
oldcollectors
.
size
()
>
2
)
oldcollectors
.
remove
(
2
);
this
.
oldcollectors
.
add
(
0
,
col
);
}
}
frontend/src/main/resources/templates/result.html
View file @
3cce3c30
...
...
@@ -926,7 +926,7 @@
}
else
return
""
}),
hoverinfo
:
'
text
'
,
textposition
:
'
out
side
'
,
textposition
:
'
in
side
'
,
textinfo
:
'
text
'
,
hovertemplate
:
'
Track %{x} | Effect size %{y} | P value %{hovertext}
'
,
type
:
'
bar
'
,
...
...
@@ -963,7 +963,7 @@
}
else
return
""
}),
hoverinfo
:
'
text
'
,
textposition
:
'
out
side
'
,
textposition
:
'
in
side
'
,
textinfo
:
'
text
'
,
hovertemplate
:
'
Track %{x} | Effect size %{y} | P value %{hovertext}
'
,
type
:
'
bar
'
,
...
...
@@ -976,6 +976,7 @@
document
.
getElementById
(
"
barplotdesc
"
).
innerHTML
=
"
The barplot shows the fold changes for each annotation for the recent runs.
"
+
"
The height of the bar represents the difference between the sites and the background model regarding this annotation.
"
+
"
A * marks statistically significant annotations.
"
+
"
The latest run is always in blue color, the previous three runs are also visible here
"
;
Plotly
.
newPlot
(
'
barplot
'
,
bardat
,
layout
);
...
...
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