var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1566511201000,19.00000000],[1566511381000,19.00000000],[1566511681000,18.88000000],[1566511981000,18.74000000],[1566512281000,18.58000000],[1566512581000,18.36000000],[1566512881000,18.30000000],[1566513181000,18.22000000],[1566513481000,18.12000000],[1566513781000,18.08000000],[1566514081000,18.00000000],[1566514381000,18.00000000],[1566514681000,18.00000000],[1566514981000,17.96000000],[1566515281000,18.00000000],[1566515582000,17.96000000],[1566515881000,17.88000000],[1566516181000,17.90000000],[1566516481000,17.90000000],[1566516781000,17.84000000],[1566517081000,17.80000000],[1566517381000,17.78000000],[1566517681000,17.86000000],[1566517981000,17.88000000],[1566518281000,17.90000000],[1566518581000,17.96000000],[1566518881000,18.00000000],[1566519181000,18.12000000],[1566519481000,18.24000000],[1566519781000,18.30000000],[1566520081000,18.30000000],[1566520381000,18.30000000],[1566520681000,18.26000000],[1566520981000,18.20000000],[1566521281000,18.14000000],[1566521581000,18.10000000],[1566521881000,18.18000000],[1566522181000,18.10000000],[1566522481000,18.10000000],[1566522781000,18.06000000],[1566523081000,17.96000000],[1566523381000,17.88000000],[1566523681000,17.80000000],[1566523981000,17.70000000],[1566524281000,17.70000000],[1566524581000,17.72000000],[1566524881000,17.70000000],[1566525181000,17.60000000],[1566525481000,17.46000000],[1566525781000,17.32000000],[1566526081000,17.20000000],[1566526381000,17.20000000],[1566526681000,17.20000000],[1566526981000,17.20000000],[1566527281000,17.26000000],[1566527581000,17.38000000],[1566527881000,17.40000000],[1566528181000,17.32000000],[1566528481000,17.30000000],[1566528781000,17.34000000],[1566529081000,17.30000000],[1566529381000,17.34000000],[1566529681000,17.40000000],[1566529981000,17.48000000],[1566530281000,17.52000000],[1566530581000,17.58000000],[1566530881000,17.82000000],[1566531181000,17.98000000],[1566531481000,18.00000000],[1566531781000,18.08000000],[1566532081000,18.00000000],[1566532381000,18.00000000],[1566532681000,17.96000000],[1566532981000,17.84000000],[1566533281000,17.80000000],[1566533581000,17.76000000],[1566533881000,17.80000000],[1566534181000,17.80000000],[1566534481000,17.74000000],[1566534781000,17.72000000],[1566535081000,17.68000000],[1566535381000,17.66000000],[1566535681000,17.90000000],[1566535981000,18.20000000],[1566536281000,18.50000000],[1566536581000,18.84000000],[1566536881000,19.06000000],[1566537181000,19.16000000],[1566537481000,19.38000000],[1566537781000,19.80000000],[1566538081000,19.90000000],[1566538381000,19.84000000],[1566538681000,19.92000000],[1566538981000,20.28000000],[1566539281000,20.34000000],[1566539581000,20.24000000],[1566539881000,20.32000000],[1566540181000,20.74000000],[1566540481000,21.38000000],[1566540781000,21.56000000],[1566541081000,21.44000000],[1566541381000,21.46000000],[1566541681000,21.56000000],[1566541981000,21.62000000],[1566542281000,21.70000000],[1566542582000,21.70000000],[1566542881000,21.62000000],[1566543181000,21.76000000],[1566543481000,21.90000000],[1566543781000,22.04000000],[1566544081000,22.04000000],[1566544381000,22.00000000],[1566544681000,22.16000000],[1566544981000,22.40000000],[1566545281000,22.68000000],[1566545581000,22.68000000],[1566545881000,22.60000000],[1566546181000,22.68000000],[1566546481000,22.88000000],[1566546781000,23.22000000],[1566547081000,23.36000000],[1566547381000,23.52000000],[1566547681000,23.80000000],[1566547981000,23.60000000],[1566548281000,23.42000000],[1566548581000,23.34000000],[1566548881000,23.62000000],[1566549181000,24.38000000],[1566549481000,24.90000000],[1566549781000,25.52000000],[1566550081000,25.76000000],[1566550381000,25.58000000],[1566550681000,25.82000000],[1566550981000,25.94000000],[1566551281000,26.40000000],[1566551582000,26.60000000],[1566551881000,26.76000000],[1566552181000,26.58000000],[1566552481000,26.50000000],[1566552781000,26.84000000],[1566553081000,27.10000000],[1566553382000,27.06000000],[1566553681000,27.24000000],[1566553981000,26.70000000],[1566554281000,26.98000000],[1566554581000,27.24000000],[1566554881000,27.08000000],[1566555181000,27.44000000],[1566555481000,28.08000000],[1566555782000,28.16000000],[1566556081000,28.38000000],[1566556381000,28.54000000],[1566556681000,28.32000000],[1566556981000,27.92000000],[1566557281000,28.18000000],[1566557581000,27.72000000],[1566557881000,27.46000000],[1566558181000,27.68000000],[1566558481000,27.88000000],[1566558781000,28.42000000],[1566559081000,28.38000000],[1566559381000,27.84000000],[1566559681000,27.50000000],[1566559981000,28.24000000],[1566560281000,29.12000000],[1566560581000,29.68000000],[1566560881000,28.80000000],[1566561181000,29.16000000],[1566561481000,29.32000000],[1566561781000,29.76000000],[1566562081000,29.98000000],[1566562381000,30.00000000],[1566562681000,30.26000000],[1566562981000,30.68000000],[1566563281000,30.50000000],[1566563581000,29.98000000],[1566563881000,29.84000000],[1566564181000,29.88000000],[1566564481000,29.88000000],[1566564781000,29.90000000],[1566565081000,29.44000000],[1566565381000,29.10000000],[1566565681000,28.86000000],[1566565981000,29.06000000],[1566566281000,28.80000000],[1566566581000,28.50000000],[1566566881000,28.20000000],[1566567181000,28.32000000],[1566567481000,28.62000000],[1566567781000,28.58000000],[1566568081000,28.32000000],[1566568381000,28.32000000],[1566568681000,28.26000000],[1566568981000,28.30000000],[1566569282000,28.40000000],[1566569581000,28.30000000],[1566569881000,28.58000000],[1566570181000,28.62000000],[1566570481000,28.46000000],[1566570781000,28.58000000],[1566571081000,28.54000000],[1566571381000,28.46000000],[1566571681000,28.54000000],[1566571981000,28.38000000],[1566572281000,28.40000000],[1566572581000,28.60000000],[1566572881000,28.52000000],[1566573181000,28.38000000],[1566573481000,28.40000000],[1566573781000,28.60000000],[1566574081000,28.58000000],[1566574381000,28.28000000],[1566574681000,28.22000000],[1566574981000,28.16000000],[1566575281000,28.14000000],[1566575581000,27.92000000],[1566575881000,27.68000000],[1566576181000,27.48000000],[1566576481000,27.30000000],[1566576781000,27.12000000],[1566577081000,27.00000000],[1566577381000,26.94000000],[1566577681000,26.88000000],[1566577981000,26.78000000],[1566578281000,26.60000000],[1566578581000,26.38000000],[1566578881000,26.28000000],[1566579181000,26.08000000],[1566579481000,25.80000000],[1566579781000,25.52000000],[1566580081000,25.28000000],[1566580381000,25.10000000],[1566580681000,24.84000000],[1566580981000,24.56000000],[1566581281000,24.40000000],[1566581581000,24.44000000],[1566581881000,24.26000000],[1566582181000,23.98000000],[1566582481000,23.72000000],[1566582781000,23.48000000],[1566583081000,23.12000000],[1566583381000,22.84000000],[1566583681000,22.58000000],[1566583981000,22.34000000],[1566584282000,22.14000000],[1566584581000,22.04000000],[1566584881000,21.92000000],[1566585181000,21.82000000],[1566585481000,21.74000000],[1566585781000,21.58000000],[1566586081000,21.40000000],[1566586381000,21.26000000],[1566586681000,21.18000000],[1566586981000,21.22000000],[1566587281000,21.22000000],[1566587581000,21.24000000],[1566587881000,21.06000000],[1566588181000,20.88000000],[1566588481000,20.80000000],[1566588781000,20.66000000],[1566589081000,20.46000000],[1566589381000,20.28000000],[1566589681000,20.14000000],[1566589981000,20.02000000],[1566590281000,19.90000000],[1566590581000,19.80000000],[1566590881000,19.70000000],[1566591181000,19.68000000],[1566591481000,19.60000000],[1566591781000,19.54000000],[1566592081000,19.50000000],[1566592381000,19.42000000],[1566592681000,19.44000000],[1566592981000,19.50000000],[1566593281000,19.48000000],[1566593581000,19.36000000],[1566593881000,19.30000000],[1566594181000,19.20000000],[1566594481000,19.12000000],[1566594781000,19.24000000],[1566595081000,19.30000000],[1566595381000,19.34000000],[1566595681000,19.36000000],[1566595981000,19.48000000],[1566596281000,19.38000000],[1566596581000,19.26000000],[1566596881000,19.06000000],[1566597181000,18.92000000],[1566597482000,18.80000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1566511201000,17.2],[1566511381000,17.3],[1566511681000,17.4],[1566511981000,17.6],[1566512281000,17.5],[1566512581000,17.3],[1566512881000,17.4],[1566513181000,17.5],[1566513481000,17.4],[1566513781000,17.4],[1566514081000,17.3],[1566514381000,17.4],[1566514681000,17.4],[1566514981000,17.3],[1566515281000,17.3],[1566515582000,17.4],[1566515881000,17.4],[1566516181000,17.3],[1566516481000,17.4],[1566516781000,17.4],[1566517081000,17.4],[1566517381000,17.4],[1566517681000,17.5],[1566517981000,17.3],[1566518281000,17.2],[1566518581000,17.2],[1566518881000,17.3],[1566519181000,17.3],[1566519481000,17.4],[1566519781000,17.6],[1566520081000,17.6],[1566520381000,17.6],[1566520681000,17.6],[1566520981000,17.7],[1566521281000,17.6],[1566521581000,17.5],[1566521881000,17.6],[1566522181000,17.7],[1566522481000,17.7],[1566522781000,17.7],[1566523081000,17.7],[1566523381000,17.6],[1566523681000,17.6],[1566523981000,17.5],[1566524281000,17.5],[1566524581000,17.4],[1566524881000,17.5],[1566525181000,17.5],[1566525481000,17.4],[1566525781000,17.3],[1566526081000,17.2],[1566526381000,17.2],[1566526681000,17.2],[1566526981000,17.2],[1566527281000,17.3],[1566527581000,17.4],[1566527881000,17.4],[1566528181000,17.3],[1566528481000,17.3],[1566528781000,17.3],[1566529081000,17.3],[1566529381000,17.3],[1566529681000,17.4],[1566529981000,17.5],[1566530281000,17.5],[1566530581000,17.5],[1566530881000,17.5],[1566531181000,17.5],[1566531481000,17.5],[1566531781000,17.6],[1566532081000,17.6],[1566532381000,17.5],[1566532681000,17.7],[1566532981000,17.7],[1566533281000,17.7],[1566533581000,17.7],[1566533881000,17.7],[1566534181000,17.7],[1566534481000,17.6],[1566534781000,17.6],[1566535081000,17.6],[1566535381000,17.6],[1566535681000,17.5],[1566535981000,17.5],[1566536281000,17.4],[1566536581000,17.5],[1566536881000,17.3],[1566537181000,17.2],[1566537481000,17.1],[1566537781000,17.3],[1566538081000,17.2],[1566538381000,17],[1566538681000,16.7],[1566538981000,16.8],[1566539281000,16.8],[1566539581000,16.8],[1566539881000,16.8],[1566540181000,16.3],[1566540481000,16.5],[1566540781000,16.6],[1566541081000,16.7],[1566541381000,16.8],[1566541681000,16.8],[1566541981000,16.6],[1566542281000,16.7],[1566542582000,16.7],[1566542881000,16.5],[1566543181000,16.4],[1566543481000,16.1],[1566543781000,16.3],[1566544081000,16.6],[1566544381000,16.4],[1566544681000,16.4],[1566544981000,16.3],[1566545281000,16.4],[1566545581000,16.5],[1566545881000,16.3],[1566546181000,16.3],[1566546481000,16.1],[1566546781000,16],[1566547381000,16],[1566547681000,15.5],[1566547981000,15.9],[1566548281000,15.8],[1566548581000,16.2],[1566548881000,15.7],[1566549181000,15.4],[1566549481000,15.8],[1566549781000,15.7],[1566550081000,15.8],[1566550381000,15.8],[1566550681000,15.6],[1566550981000,15.4],[1566551281000,15.4],[1566551881000,15.2],[1566552181000,15.3],[1566552481000,15.5],[1566552781000,15.5],[1566553081000,15.7],[1566553382000,15.7],[1566553681000,15.6],[1566553981000,15.2],[1566554281000,15.2],[1566554581000,15.4],[1566554881000,15.2],[1566555181000,15],[1566555481000,15.1],[1566555782000,15.3],[1566556081000,15.4],[1566556381000,15.2],[1566556681000,15.8],[1566556981000,16],[1566557281000,15.9],[1566557581000,15.9],[1566557881000,15.9],[1566558181000,15.9],[1566558481000,15.8],[1566558781000,15.5],[1566559081000,16],[1566559381000,16.2],[1566559681000,15.5],[1566559981000,15.5],[1566560281000,15.6],[1566560581000,16.2],[1566560881000,16.3],[1566561181000,15.7],[1566561481000,15.7],[1566561781000,15.6],[1566562081000,15.8],[1566562381000,16],[1566562681000,16.2],[1566562981000,16.1],[1566563281000,16.2],[1566563581000,16.2],[1566563881000,16],[1566564181000,16.3],[1566564481000,16.3],[1566564781000,16.4],[1566565081000,16.5],[1566565381000,16.4],[1566565681000,16.2],[1566565981000,16],[1566566281000,16.3],[1566566581000,16.5],[1566566881000,16.3],[1566567181000,16.3],[1566567481000,16.1],[1566567781000,16.5],[1566568081000,16.5],[1566568381000,16.4],[1566568681000,16.3],[1566568981000,16.4],[1566569282000,16.6],[1566569581000,16.6],[1566569881000,16.3],[1566570181000,16.3],[1566570481000,16.3],[1566570781000,16.2],[1566571081000,16.4],[1566571381000,16.3],[1566571681000,16.3],[1566571981000,16.4],[1566572281000,16.4],[1566572581000,16.5],[1566572881000,16.4],[1566573181000,16.4],[1566573481000,16.2],[1566573781000,16.3],[1566574081000,16.6],[1566574681000,16.3],[1566574981000,16.4],[1566575281000,16.4],[1566575581000,16.5],[1566576181000,16.4],[1566576481000,16.5],[1566576781000,16.5],[1566577081000,16.6],[1566577381000,16.5],[1566577681000,16.6],[1566577981000,16.6],[1566578281000,16.8],[1566578581000,17],[1566578881000,17.6],[1566579181000,17.9],[1566579481000,17.7],[1566579781000,17.8],[1566580081000,17.9],[1566580381000,18.1],[1566580681000,18.3],[1566580981000,18.1],[1566581281000,17.6],[1566581581000,17.7],[1566581881000,17.9],[1566582181000,17.9],[1566582481000,18],[1566582781000,18.3],[1566583081000,18.3],[1566583381000,18.3],[1566583681000,18.4],[1566583981000,18.4],[1566584581000,18.3],[1566584881000,18.3],[1566585181000,18.4],[1566585481000,18.5],[1566585781000,18.6],[1566586081000,18.6],[1566586381000,18.5],[1566586681000,18.4],[1566586981000,18.5],[1566587281000,18.2],[1566587581000,18.3],[1566587881000,18.4],[1566588181000,18.3],[1566588481000,18.4],[1566588781000,18.4],[1566589081000,18.3],[1566589381000,18.3],[1566589681000,18.4],[1566589981000,18.6],[1566590281000,18.6],[1566590581000,18.5],[1566590881000,18.5],[1566591181000,18.4],[1566591481000,18.5],[1566591781000,18.5],[1566592081000,18.6],[1566592381000,18.5],[1566592681000,18.4],[1566592981000,18.4],[1566593281000,18.5],[1566593581000,18.5],[1566593881000,18.5],[1566594181000,18.3],[1566594481000,18.2],[1566594781000,18.2],[1566595081000,18.2],[1566595381000,18.3],[1566595681000,18.3],[1566595981000,18.3],[1566596281000,18.4],[1566596581000,18.4],[1566596881000,18.1],[1566597181000,18],], 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: [[1566511201000,89.56666667],[1566511381000,90.18000000],[1566511681000,91.20000000],[1566511981000,92.96000000],[1566512281000,93.22000000],[1566512581000,93.80000000],[1566512881000,94.82000000],[1566513181000,95.38000000],[1566513481000,95.48000000],[1566513781000,95.88000000],[1566514081000,95.72000000],[1566514381000,96.10000000],[1566514681000,96.36000000],[1566514981000,96.24000000],[1566515281000,95.84000000],[1566515582000,96.30000000],[1566515881000,97.16000000],[1566516181000,96.54000000],[1566516481000,96.88000000],[1566516781000,97.48000000],[1566517081000,97.66000000],[1566517381000,97.46000000],[1566517681000,97.52000000],[1566517981000,96.32000000],[1566518281000,95.70000000],[1566518581000,95.62000000],[1566518881000,95.94000000],[1566519181000,95.10000000],[1566519481000,95.12000000],[1566519781000,95.44000000],[1566520081000,95.50000000],[1566520381000,95.60000000],[1566520681000,96.06000000],[1566520981000,96.68000000],[1566521281000,96.96000000],[1566521581000,96.12000000],[1566521881000,96.40000000],[1566522181000,97.58000000],[1566522481000,97.46000000],[1566522781000,97.90000000],[1566523081000,98.18000000],[1566523381000,98.12000000],[1566523681000,98.50000000],[1566523981000,99.00000000],[1566524281000,98.84000000],[1566524581000,98.24000000],[1566524881000,98.56000000],[1566525181000,99.56000000],[1566525481000,99.92000000],[1566525781000,100.00000000],[1566526081000,100.00000000],[1566526381000,100.00000000],[1566526681000,100.00000000],[1566526981000,100.00000000],[1566527281000,100.00000000],[1566527581000,100.00000000],[1566527881000,100.00000000],[1566528181000,100.00000000],[1566528481000,100.00000000],[1566528781000,100.00000000],[1566529081000,100.00000000],[1566529381000,100.00000000],[1566529681000,100.00000000],[1566529981000,99.86000000],[1566530281000,100.00000000],[1566530581000,99.50000000],[1566530881000,97.96000000],[1566531181000,97.10000000],[1566531481000,96.70000000],[1566531781000,96.96000000],[1566532081000,97.80000000],[1566532381000,97.22000000],[1566532681000,98.30000000],[1566532981000,98.82000000],[1566533281000,99.28000000],[1566533581000,99.60000000],[1566533881000,99.64000000],[1566534181000,99.20000000],[1566534481000,99.06000000],[1566534781000,99.46000000],[1566535081000,99.80000000],[1566535381000,99.42000000],[1566535681000,97.74000000],[1566535981000,95.70000000],[1566536281000,93.40000000],[1566536581000,92.06000000],[1566536881000,89.70000000],[1566537181000,88.52000000],[1566537481000,86.98000000],[1566537781000,85.82000000],[1566538081000,84.70000000],[1566538381000,83.90000000],[1566538681000,81.88000000],[1566538981000,80.42000000],[1566539281000,80.32000000],[1566539581000,80.86000000],[1566539881000,80.28000000],[1566540181000,76.02000000],[1566540481000,73.76000000],[1566540781000,73.66000000],[1566541081000,74.38000000],[1566541381000,74.68000000],[1566541681000,74.36000000],[1566541981000,73.26000000],[1566542281000,73.46000000],[1566542582000,73.30000000],[1566542881000,72.62000000],[1566543181000,71.54000000],[1566543481000,69.80000000],[1566543781000,70.06000000],[1566544081000,71.16000000],[1566544381000,70.86000000],[1566544681000,69.94000000],[1566544981000,68.36000000],[1566545281000,67.70000000],[1566545581000,68.04000000],[1566545881000,67.74000000],[1566546181000,67.40000000],[1566546481000,65.56000000],[1566546781000,63.80000000],[1566547082000,63.94000000],[1566547381000,62.68000000],[1566547681000,59.86000000],[1566547981000,62.02000000],[1566548281000,62.52000000],[1566548581000,64.22000000],[1566548881000,61.16000000],[1566549181000,57.48000000],[1566549481000,56.92000000],[1566549781000,54.48000000],[1566550081000,54.06000000],[1566550381000,54.74000000],[1566550681000,53.48000000],[1566550981000,52.34000000],[1566551281000,50.80000000],[1566551581000,49.76000000],[1566551881000,49.22000000],[1566552181000,49.92000000],[1566552481000,50.80000000],[1566552781000,49.82000000],[1566553081000,49.88000000],[1566553382000,49.84000000],[1566553681000,48.96000000],[1566553981000,49.46000000],[1566554281000,48.40000000],[1566554581000,48.24000000],[1566554881000,48.08000000],[1566555181000,46.66000000],[1566555481000,45.10000000],[1566555782000,45.54000000],[1566556081000,45.20000000],[1566556381000,44.36000000],[1566556681000,46.64000000],[1566556981000,48.46000000],[1566557281000,47.28000000],[1566557581000,48.68000000],[1566557881000,49.28000000],[1566558181000,48.62000000],[1566558481000,47.90000000],[1566558781000,45.34000000],[1566559081000,47.10000000],[1566559381000,49.14000000],[1566559681000,48.00000000],[1566559981000,45.82000000],[1566560281000,43.94000000],[1566560581000,44.12000000],[1566560881000,46.82000000],[1566561181000,44.12000000],[1566561481000,43.58000000],[1566561781000,42.26000000],[1566562081000,42.36000000],[1566562381000,42.78000000],[1566562681000,42.66000000],[1566562981000,41.36000000],[1566563281000,42.08000000],[1566563581000,43.38000000],[1566563881000,43.16000000],[1566564181000,43.90000000],[1566564481000,43.90000000],[1566564781000,44.08000000],[1566565081000,45.70000000],[1566565381000,46.32000000],[1566565681000,46.26000000],[1566565981000,45.22000000],[1566566281000,46.76000000],[1566566581000,48.22000000],[1566566881000,48.56000000],[1566567181000,48.20000000],[1566567481000,46.72000000],[1566567781000,48.04000000],[1566568081000,48.64000000],[1566568381000,48.54000000],[1566568681000,48.28000000],[1566568981000,48.42000000],[1566569282000,48.78000000],[1566569581000,49.10000000],[1566569881000,47.42000000],[1566570181000,47.36000000],[1566570481000,47.84000000],[1566570781000,47.14000000],[1566571081000,47.66000000],[1566571381000,47.72000000],[1566571681000,47.40000000],[1566571981000,48.26000000],[1566572281000,48.06000000],[1566572581000,47.78000000],[1566572881000,47.96000000],[1566573181000,48.38000000],[1566573481000,47.54000000],[1566573781000,47.20000000],[1566574081000,48.20000000],[1566574382000,48.60000000],[1566574681000,48.44000000],[1566574981000,48.80000000],[1566575281000,48.98000000],[1566575581000,49.96000000],[1566575882000,51.04000000],[1566576181000,50.82000000],[1566576481000,51.72000000],[1566576781000,52.30000000],[1566577081000,53.00000000],[1566577381000,52.92000000],[1566577681000,53.48000000],[1566577981000,53.80000000],[1566578281000,54.84000000],[1566578581000,56.44000000],[1566578881000,58.84000000],[1566579181000,60.66000000],[1566579481000,61.06000000],[1566579781000,62.44000000],[1566580081000,63.82000000],[1566580381000,65.28000000],[1566580681000,67.10000000],[1566580981000,67.50000000],[1566581281000,66.10000000],[1566581581000,66.06000000],[1566581881000,67.84000000],[1566582181000,69.00000000],[1566582481000,70.48000000],[1566582781000,73.02000000],[1566583081000,74.56000000],[1566583381000,75.76000000],[1566583681000,77.24000000],[1566583981000,78.62000000],[1566584281000,78.76000000],[1566584581000,79.42000000],[1566584881000,79.88000000],[1566585181000,80.76000000],[1566585481000,81.68000000],[1566585781000,83.20000000],[1566586081000,84.20000000],[1566586381000,84.56000000],[1566586681000,84.50000000],[1566586981000,84.58000000],[1566587281000,83.18000000],[1566587581000,83.28000000],[1566587881000,84.66000000],[1566588181000,85.40000000],[1566588481000,86.30000000],[1566588781000,86.80000000],[1566589081000,87.32000000],[1566589381000,88.26000000],[1566589681000,89.68000000],[1566589981000,91.78000000],[1566590281000,92.46000000],[1566590581000,92.40000000],[1566590881000,92.64000000],[1566591181000,92.66000000],[1566591481000,93.42000000],[1566591781000,93.90000000],[1566592081000,94.60000000],[1566592381000,94.68000000],[1566592681000,93.74000000],[1566592981000,93.38000000],[1566593281000,94.04000000],[1566593581000,95.04000000],[1566593881000,95.16000000],[1566594181000,94.28000000],[1566594481000,94.22000000],[1566594781000,93.78000000],[1566595081000,93.46000000],[1566595381000,93.68000000],[1566595681000,93.82000000],[1566595981000,93.14000000],[1566596281000,94.28000000],[1566596581000,94.52000000],[1566596881000,94.48000000],[1566597181000,94.72000000],[1566597481000,95.40000000],], 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: [[1566511201000,1026.2],[1566511381000,1026.2],[1566511681000,1026.2],[1566511981000,1026.3],[1566512281000,1026.3],[1566512581000,1026.3],[1566512881000,1026.4],[1566513181000,1026.4],[1566513481000,1026.4],[1566513781000,1026.4],[1566514081000,1026.3],[1566514381000,1026.4],[1566514681000,1026.4],[1566514981000,1026.4],[1566515281000,1026.4],[1566515582000,1026.5],[1566515881000,1026.5],[1566516181000,1026.5],[1566516481000,1026.5],[1566516781000,1026.5],[1566517081000,1026.5],[1566517381000,1026.5],[1566517681000,1026.4],[1566517981000,1026.4],[1566518281000,1026.4],[1566518581000,1026.4],[1566518881000,1026.3],[1566519181000,1026.3],[1566519481000,1026.3],[1566519781000,1026.3],[1566520081000,1026.3],[1566520381000,1026.3],[1566520681000,1026.4],[1566520981000,1026.4],[1566521281000,1026.4],[1566521581000,1026.4],[1566521881000,1026.4],[1566522181000,1026.4],[1566522481000,1026.4],[1566522781000,1026.3],[1566523081000,1026.2],[1566523381000,1026.2],[1566523681000,1026.1],[1566523981000,1026.1],[1566524281000,1026.1],[1566524581000,1026.1],[1566524881000,1026.1],[1566525181000,1026.2],[1566525481000,1026.3],[1566525781000,1026.3],[1566526081000,1026.4],[1566526381000,1026.5],[1566526681000,1026.5],[1566526981000,1026.5],[1566527281000,1026.5],[1566527581000,1026.5],[1566527881000,1026.5],[1566528181000,1026.5],[1566528481000,1026.5],[1566528781000,1026.4],[1566529081000,1026.4],[1566529381000,1026.4],[1566529681000,1026.4],[1566529981000,1026.5],[1566530281000,1026.5],[1566530581000,1026.6],[1566530881000,1026.5],[1566531181000,1026.6],[1566531481000,1026.6],[1566531781000,1026.7],[1566532081000,1026.7],[1566532381000,1026.7],[1566532681000,1026.8],[1566532981000,1026.9],[1566533281000,1026.9],[1566533581000,1026.9],[1566533881000,1026.9],[1566534181000,1027],[1566534481000,1027],[1566534781000,1027],[1566535081000,1026.9],[1566535381000,1026.9],[1566535681000,1027],[1566535981000,1027],[1566536281000,1026.9],[1566536581000,1027],[1566536881000,1027],[1566537181000,1027],[1566537481000,1026.9],[1566537781000,1026.9],[1566538081000,1026.9],[1566538381000,1026.9],[1566538681000,1026.8],[1566538981000,1026.7],[1566539281000,1026.8],[1566539581000,1026.8],[1566539881000,1026.8],[1566540181000,1026.8],[1566540481000,1026.8],[1566540781000,1026.8],[1566541081000,1026.9],[1566541381000,1026.9],[1566541681000,1026.9],[1566541981000,1027],[1566542281000,1027],[1566542582000,1027],[1566542881000,1027],[1566543181000,1027],[1566543481000,1027],[1566543781000,1027],[1566544081000,1027.1],[1566544381000,1027.1],[1566544681000,1027.1],[1566544981000,1027.1],[1566545281000,1027.1],[1566545581000,1027.1],[1566545881000,1027.2],[1566546181000,1027.2],[1566546481000,1027.2],[1566546781000,1027.1],[1566547381000,1027],[1566547681000,1027],[1566547981000,1027.1],[1566548281000,1027],[1566548581000,1027.1],[1566548881000,1027.1],[1566549181000,1027],[1566549481000,1026.9],[1566549781000,1026.8],[1566550081000,1026.8],[1566550381000,1026.8],[1566550681000,1026.7],[1566550981000,1026.7],[1566551281000,1026.6],[1566551881000,1026.6],[1566552181000,1026.6],[1566552481000,1026.6],[1566552781000,1026.5],[1566553081000,1026.5],[1566553382000,1026.5],[1566553681000,1026.5],[1566553981000,1026.5],[1566554281000,1026.5],[1566554581000,1026.4],[1566554881000,1026.4],[1566555181000,1026.3],[1566555481000,1026.3],[1566555782000,1026.2],[1566556081000,1026.1],[1566556381000,1026.1],[1566556681000,1026],[1566556981000,1026],[1566557281000,1025.9],[1566557581000,1025.9],[1566557881000,1025.9],[1566558181000,1025.8],[1566558481000,1025.8],[1566558781000,1025.7],[1566559081000,1025.6],[1566559381000,1025.7],[1566559681000,1025.6],[1566559981000,1025.6],[1566560281000,1025.5],[1566560581000,1025.5],[1566560881000,1025.4],[1566561181000,1025.4],[1566561481000,1025.3],[1566561781000,1025.3],[1566562081000,1025.2],[1566562381000,1025.2],[1566562681000,1025.2],[1566562981000,1025.1],[1566563281000,1025.1],[1566563581000,1025.1],[1566563881000,1025.1],[1566564181000,1025],[1566564481000,1025],[1566564781000,1024.9],[1566565081000,1024.9],[1566565381000,1024.9],[1566565681000,1024.9],[1566565981000,1024.8],[1566566281000,1024.8],[1566566581000,1024.7],[1566566881000,1024.6],[1566567181000,1024.6],[1566567481000,1024.5],[1566567781000,1024.5],[1566568081000,1024.5],[1566568381000,1024.4],[1566568681000,1024.4],[1566568981000,1024.4],[1566569282000,1024.4],[1566569581000,1024.4],[1566569881000,1024.4],[1566570181000,1024.3],[1566570481000,1024.4],[1566570781000,1024.3],[1566571081000,1024.2],[1566571381000,1024.2],[1566571681000,1024.1],[1566571981000,1024.1],[1566572281000,1024.1],[1566572581000,1024.1],[1566572881000,1024.1],[1566573181000,1024],[1566573481000,1024],[1566573781000,1024],[1566574081000,1023.9],[1566574681000,1023.9],[1566574981000,1023.8],[1566575281000,1023.8],[1566575581000,1023.7],[1566576181000,1023.7],[1566576481000,1023.7],[1566576781000,1023.7],[1566577081000,1023.7],[1566577381000,1023.7],[1566577681000,1023.7],[1566577981000,1023.7],[1566578281000,1023.7],[1566578581000,1023.7],[1566578881000,1023.7],[1566579181000,1023.7],[1566579481000,1023.8],[1566579781000,1023.8],[1566580081000,1023.8],[1566580381000,1023.8],[1566580681000,1023.8],[1566580981000,1023.8],[1566581281000,1023.9],[1566581581000,1023.9],[1566581881000,1023.9],[1566582181000,1023.9],[1566582481000,1024],[1566582781000,1024],[1566583081000,1024.1],[1566583381000,1024.1],[1566583681000,1024.3],[1566583981000,1024.3],[1566584581000,1024.5],[1566584881000,1024.5],[1566585181000,1024.5],[1566585481000,1024.6],[1566585781000,1024.6],[1566586081000,1024.6],[1566586381000,1024.7],[1566586681000,1024.6],[1566586981000,1024.6],[1566587281000,1024.7],[1566587581000,1024.7],[1566587881000,1024.7],[1566588181000,1024.7],[1566588481000,1024.6],[1566588781000,1024.6],[1566589081000,1024.6],[1566589381000,1024.6],[1566589681000,1024.7],[1566589981000,1024.6],[1566590281000,1024.7],[1566590581000,1024.6],[1566590881000,1024.6],[1566591181000,1024.6],[1566591481000,1024.6],[1566591781000,1024.5],[1566592081000,1024.5],[1566592381000,1024.5],[1566592681000,1024.4],[1566592981000,1024.4],[1566593281000,1024.3],[1566593581000,1024.3],[1566593881000,1024.3],[1566594181000,1024.3],[1566594481000,1024.3],[1566594781000,1024.3],[1566595081000,1024.3],[1566595381000,1024.3],[1566595681000,1024.3],[1566595981000,1024.3],[1566596281000,1024.3],[1566596581000,1024.3],[1566596881000,1024.3],[1566597181000,1024.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: [[1566511201000,0],[1566511381000,0],[1566511681000,0.432],[1566511981000,5.256],[1566512281000,4.176],[1566512581000,0.648],[1566512881000,0],[1566513181000,0],[1566513481000,0],[1566513781000,0],[1566514081000,0],[1566514381000,0],[1566514681000,0],[1566514981000,0],[1566515281000,0],[1566515581000,0],[1566515881000,0],[1566516181000,0],[1566516481000,0],[1566516781000,0],[1566517081000,0],[1566517381000,0],[1566517681000,0],[1566517981000,0],[1566518281000,0],[1566518581000,0],[1566518881000,0],[1566519181000,0],[1566519481000,0],[1566519781000,0],[1566520081000,0],[1566520381000,0.144],[1566520681000,0],[1566520981000,0],[1566521281000,0],[1566521581000,0],[1566521881000,0],[1566522181000,0],[1566522481000,0],[1566522781000,1.584],[1566523081000,0.36],[1566523381000,0],[1566523681000,0],[1566523981000,0],[1566524281000,0],[1566524581000,0],[1566524881000,0],[1566525181000,0],[1566525481000,0],[1566525781000,0.072],[1566526081000,1.296],[1566526381000,1.296],[1566526681000,3.384],[1566526981000,3.168],[1566527281000,0],[1566527581000,0],[1566527881000,0],[1566528181000,0],[1566528481000,0],[1566528781000,0.072],[1566529081000,0.288],[1566529381000,0],[1566529681000,0.144],[1566529981000,0.072],[1566530281000,0],[1566530581000,0],[1566530881000,0],[1566531181000,0],[1566531481000,0],[1566531781000,0],[1566532081000,0],[1566532381000,0.792],[1566532681000,0.144],[1566532981000,2.52],[1566533281000,2.736],[1566533581000,0.792],[1566533881000,0.288],[1566534181000,1.872],[1566534481000,2.808],[1566534781000,4.464],[1566535081000,2.304],[1566535381000,1.872],[1566535681000,0.432],[1566535981000,0],[1566536281000,0],[1566536581000,0],[1566536881000,0],[1566537181000,0],[1566537481000,0.648],[1566537781000,0],[1566538081000,1.224],[1566538381000,4.32],[1566538681000,0.576],[1566538981000,0],[1566539281000,0.288],[1566539581000,1.44],[1566539881000,3.024],[1566540181000,0.144],[1566540481000,3.816],[1566540781000,5.04],[1566541081000,5.616],[1566541381000,6.192],[1566541681000,8.568],[1566541981000,6.984],[1566542281000,3.24],[1566542581000,4.536],[1566542881000,2.736],[1566543181000,1.944],[1566543481000,2.16],[1566543781000,0.576],[1566544081000,3.24],[1566544381000,6.408],[1566544681000,3.168],[1566544981000,0.216],[1566545281000,1.368],[1566545581000,3.96],[1566545881000,5.256],[1566546181000,2.376],[1566546481000,0.648],[1566546781000,5.4],[1566547081000,1.512],[1566547381000,1.368],[1566547681000,2.952],[1566547981000,0.936],[1566548281000,2.304],[1566548581000,6.264],[1566548881000,3.312],[1566549181000,0.792],[1566549481000,1.584],[1566549781000,3.024],[1566550081000,3.672],[1566550381000,4.176],[1566550681000,5.256],[1566550981000,3.888],[1566551281000,3.24],[1566551581000,2.16],[1566551881000,6.408],[1566552181000,5.328],[1566552481000,5.904],[1566552781000,5.4],[1566553081000,13.464],[1566553381000,9],[1566553681000,9.936],[1566553981000,6.192],[1566554281000,6.624],[1566554581000,9.504],[1566554881000,9.936],[1566555181000,5.832],[1566555481000,9.936],[1566555781000,13.536],[1566556081000,11.16],[1566556381000,8.136],[1566556681000,16.128],[1566556981000,16.056],[1566557281000,11.52],[1566557581000,8.784],[1566557881000,10.224],[1566558181000,11.16],[1566558481000,9.432],[1566558781000,7.2],[1566559081000,9.432],[1566559381000,13.104],[1566559681000,14.328],[1566559981000,17.352],[1566560281000,13.896],[1566560581000,5.976],[1566560881000,7.056],[1566561181000,6.048],[1566561481000,7.704],[1566561781000,5.976],[1566562081000,8.568],[1566562381000,6.624],[1566562681000,8.424],[1566562981000,7.344],[1566563281000,6.984],[1566563581000,5.688],[1566563881000,6.768],[1566564181000,4.968],[1566564481000,7.92],[1566564781000,12.744],[1566565081000,7.344],[1566565381000,7.128],[1566565681000,6.696],[1566565981000,5.04],[1566566281000,7.488],[1566566581000,3.96],[1566566881000,4.32],[1566567181000,3.312],[1566567481000,4.248],[1566567781000,4.896],[1566568081000,5.76],[1566568381000,2.736],[1566568681000,2.736],[1566568981000,1.44],[1566569281000,6.192],[1566569581000,4.464],[1566569881000,5.76],[1566570181000,5.688],[1566570481000,6.552],[1566570781000,6.552],[1566571081000,5.04],[1566571381000,3.672],[1566571681000,5.832],[1566571981000,3.24],[1566572281000,4.968],[1566572581000,6.264],[1566572881000,6.552],[1566573181000,5.904],[1566573481000,6.048],[1566573781000,6.912],[1566574081000,6.768],[1566574381000,5.328],[1566574681000,9.36],[1566574981000,5.616],[1566575281000,6.192],[1566575581000,4.32],[1566575881000,3.96],[1566576181000,2.664],[1566576481000,2.952],[1566576781000,3.744],[1566577081000,2.88],[1566577381000,3.816],[1566577681000,1.872],[1566577981000,0],[1566578281000,0.072],[1566578581000,1.44],[1566578881000,0.432],[1566579181000,0.504],[1566579481000,0.72],[1566579781000,0],[1566580081000,0],[1566580381000,0],[1566580681000,0],[1566580981000,0],[1566581281000,0.072],[1566581581000,0.792],[1566581881000,0.36],[1566582181000,0],[1566582481000,0],[1566582781000,0],[1566583081000,0],[1566583381000,0],[1566583681000,0],[1566583981000,0.216],[1566584281000,0],[1566584581000,0],[1566584881000,0],[1566585181000,0],[1566585481000,0],[1566585781000,0],[1566586081000,0],[1566586381000,0],[1566586681000,0],[1566586981000,0],[1566587281000,0],[1566587581000,0.144],[1566587881000,0],[1566588181000,0],[1566588481000,0],[1566588781000,0],[1566589081000,0],[1566589381000,0],[1566589681000,0],[1566589981000,0],[1566590281000,0],[1566590581000,0],[1566590881000,0.072],[1566591181000,0],[1566591481000,0],[1566591781000,0],[1566592081000,0],[1566592381000,0],[1566592681000,0],[1566592981000,0],[1566593281000,0],[1566593581000,0],[1566593881000,0],[1566594181000,0.36],[1566594481000,0],[1566594781000,0],[1566595081000,0.648],[1566595381000,0],[1566595681000,0],[1566595981000,0],[1566596281000,0],[1566596581000,0],[1566596881000,0],[1566597181000,0],[1566597481000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1566511201000,0],[1566511381000,0],[1566511681000,0.74088],[1566511981000,7.73136],[1566512281000,6.21504],[1566512581000,0.9936],[1566512881000,0],[1566513181000,0],[1566513481000,0],[1566513781000,0],[1566514081000,0],[1566514381000,0],[1566514681000,0],[1566514981000,0],[1566515281000,0],[1566515581000,0],[1566515881000,0],[1566516181000,0],[1566516481000,0],[1566516781000,0],[1566517081000,0],[1566517381000,0],[1566517681000,0],[1566517981000,0],[1566518281000,0],[1566518581000,0],[1566518881000,0],[1566519181000,0],[1566519481000,0],[1566519781000,0],[1566520081000,0],[1566520381000,0.18648],[1566520681000,0],[1566520981000,0],[1566521281000,0],[1566521581000,0],[1566521881000,0],[1566522181000,0],[1566522481000,0],[1566522781000,2.48184],[1566523081000,0.56952],[1566523381000,0],[1566523681000,0],[1566523981000,0],[1566524281000,0],[1566524581000,0],[1566524881000,0],[1566525181000,0],[1566525481000,0],[1566525781000,0.19296],[1566526081000,1.86624],[1566526381000,1.84536],[1566526681000,5.03136],[1566526981000,4.6872],[1566527281000,0],[1566527581000,0],[1566527881000,0],[1566528181000,0],[1566528481000,0],[1566528781000,0.10512],[1566529081000,0.37728],[1566529381000,0],[1566529681000,0.21816],[1566529981000,0.0504],[1566530281000,0],[1566530581000,0],[1566530881000,0],[1566531181000,0],[1566531481000,0],[1566531781000,0],[1566532081000,0],[1566532381000,1.23912],[1566532681000,0.20304],[1566532981000,3.91752],[1566533281000,4.21056],[1566533581000,1.35216],[1566533881000,0.45504],[1566534181000,2.95272],[1566534481000,4.26528],[1566534781000,6.67944],[1566535081000,3.52944],[1566535381000,2.81808],[1566535681000,0.58032],[1566535981000,0],[1566536281000,0],[1566536581000,0],[1566536881000,0],[1566537181000,0],[1566537481000,0.95976],[1566537781000,0.0072],[1566538081000,1.86408],[1566538381000,6.59664],[1566538681000,0.93312],[1566538981000,0],[1566539281000,0.45864],[1566539581000,2.1744],[1566539881000,4.63608],[1566540181000,0.22248],[1566540481000,5.89752],[1566540781000,7.65432],[1566541081000,8.72064],[1566541381000,9.47592],[1566541681000,13.17024],[1566541981000,10.65096],[1566542281000,4.87584],[1566542581000,6.98616],[1566542881000,4.3596],[1566543181000,2.87424],[1566543481000,3.28608],[1566543781000,0.86256],[1566544081000,5.13216],[1566544381000,9.57816],[1566544681000,4.63608],[1566544981000,0.28656],[1566545281000,1.94904],[1566545581000,5.90904],[1566545881000,8.05608],[1566546181000,3.53592],[1566546481000,1.1016],[1566546781000,8.2692],[1566547081000,2.30544],[1566547381000,2.27664],[1566547681000,4.42512],[1566547981000,1.31832],[1566548281000,3.4992],[1566548581000,9.41688],[1566548881000,4.95576],[1566549181000,1.2708],[1566549481000,2.30256],[1566549781000,4.61088],[1566550081000,5.58864],[1566550381000,6.408],[1566550681000,8.08272],[1566550981000,5.87376],[1566551281000,4.87008],[1566551581000,3.53088],[1566551881000,10.1304],[1566552181000,8.46216],[1566552481000,9.08568],[1566552781000,8.4312],[1566553081000,21.5388],[1566553381000,13.93632],[1566553681000,15.84792],[1566553981000,9.83592],[1566554281000,10.50048],[1566554581000,15.5016],[1566554881000,15.53184],[1566555181000,9.2808],[1566555481000,15.35256],[1566555781000,21.55392],[1566556081000,17.86104],[1566556381000,12.99744],[1566556681000,25.44264],[1566556981000,25.87608],[1566557281000,18.60048],[1566557581000,14.49576],[1566557881000,16.28424],[1566558181000,18.42048],[1566558481000,14.91264],[1566558781000,11.49048],[1566559081000,15.30216],[1566559381000,21.54096],[1566559681000,22.43088],[1566559981000,27.64872],[1566560281000,22.4172],[1566560581000,9.35352],[1566560881000,11.24208],[1566561181000,9.73872],[1566561481000,11.7864],[1566561781000,9.4068],[1566562081000,14.24376],[1566562381000,10.72728],[1566562681000,13.44456],[1566562981000,11.5308],[1566563281000,10.99152],[1566563581000,8.88192],[1566563881000,10.55952],[1566564181000,7.49448],[1566564481000,12.6144],[1566564781000,21.46248],[1566565081000,11.85984],[1566565381000,11.10816],[1566565681000,10.2276],[1566565981000,7.91928],[1566566281000,11.94768],[1566566581000,6.14952],[1566566881000,6.62688],[1566567181000,5.00832],[1566567481000,6.35616],[1566567781000,7.76376],[1566568081000,9.04176],[1566568381000,4.29696],[1566568681000,3.95424],[1566568981000,2.07504],[1566569281000,9.44496],[1566569581000,6.88824],[1566569881000,9.00216],[1566570181000,8.94168],[1566570481000,10.4832],[1566570781000,10.13832],[1566571081000,7.78608],[1566571381000,5.7888],[1566571681000,8.9496],[1566571981000,4.94208],[1566572281000,7.62984],[1566572581000,9.57672],[1566572881000,10.31544],[1566573181000,9.08352],[1566573481000,9.5832],[1566573781000,10.78056],[1566574081000,10.50768],[1566574381000,8.334],[1566574681000,14.95872],[1566574981000,8.81712],[1566575281000,9.83376],[1566575581000,6.60672],[1566575881000,5.99184],[1566576181000,4.10688],[1566576481000,4.59144],[1566576781000,5.86512],[1566577081000,4.25592],[1566577381000,5.74704],[1566577681000,2.95776],[1566577981000,0],[1566578281000,0.16344],[1566578581000,2.07648],[1566578881000,0.68544],[1566579181000,0.63432],[1566579481000,1.11024],[1566579781000,0],[1566580081000,0.0396],[1566580381000,0],[1566580681000,0],[1566580981000,0],[1566581281000,0.08064],[1566581581000,1.22184],[1566581881000,0.5076],[1566582181000,0],[1566582481000,0],[1566582781000,0],[1566583081000,0],[1566583381000,0],[1566583681000,0],[1566583981000,0.29304],[1566584281000,0],[1566584581000,0],[1566584881000,0],[1566585181000,0],[1566585481000,0],[1566585781000,0],[1566586081000,0],[1566586381000,0],[1566586681000,0],[1566586981000,0],[1566587281000,0],[1566587581000,0.21456],[1566587881000,0],[1566588181000,0],[1566588481000,0],[1566588781000,0],[1566589081000,0],[1566589381000,0],[1566589681000,0],[1566589981000,0],[1566590281000,0],[1566590581000,0],[1566590881000,0.11088],[1566591181000,0],[1566591481000,0],[1566591781000,0],[1566592081000,0],[1566592381000,0],[1566592681000,0],[1566592981000,0],[1566593281000,0],[1566593581000,0],[1566593881000,0],[1566594181000,0.5652],[1566594481000,0],[1566594781000,0],[1566595081000,0.93744],[1566595381000,0],[1566595681000,0],[1566595981000,0],[1566596281000,0],[1566596581000,0],[1566596881000,0],[1566597181000,0],[1566597481000,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: [[1566511201000,135.00000000],[1566511381000,135.00000000],[1566511681000,54.00000000],[1566511981000,2.46000000],[1566512281000,27.00000000],[1566512581000,31.90000000],[1566512881000,0.00000000],[1566513181000,0.00000000],[1566513481000,0.00000000],[1566513781000,0.00000000],[1566514081000,0.00000000],[1566514381000,0.00000000],[1566514681000,0.00000000],[1566514981000,27.00000000],[1566515281000,0.00000000],[1566515581000,66.28000000],[1566515881000,135.00000000],[1566516181000,135.00000000],[1566516481000,135.00000000],[1566516781000,135.00000000],[1566517081000,135.00000000],[1566517381000,135.00000000],[1566517681000,135.00000000],[1566517981000,135.00000000],[1566518281000,135.00000000],[1566518581000,135.00000000],[1566518881000,135.00000000],[1566519181000,135.00000000],[1566519481000,135.00000000],[1566519781000,135.00000000],[1566520081000,132.54000000],[1566520381000,54.00000000],[1566520681000,0.00000000],[1566520981000,0.00000000],[1566521281000,27.00000000],[1566521581000,0.00000000],[1566521881000,27.00000000],[1566522181000,27.00000000],[1566522481000,0.00000000],[1566522781000,27.00000000],[1566523081000,27.00000000],[1566523381000,27.00000000],[1566523681000,0.00000000],[1566523981000,0.00000000],[1566524281000,0.00000000],[1566524581000,22.10000000],[1566524881000,0.00000000],[1566525181000,14.72000000],[1566525481000,0.00000000],[1566525781000,0.00000000],[1566526081000,88.36000000],[1566526381000,135.00000000],[1566526681000,135.00000000],[1566526981000,135.00000000],[1566527281000,135.00000000],[1566527581000,135.00000000],[1566527881000,135.00000000],[1566528181000,135.00000000],[1566528481000,139.90000000],[1566528781000,169.36000000],[1566529081000,62.58000000],[1566529381000,25.76000000],[1566529681000,69.96000000],[1566529981000,173.04000000],[1566530281000,202.50000000],[1566530581000,202.50000000],[1566530881000,162.02000000],[1566531181000,146.06000000],[1566531481000,202.50000000],[1566531781000,192.68000000],[1566532081000,135.00000000],[1566532381000,135.00000000],[1566532681000,134.98000000],[1566532981000,169.38000000],[1566533281000,132.56000000],[1566533581000,168.16000000],[1566533881000,0.00000000],[1566534181000,14.72000000],[1566534481000,7.36000000],[1566534781000,62.60000000],[1566535081000,95.72000000],[1566535381000,114.16000000],[1566535681000,162.02000000],[1566535981000,169.38000000],[1566536281000,180.42000000],[1566536581000,198.82000000],[1566536881000,187.78000000],[1566537181000,55.22000000],[1566537481000,117.42000000],[1566537781000,0.00000000],[1566538081000,49.10000000],[1566538381000,112.92000000],[1566538681000,130.10000000],[1566538981000,115.36000000],[1566539281000,110.46000000],[1566539581000,110.46000000],[1566539881000,98.18000000],[1566540181000,98.18000000],[1566540481000,49.08000000],[1566540781000,41.72000000],[1566541081000,103.10000000],[1566541381000,93.30000000],[1566541681000,41.72000000],[1566541981000,66.26000000],[1566542281000,108.00000000],[1566542581000,63.80000000],[1566542881000,127.64000000],[1566543181000,112.90000000],[1566543481000,61.36000000],[1566543781000,12.28000000],[1566544081000,66.28000000],[1566544381000,0.00000000],[1566544681000,24.54000000],[1566544981000,78.54000000],[1566545281000,17.18000000],[1566545581000,9.82000000],[1566545881000,0.00000000],[1566546181000,2.46000000],[1566546481000,44.18000000],[1566546781000,0.00000000],[1566547081000,0.00000000],[1566547381000,7.36000000],[1566547681000,2.46000000],[1566547981000,0.00000000],[1566548281000,71.18000000],[1566548581000,22.10000000],[1566548881000,9.82000000],[1566549181000,31.90000000],[1566549481000,31.92000000],[1566549781000,39.28000000],[1566550081000,0.00000000],[1566550381000,9.82000000],[1566550681000,44.18000000],[1566550981000,19.64000000],[1566551281000,33.16000000],[1566551581000,46.64000000],[1566551881000,39.30000000],[1566552181000,17.18000000],[1566552481000,55.22000000],[1566552781000,24.56000000],[1566553081000,2.46000000],[1566553381000,22.08000000],[1566553681000,39.28000000],[1566553981000,4.90000000],[1566554281000,17.20000000],[1566554581000,2.46000000],[1566554881000,0.00000000],[1566555181000,34.36000000],[1566555481000,24.54000000],[1566555781000,0.00000000],[1566556081000,2.46000000],[1566556381000,31.92000000],[1566556681000,2.46000000],[1566556981000,24.54000000],[1566557281000,41.72000000],[1566557581000,29.46000000],[1566557881000,29.48000000],[1566558181000,29.46000000],[1566558481000,4.92000000],[1566558781000,34.38000000],[1566559081000,4.90000000],[1566559381000,12.28000000],[1566559681000,9.80000000],[1566559981000,7.36000000],[1566560281000,39.26000000],[1566560581000,22.10000000],[1566560881000,73.62000000],[1566561181000,99.42000000],[1566561481000,50.32000000],[1566561781000,100.64000000],[1566562081000,119.04000000],[1566562381000,112.92000000],[1566562681000,119.04000000],[1566562981000,31.90000000],[1566563281000,34.76000000],[1566563581000,17.60000000],[1566563881000,13.50000000],[1566564181000,78.12000000],[1566564481000,26.60000000],[1566564781000,28.24000000],[1566565081000,58.10000000],[1566565381000,117.84000000],[1566565681000,82.64000000],[1566565981000,43.78000000],[1566566281000,84.26000000],[1566566581000,48.26000000],[1566566881000,73.64000000],[1566567181000,72.40000000],[1566567481000,54.82000000],[1566567781000,51.56000000],[1566568081000,13.10000000],[1566568381000,81.82000000],[1566568681000,175.10000000],[1566568981000,21.68000000],[1566569281000,37.24000000],[1566569581000,7.36000000],[1566569881000,12.28000000],[1566570181000,41.74000000],[1566570481000,24.54000000],[1566570781000,44.16000000],[1566571081000,44.18000000],[1566571381000,49.10000000],[1566571681000,66.28000000],[1566571981000,61.34000000],[1566572281000,49.08000000],[1566572581000,17.18000000],[1566572881000,19.64000000],[1566573181000,41.72000000],[1566573481000,76.10000000],[1566573781000,110.46000000],[1566574081000,115.36000000],[1566574381000,93.28000000],[1566574681000,98.18000000],[1566574981000,93.26000000],[1566575281000,76.08000000],[1566575581000,103.10000000],[1566575881000,88.36000000],[1566576181000,100.64000000],[1566576481000,63.82000000],[1566576781000,51.54000000],[1566577081000,66.26000000],[1566577381000,56.46000000],[1566577681000,78.56000000],[1566577981000,7.36000000],[1566578281000,98.18000000],[1566578581000,98.18000000],[1566578881000,71.20000000],[1566579181000,130.10000000],[1566579481000,108.00000000],[1566579781000,68.72000000],[1566580081000,135.00000000],[1566580381000,135.00000000],[1566580681000,135.00000000],[1566580981000,78.54000000],[1566581281000,117.82000000],[1566581581000,108.00000000],[1566581881000,132.54000000],[1566582181000,135.00000000],[1566582481000,79.76000000],[1566582781000,72.82000000],[1566583081000,132.96000000],[1566583381000,130.10000000],[1566583681000,135.00000000],[1566583981000,135.00000000],[1566584281000,135.00000000],[1566584581000,135.00000000],[1566584881000,135.00000000],[1566585181000,132.54000000],[1566585481000,110.46000000],[1566585781000,112.90000000],[1566586081000,135.00000000],[1566586381000,135.00000000],[1566586681000,135.00000000],[1566586981000,135.00000000],[1566587281000,135.00000000],[1566587581000,135.00000000],[1566587881000,135.00000000],[1566588181000,135.00000000],[1566588481000,135.00000000],[1566588781000,135.00000000],[1566589081000,135.00000000],[1566589381000,135.00000000],[1566589681000,135.00000000],[1566589981000,135.00000000],[1566590281000,135.00000000],[1566590581000,135.00000000],[1566590881000,132.54000000],[1566591181000,130.08000000],[1566591481000,112.90000000],[1566591781000,135.00000000],[1566592081000,135.00000000],[1566592381000,135.00000000],[1566592681000,135.00000000],[1566592981000,135.00000000],[1566593281000,135.00000000],[1566593581000,135.00000000],[1566593881000,135.00000000],[1566594181000,117.82000000],[1566594481000,135.00000000],[1566594781000,127.64000000],[1566595081000,9.82000000],[1566595381000,115.36000000],[1566595681000,135.00000000],[1566595981000,135.00000000],[1566596281000,135.00000000],[1566596581000,105.54000000],[1566596881000,135.00000000],[1566597181000,112.90000000],[1566597481000,6.15000000],], 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: [[1566583321000,2.23520000],], 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; }