summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-09-17 13:22:48 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-18 06:31:42 -0700
commit8aa387414cb38a51a8abd31cca91b755a1c4d3c1 (patch)
tree4701fc8d08aa94c9b86de3a03570828f234859b0 /theme/list_lib.js
parent01d0eb5f8b8389839105dba07d4f04a87e4fdba6 (diff)
downloadsubsurface-8aa387414cb38a51a8abd31cca91b755a1c4d3c1.tar.gz
HTML: Cursor is on top of graph tooltip
-change the color of the depth graph slightly to be more readable. -change the tooltip of the depth graph to NW-corner of the cursor. -change the opacity of the tooltip for readability. Fixes #724 Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 9441e1fef..c547b099c 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -1118,6 +1118,7 @@ function canvas_draw()
},
highlighter : {
show : true,
+ tooltipLocation: null,
tooltipContentEditor: function(str, seriesIndex, pointIndex, jqPlot) {
if(seriesIndex===2)
return items[dive_id].events[pointIndex].name;
@@ -1132,8 +1133,8 @@ function canvas_draw()
},
series :[
{
- color : 'rgba(35,58,58,.6)',
- negativeColor : 'rgba(35,58,58,.6)',
+ color : 'rgba(75,98,98,.6)',
+ negativeColor : 'rgba(75,98,98,.6)',
showMarker : true,
showLine : true,
fill : true,