X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/9885ff5ef2efe011d5630ced436795b0f6fa4697..12c6d3ce8fac155d829ced736629b5e8399a40e3:/web/static/seepark_web.js?ds=sidebyside diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index 459795a..93f5d49 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -55,6 +55,17 @@ var chart = c3.generate({ return value + '°'; } } - } + }, + grid: { + y: { + show: true + } + }, + regions: [ + {axis: 'y', start: -999, end: 0, class: 'region-frozen'}, + {axis: 'y', start: 1, end: 25, class: 'region-ok'}, + {axis: 'y', start: 26, end: 99, class: 'region-warm'}, + {axis: 'y', start: 99, end: 999, class: 'region-boiling'} + ] });