X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/15e7a24e38086359c94122538a0779fcc2c22727..0fada4574744180c793908a27a2fa1e27b656675:/web/static/seepark_web.js?ds=inline diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index ed81a98..e30d414 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -32,6 +32,15 @@ var chart = c3.generate({ }, zoom: { enabled: true + }, + tooltip: { + format: { + name: function (name, ratio, id, index) { + var re = /\d m/; + var res = re.exec(name); + return res; + } + } } });