mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
HTML: add units to time in dive profile.
Also change the separator to a colon which is more readable. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
27e400f5e4
commit
9194a43fd4
1 changed files with 2 additions and 2 deletions
|
@ -1095,7 +1095,7 @@ function canvas_draw()
|
||||||
if(seriesIndex===2)
|
if(seriesIndex===2)
|
||||||
return items[dive_id].events[pointIndex].name;
|
return items[dive_id].events[pointIndex].name;
|
||||||
else
|
else
|
||||||
return str;
|
return str.replace(",", " : ");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
seriesDefaults : {
|
seriesDefaults : {
|
||||||
|
@ -1138,7 +1138,7 @@ function canvas_draw()
|
||||||
tickRenderer : $.jqplot.CanvasAxisTickRenderer,
|
tickRenderer : $.jqplot.CanvasAxisTickRenderer,
|
||||||
tickOptions : {
|
tickOptions : {
|
||||||
showGridline : false,
|
showGridline : false,
|
||||||
formatString : '%i'
|
formatString : '%is'
|
||||||
},
|
},
|
||||||
label:'Time (min)'
|
label:'Time (min)'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue