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:
committed by
Dirk Hohndel
parent
27e400f5e4
commit
9194a43fd4
@@ -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)'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user