Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
9532a8e0
Commit
9532a8e0
authored
Jun 28, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2 x forgotten: int in colors + fix slider css path
parent
e2e716b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
explorerjs.html
explorerjs.html
+1
-1
sigmaUtils.js
twmain/sigmaUtils.js
+2
-8
No files found.
explorerjs.html
View file @
9532a8e0
...
...
@@ -57,7 +57,7 @@
<link
rel=
"stylesheet"
href=
"twlibs3/jquery-3/jquery-ui-1.12.1/jquery-ui.min.css"
media=
"screen"
>
<!-- NB bootstrap 3 not used for main grid (graph + bars) but inside the bars -->
<link
rel=
"stylesheet"
href=
"twlibs3/bootstrap-3/css/bootstrap.min.css"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"twlibs3/
css/
freshslider/freshslider.css"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"twlibs3/freshslider/freshslider.css"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"twlibs3/tweets/tweet.light.ltr.css"
/>
<link
rel=
"stylesheet"
href=
"twlibs3/tweets/custom.css"
/>
...
...
twmain/sigmaUtils.js
View file @
9532a8e0
...
...
@@ -889,13 +889,7 @@ function heatmapColoring(daclass) {
function
clusterColoring
(
daclass
)
{
console
.
log
(
""
)
console
.
log
(
" = = = = = = = = = = = = = = = = = "
)
console
.
log
(
" = = = = = = = = = = = = = = = = = "
)
console
.
log
(
"clusterColoring ( "
+
daclass
+
" )"
)
console
.
log
(
" = = = = = = = = = = = = = = = = = "
)
console
.
log
(
" = = = = = = = = = = = = = = = = = "
)
console
.
log
(
""
)
cancelSelection
(
false
);
// now loops only on selected
graphResetLabelsAndSizes
()
// full loop
...
...
@@ -953,7 +947,7 @@ function clusterColoring(daclass) {
let
val
=
valGroup
.
val
||
valGroup
.
range
// use the int as an index between 0 and nColors
if
(
parseInt
(
val
)
==
val
)
{
theColor
=
colList
[
val
]
%
nColors
theColor
=
colList
[
val
%
nColors
]
}
// or create a representative int on the same range
else
{
...
...
@@ -973,7 +967,7 @@ function clusterColoring(daclass) {
}
}
// rem
b
ember in TW.Clusters
// remember in TW.Clusters
valGroup
.
col
=
theColor
}
}
...
...
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