var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1579302001000,-1.60000000],[1579302181000,-1.60000000],[1579302481000,-1.60000000],[1579302781000,-1.60000000],[1579303081000,-1.60000000],[1579303381000,-1.60000000],[1579303681000,-1.60000000],[1579303982000,-1.60000000],[1579304281000,-1.60000000],[1579304581000,-1.60000000],[1579304881000,-1.60000000],[1579305181000,-1.60000000],[1579305481000,-1.62000000],[1579305781000,-1.66000000],[1579306081000,-1.70000000],[1579306381000,-1.70000000],[1579306681000,-1.70000000],[1579306981000,-1.70000000],[1579307281000,-1.70000000],[1579307581000,-1.70000000],[1579307881000,-1.70000000],[1579308181000,-1.70000000],[1579308481000,-1.70000000],[1579308781000,-1.68000000],[1579309081000,-1.70000000],[1579309381000,-1.70000000],[1579309681000,-1.70000000],[1579309981000,-1.70000000],[1579310281000,-1.74000000],[1579310581000,-1.76000000],[1579310881000,-1.74000000],[1579311181000,-1.70000000],[1579311481000,-1.78000000],[1579311781000,-1.76000000],[1579312081000,-1.80000000],[1579312381000,-1.80000000],[1579312681000,-1.80000000],[1579312981000,-1.80000000],[1579313281000,-1.80000000],[1579313581000,-1.80000000],[1579313881000,-1.86000000],[1579314181000,-1.90000000],[1579314481000,-1.90000000],[1579314781000,-1.90000000],[1579315081000,-2.00000000],[1579315381000,-2.00000000],[1579315681000,-2.00000000],[1579315981000,-2.00000000],[1579316281000,-1.98000000],[1579316581000,-2.00000000],[1579316881000,-2.04000000],[1579317181000,-2.08000000],[1579317481000,-2.04000000],[1579317781000,-2.12000000],[1579318081000,-2.18000000],[1579318381000,-2.20000000],[1579318681000,-2.20000000],[1579318981000,-2.20000000],[1579319281000,-2.20000000],[1579319581000,-2.20000000],[1579319881000,-2.20000000],[1579320181000,-2.20000000],[1579320481000,-2.20000000],[1579320781000,-2.20000000],[1579321081000,-2.16000000],[1579321381000,-2.14000000],[1579321681000,-2.20000000],[1579321981000,-2.20000000],[1579322281000,-2.20000000],[1579322581000,-2.20000000],[1579322881000,-2.18000000],[1579323181000,-2.20000000],[1579323481000,-2.18000000],[1579323781000,-2.18000000],[1579324081000,-2.20000000],[1579324381000,-2.16000000],[1579324681000,-2.14000000],[1579324981000,-2.18000000],[1579325281000,-2.18000000],[1579325581000,-2.18000000],[1579325881000,-2.20000000],[1579326181000,-2.20000000],[1579326481000,-2.20000000],[1579326781000,-2.20000000],[1579327081000,-2.22000000],[1579327381000,-2.24000000],[1579327681000,-2.24000000],[1579327981000,-2.22000000],[1579328281000,-2.20000000],[1579328581000,-2.20000000],[1579328881000,-2.20000000],[1579329181000,-2.18000000],[1579329481000,-2.14000000],[1579329781000,-2.14000000],[1579330081000,-2.12000000],[1579330381000,-2.16000000],[1579330681000,-2.12000000],[1579330981000,-2.12000000],[1579331281000,-2.10000000],[1579331581000,-2.10000000],[1579331881000,-2.10000000],[1579332181000,-2.10000000],[1579332481000,-2.10000000],[1579332781000,-2.10000000],[1579333081000,-2.06000000],[1579333381000,-2.06000000],[1579333681000,-2.00000000],[1579333981000,-2.00000000],[1579334281000,-2.00000000],[1579334581000,-2.00000000],[1579334881000,-2.00000000],[1579335181000,-1.98000000],[1579335481000,-2.00000000],[1579335781000,-2.00000000],[1579336081000,-1.92000000],[1579336381000,-1.84000000],[1579336681000,-1.80000000],[1579336981000,-1.82000000],[1579337281000,-1.82000000],[1579337581000,-1.80000000],[1579337881000,-1.78000000],[1579338181000,-1.76000000],[1579338481000,-1.72000000],[1579338781000,-1.72000000],[1579339081000,-1.72000000],[1579339381000,-1.70000000],[1579339681000,-1.70000000],[1579339981000,-1.70000000],[1579340281000,-1.64000000],[1579340581000,-1.60000000],[1579340881000,-1.60000000],[1579341181000,-1.58000000],[1579341481000,-1.50000000],[1579341781000,-1.52000000],[1579342081000,-1.54000000],[1579342381000,-1.66000000],[1579342681000,-1.60000000],[1579342981000,-1.48000000],[1579343281000,-1.48000000],[1579343581000,-1.44000000],[1579343881000,-1.46000000],[1579344181000,-1.42000000],[1579344481000,-1.48000000],[1579344781000,-1.34000000],[1579345081000,-1.30000000],[1579345381000,-1.30000000],[1579345681000,-1.30000000],[1579345981000,-1.26000000],[1579346281000,-1.16000000],[1579346581000,-1.14000000],[1579346881000,-1.20000000],[1579347181000,-1.22000000],[1579347481000,-1.18000000],[1579347781000,-1.04000000],[1579348081000,-0.96000000],[1579348381000,-0.94000000],[1579348681000,-0.76000000],[1579348981000,-0.72000000],[1579349281000,-0.76000000],[1579349581000,-0.70000000],[1579349881000,-0.62000000],[1579350181000,-0.60000000],[1579350481000,-0.60000000],[1579350781000,-0.58000000],[1579351081000,-0.46000000],[1579351381000,-0.50000000],[1579351681000,-0.52000000],[1579351981000,-0.42000000],[1579352281000,-0.30000000],[1579352581000,-0.30000000],[1579352881000,-0.28000000],[1579353181000,-0.20000000],[1579353481000,-0.22000000],[1579353781000,-0.20000000],[1579354081000,-0.20000000],[1579354381000,-0.22000000],[1579354681000,-0.26000000],[1579354981000,-0.30000000],[1579355281000,-0.30000000],[1579355581000,-0.32000000],[1579355881000,-0.34000000],[1579356181000,-0.38000000],[1579356481000,-0.40000000],[1579356781000,-0.40000000],[1579357081000,-0.40000000],[1579357381000,-0.42000000],[1579357681000,-0.46000000],[1579357981000,-0.40000000],[1579358281000,-0.42000000],[1579358581000,-0.42000000],[1579358881000,-0.42000000],[1579359181000,-0.48000000],[1579359481000,-0.46000000],[1579359781000,-0.50000000],[1579360081000,-0.50000000],[1579360381000,-0.48000000],[1579360681000,-0.46000000],[1579360981000,-0.50000000],[1579361281000,-0.50000000],[1579361581000,-0.50000000],[1579361881000,-0.54000000],[1579362181000,-0.56000000],[1579362481000,-0.60000000],[1579362781000,-0.60000000],[1579363081000,-0.60000000],[1579363381000,-0.62000000],[1579363681000,-0.70000000],[1579363981000,-0.70000000],[1579364281000,-0.70000000],[1579364581000,-0.70000000],[1579364881000,-0.70000000],[1579365181000,-0.70000000],[1579365481000,-0.74000000],[1579365781000,-0.70000000],[1579366081000,-0.80000000],[1579366381000,-0.80000000],[1579366681000,-0.80000000],[1579366981000,-0.80000000],[1579367281000,-0.80000000],[1579367581000,-0.80000000],[1579367881000,-0.80000000],[1579368181000,-0.84000000],[1579368481000,-0.88000000],[1579368781000,-0.82000000],[1579369081000,-0.88000000],[1579369381000,-0.86000000],[1579369681000,-0.80000000],[1579369981000,-0.82000000],[1579370281000,-0.82000000],[1579370581000,-0.80000000],[1579370881000,-0.80000000],[1579371181000,-0.82000000],[1579371481000,-0.80000000],[1579371781000,-0.80000000],[1579372081000,-0.80000000],[1579372381000,-0.80000000],[1579372681000,-0.80000000],[1579372981000,-0.80000000],[1579373281000,-0.80000000],[1579373581000,-0.80000000],[1579373881000,-0.80000000],[1579374181000,-0.80000000],[1579374481000,-0.80000000],[1579374781000,-0.80000000],[1579375081000,-0.76000000],[1579375381000,-0.80000000],[1579375681000,-0.76000000],[1579375981000,-0.70000000],[1579376281000,-0.72000000],[1579376581000,-0.80000000],[1579376881000,-0.80000000],[1579377181000,-0.80000000],[1579377481000,-0.80000000],[1579377781000,-0.80000000],[1579378081000,-0.80000000],[1579378381000,-0.80000000],[1579378681000,-0.80000000],[1579378981000,-0.80000000],[1579379281000,-0.80000000],[1579379581000,-0.80000000],[1579379881000,-0.80000000],[1579380181000,-0.80000000],[1579380481000,-0.80000000],[1579380781000,-0.80000000],[1579381081000,-0.80000000],[1579381381000,-0.78000000],[1579381681000,-0.80000000],[1579381981000,-0.80000000],[1579382281000,-0.80000000],[1579382581000,-0.80000000],[1579382881000,-0.80000000],[1579383181000,-0.78000000],[1579383481000,-0.72000000],[1579383781000,-0.72000000],[1579384081000,-0.72000000],[1579384381000,-0.70000000],[1579384681000,-0.70000000],[1579384981000,-0.70000000],[1579385281000,-0.70000000],[1579385581000,-0.70000000],[1579385881000,-0.68000000],[1579386181000,-0.70000000],[1579386481000,-0.70000000],[1579386781000,-0.70000000],[1579387081000,-0.70000000],[1579387381000,-0.70000000],[1579387681000,-0.64000000],[1579387981000,-0.60000000],[1579388281000,-0.60000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1579302001000,-1.6],[1579302181000,-1.6],[1579302481000,-1.6],[1579302781000,-1.6],[1579303081000,-1.6],[1579303381000,-1.6],[1579303681000,-1.6],[1579304281000,-1.6],[1579304581000,-1.6],[1579304881000,-1.6],[1579305181000,-1.6],[1579305481000,-1.6],[1579305781000,-1.7],[1579306081000,-1.7],[1579306381000,-1.7],[1579306681000,-1.7],[1579306981000,-1.7],[1579307281000,-1.7],[1579307581000,-1.7],[1579307881000,-1.7],[1579308181000,-1.7],[1579308481000,-1.7],[1579308781000,-1.7],[1579309081000,-1.7],[1579309381000,-1.7],[1579309681000,-1.7],[1579309981000,-1.7],[1579310281000,-1.7],[1579310581000,-1.8],[1579310881000,-1.7],[1579311181000,-1.7],[1579311481000,-1.8],[1579311781000,-1.8],[1579312081000,-1.8],[1579312381000,-1.8],[1579312681000,-1.8],[1579312981000,-1.8],[1579313281000,-1.8],[1579313581000,-1.8],[1579313881000,-1.9],[1579314181000,-1.9],[1579314481000,-1.9],[1579314781000,-1.9],[1579315081000,-2],[1579315381000,-2],[1579315681000,-2],[1579315981000,-2],[1579316281000,-2],[1579316581000,-2],[1579316881000,-2],[1579317181000,-2.1],[1579317481000,-2],[1579317781000,-2.1],[1579318081000,-2.2],[1579318381000,-2.2],[1579318681000,-2.2],[1579318981000,-2.2],[1579319281000,-2.2],[1579319581000,-2.2],[1579319881000,-2.2],[1579320181000,-2.2],[1579320481000,-2.2],[1579320781000,-2.2],[1579321081000,-2.2],[1579321381000,-2.1],[1579321681000,-2.2],[1579321981000,-2.2],[1579322281000,-2.2],[1579322581000,-2.2],[1579322881000,-2.2],[1579323181000,-2.2],[1579323481000,-2.2],[1579323781000,-2.2],[1579324081000,-2.2],[1579324381000,-2.2],[1579324681000,-2.1],[1579324981000,-2.2],[1579325281000,-2.2],[1579325581000,-2.2],[1579325881000,-2.2],[1579326181000,-2.2],[1579326481000,-2.2],[1579326781000,-2.2],[1579327081000,-2.2],[1579327381000,-2.2],[1579327681000,-2.2],[1579327981000,-2.2],[1579328281000,-2.2],[1579328581000,-2.2],[1579328881000,-2.2],[1579329181000,-2.2],[1579329481000,-2.1],[1579329781000,-2.1],[1579330081000,-2.1],[1579330381000,-2.2],[1579330681000,-2.1],[1579330981000,-2.1],[1579331281000,-2.1],[1579331581000,-2.1],[1579331881000,-2.1],[1579332181000,-2.1],[1579332481000,-2.1],[1579332781000,-2.1],[1579333081000,-2.1],[1579333381000,-2.1],[1579333681000,-2],[1579333981000,-2],[1579334281000,-2],[1579334581000,-2],[1579334881000,-2],[1579335181000,-2],[1579335481000,-2],[1579335781000,-2],[1579336081000,-1.9],[1579336381000,-1.8],[1579336681000,-1.8],[1579336981000,-1.8],[1579337281000,-1.8],[1579337581000,-1.8],[1579337881000,-1.8],[1579338181000,-1.8],[1579338481000,-1.7],[1579338781000,-1.7],[1579339081000,-1.7],[1579339381000,-1.7],[1579339681000,-1.7],[1579339981000,-1.7],[1579340281000,-1.6],[1579340581000,-1.6],[1579340881000,-1.6],[1579341181000,-1.6],[1579341481000,-1.5],[1579341781000,-1.5],[1579342081000,-1.5],[1579342381000,-1.7],[1579342681000,-1.6],[1579342981000,-1.5],[1579343281000,-1.5],[1579343581000,-1.4],[1579343881000,-1.5],[1579344181000,-1.4],[1579344481000,-1.5],[1579344781000,-1.3],[1579345081000,-1.3],[1579345381000,-1.3],[1579345681000,-1.3],[1579345981000,-1.3],[1579346281000,-1.2],[1579346581000,-1.1],[1579346881000,-1.2],[1579347181000,-1.2],[1579347481000,-1.2],[1579347781000,-1],[1579348081000,-1],[1579348381000,-0.9],[1579348681000,-0.8],[1579348981000,-0.7],[1579349281000,-0.8],[1579349581000,-0.7],[1579349881000,-0.6],[1579350181000,-0.6],[1579350481000,-0.6],[1579350781000,-0.6],[1579351081000,-0.5],[1579351381000,-0.5],[1579351681000,-0.5],[1579351981000,-0.4],[1579352281000,-0.3],[1579352581000,-0.3],[1579352881000,-0.3],[1579353181000,-0.2],[1579353481000,-0.2],[1579353781000,-0.2],[1579354081000,-0.2],[1579354381000,-0.2],[1579354681000,-0.3],[1579354981000,-0.3],[1579355281000,-0.3],[1579355581000,-0.3],[1579355881000,-0.3],[1579356181000,-0.4],[1579356481000,-0.4],[1579356781000,-0.4],[1579357081000,-0.4],[1579357381000,-0.4],[1579357681000,-0.5],[1579357981000,-0.4],[1579358281000,-0.4],[1579358581000,-0.4],[1579358881000,-0.4],[1579359181000,-0.5],[1579359481000,-0.5],[1579359781000,-0.5],[1579360081000,-0.5],[1579360381000,-0.5],[1579360681000,-0.5],[1579360981000,-0.5],[1579361281000,-0.5],[1579361581000,-0.5],[1579361881000,-0.5],[1579362181000,-0.6],[1579362481000,-0.6],[1579362781000,-0.6],[1579363081000,-0.6],[1579363381000,-0.6],[1579363681000,-0.7],[1579363981000,-0.7],[1579364281000,-0.7],[1579364581000,-0.7],[1579364881000,-0.7],[1579365181000,-0.7],[1579365481000,-0.7],[1579365781000,-0.7],[1579366081000,-0.8],[1579366381000,-0.8],[1579366681000,-0.8],[1579366981000,-0.8],[1579367281000,-0.8],[1579367581000,-0.8],[1579367881000,-0.8],[1579368181000,-0.8],[1579368481000,-0.9],[1579368781000,-0.8],[1579369081000,-0.9],[1579369381000,-0.9],[1579369681000,-0.8],[1579369981000,-0.8],[1579370281000,-0.8],[1579370581000,-0.8],[1579370881000,-0.8],[1579371181000,-0.8],[1579371481000,-0.8],[1579371781000,-0.8],[1579372081000,-0.8],[1579372381000,-0.8],[1579372681000,-0.8],[1579372981000,-0.8],[1579373281000,-0.8],[1579373581000,-0.8],[1579373881000,-0.8],[1579374181000,-0.8],[1579374481000,-0.8],[1579374781000,-0.8],[1579375081000,-0.8],[1579375381000,-0.8],[1579375681000,-0.8],[1579375981000,-0.7],[1579376281000,-0.7],[1579376581000,-0.8],[1579376881000,-0.8],[1579377181000,-0.8],[1579377481000,-0.8],[1579377781000,-0.8],[1579378081000,-0.8],[1579378381000,-0.8],[1579378681000,-0.8],[1579378981000,-0.8],[1579379281000,-0.8],[1579379581000,-0.8],[1579379881000,-0.8],[1579380181000,-0.8],[1579380481000,-0.8],[1579380781000,-0.8],[1579381081000,-0.8],[1579381381000,-0.8],[1579381681000,-0.8],[1579381981000,-0.8],[1579382281000,-0.8],[1579382581000,-0.8],[1579382881000,-0.8],[1579383181000,-0.8],[1579383481000,-0.7],[1579383781000,-0.7],[1579384081000,-0.7],[1579384381000,-0.7],[1579384681000,-0.7],[1579384981000,-0.7],[1579385281000,-0.7],[1579385581000,-0.7],[1579385881000,-0.7],[1579386181000,-0.7],[1579386481000,-0.7],[1579386781000,-0.7],[1579387081000,-0.7],[1579387381000,-0.7],[1579387681000,-0.6],[1579387981000,-0.6],[1579388281000,-0.6],], color: '#5b9f4a' } ]; var options = { xaxes: [{ axisLabel: 'temperature', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1°C' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-temperature-legend' } }; graphs['#chart-temperature'] = $.plot('#chart-temperature', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Vlhkosť (%)', data: [[1579302001000,100.00000000],[1579302181000,100.00000000],[1579302481000,100.00000000],[1579302781000,100.00000000],[1579303081000,100.00000000],[1579303381000,100.00000000],[1579303681000,100.00000000],[1579303981000,100.00000000],[1579304281000,100.00000000],[1579304581000,100.00000000],[1579304881000,100.00000000],[1579305181000,100.00000000],[1579305481000,100.00000000],[1579305781000,100.00000000],[1579306081000,100.00000000],[1579306381000,100.00000000],[1579306681000,100.00000000],[1579306981000,100.00000000],[1579307281000,100.00000000],[1579307581000,100.00000000],[1579307881000,100.00000000],[1579308181000,100.00000000],[1579308481000,100.00000000],[1579308781000,100.00000000],[1579309081000,100.00000000],[1579309381000,100.00000000],[1579309681000,100.00000000],[1579309981000,100.00000000],[1579310281000,100.00000000],[1579310581000,100.00000000],[1579310881000,100.00000000],[1579311181000,100.00000000],[1579311481000,100.00000000],[1579311781000,100.00000000],[1579312081000,100.00000000],[1579312381000,100.00000000],[1579312681000,100.00000000],[1579312981000,100.00000000],[1579313281000,100.00000000],[1579313581000,100.00000000],[1579313881000,100.00000000],[1579314181000,100.00000000],[1579314481000,100.00000000],[1579314781000,100.00000000],[1579315081000,100.00000000],[1579315381000,100.00000000],[1579315681000,100.00000000],[1579315981000,100.00000000],[1579316281000,100.00000000],[1579316581000,100.00000000],[1579316881000,100.00000000],[1579317181000,100.00000000],[1579317481000,100.00000000],[1579317781000,100.00000000],[1579318081000,100.00000000],[1579318381000,100.00000000],[1579318681000,100.00000000],[1579318981000,100.00000000],[1579319281000,100.00000000],[1579319581000,100.00000000],[1579319881000,100.00000000],[1579320181000,100.00000000],[1579320481000,100.00000000],[1579320781000,100.00000000],[1579321081000,100.00000000],[1579321381000,100.00000000],[1579321681000,100.00000000],[1579321981000,100.00000000],[1579322281000,100.00000000],[1579322581000,100.00000000],[1579322881000,100.00000000],[1579323181000,100.00000000],[1579323481000,100.00000000],[1579323781000,100.00000000],[1579324081000,100.00000000],[1579324381000,100.00000000],[1579324681000,100.00000000],[1579324981000,100.00000000],[1579325281000,100.00000000],[1579325581000,100.00000000],[1579325881000,100.00000000],[1579326181000,100.00000000],[1579326481000,100.00000000],[1579326781000,100.00000000],[1579327081000,100.00000000],[1579327381000,100.00000000],[1579327681000,100.00000000],[1579327981000,100.00000000],[1579328281000,100.00000000],[1579328581000,100.00000000],[1579328881000,100.00000000],[1579329181000,100.00000000],[1579329481000,100.00000000],[1579329781000,100.00000000],[1579330081000,100.00000000],[1579330381000,100.00000000],[1579330681000,100.00000000],[1579330981000,100.00000000],[1579331281000,100.00000000],[1579331581000,100.00000000],[1579331881000,100.00000000],[1579332181000,100.00000000],[1579332481000,100.00000000],[1579332781000,100.00000000],[1579333081000,100.00000000],[1579333381000,100.00000000],[1579333681000,100.00000000],[1579333981000,100.00000000],[1579334281000,100.00000000],[1579334581000,100.00000000],[1579334881000,100.00000000],[1579335181000,100.00000000],[1579335481000,100.00000000],[1579335781000,100.00000000],[1579336081000,100.00000000],[1579336381000,100.00000000],[1579336681000,100.00000000],[1579336981000,100.00000000],[1579337281000,100.00000000],[1579337581000,100.00000000],[1579337881000,100.00000000],[1579338181000,100.00000000],[1579338481000,100.00000000],[1579338781000,100.00000000],[1579339081000,100.00000000],[1579339381000,100.00000000],[1579339681000,100.00000000],[1579339981000,100.00000000],[1579340281000,100.00000000],[1579340581000,100.00000000],[1579340881000,100.00000000],[1579341181000,100.00000000],[1579341481000,100.00000000],[1579341781000,100.00000000],[1579342081000,100.00000000],[1579342381000,100.00000000],[1579342681000,100.00000000],[1579342981000,100.00000000],[1579343281000,100.00000000],[1579343581000,100.00000000],[1579343881000,100.00000000],[1579344181000,100.00000000],[1579344481000,100.00000000],[1579344781000,100.00000000],[1579345081000,100.00000000],[1579345381000,100.00000000],[1579345681000,100.00000000],[1579345981000,100.00000000],[1579346281000,100.00000000],[1579346581000,100.00000000],[1579346881000,100.00000000],[1579347181000,100.00000000],[1579347481000,100.00000000],[1579347781000,100.00000000],[1579348081000,100.00000000],[1579348381000,100.00000000],[1579348681000,100.00000000],[1579348981000,100.00000000],[1579349281000,100.00000000],[1579349581000,100.00000000],[1579349881000,100.00000000],[1579350181000,100.00000000],[1579350481000,100.00000000],[1579350781000,100.00000000],[1579351081000,100.00000000],[1579351381000,100.00000000],[1579351681000,100.00000000],[1579351981000,100.00000000],[1579352281000,100.00000000],[1579352581000,100.00000000],[1579352881000,100.00000000],[1579353181000,100.00000000],[1579353481000,100.00000000],[1579353781000,100.00000000],[1579354081000,100.00000000],[1579354381000,100.00000000],[1579354681000,100.00000000],[1579354981000,100.00000000],[1579355281000,100.00000000],[1579355581000,100.00000000],[1579355881000,100.00000000],[1579356181000,100.00000000],[1579356481000,100.00000000],[1579356781000,100.00000000],[1579357081000,100.00000000],[1579357381000,100.00000000],[1579357681000,100.00000000],[1579357981000,100.00000000],[1579358281000,100.00000000],[1579358581000,100.00000000],[1579358881000,100.00000000],[1579359181000,100.00000000],[1579359481000,100.00000000],[1579359781000,100.00000000],[1579360081000,100.00000000],[1579360381000,100.00000000],[1579360681000,100.00000000],[1579360981000,100.00000000],[1579361281000,100.00000000],[1579361581000,100.00000000],[1579361881000,100.00000000],[1579362181000,100.00000000],[1579362481000,100.00000000],[1579362781000,100.00000000],[1579363081000,100.00000000],[1579363381000,100.00000000],[1579363681000,100.00000000],[1579363981000,100.00000000],[1579364281000,100.00000000],[1579364581000,100.00000000],[1579364881000,100.00000000],[1579365181000,100.00000000],[1579365481000,100.00000000],[1579365781000,100.00000000],[1579366081000,100.00000000],[1579366381000,100.00000000],[1579366681000,100.00000000],[1579366981000,100.00000000],[1579367281000,100.00000000],[1579367581000,100.00000000],[1579367881000,100.00000000],[1579368181000,100.00000000],[1579368481000,100.00000000],[1579368781000,100.00000000],[1579369081000,100.00000000],[1579369381000,100.00000000],[1579369681000,100.00000000],[1579369981000,100.00000000],[1579370281000,100.00000000],[1579370581000,100.00000000],[1579370881000,100.00000000],[1579371181000,100.00000000],[1579371481000,100.00000000],[1579371781000,100.00000000],[1579372081000,100.00000000],[1579372381000,100.00000000],[1579372681000,100.00000000],[1579372981000,100.00000000],[1579373281000,100.00000000],[1579373581000,100.00000000],[1579373881000,100.00000000],[1579374181000,100.00000000],[1579374481000,100.00000000],[1579374781000,100.00000000],[1579375081000,100.00000000],[1579375381000,100.00000000],[1579375681000,100.00000000],[1579375981000,100.00000000],[1579376281000,100.00000000],[1579376581000,100.00000000],[1579376881000,100.00000000],[1579377181000,100.00000000],[1579377481000,100.00000000],[1579377781000,100.00000000],[1579378081000,100.00000000],[1579378381000,100.00000000],[1579378681000,100.00000000],[1579378981000,100.00000000],[1579379281000,100.00000000],[1579379581000,100.00000000],[1579379881000,100.00000000],[1579380181000,100.00000000],[1579380481000,100.00000000],[1579380781000,100.00000000],[1579381081000,100.00000000],[1579381381000,100.00000000],[1579381681000,100.00000000],[1579381981000,100.00000000],[1579382281000,100.00000000],[1579382581000,100.00000000],[1579382881000,100.00000000],[1579383181000,100.00000000],[1579383481000,100.00000000],[1579383781000,100.00000000],[1579384081000,100.00000000],[1579384381000,100.00000000],[1579384681000,100.00000000],[1579384981000,100.00000000],[1579385281000,100.00000000],[1579385581000,100.00000000],[1579385881000,100.00000000],[1579386181000,100.00000000],[1579386481000,100.00000000],[1579386781000,100.00000000],[1579387081000,100.00000000],[1579387381000,100.00000000],[1579387681000,100.00000000],[1579387981000,100.00000000],[1579388281000,100.00000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1579302001000,1027.6],[1579302181000,1027.7],[1579302481000,1027.6],[1579302781000,1027.6],[1579303081000,1027.5],[1579303381000,1027.6],[1579303681000,1027.5],[1579304281000,1027.4],[1579304581000,1027.4],[1579304881000,1027.4],[1579305181000,1027.4],[1579305481000,1027.4],[1579305781000,1027.4],[1579306081000,1027.4],[1579306381000,1027.4],[1579306681000,1027.4],[1579306981000,1027.4],[1579307281000,1027.4],[1579307581000,1027.5],[1579307881000,1027.6],[1579308181000,1027.6],[1579308481000,1027.6],[1579308781000,1027.6],[1579309081000,1027.6],[1579309381000,1027.7],[1579309681000,1027.7],[1579309981000,1027.7],[1579310281000,1027.7],[1579310581000,1027.7],[1579310881000,1027.8],[1579311181000,1027.8],[1579311481000,1027.7],[1579311781000,1027.8],[1579312081000,1027.8],[1579312381000,1027.8],[1579312681000,1027.8],[1579312981000,1027.8],[1579313281000,1027.8],[1579313581000,1027.8],[1579313881000,1027.8],[1579314181000,1027.7],[1579314481000,1027.7],[1579314781000,1027.7],[1579315081000,1027.8],[1579315381000,1027.8],[1579315681000,1027.8],[1579315981000,1027.7],[1579316281000,1027.6],[1579316581000,1027.7],[1579316881000,1027.7],[1579317181000,1027.7],[1579317481000,1027.8],[1579317781000,1027.8],[1579318081000,1027.8],[1579318381000,1027.8],[1579318681000,1027.8],[1579318981000,1027.9],[1579319281000,1028],[1579319581000,1028],[1579319881000,1028.1],[1579320181000,1028.1],[1579320481000,1028.1],[1579320781000,1028.2],[1579321081000,1028.2],[1579321381000,1028.2],[1579321681000,1028.2],[1579321981000,1028.2],[1579322281000,1028.2],[1579322581000,1028.3],[1579322881000,1028.2],[1579323181000,1028.2],[1579323481000,1028.2],[1579323781000,1028.2],[1579324081000,1028.3],[1579324381000,1028.3],[1579324681000,1028.4],[1579324981000,1028.4],[1579325281000,1028.4],[1579325581000,1028.4],[1579325881000,1028.3],[1579326181000,1028.4],[1579326481000,1028.4],[1579326781000,1028.4],[1579327081000,1028.4],[1579327381000,1028.4],[1579327681000,1028.4],[1579327981000,1028.4],[1579328281000,1028.4],[1579328581000,1028.6],[1579328881000,1028.7],[1579329181000,1028.7],[1579329481000,1028.7],[1579329781000,1028.8],[1579330081000,1028.8],[1579330381000,1028.7],[1579330681000,1028.6],[1579330981000,1028.7],[1579331281000,1028.7],[1579331581000,1028.7],[1579331881000,1028.8],[1579332181000,1028.8],[1579332481000,1028.7],[1579332781000,1028.7],[1579333081000,1028.6],[1579333381000,1028.6],[1579333681000,1028.6],[1579333981000,1028.5],[1579334281000,1028.6],[1579334581000,1028.6],[1579334881000,1028.6],[1579335181000,1028.5],[1579335481000,1028.5],[1579335781000,1028.6],[1579336081000,1028.6],[1579336381000,1028.7],[1579336681000,1028.6],[1579336981000,1028.6],[1579337281000,1028.5],[1579337581000,1028.6],[1579337881000,1028.6],[1579338181000,1028.6],[1579338481000,1028.6],[1579338781000,1028.6],[1579339081000,1028.6],[1579339381000,1028.6],[1579339681000,1028.6],[1579339981000,1028.6],[1579340281000,1028.6],[1579340581000,1028.6],[1579340881000,1028.6],[1579341181000,1028.5],[1579341481000,1028.5],[1579341781000,1028.4],[1579342081000,1028.4],[1579342381000,1028.3],[1579342681000,1028.3],[1579342981000,1028.3],[1579343281000,1028.3],[1579343581000,1028.3],[1579343881000,1028.3],[1579344181000,1028.2],[1579344481000,1028.2],[1579344781000,1028.2],[1579345081000,1028.3],[1579345381000,1028.2],[1579345681000,1028.2],[1579345981000,1028.1],[1579346281000,1028.1],[1579346581000,1028],[1579346881000,1028],[1579347181000,1027.9],[1579347481000,1027.9],[1579347781000,1027.9],[1579348081000,1027.9],[1579348381000,1027.8],[1579348681000,1027.7],[1579348981000,1027.7],[1579349281000,1027.8],[1579349581000,1027.7],[1579349881000,1027.6],[1579350181000,1027.5],[1579350481000,1027.5],[1579350781000,1027.4],[1579351081000,1027.4],[1579351381000,1027.4],[1579351681000,1027.4],[1579351981000,1027.4],[1579352281000,1027.4],[1579352581000,1027.4],[1579352881000,1027.4],[1579353181000,1027.4],[1579353481000,1027.4],[1579353781000,1027.4],[1579354081000,1027.4],[1579354381000,1027.4],[1579354681000,1027.5],[1579354981000,1027.5],[1579355281000,1027.5],[1579355581000,1027.4],[1579355881000,1027.4],[1579356181000,1027.4],[1579356481000,1027.4],[1579356781000,1027.4],[1579357081000,1027.3],[1579357381000,1027.3],[1579357681000,1027.3],[1579357981000,1027.3],[1579358281000,1027.3],[1579358581000,1027.2],[1579358881000,1027.2],[1579359181000,1027.2],[1579359481000,1027.1],[1579359781000,1027.1],[1579360081000,1027.2],[1579360381000,1027.2],[1579360681000,1027.2],[1579360981000,1027.3],[1579361281000,1027.2],[1579361581000,1027.3],[1579361881000,1027.3],[1579362181000,1027.4],[1579362481000,1027.4],[1579362781000,1027.5],[1579363081000,1027.5],[1579363381000,1027.4],[1579363681000,1027.4],[1579363981000,1027.4],[1579364281000,1027.4],[1579364581000,1027.5],[1579364881000,1027.6],[1579365181000,1027.7],[1579365481000,1027.7],[1579365781000,1027.7],[1579366081000,1027.7],[1579366381000,1027.8],[1579366681000,1027.9],[1579366981000,1027.8],[1579367281000,1027.8],[1579367581000,1027.8],[1579367881000,1027.8],[1579368181000,1027.8],[1579368481000,1027.8],[1579368781000,1027.8],[1579369081000,1027.8],[1579369381000,1027.8],[1579369681000,1027.9],[1579369981000,1027.9],[1579370281000,1027.8],[1579370581000,1027.8],[1579370881000,1027.8],[1579371181000,1027.8],[1579371481000,1027.7],[1579371781000,1027.7],[1579372081000,1027.7],[1579372381000,1027.7],[1579372681000,1027.6],[1579372981000,1027.5],[1579373281000,1027.6],[1579373581000,1027.6],[1579373881000,1027.6],[1579374181000,1027.5],[1579374481000,1027.6],[1579374781000,1027.6],[1579375081000,1027.6],[1579375381000,1027.6],[1579375681000,1027.7],[1579375981000,1027.7],[1579376281000,1027.7],[1579376581000,1027.7],[1579376881000,1027.7],[1579377181000,1027.7],[1579377481000,1027.7],[1579377781000,1027.7],[1579378081000,1027.7],[1579378381000,1027.7],[1579378681000,1027.8],[1579378981000,1027.8],[1579379281000,1027.8],[1579379581000,1027.8],[1579379881000,1027.8],[1579380181000,1027.8],[1579380481000,1027.8],[1579380781000,1027.7],[1579381081000,1027.6],[1579381381000,1027.6],[1579381681000,1027.6],[1579381981000,1027.6],[1579382281000,1027.6],[1579382581000,1027.5],[1579382881000,1027.5],[1579383181000,1027.5],[1579383481000,1027.5],[1579383781000,1027.4],[1579384081000,1027.4],[1579384381000,1027.3],[1579384681000,1027.3],[1579384981000,1027.3],[1579385281000,1027.3],[1579385581000,1027.2],[1579385881000,1027.2],[1579386181000,1027.2],[1579386481000,1027.3],[1579386781000,1027.3],[1579387081000,1027.4],[1579387381000,1027.3],[1579387681000,1027.3],[1579387981000,1027.3],[1579388281000,1027.3],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1579302001000,5.04],[1579302181000,5.688],[1579302481000,3.816],[1579302781000,5.976],[1579303081000,6.12],[1579303381000,2.592],[1579303681000,4.896],[1579303981000,4.32],[1579304281000,6.84],[1579304581000,5.4],[1579304881000,4.464],[1579305181000,5.04],[1579305481000,4.968],[1579305781000,5.76],[1579306081000,6.12],[1579306381000,4.464],[1579306681000,5.616],[1579306981000,5.04],[1579307281000,5.472],[1579307581000,4.032],[1579307881000,4.896],[1579308181000,1.872],[1579308481000,5.112],[1579308781000,4.68],[1579309081000,5.688],[1579309381000,5.256],[1579309681000,4.608],[1579309981000,3.744],[1579310281000,5.76],[1579310581000,4.104],[1579310881000,2.88],[1579311181000,2.304],[1579311481000,3.528],[1579311781000,4.824],[1579312081000,3.168],[1579312381000,2.16],[1579312681000,3.312],[1579312981000,4.104],[1579313281000,4.968],[1579313581000,4.32],[1579313881000,6.48],[1579314181000,7.416],[1579314481000,5.904],[1579314781000,8.712],[1579315081000,7.344],[1579315381000,6.768],[1579315681000,5.904],[1579315981000,3.672],[1579316281000,6.264],[1579316581000,5.112],[1579316881000,5.4],[1579317181000,6.336],[1579317481000,4.536],[1579317781000,5.184],[1579318081000,6.48],[1579318381000,5.472],[1579318681000,7.56],[1579318981000,4.464],[1579319281000,4.608],[1579319581000,6.912],[1579319881000,5.112],[1579320181000,5.256],[1579320481000,2.736],[1579320781000,2.16],[1579321081000,2.88],[1579321381000,3.024],[1579321681000,2.304],[1579321981000,3.312],[1579322281000,4.104],[1579322581000,3.096],[1579322881000,2.664],[1579323181000,3.6],[1579323481000,4.248],[1579323781000,3.816],[1579324081000,1.872],[1579324381000,2.448],[1579324681000,1.224],[1579324981000,2.592],[1579325281000,2.448],[1579325581000,3.096],[1579325881000,5.184],[1579326181000,3.168],[1579326481000,5.4],[1579326781000,5.832],[1579327081000,5.184],[1579327381000,3.816],[1579327681000,5.04],[1579327981000,4.392],[1579328281000,4.824],[1579328581000,3.888],[1579328881000,3.24],[1579329181000,1.296],[1579329481000,3.744],[1579329781000,3.456],[1579330081000,1.8],[1579330381000,4.536],[1579330681000,5.616],[1579330981000,4.104],[1579331281000,4.032],[1579331581000,3.6],[1579331881000,3.384],[1579332181000,3.6],[1579332481000,3.672],[1579332781000,3.096],[1579333081000,1.944],[1579333381000,1.872],[1579333681000,1.08],[1579333981000,1.08],[1579334281000,4.032],[1579334581000,4.032],[1579334881000,2.304],[1579335181000,3.096],[1579335481000,1.008],[1579335781000,2.232],[1579336081000,2.736],[1579336381000,4.032],[1579336681000,4.248],[1579336981000,3.096],[1579337281000,1.728],[1579337581000,2.16],[1579337881000,2.232],[1579338181000,1.872],[1579338481000,1.08],[1579338781000,0.792],[1579339081000,2.52],[1579339381000,3.168],[1579339681000,2.376],[1579339981000,1.8],[1579340281000,3.24],[1579340581000,3.888],[1579340881000,5.328],[1579341181000,5.976],[1579341481000,4.752],[1579341781000,0.504],[1579342081000,2.808],[1579342381000,2.448],[1579342681000,2.808],[1579342981000,3.096],[1579343281000,2.232],[1579343581000,1.368],[1579343881000,1.08],[1579344181000,0.072],[1579344481000,0.072],[1579344781000,1.728],[1579345081000,2.016],[1579345381000,1.368],[1579345681000,0.36],[1579345981000,1.008],[1579346281000,2.808],[1579346581000,2.952],[1579346881000,2.664],[1579347181000,1.656],[1579347481000,0.648],[1579347781000,3.672],[1579348081000,1.296],[1579348381000,0],[1579348681000,0.504],[1579348981000,1.008],[1579349281000,1.224],[1579349581000,0.72],[1579349881000,0.504],[1579350181000,0.072],[1579350481000,0.216],[1579350781000,0.576],[1579351081000,2.088],[1579351381000,3.888],[1579351681000,3.96],[1579351981000,2.808],[1579352281000,2.592],[1579352581000,1.44],[1579352881000,0.72],[1579353181000,0.72],[1579353481000,1.584],[1579353781000,1.152],[1579354081000,0.576],[1579354381000,2.376],[1579354681000,0.648],[1579354981000,0.216],[1579355281000,0.072],[1579355581000,0.576],[1579355881000,0],[1579356181000,1.728],[1579356481000,1.584],[1579356781000,0.576],[1579357081000,0.36],[1579357381000,0.216],[1579357681000,1.44],[1579357981000,0.864],[1579358281000,1.8],[1579358581000,2.016],[1579358881000,1.656],[1579359181000,2.016],[1579359481000,2.592],[1579359781000,2.952],[1579360081000,3.24],[1579360381000,3.528],[1579360681000,6.984],[1579360981000,7.632],[1579361281000,3.672],[1579361581000,5.688],[1579361881000,5.184],[1579362181000,3.312],[1579362481000,1.584],[1579362781000,1.44],[1579363081000,1.872],[1579363381000,0.936],[1579363681000,2.88],[1579363981000,1.656],[1579364281000,0.144],[1579364581000,0],[1579364881000,1.08],[1579365181000,3.312],[1579365481000,2.736],[1579365781000,0.576],[1579366081000,3.24],[1579366381000,0.936],[1579366681000,3.24],[1579366981000,4.896],[1579367281000,5.328],[1579367581000,4.536],[1579367881000,4.968],[1579368181000,4.248],[1579368481000,2.952],[1579368781000,2.16],[1579369081000,3.816],[1579369381000,3.456],[1579369681000,1.944],[1579369981000,2.16],[1579370281000,3.528],[1579370581000,0],[1579370881000,0.288],[1579371181000,0],[1579371481000,0],[1579371781000,0.144],[1579372081000,0.576],[1579372381000,4.248],[1579372681000,0.936],[1579372981000,0.792],[1579373281000,0.792],[1579373581000,1.008],[1579373881000,2.232],[1579374181000,4.392],[1579374481000,4.176],[1579374781000,3.24],[1579375081000,5.04],[1579375381000,4.392],[1579375681000,3.816],[1579375981000,4.752],[1579376281000,1.728],[1579376581000,0.864],[1579376881000,1.008],[1579377181000,2.592],[1579377481000,2.808],[1579377781000,0.936],[1579378081000,0],[1579378381000,0],[1579378681000,2.232],[1579378981000,2.16],[1579379281000,2.304],[1579379581000,3.096],[1579379881000,3.024],[1579380181000,3.096],[1579380481000,0.72],[1579380781000,0],[1579381081000,0],[1579381381000,0],[1579381681000,0],[1579381981000,0],[1579382281000,1.44],[1579382581000,3.312],[1579382881000,4.824],[1579383181000,6.048],[1579383481000,4.248],[1579383781000,4.464],[1579384081000,2.232],[1579384381000,1.368],[1579384681000,1.368],[1579384981000,0],[1579385281000,0.432],[1579385581000,1.512],[1579385881000,5.472],[1579386181000,4.536],[1579386481000,5.976],[1579386781000,3.96],[1579387081000,0.504],[1579387381000,0.36],[1579387681000,0],[1579387981000,0],[1579388281000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1579302001000,7.7904],[1579302181000,9.11232],[1579302481000,5.976],[1579302781000,9.99288],[1579303081000,9.80424],[1579303381000,4.11408],[1579303681000,8.00424],[1579303981000,6.98976],[1579304281000,11.25216],[1579304581000,8.6076],[1579304881000,7.28712],[1579305181000,8.06112],[1579305481000,8.04744],[1579305781000,9.2304],[1579306081000,9.9396],[1579306381000,7.20072],[1579306681000,9.0648],[1579306981000,8.1396],[1579307281000,8.79696],[1579307581000,6.5052],[1579307881000,8.15256],[1579308181000,3.20328],[1579308481000,8.27496],[1579308781000,7.51248],[1579309081000,9.26784],[1579309381000,8.37216],[1579309681000,8.136],[1579309981000,6.05304],[1579310281000,9.16056],[1579310581000,6.56712],[1579310881000,4.66704],[1579311181000,3.6972],[1579311481000,5.65992],[1579311781000,7.92],[1579312081000,5.02776],[1579312381000,3.366],[1579312681000,5.1084],[1579312981000,6.5268],[1579313281000,7.87752],[1579313581000,6.98112],[1579313881000,10.73232],[1579314181000,11.95128],[1579314481000,9.5184],[1579314781000,14.38056],[1579315081000,11.9268],[1579315381000,10.8612],[1579315681000,9.594],[1579315981000,5.94144],[1579316281000,9.882],[1579316581000,8.37072],[1579316881000,8.57232],[1579317181000,9.92952],[1579317481000,7.27128],[1579317781000,8.478],[1579318081000,10.35144],[1579318381000,8.7408],[1579318681000,12.14928],[1579318981000,7.11216],[1579319281000,7.31808],[1579319581000,11.36232],[1579319881000,8.22168],[1579320181000,8.26488],[1579320481000,4.33152],[1579320781000,3.37176],[1579321081000,4.55544],[1579321381000,4.8744],[1579321681000,3.57912],[1579321981000,5.20128],[1579322281000,6.54912],[1579322581000,4.85208],[1579322881000,4.13496],[1579323181000,5.57208],[1579323481000,6.7644],[1579323781000,5.98032],[1579324081000,3.01176],[1579324381000,3.93264],[1579324681000,1.9944],[1579324981000,4.21272],[1579325281000,3.74832],[1579325581000,5.13432],[1579325881000,8.45496],[1579326181000,4.88952],[1579326481000,8.51616],[1579326781000,9.21672],[1579327081000,8.41032],[1579327381000,6.13656],[1579327681000,7.96896],[1579327981000,7.038],[1579328281000,7.79544],[1579328581000,6.18984],[1579328881000,5.07312],[1579329181000,1.95768],[1579329481000,5.8968],[1579329781000,5.46048],[1579330081000,2.89008],[1579330381000,7.19712],[1579330681000,8.78688],[1579330981000,6.50448],[1579331281000,6.44328],[1579331581000,5.67864],[1579331881000,5.30352],[1579332181000,5.66496],[1579332481000,5.84856],[1579332781000,4.7844],[1579333081000,3.10824],[1579333381000,3.01608],[1579333681000,1.63512],[1579333981000,1.71216],[1579334281000,6.24672],[1579334581000,6.46488],[1579334881000,3.56256],[1579335181000,4.95504],[1579335481000,1.3644],[1579335781000,3.60432],[1579336081000,4.56912],[1579336381000,6.40152],[1579336681000,6.56208],[1579336981000,4.84056],[1579337281000,2.718],[1579337581000,3.3552],[1579337881000,3.40848],[1579338181000,2.84472],[1579338481000,1.67616],[1579338781000,1.22112],[1579339081000,3.90744],[1579339381000,4.88232],[1579339681000,3.70944],[1579339981000,2.74968],[1579340281000,5.03208],[1579340581000,6.01056],[1579340881000,8.352],[1579341181000,9.53928],[1579341481000,7.33536],[1579341781000,0.80712],[1579342081000,4.36536],[1579342381000,3.79152],[1579342681000,4.45536],[1579342981000,4.79232],[1579343281000,3.46464],[1579343581000,2.14416],[1579343881000,1.67832],[1579344181000,0.10008],[1579344481000,0.054],[1579344781000,2.53296],[1579345081000,3.16656],[1579345381000,2.12976],[1579345681000,0.57312],[1579345981000,1.53144],[1579346281000,4.30704],[1579346581000,4.57704],[1579346881000,4.18176],[1579347181000,2.42712],[1579347481000,0.98784],[1579347781000,5.87088],[1579348081000,1.98792],[1579348381000,0],[1579348681000,0.82152],[1579348981000,1.638],[1579349281000,1.8324],[1579349581000,1.17216],[1579349881000,0.774],[1579350181000,0.14544],[1579350481000,0.28872],[1579350781000,0.95976],[1579351081000,3.20544],[1579351381000,5.96088],[1579351681000,6.26472],[1579351981000,4.27752],[1579352281000,4.10976],[1579352581000,2.30616],[1579352881000,1.03824],[1579353181000,1.07064],[1579353481000,2.41344],[1579353781000,1.86696],[1579354081000,0.93312],[1579354381000,3.62448],[1579354681000,0.9828],[1579354981000,0.39672],[1579355281000,0.06048],[1579355581000,0.89064],[1579355881000,0],[1579356181000,2.68416],[1579356481000,2.41488],[1579356781000,0.91224],[1579357081000,0.42768],[1579357381000,0.38232],[1579357681000,2.17584],[1579357981000,1.29816],[1579358281000,2.84472],[1579358581000,3.0852],[1579358881000,2.4588],[1579359181000,2.98368],[1579359481000,3.96],[1579359781000,4.5828],[1579360081000,4.84272],[1579360381000,5.40792],[1579360681000,10.7424],[1579360981000,11.90448],[1579361281000,5.59584],[1579361581000,9.02016],[1579361881000,8.28288],[1579362181000,5.20488],[1579362481000,2.57544],[1579362781000,2.15136],[1579363081000,2.94192],[1579363381000,1.43424],[1579363681000,4.51728],[1579363981000,2.538],[1579364281000,0.23976],[1579364581000,0],[1579364881000,1.71648],[1579365181000,5.31576],[1579365481000,4.25664],[1579365781000,0.792],[1579366081000,4.98384],[1579366381000,1.45512],[1579366681000,5.01192],[1579366981000,7.55064],[1579367281000,8.23536],[1579367581000,6.95016],[1579367881000,7.7112],[1579368181000,6.56856],[1579368481000,4.48344],[1579368781000,3.28608],[1579369081000,5.84784],[1579369381000,5.38704],[1579369681000,2.95416],[1579369981000,3.26736],[1579370281000,5.40576],[1579370581000,0.02808],[1579370881000,0.43272],[1579371181000,0],[1579371481000,0],[1579371781000,0.25056],[1579372081000,0.96336],[1579372381000,6.62904],[1579372681000,1.44072],[1579372981000,1.1448],[1579373281000,1.1952],[1579373581000,1.49688],[1579373881000,3.2544],[1579374181000,6.75072],[1579374481000,6.36696],[1579374781000,5.18184],[1579375081000,7.62984],[1579375381000,6.80904],[1579375681000,5.84352],[1579375981000,7.66368],[1579376281000,2.76768],[1579376581000,1.40616],[1579376881000,1.55376],[1579377181000,4.04352],[1579377481000,4.2588],[1579377781000,1.43568],[1579378081000,0],[1579378381000,0],[1579378681000,3.40776],[1579378981000,3.41496],[1579379281000,3.69648],[1579379581000,4.84848],[1579379881000,4.73112],[1579380181000,4.72104],[1579380481000,1.11024],[1579380781000,0],[1579381081000,0],[1579381381000,0],[1579381681000,0],[1579381981000,0],[1579382281000,2.2248],[1579382581000,5.05656],[1579382881000,7.4484],[1579383181000,9.0396],[1579383481000,6.51168],[1579383781000,7.09416],[1579384081000,3.51936],[1579384381000,2.03688],[1579384681000,2.11464],[1579384981000,0],[1579385281000,0.59472],[1579385581000,2.46528],[1579385881000,8.5716],[1579386181000,7.30296],[1579386481000,9.61416],[1579386781000,6.2676],[1579387081000,0.7164],[1579387381000,0.42408],[1579387681000,0],[1579387981000,0],[1579388281000,0],], color: '#EF9856', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1km/h' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-legend' } }; graphs['#chart-wind'] = $.plot('#chart-wind', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Smer vetra', data: [[1579302001000,81.13333333],[1579302181000,87.54000000],[1579302481000,91.64000000],[1579302781000,92.46000000],[1579303081000,92.88000000],[1579303381000,93.68000000],[1579303681000,95.72000000],[1579303981000,95.72000000],[1579304281000,84.70000000],[1579304581000,94.92000000],[1579304881000,96.96000000],[1579305181000,84.68000000],[1579305481000,98.18000000],[1579305781000,87.54000000],[1579306081000,90.40000000],[1579306381000,92.46000000],[1579306681000,96.94000000],[1579306981000,96.94000000],[1579307281000,86.72000000],[1579307581000,91.64000000],[1579307881000,84.28000000],[1579308181000,112.50000000],[1579308481000,105.96000000],[1579308781000,103.90000000],[1579309081000,88.76000000],[1579309381000,82.22000000],[1579309681000,88.38000000],[1579309981000,77.32000000],[1579310281000,84.28000000],[1579310581000,86.72000000],[1579310881000,100.24000000],[1579311181000,92.04000000],[1579311481000,113.74000000],[1579311781000,96.56000000],[1579312081000,96.96000000],[1579312381000,85.08000000],[1579312681000,81.40000000],[1579312981000,82.64000000],[1579313281000,82.24000000],[1579313581000,82.64000000],[1579313881000,76.10000000],[1579314181000,84.70000000],[1579314481000,84.30000000],[1579314781000,75.66000000],[1579315081000,70.80000000],[1579315381000,80.18000000],[1579315681000,80.58000000],[1579315981000,89.18000000],[1579316281000,76.50000000],[1579316581000,85.10000000],[1579316881000,82.64000000],[1579317181000,87.14000000],[1579317481000,88.76000000],[1579317781000,83.44000000],[1579318081000,84.26000000],[1579318381000,81.80000000],[1579318681000,84.28000000],[1579318981000,79.34000000],[1579319281000,79.36000000],[1579319581000,76.50000000],[1579319881000,86.72000000],[1579320181000,85.08000000],[1579320481000,90.40000000],[1579320781000,83.02000000],[1579321081000,82.62000000],[1579321381000,94.10000000],[1579321681000,100.24000000],[1579321981000,70.36000000],[1579322281000,81.82000000],[1579322581000,78.96000000],[1579322881000,79.78000000],[1579323181000,85.50000000],[1579323481000,75.66000000],[1579323781000,61.78000000],[1579324081000,48.68000000],[1579324381000,65.46000000],[1579324681000,103.50000000],[1579324981000,114.16000000],[1579325281000,96.56000000],[1579325581000,90.42000000],[1579325881000,108.42000000],[1579326181000,96.12000000],[1579326481000,85.08000000],[1579326781000,83.04000000],[1579327081000,80.16000000],[1579327381000,82.24000000],[1579327681000,56.44000000],[1579327981000,89.98000000],[1579328281000,52.76000000],[1579328581000,46.64000000],[1579328881000,63.42000000],[1579329181000,71.18000000],[1579329481000,46.66000000],[1579329781000,31.90000000],[1579330081000,43.36000000],[1579330381000,73.62000000],[1579330681000,77.30000000],[1579330981000,72.42000000],[1579331281000,68.72000000],[1579331581000,70.78000000],[1579331881000,66.68000000],[1579332181000,79.78000000],[1579332481000,82.62000000],[1579332781000,94.90000000],[1579333081000,88.36000000],[1579333381000,88.38000000],[1579333681000,80.60000000],[1579333981000,94.90000000],[1579334281000,71.98000000],[1579334581000,63.00000000],[1579334881000,87.96000000],[1579335181000,77.70000000],[1579335481000,70.38000000],[1579335781000,56.44000000],[1579336081000,24.94000000],[1579336381000,33.56000000],[1579336681000,19.22000000],[1579336981000,18.82000000],[1579337281000,40.10000000],[1579337581000,17.60000000],[1579337881000,42.54000000],[1579338181000,42.54000000],[1579338481000,0.00000000],[1579338781000,0.00000000],[1579339081000,51.96000000],[1579339381000,82.24000000],[1579339681000,185.30000000],[1579339981000,5.72000000],[1579340281000,228.28000000],[1579340581000,275.32000000],[1579340881000,259.36000000],[1579341181000,285.54000000],[1579341481000,234.40000000],[1579341781000,265.50000000],[1579342081000,29.04000000],[1579342381000,12.68000000],[1579342681000,89.60000000],[1579342981000,234.40000000],[1579343281000,250.76000000],[1579343581000,315.00000000],[1579343881000,178.36000000],[1579344181000,255.68000000],[1579344481000,219.68000000],[1579344781000,288.82000000],[1579345081000,256.90000000],[1579345381000,234.82000000],[1579345681000,110.44000000],[1579345981000,223.36000000],[1579346281000,274.50000000],[1579346581000,249.96000000],[1579346881000,239.72000000],[1579347181000,225.42000000],[1579347481000,100.24000000],[1579347781000,251.60000000],[1579348081000,268.38000000],[1579348381000,270.00000000],[1579348681000,270.00000000],[1579348981000,245.46000000],[1579349281000,262.22000000],[1579349581000,270.00000000],[1579349881000,306.00000000],[1579350181000,117.82000000],[1579350481000,100.26000000],[1579350781000,84.70000000],[1579351081000,77.72000000],[1579351381000,120.26000000],[1579351681000,89.18000000],[1579351981000,120.28000000],[1579352281000,99.82000000],[1579352581000,135.00000000],[1579352881000,135.00000000],[1579353181000,130.10000000],[1579353481000,115.36000000],[1579353781000,110.46000000],[1579354081000,103.88000000],[1579354381000,99.82000000],[1579354681000,130.08000000],[1579354981000,135.00000000],[1579355281000,135.00000000],[1579355581000,135.00000000],[1579355881000,135.00000000],[1579356181000,105.54000000],[1579356481000,103.08000000],[1579356781000,112.90000000],[1579357081000,122.72000000],[1579357381000,103.12000000],[1579357681000,95.72000000],[1579357981000,112.92000000],[1579358281000,114.14000000],[1579358581000,103.08000000],[1579358881000,73.64000000],[1579359181000,40.50000000],[1579359481000,36.80000000],[1579359781000,19.62000000],[1579360081000,27.00000000],[1579360381000,29.42000000],[1579360681000,103.08000000],[1579360981000,88.36000000],[1579361281000,76.10000000],[1579361581000,61.36000000],[1579361881000,98.18000000],[1579362181000,88.36000000],[1579362481000,88.38000000],[1579362781000,83.46000000],[1579363081000,81.00000000],[1579363381000,117.82000000],[1579363681000,83.86000000],[1579363981000,88.36000000],[1579364281000,76.08000000],[1579364581000,73.64000000],[1579364881000,94.10000000],[1579365181000,78.54000000],[1579365481000,44.16000000],[1579365781000,68.32000000],[1579366081000,86.32000000],[1579366381000,75.26000000],[1579366681000,19.64000000],[1579366981000,7.38000000],[1579367281000,39.26000000],[1579367581000,5.72000000],[1579367881000,18.38000000],[1579368181000,22.10000000],[1579368481000,66.26000000],[1579368781000,51.54000000],[1579369081000,88.34000000],[1579369381000,78.56000000],[1579369681000,61.36000000],[1579369981000,61.34000000],[1579370281000,49.94000000],[1579370581000,0.00000000],[1579370881000,5.32000000],[1579371181000,0.00000000],[1579371481000,0.00000000],[1579371781000,19.64000000],[1579372081000,78.56000000],[1579372381000,88.38000000],[1579372681000,93.28000000],[1579372981000,98.20000000],[1579373281000,90.80000000],[1579373581000,90.82000000],[1579373881000,31.90000000],[1579374181000,44.18000000],[1579374481000,80.60000000],[1579374781000,42.54000000],[1579375081000,2.46000000],[1579375381000,17.18000000],[1579375681000,58.88000000],[1579375981000,85.90000000],[1579376281000,67.92000000],[1579376581000,105.56000000],[1579376881000,100.64000000],[1579377181000,81.00000000],[1579377481000,73.62000000],[1579377781000,7.36000000],[1579378081000,0.00000000],[1579378381000,54.00000000],[1579378681000,81.00000000],[1579378981000,83.46000000],[1579379281000,42.14000000],[1579379581000,81.00000000],[1579379881000,81.00000000],[1579380181000,32.30000000],[1579380481000,78.52000000],[1579380781000,44.18000000],[1579381081000,0.00000000],[1579381381000,14.74000000],[1579381681000,0.00000000],[1579381981000,0.00000000],[1579382281000,5.32000000],[1579382581000,29.44000000],[1579382881000,27.00000000],[1579383181000,68.72000000],[1579383481000,63.80000000],[1579383781000,41.72000000],[1579384081000,44.18000000],[1579384381000,27.00000000],[1579384681000,2.04000000],[1579384981000,22.88000000],[1579385281000,0.00000000],[1579385581000,88.36000000],[1579385881000,76.08000000],[1579386181000,78.52000000],[1579386481000,68.74000000],[1579386781000,65.44000000],[1579387081000,95.72000000],[1579387381000,94.10000000],[1579387681000,99.82000000],[1579387981000,87.56000000],[1579388281000,225.00000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Zrážky', data: [[1579336261000,0.55880000],], color: '#008fbf' } ]; var options = { xaxes: [{ axisLabel: 'rain', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.3mm' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-rain-legend' } }; graphs['#chart-rain'] = $.plot('#chart-rain', dataset, options); }); $('.modal').on('hide.bs.modal', function() { var memory = $(this).html(); $(this).html(memory); }); function meteo_wind_direction_name(wind_direction) { if (wind_direction >= 0.00 && wind_direction <= 11.25) { ret = 'S'; } else if (wind_direction > 11.25 && wind_direction <= 33.75) { ret = 'SSV'; } else if (wind_direction > 33.75 && wind_direction <= 56.25) { ret = 'SV'; } else if (wind_direction > 56.25 && wind_direction <= 78.75) { // 67.5 ret = 'VSV'; } else if (wind_direction > 78.75 && wind_direction <= 101.25) { // 90 ret = 'V'; } else if (wind_direction > 101.25 && wind_direction <= 123.75) { //112.5 ret = 'VJV'; } else if (wind_direction > 123.75 && wind_direction <= 146.25) { // 135 ret = 'JV'; } else if (wind_direction > 146.25 && wind_direction <= 168.75) { // 157.5 ret = 'JJV'; } else if (wind_direction > 168.75 && wind_direction <= 191.25) { // 180 ret = 'J'; } else if (wind_direction > 191.25 && wind_direction <= 213.75) { // 202.5 ret = 'JJZ'; } else if (wind_direction > 213.75 && wind_direction <= 236.25) { // 225 ret = 'JZ'; } else if (wind_direction > 236.25 && wind_direction <= 258.75) { // 247.5 ret = 'ZJZ'; } else if (wind_direction > 258.75 && wind_direction <= 281.25) { // 270 ret = 'Z'; } else if (wind_direction > 281.25 && wind_direction <= 303.75) { // 292.5 ret = 'ZSZ'; } else if (wind_direction > 303.75 && wind_direction <= 326.25) { // 315 ret = 'SZ'; } else if (wind_direction > 326.25 && wind_direction <= 348.75) { // 337.5 ret = 'SSZ'; } else if (wind_direction > 348.75 && wind_direction <= 360.0) { // 337.5 ret = 'S'; } else { return ''; } return ret; }