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
@ -1095,7 +1095,7 @@ function canvas_draw()
|
||||
if(seriesIndex===2)
|
||||
return items[dive_id].events[pointIndex].name;
|
||||
else
|
||||
return str;
|
||||
return str.replace(",", " : ");
|
||||
}
|
||||
},
|
||||
seriesDefaults : {
|
||||
@ -1138,7 +1138,7 @@ function canvas_draw()
|
||||
tickRenderer : $.jqplot.CanvasAxisTickRenderer,
|
||||
tickOptions : {
|
||||
showGridline : false,
|
||||
formatString : '%i'
|
||||
formatString : '%is'
|
||||
},
|
||||
label:'Time (min)'
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user