Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
5f885826
Commit
5f885826
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
add a better tooltip on LE-LLE biplot hover
Former-commit-id: 6378ccdbda7ae16cb76c2d4ce35a96e06cbccf23
parent
3cf40c20
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/templates/base.html
+9
-1
9 additions, 1 deletion
ippisite/ippidb/templates/base.html
with
9 additions
and
1 deletion
ippisite/ippidb/templates/base.html
+
9
−
1
View file @
5f885826
...
...
@@ -113,7 +113,7 @@
backgroundColor
:
"
rgba(211,211,211, 0.5)
"
,
data
:
otherFamiliesData
},
{
label
:
'
{{
compound
.best_activity_ppi_name}} f
amily
'
,
{
label
:
compound
F
amily
,
borderColor
:
"
rgba(54, 162, 235, 1)
"
,
backgroundColor
:
"
rgba(54, 162, 235, 0.5)
"
,
data
:
currentFamilyData
...
...
@@ -134,6 +134,14 @@
type
:
'
linear
'
,
position
:
'
bottom
'
}]
},
tooltips
:
{
callbacks
:
{
label
:
function
(
tooltipItem
,
data
)
{
var
dataItem
=
data
.
datasets
[
tooltipItem
.
datasetIndex
].
data
[
tooltipItem
.
index
];
return
"
compound
"
+
dataItem
.
id
+
"
on PPI
"
+
dataItem
.
family_name
;
}
}
}
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment