mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
01d0eb5f8b
commit
8aa387414c
2 changed files with 4 additions and 3 deletions
|
@ -210,7 +210,7 @@ table.jqplot-cursor-tooltip {
|
|||
border: 1px solid #cccccc;
|
||||
font-size: 0.75em;
|
||||
white-space: nowrap;
|
||||
background: rgba(208,208,208,0.5);
|
||||
background: rgba(208,208,208,0.9);
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue