diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-08-15 11:13:35 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-17 12:03:17 -0600 |
commit | 9194a43fd42b65d630f207361813b9439ee761d5 (patch) | |
tree | 4d62e75c4f4cfee17a9780e67485fed3247bfee1 /theme/list_lib.js | |
parent | 27e400f5e4c59535fddd383d816fcc8f653f665a (diff) | |
download | subsurface-9194a43fd42b65d630f207361813b9439ee761d5.tar.gz |
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>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r-- | theme/list_lib.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js index 9a79b2321..9327bbc4a 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -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)' }, |