var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1581548401000,2.90000000],[1581548581000,2.86000000],[1581548881000,2.80000000],[1581549181000,2.78000000],[1581549481000,2.70000000],[1581549781000,2.68000000],[1581550081000,2.60000000],[1581550381000,2.48000000],[1581550681000,2.48000000],[1581550981000,2.48000000],[1581551281000,2.52000000],[1581551581000,2.56000000],[1581551881000,2.52000000],[1581552181000,2.56000000],[1581552481000,2.56000000],[1581552781000,2.60000000],[1581553081000,2.50000000],[1581553381000,2.50000000],[1581553681000,2.50000000],[1581553981000,2.50000000],[1581554281000,2.50000000],[1581554581000,2.50000000],[1581554881000,2.54000000],[1581555181000,2.54000000],[1581555481000,2.50000000],[1581555781000,2.52000000],[1581556081000,2.60000000],[1581556381000,2.54000000],[1581556681000,2.42000000],[1581556981000,2.42000000],[1581557281000,2.46000000],[1581557581000,2.46000000],[1581557881000,2.42000000],[1581558181000,2.40000000],[1581558481000,2.40000000],[1581558781000,2.40000000],[1581559081000,2.40000000],[1581559381000,2.46000000],[1581559681000,2.50000000],[1581559981000,2.52000000],[1581560281000,2.42000000],[1581560581000,2.42000000],[1581560881000,2.44000000],[1581561181000,2.50000000],[1581561481000,2.58000000],[1581561781000,2.60000000],[1581562081000,2.50000000],[1581562381000,2.52000000],[1581562681000,2.48000000],[1581562981000,2.46000000],[1581563281000,2.48000000],[1581563581000,2.44000000],[1581563881000,2.34000000],[1581564181000,2.30000000],[1581564482000,2.30000000],[1581564781000,2.24000000],[1581565081000,2.12000000],[1581565381000,2.06000000],[1581565681000,2.14000000],[1581565981000,2.10000000],[1581566281000,2.00000000],[1581566581000,2.00000000],[1581566881000,1.94000000],[1581567181000,1.94000000],[1581567481000,1.72000000],[1581567781000,1.50000000],[1581568081000,1.22000000],[1581568381000,1.04000000],[1581568681000,0.82000000],[1581568981000,0.52000000],[1581569281000,0.30000000],[1581569581000,0.04000000],[1581569881000,-0.16000000],[1581570181000,-0.32000000],[1581570481000,-0.46000000],[1581570781000,-0.44000000],[1581571081000,-0.24000000],[1581571381000,0.18000000],[1581571681000,0.30000000],[1581571981000,0.48000000],[1581572281000,0.42000000],[1581572581000,0.40000000],[1581572881000,0.38000000],[1581573181000,0.30000000],[1581573481000,0.20000000],[1581573781000,-0.04000000],[1581574081000,-0.20000000],[1581574381000,-0.34000000],[1581574681000,-0.44000000],[1581574981000,-0.50000000],[1581575281000,-0.50000000],[1581575581000,-0.44000000],[1581575881000,-0.34000000],[1581576181000,-0.28000000],[1581576481000,-0.08000000],[1581576781000,-0.10000000],[1581577081000,-0.10000000],[1581577381000,-0.10000000],[1581577681000,-0.20000000],[1581577981000,0.02000000],[1581578281000,0.36000000],[1581578581000,0.84000000],[1581578881000,1.34000000],[1581579181000,1.74000000],[1581579481000,2.40000000],[1581579781000,3.02000000],[1581580081000,3.46000000],[1581580381000,3.84000000],[1581580681000,4.40000000],[1581580981000,5.10000000],[1581581281000,5.38000000],[1581581581000,5.86000000],[1581581881000,6.18000000],[1581582181000,6.42000000],[1581582481000,6.44000000],[1581582781000,6.52000000],[1581583081000,6.94000000],[1581583381000,7.12000000],[1581583681000,7.52000000],[1581583981000,7.82000000],[1581584281000,7.80000000],[1581584581000,7.82000000],[1581584881000,8.04000000],[1581585181000,8.06000000],[1581585481000,7.80000000],[1581585781000,7.68000000],[1581586081000,7.88000000],[1581586381000,8.24000000],[1581586681000,8.54000000],[1581586981000,8.40000000],[1581587281000,8.14000000],[1581587581000,8.20000000],[1581587882000,8.24000000],[1581588181000,8.58000000],[1581588481000,8.32000000],[1581588781000,8.20000000],[1581589081000,8.44000000],[1581589381000,8.54000000],[1581589681000,8.88000000],[1581589981000,8.62000000],[1581590281000,9.10000000],[1581590581000,9.14000000],[1581590881000,9.02000000],[1581591181000,9.46000000],[1581591481000,9.70000000],[1581591781000,9.62000000],[1581592081000,9.54000000],[1581592381000,9.30000000],[1581592681000,9.22000000],[1581592981000,9.90000000],[1581593281000,9.50000000],[1581593581000,9.30000000],[1581593881000,9.14000000],[1581594181000,9.08000000],[1581594481000,9.00000000],[1581594781000,8.82000000],[1581595081000,8.72000000],[1581595381000,8.78000000],[1581595681000,8.72000000],[1581595981000,8.54000000],[1581596281000,8.70000000],[1581596581000,9.04000000],[1581596881000,9.06000000],[1581597181000,8.96000000],[1581597481000,8.48000000],[1581597781000,8.94000000],[1581598081000,8.84000000],[1581598381000,8.94000000],[1581598681000,8.94000000],[1581598981000,8.70000000],[1581599281000,8.42000000],[1581599581000,8.62000000],[1581599881000,8.76000000],[1581600181000,8.70000000],[1581600481000,9.00000000],[1581600781000,9.08000000],[1581601081000,9.02000000],[1581601381000,8.72000000],[1581601681000,8.86000000],[1581601981000,8.72000000],[1581602281000,8.64000000],[1581602581000,8.50000000],[1581602881000,8.52000000],[1581603181000,8.52000000],[1581603481000,8.64000000],[1581603781000,8.72000000],[1581604081000,8.66000000],[1581604381000,8.58000000],[1581604681000,8.48000000],[1581604981000,8.32000000],[1581605281000,8.16000000],[1581605581000,8.02000000],[1581605881000,7.92000000],[1581606181000,7.88000000],[1581606481000,7.80000000],[1581606781000,7.76000000],[1581607081000,7.68000000],[1581607381000,7.62000000],[1581607681000,7.52000000],[1581607981000,7.42000000],[1581608281000,7.40000000],[1581608581000,7.30000000],[1581608881000,7.26000000],[1581609181000,7.24000000],[1581609481000,7.20000000],[1581609781000,7.10000000],[1581610081000,7.06000000],[1581610381000,7.00000000],[1581610681000,6.98000000],[1581610981000,6.98000000],[1581611281000,6.92000000],[1581611581000,6.86000000],[1581611881000,6.80000000],[1581612181000,6.78000000],[1581612481000,6.58000000],[1581612781000,6.18000000],[1581613081000,5.82000000],[1581613381000,5.72000000],[1581613681000,5.88000000],[1581613981000,5.86000000],[1581614281000,5.78000000],[1581614582000,5.76000000],[1581614881000,5.82000000],[1581615181000,5.88000000],[1581615481000,5.88000000],[1581615781000,5.84000000],[1581616081000,5.80000000],[1581616381000,5.72000000],[1581616681000,5.64000000],[1581616981000,5.56000000],[1581617281000,5.42000000],[1581617581000,5.22000000],[1581617881000,5.20000000],[1581618181000,5.28000000],[1581618481000,5.28000000],[1581618781000,5.22000000],[1581619081000,5.28000000],[1581619381000,5.30000000],[1581619681000,5.22000000],[1581619981000,5.10000000],[1581620281000,4.94000000],[1581620581000,4.78000000],[1581620881000,4.72000000],[1581621181000,4.70000000],[1581621481000,4.70000000],[1581621781000,4.70000000],[1581622081000,4.70000000],[1581622381000,4.70000000],[1581622681000,4.70000000],[1581622981000,4.70000000],[1581623281000,4.70000000],[1581623581000,4.70000000],[1581623881000,4.62000000],[1581624181000,4.64000000],[1581624481000,4.82000000],[1581624781000,4.92000000],[1581625081000,5.00000000],[1581625381000,5.00000000],[1581625681000,5.14000000],[1581625981000,5.18000000],[1581626281000,5.12000000],[1581626581000,5.10000000],[1581626881000,5.10000000],[1581627181000,5.10000000],[1581627481000,5.10000000],[1581627781000,5.08000000],[1581628081000,5.06000000],[1581628381000,5.04000000],[1581628681000,5.00000000],[1581628981000,4.94000000],[1581629281000,4.84000000],[1581629581000,4.76000000],[1581629881000,4.64000000],[1581630181000,4.54000000],[1581630481000,4.48000000],[1581630781000,4.36000000],[1581631081000,4.30000000],[1581631381000,4.22000000],[1581631681000,4.20000000],[1581631981000,4.20000000],[1581632281000,4.16000000],[1581632581000,4.22000000],[1581632881000,4.30000000],[1581633181000,4.30000000],[1581633481000,4.30000000],[1581633781000,4.30000000],[1581634081000,4.42000000],[1581634381000,4.52000000],[1581634681000,4.50000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1581548401000,2.9],[1581548581000,2.9],[1581548881000,2.8],[1581549181000,2.8],[1581549481000,2.7],[1581549781000,2.7],[1581550081000,2.6],[1581550381000,2.5],[1581550681000,2.5],[1581550981000,2.5],[1581551281000,2.5],[1581551581000,2.6],[1581551881000,2.5],[1581552181000,2.6],[1581552481000,2.6],[1581552781000,2.6],[1581553081000,2.5],[1581553381000,2.5],[1581553681000,2.5],[1581553981000,2.5],[1581554281000,2.5],[1581554581000,2.5],[1581554881000,2.5],[1581555181000,2.5],[1581555481000,2.5],[1581555781000,2.5],[1581556081000,2.6],[1581556381000,2.5],[1581556681000,2.4],[1581556981000,2.4],[1581557281000,2.5],[1581557581000,2.5],[1581557881000,2.4],[1581558181000,2.4],[1581558481000,2.4],[1581558781000,2.4],[1581559081000,2.4],[1581559381000,2.5],[1581559681000,2.5],[1581559981000,2.5],[1581560281000,2.4],[1581560581000,2.4],[1581560881000,2.4],[1581561181000,2.5],[1581561481000,2.6],[1581561781000,2.6],[1581562081000,2.5],[1581562381000,2.5],[1581562681000,2.5],[1581562981000,2.5],[1581563281000,2.5],[1581563581000,2.4],[1581563881000,2.3],[1581564181000,2.3],[1581564781000,2.2],[1581565081000,2.1],[1581565381000,2.1],[1581565681000,2.1],[1581565981000,2.1],[1581566281000,2],[1581566581000,2],[1581566881000,1.9],[1581567181000,1.9],[1581567481000,1.7],[1581567781000,1.5],[1581568081000,1.2],[1581568381000,1],[1581568681000,0.8],[1581568981000,0.5],[1581569281000,0.3],[1581569581000,0],[1581569881000,-0.2],[1581570181000,-0.3],[1581570481000,-0.5],[1581570781000,-0.4],[1581571081000,-0.2],[1581571381000,0.2],[1581571681000,0.3],[1581571981000,0.5],[1581572281000,0.4],[1581572581000,0.4],[1581572881000,0.4],[1581573181000,0.3],[1581573481000,0.2],[1581573781000,-0],[1581574081000,-0.2],[1581574381000,-0.3],[1581574681000,-0.4],[1581574981000,-0.5],[1581575281000,-0.5],[1581575581000,-0.4],[1581575881000,-0.3],[1581576181000,-0.3],[1581576481000,-0.1],[1581576781000,-0.1],[1581577081000,-0.1],[1581577381000,-0.1],[1581577681000,-0.2],[1581577981000,0],[1581578281000,0.4],[1581578581000,0.8],[1581578881000,1.3],[1581579181000,1.7],[1581579481000,2.4],[1581579781000,3],[1581580081000,3.5],[1581580381000,3.8],[1581580681000,4.4],[1581580981000,4.9],[1581581281000,4.2],[1581581581000,3.9],[1581581881000,3.7],[1581582181000,3.5],[1581582481000,3.5],[1581582781000,3.6],[1581583081000,3.3],[1581583381000,3.3],[1581583681000,3],[1581583981000,2.7],[1581584281000,2.7],[1581584581000,2.3],[1581584881000,2],[1581585181000,1.9],[1581585481000,1.7],[1581585781000,1.2],[1581586081000,1],[1581586381000,0.8],[1581586681000,0.6],[1581586981000,0.3],[1581587281000,-0.1],[1581587581000,0.2],[1581587882000,-0],[1581588181000,-0.2],[1581588481000,-0.5],[1581588781000,-0.3],[1581589081000,-0.4],[1581589381000,0.1],[1581589681000,0.2],[1581589981000,0.1],[1581590281000,0.3],[1581590581000,0.5],[1581590881000,0.5],[1581591181000,0.8],[1581591481000,0.9],[1581591781000,0.8],[1581592081000,0.6],[1581592381000,0.2],[1581592681000,0.5],[1581592981000,1.1],[1581593281000,0.9],[1581593581000,1.2],[1581593881000,1.1],[1581594181000,1.4],[1581594481000,1.7],[1581594781000,1.9],[1581595081000,2.1],[1581595381000,2.3],[1581595681000,2.4],[1581595981000,2.3],[1581596281000,2.5],[1581596581000,2.5],[1581596881000,2.4],[1581597181000,2.4],[1581597481000,2.1],[1581597781000,2.1],[1581598081000,1.7],[1581598381000,1.9],[1581598681000,2],[1581598981000,1.7],[1581599281000,1.5],[1581599581000,1.8],[1581599881000,1.7],[1581600181000,1.8],[1581600481000,1.5],[1581600781000,1.5],[1581601081000,1.4],[1581601381000,1.2],[1581601681000,1.3],[1581601981000,1.1],[1581602281000,1.2],[1581602581000,1.2],[1581602881000,1.3],[1581603181000,1.5],[1581603481000,1.7],[1581603781000,2.1],[1581604081000,2.2],[1581604381000,2.2],[1581604681000,2.4],[1581604981000,2.3],[1581605281000,2.4],[1581605581000,2.4],[1581605881000,2.4],[1581606181000,2.5],[1581606481000,2.4],[1581606781000,2.6],[1581607081000,2.5],[1581607381000,2.6],[1581607681000,2.7],[1581607981000,2.8],[1581608281000,2.8],[1581608581000,3.1],[1581608881000,3.1],[1581609181000,3.1],[1581609481000,3.3],[1581609781000,3.2],[1581610081000,3.2],[1581610381000,3.1],[1581610681000,3.2],[1581610981000,3.2],[1581611281000,3.4],[1581611581000,3.5],[1581611881000,3.5],[1581612181000,3.7],[1581612481000,4],[1581612781000,4.6],[1581613081000,4.8],[1581613381000,4.4],[1581613681000,4.3],[1581613981000,4.2],[1581614281000,4.3],[1581614582000,4.3],[1581614881000,4.3],[1581615181000,4.4],[1581615481000,4.5],[1581615781000,4.5],[1581616081000,4.5],[1581616381000,4.7],[1581616681000,4.7],[1581616981000,4.8],[1581617281000,5],[1581617581000,5.1],[1581617881000,5.1],[1581618181000,5.2],[1581618481000,5.2],[1581618781000,5.2],[1581619081000,5.2],[1581619381000,5.2],[1581619681000,5.2],[1581619981000,5.1],[1581620281000,4.9],[1581620581000,4.8],[1581620881000,4.7],[1581621181000,4.7],[1581621481000,4.7],[1581621781000,4.7],[1581622081000,4.7],[1581622381000,4.7],[1581622681000,4.7],[1581622981000,4.7],[1581623281000,4.7],[1581623581000,4.7],[1581623881000,4.6],[1581624181000,4.6],[1581624481000,4.8],[1581624781000,4.9],[1581625081000,5],[1581625381000,5],[1581625681000,5.1],[1581625981000,5.2],[1581626281000,5.1],[1581626581000,5.1],[1581626881000,5.1],[1581627181000,5.1],[1581627481000,5.1],[1581627781000,5.1],[1581628081000,5.1],[1581628381000,5],[1581628681000,5],[1581628981000,4.9],[1581629281000,4.8],[1581629581000,4.8],[1581629881000,4.6],[1581630181000,4.5],[1581630481000,4.5],[1581630781000,4.4],[1581631081000,4.3],[1581631381000,4.2],[1581631681000,4.2],[1581631981000,4.2],[1581632281000,4.2],[1581632581000,4.2],[1581632881000,4.3],[1581633181000,4.3],[1581633481000,4.3],[1581633781000,4.3],[1581634081000,4.4],[1581634381000,4.5],[1581634681000,4.5],], 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: [[1581548401000,100.00000000],[1581548581000,100.00000000],[1581548881000,100.00000000],[1581549181000,100.00000000],[1581549481000,100.00000000],[1581549781000,100.00000000],[1581550081000,100.00000000],[1581550381000,100.00000000],[1581550681000,100.00000000],[1581550981000,100.00000000],[1581551281000,100.00000000],[1581551581000,100.00000000],[1581551881000,100.00000000],[1581552181000,100.00000000],[1581552481000,100.00000000],[1581552781000,100.00000000],[1581553081000,100.00000000],[1581553381000,100.00000000],[1581553681000,100.00000000],[1581553981000,100.00000000],[1581554281000,100.00000000],[1581554581000,100.00000000],[1581554881000,100.00000000],[1581555181000,100.00000000],[1581555481000,100.00000000],[1581555781000,100.00000000],[1581556081000,100.00000000],[1581556381000,100.00000000],[1581556681000,100.00000000],[1581556981000,100.00000000],[1581557281000,100.00000000],[1581557581000,100.00000000],[1581557881000,100.00000000],[1581558181000,100.00000000],[1581558481000,100.00000000],[1581558781000,100.00000000],[1581559081000,100.00000000],[1581559381000,100.00000000],[1581559681000,100.00000000],[1581559981000,100.00000000],[1581560281000,100.00000000],[1581560581000,100.00000000],[1581560881000,100.00000000],[1581561181000,100.00000000],[1581561481000,100.00000000],[1581561781000,100.00000000],[1581562081000,100.00000000],[1581562381000,100.00000000],[1581562681000,100.00000000],[1581562981000,100.00000000],[1581563281000,100.00000000],[1581563581000,100.00000000],[1581563881000,100.00000000],[1581564181000,100.00000000],[1581564481000,100.00000000],[1581564781000,100.00000000],[1581565081000,100.00000000],[1581565381000,100.00000000],[1581565681000,100.00000000],[1581565981000,100.00000000],[1581566281000,100.00000000],[1581566581000,100.00000000],[1581566881000,100.00000000],[1581567181000,100.00000000],[1581567481000,100.00000000],[1581567781000,100.00000000],[1581568081000,100.00000000],[1581568381000,100.00000000],[1581568681000,100.00000000],[1581568981000,100.00000000],[1581569281000,100.00000000],[1581569581000,100.00000000],[1581569881000,100.00000000],[1581570181000,100.00000000],[1581570481000,100.00000000],[1581570781000,100.00000000],[1581571081000,100.00000000],[1581571381000,100.00000000],[1581571681000,100.00000000],[1581571981000,100.00000000],[1581572281000,100.00000000],[1581572581000,100.00000000],[1581572881000,100.00000000],[1581573181000,100.00000000],[1581573481000,100.00000000],[1581573781000,100.00000000],[1581574081000,100.00000000],[1581574381000,100.00000000],[1581574681000,100.00000000],[1581574981000,100.00000000],[1581575281000,100.00000000],[1581575581000,100.00000000],[1581575881000,100.00000000],[1581576181000,100.00000000],[1581576481000,100.00000000],[1581576781000,100.00000000],[1581577081000,100.00000000],[1581577381000,100.00000000],[1581577681000,100.00000000],[1581577981000,100.00000000],[1581578281000,100.00000000],[1581578581000,100.00000000],[1581578881000,100.00000000],[1581579181000,100.00000000],[1581579481000,100.00000000],[1581579781000,100.00000000],[1581580081000,100.00000000],[1581580381000,100.00000000],[1581580681000,100.00000000],[1581580981000,98.56000000],[1581581281000,92.44000000],[1581581581000,87.48000000],[1581581881000,84.18000000],[1581582181000,81.66000000],[1581582481000,81.80000000],[1581582781000,81.80000000],[1581583081000,77.82000000],[1581583381000,77.16000000],[1581583681000,73.54000000],[1581583981000,70.20000000],[1581584281000,70.60000000],[1581584581000,68.42000000],[1581584881000,66.14000000],[1581585181000,65.50000000],[1581585481000,65.72000000],[1581585781000,63.92000000],[1581586081000,62.08000000],[1581586381000,59.74000000],[1581586681000,57.72000000],[1581586981000,56.98000000],[1581587281000,56.44000000],[1581587581000,57.36000000],[1581587882000,56.28000000],[1581588181000,54.40000000],[1581588481000,54.26000000],[1581588781000,55.24000000],[1581589081000,53.94000000],[1581589381000,55.76000000],[1581589681000,54.74000000],[1581589981000,55.56000000],[1581590281000,54.40000000],[1581590581000,55.16000000],[1581590881000,55.38000000],[1581591181000,55.16000000],[1581591481000,54.54000000],[1581591781000,54.56000000],[1581592081000,53.94000000],[1581592381000,53.30000000],[1581592681000,54.60000000],[1581592981000,54.64000000],[1581593281000,55.40000000],[1581593581000,57.10000000],[1581593881000,57.46000000],[1581594181000,58.98000000],[1581594481000,60.34000000],[1581594781000,62.20000000],[1581595081000,63.46000000],[1581595381000,64.00000000],[1581595681000,64.76000000],[1581595981000,65.22000000],[1581596281000,65.38000000],[1581596581000,63.78000000],[1581596881000,63.38000000],[1581597181000,63.70000000],[1581597481000,64.60000000],[1581597781000,62.36000000],[1581598081000,61.28000000],[1581598381000,61.46000000],[1581598681000,62.16000000],[1581598981000,61.76000000],[1581599281000,62.24000000],[1581599581000,62.54000000],[1581599881000,61.62000000],[1581600181000,62.16000000],[1581600481000,59.70000000],[1581600781000,59.40000000],[1581601081000,59.38000000],[1581601381000,59.50000000],[1581601681000,59.30000000],[1581601981000,59.04000000],[1581602281000,59.84000000],[1581602581000,60.62000000],[1581602881000,60.96000000],[1581603181000,61.60000000],[1581603481000,61.92000000],[1581603781000,63.26000000],[1581604081000,64.10000000],[1581604381000,64.74000000],[1581604681000,65.72000000],[1581604981000,66.28000000],[1581605281000,67.12000000],[1581605581000,68.04000000],[1581605881000,68.52000000],[1581606181000,68.86000000],[1581606481000,69.10000000],[1581606781000,70.10000000],[1581607081000,70.24000000],[1581607381000,70.96000000],[1581607681000,71.96000000],[1581607981000,72.90000000],[1581608281000,73.00000000],[1581608581000,74.78000000],[1581608881000,74.90000000],[1581609181000,75.16000000],[1581609481000,76.68000000],[1581609781000,76.74000000],[1581610081000,76.82000000],[1581610381000,76.64000000],[1581610681000,77.38000000],[1581610981000,77.18000000],[1581611281000,78.26000000],[1581611581000,79.12000000],[1581611881000,79.52000000],[1581612181000,80.86000000],[1581612481000,83.80000000],[1581612781000,89.74000000],[1581613081000,93.18000000],[1581613381000,91.24000000],[1581613681000,89.54000000],[1581613981000,89.30000000],[1581614281000,90.46000000],[1581614582000,90.32000000],[1581614881000,89.80000000],[1581615181000,90.40000000],[1581615481000,91.02000000],[1581615781000,90.94000000],[1581616081000,91.48000000],[1581616381000,93.00000000],[1581616681000,93.64000000],[1581616981000,94.96000000],[1581617281000,97.18000000],[1581617581000,99.24000000],[1581617881000,99.26000000],[1581618181000,99.18000000],[1581618481000,99.42000000],[1581618781000,99.80000000],[1581619081000,99.66000000],[1581619381000,99.30000000],[1581619681000,99.76000000],[1581619981000,100.00000000],[1581620281000,100.00000000],[1581620581000,100.00000000],[1581620881000,100.00000000],[1581621181000,100.00000000],[1581621481000,100.00000000],[1581621781000,100.00000000],[1581622081000,100.00000000],[1581622381000,100.00000000],[1581622681000,100.00000000],[1581622981000,100.00000000],[1581623281000,100.00000000],[1581623581000,100.00000000],[1581623881000,100.00000000],[1581624181000,100.00000000],[1581624481000,100.00000000],[1581624781000,100.00000000],[1581625081000,100.00000000],[1581625381000,100.00000000],[1581625681000,100.00000000],[1581625981000,100.00000000],[1581626281000,100.00000000],[1581626581000,100.00000000],[1581626881000,100.00000000],[1581627181000,100.00000000],[1581627481000,100.00000000],[1581627781000,100.00000000],[1581628081000,100.00000000],[1581628381000,100.00000000],[1581628681000,100.00000000],[1581628981000,100.00000000],[1581629281000,100.00000000],[1581629581000,100.00000000],[1581629881000,100.00000000],[1581630181000,100.00000000],[1581630481000,100.00000000],[1581630781000,100.00000000],[1581631081000,100.00000000],[1581631381000,100.00000000],[1581631681000,100.00000000],[1581631981000,100.00000000],[1581632281000,100.00000000],[1581632581000,100.00000000],[1581632881000,100.00000000],[1581633181000,100.00000000],[1581633481000,100.00000000],[1581633781000,100.00000000],[1581634081000,100.00000000],[1581634381000,100.00000000],[1581634681000,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: [[1581548401000,1020.8],[1581548581000,1020.8],[1581548881000,1020.8],[1581549181000,1020.9],[1581549481000,1021],[1581549781000,1020.9],[1581550081000,1021],[1581550381000,1021.1],[1581550681000,1021.2],[1581550981000,1021.2],[1581551281000,1021.2],[1581551581000,1021.3],[1581551881000,1021.2],[1581552181000,1021.1],[1581552481000,1021],[1581552781000,1021],[1581553081000,1021.1],[1581553381000,1021.2],[1581553681000,1021.1],[1581553981000,1021.2],[1581554281000,1021.3],[1581554581000,1021.3],[1581554881000,1021.2],[1581555181000,1021.2],[1581555481000,1021.3],[1581555781000,1021.3],[1581556081000,1021.3],[1581556381000,1021.3],[1581556681000,1021.2],[1581556981000,1021.1],[1581557281000,1021],[1581557581000,1021.1],[1581557881000,1021.1],[1581558181000,1021.1],[1581558481000,1021.1],[1581558781000,1021.2],[1581559081000,1021.2],[1581559381000,1021.2],[1581559681000,1021.3],[1581559981000,1021.3],[1581560281000,1021.2],[1581560581000,1021.1],[1581560881000,1021.2],[1581561181000,1021.3],[1581561481000,1021.4],[1581561781000,1021.5],[1581562081000,1021.5],[1581562381000,1021.6],[1581562681000,1021.6],[1581562981000,1021.7],[1581563281000,1021.8],[1581563581000,1021.8],[1581563881000,1021.9],[1581564181000,1021.9],[1581564781000,1022.1],[1581565081000,1022.2],[1581565381000,1022.3],[1581565681000,1022.4],[1581565981000,1022.5],[1581566281000,1022.5],[1581566581000,1022.4],[1581566881000,1022.5],[1581567181000,1022.5],[1581567481000,1022.4],[1581567781000,1022.4],[1581568081000,1022.4],[1581568381000,1022.4],[1581568681000,1022.3],[1581568981000,1022.4],[1581569281000,1022.4],[1581569581000,1022.5],[1581569881000,1022.5],[1581570181000,1022.6],[1581570481000,1022.6],[1581570781000,1022.6],[1581571081000,1022.7],[1581571381000,1022.6],[1581571681000,1022.6],[1581571981000,1022.6],[1581572281000,1022.6],[1581572581000,1022.6],[1581572881000,1022.7],[1581573181000,1022.7],[1581573481000,1022.8],[1581573781000,1022.8],[1581574081000,1022.8],[1581574381000,1022.9],[1581574681000,1022.9],[1581574981000,1023],[1581575281000,1022.9],[1581575581000,1022.9],[1581575881000,1023],[1581576181000,1023.1],[1581576481000,1023.2],[1581576781000,1023.2],[1581577081000,1023.2],[1581577381000,1023.2],[1581577681000,1023.2],[1581577981000,1023.2],[1581578281000,1023.3],[1581578581000,1023.4],[1581578881000,1023.3],[1581579181000,1023.2],[1581579481000,1023.2],[1581579781000,1023.2],[1581580081000,1023.3],[1581580381000,1023.3],[1581580681000,1023.2],[1581580981000,1023.1],[1581581281000,1023.1],[1581581581000,1023.1],[1581581881000,1023],[1581582181000,1023.1],[1581582481000,1023.1],[1581582781000,1023.1],[1581583081000,1023],[1581583381000,1022.9],[1581583681000,1022.8],[1581583981000,1022.7],[1581584281000,1022.7],[1581584581000,1022.7],[1581584881000,1022.6],[1581585181000,1022.6],[1581585481000,1022.6],[1581585781000,1022.5],[1581586081000,1022.4],[1581586381000,1022.3],[1581586681000,1022.1],[1581586981000,1022.1],[1581587281000,1022.1],[1581587581000,1022.1],[1581587882000,1022],[1581588181000,1022],[1581588481000,1022],[1581588781000,1021.9],[1581589081000,1021.8],[1581589381000,1021.7],[1581589681000,1021.6],[1581589981000,1021.5],[1581590281000,1021.4],[1581590581000,1021.3],[1581590881000,1021.2],[1581591181000,1021.1],[1581591481000,1021],[1581591781000,1020.8],[1581592081000,1020.6],[1581592381000,1020.5],[1581592681000,1020.4],[1581592981000,1020.2],[1581593281000,1020.1],[1581593581000,1020],[1581593881000,1020],[1581594181000,1019.9],[1581594481000,1019.8],[1581594781000,1019.7],[1581595081000,1019.6],[1581595381000,1019.6],[1581595681000,1019.5],[1581595981000,1019.4],[1581596281000,1019.4],[1581596581000,1019.2],[1581596881000,1019.2],[1581597181000,1019.1],[1581597481000,1018.9],[1581597781000,1018.7],[1581598081000,1018.6],[1581598381000,1018.4],[1581598681000,1018.2],[1581598981000,1018.1],[1581599281000,1018.1],[1581599581000,1018],[1581599881000,1018],[1581600181000,1017.9],[1581600481000,1017.6],[1581600781000,1017.5],[1581601081000,1017.3],[1581601381000,1017.2],[1581601681000,1017.2],[1581601981000,1017.1],[1581602281000,1017.1],[1581602581000,1017.1],[1581602881000,1017],[1581603181000,1016.9],[1581603481000,1016.9],[1581603781000,1016.8],[1581604081000,1016.7],[1581604381000,1016.6],[1581604681000,1016.5],[1581604981000,1016.4],[1581605281000,1016.3],[1581605581000,1016.1],[1581605881000,1015.9],[1581606181000,1015.7],[1581606481000,1015.7],[1581606781000,1015.7],[1581607081000,1015.5],[1581607381000,1015.4],[1581607681000,1015.4],[1581607981000,1015.3],[1581608281000,1015.2],[1581608581000,1015.1],[1581608881000,1014.9],[1581609181000,1014.9],[1581609481000,1014.7],[1581609781000,1014.6],[1581610081000,1014.5],[1581610381000,1014.4],[1581610681000,1014.3],[1581610981000,1014.2],[1581611281000,1014.2],[1581611581000,1014.2],[1581611881000,1014.2],[1581612181000,1014.1],[1581612481000,1014.1],[1581612781000,1014.1],[1581613081000,1014],[1581613381000,1014],[1581613681000,1013.8],[1581613981000,1013.7],[1581614281000,1013.6],[1581614582000,1013.5],[1581614881000,1013.3],[1581615181000,1013.2],[1581615481000,1013.1],[1581615781000,1013.1],[1581616081000,1013],[1581616381000,1012.8],[1581616681000,1012.7],[1581616981000,1012.7],[1581617281000,1012.6],[1581617581000,1012.6],[1581617881000,1012.6],[1581618181000,1012.5],[1581618481000,1012.4],[1581618781000,1012.2],[1581619081000,1012.1],[1581619381000,1012],[1581619681000,1012],[1581619981000,1011.9],[1581620281000,1011.8],[1581620581000,1011.7],[1581620881000,1011.5],[1581621181000,1011.4],[1581621481000,1011.2],[1581621781000,1011.1],[1581622081000,1010.9],[1581622381000,1010.9],[1581622681000,1010.7],[1581622981000,1010.5],[1581623281000,1010.5],[1581623581000,1010.7],[1581623881000,1010.9],[1581624181000,1011],[1581624481000,1010.8],[1581624781000,1010.9],[1581625081000,1011.1],[1581625381000,1011.1],[1581625681000,1011],[1581625981000,1010.9],[1581626281000,1010.9],[1581626581000,1010.9],[1581626881000,1010.9],[1581627181000,1010.9],[1581627481000,1010.9],[1581627781000,1010.8],[1581628081000,1010.6],[1581628381000,1010.5],[1581628681000,1010.5],[1581628981000,1010.3],[1581629281000,1010.2],[1581629581000,1010.1],[1581629881000,1009.9],[1581630181000,1009.8],[1581630481000,1009.8],[1581630781000,1009.8],[1581631081000,1009.7],[1581631381000,1009.8],[1581631681000,1009.6],[1581631981000,1009.5],[1581632281000,1009.5],[1581632581000,1009.3],[1581632881000,1009.3],[1581633181000,1009.2],[1581633481000,1009.2],[1581633781000,1009.3],[1581634081000,1009.4],[1581634381000,1009.1],[1581634681000,1009.1],], 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: [[1581548401000,13.200000012],[1581548581000,10.296],[1581548881000,8.784],[1581549181000,9.216],[1581549481000,7.2],[1581549781000,7.704],[1581550081000,6.048],[1581550381000,8.784],[1581550681000,8.28],[1581550981000,7.704],[1581551281000,7.272],[1581551581000,9.648],[1581551881000,7.056],[1581552181000,10.224],[1581552481000,10.584],[1581552781000,12.96],[1581553081000,14.184],[1581553381000,15.768],[1581553681000,14.472],[1581553981000,15.552],[1581554281000,15.624],[1581554581000,14.112],[1581554881000,15.192],[1581555181000,14.904],[1581555481000,15.408],[1581555781000,16.848],[1581556081000,13.176],[1581556381000,12.672],[1581556681000,11.52],[1581556981000,12.672],[1581557281000,13.464],[1581557581000,12.6],[1581557881000,12.456],[1581558181000,13.752],[1581558481000,12.096],[1581558781000,10.944],[1581559081000,11.664],[1581559381000,13.968],[1581559681000,13.248],[1581559981000,11.376],[1581560281000,11.664],[1581560581000,15.624],[1581560881000,15.408],[1581561181000,19.08],[1581561481000,15.192],[1581561781000,14.04],[1581562081000,11.232],[1581562381000,15.408],[1581562681000,13.824],[1581562981000,12.6],[1581563281000,10.584],[1581563581000,10.944],[1581563881000,10.008],[1581564181000,7.776],[1581564481000,9.144],[1581564781000,9.36],[1581565081000,8.208],[1581565381000,8.352],[1581565681000,8.712],[1581565981000,7.56],[1581566281000,6.768],[1581566581000,5.976],[1581566881000,7.128],[1581567181000,5.904],[1581567481000,5.184],[1581567781000,6.48],[1581568081000,6.696],[1581568381000,5.328],[1581568681000,3.888],[1581568981000,5.4],[1581569281000,5.04],[1581569581000,4.68],[1581569881000,5.976],[1581570181000,5.688],[1581570481000,7.344],[1581570781000,9.36],[1581571081000,9.576],[1581571381000,8.064],[1581571681000,8.208],[1581571981000,6.768],[1581572281000,7.2],[1581572581000,5.184],[1581572881000,6.048],[1581573181000,5.472],[1581573481000,3.384],[1581573781000,5.832],[1581574081000,5.112],[1581574381000,4.536],[1581574681000,4.968],[1581574981000,4.752],[1581575281000,4.32],[1581575581000,3.6],[1581575881000,1.8],[1581576181000,0],[1581576481000,0],[1581576781000,1.872],[1581577081000,2.52],[1581577381000,3.168],[1581577681000,1.728],[1581577981000,0],[1581578281000,2.808],[1581578581000,3.384],[1581578881000,3.816],[1581579181000,3.168],[1581579481000,3.168],[1581579781000,3.24],[1581580081000,5.112],[1581580381000,4.896],[1581580681000,5.4],[1581580981000,8.856],[1581581281000,8.928],[1581581581000,9.936],[1581581881000,6.12],[1581582181000,8.064],[1581582481000,9.864],[1581582781000,7.2],[1581583081000,9.432],[1581583381000,10.08],[1581583681000,5.832],[1581583981000,9.432],[1581584281000,7.92],[1581584581000,10.872],[1581584881000,11.016],[1581585181000,11.736],[1581585481000,13.968],[1581585781000,15.84],[1581586081000,12.096],[1581586381000,10.872],[1581586681000,9.072],[1581586981000,6.84],[1581587281000,8.352],[1581587581000,6.984],[1581587881000,6.12],[1581588181000,5.328],[1581588481000,14.472],[1581588781000,17.352],[1581589081000,9.72],[1581589381000,13.824],[1581589681000,11.016],[1581589981000,8.64],[1581590281000,5.112],[1581590581000,11.952],[1581590881000,7.848],[1581591181000,9.504],[1581591481000,12.024],[1581591781000,11.448],[1581592081000,13.608],[1581592381000,16.992],[1581592681000,15.552],[1581592981000,14.184],[1581593281000,20.016],[1581593581000,20.016],[1581593881000,29.664],[1581594181000,28.368],[1581594481000,31.392],[1581594781000,23.328],[1581595081000,25.704],[1581595381000,25.488],[1581595681000,18.36],[1581595981000,28.872],[1581596281000,23.04],[1581596581000,20.088],[1581596881000,27.936],[1581597181000,21.888],[1581597481000,23.256],[1581597781000,21.168],[1581598081000,24.12],[1581598381000,26.928],[1581598681000,20.304],[1581598981000,27.576],[1581599281000,29.52],[1581599581000,23.616],[1581599881000,27.288],[1581600181000,28.152],[1581600481000,25.488],[1581600781000,24.984],[1581601081000,22.824],[1581601381000,23.472],[1581601681000,23.832],[1581601981000,29.232],[1581602281000,27.072],[1581602581000,28.08],[1581602881000,30.24],[1581603181000,25.632],[1581603481000,23.112],[1581603781000,23.976],[1581604081000,22.32],[1581604381000,19.872],[1581604681000,16.128],[1581604981000,17.136],[1581605281000,16.272],[1581605581000,15.624],[1581605881000,12.816],[1581606181000,11.592],[1581606481000,13.248],[1581606781000,9.936],[1581607081000,11.376],[1581607381000,12.744],[1581607681000,9.72],[1581607981000,9.216],[1581608281000,12.456],[1581608581000,11.664],[1581608881000,12.888],[1581609181000,9.288],[1581609481000,7.344],[1581609781000,6.696],[1581610081000,6.48],[1581610381000,9.144],[1581610681000,10.728],[1581610981000,11.232],[1581611281000,9.72],[1581611581000,10.152],[1581611881000,8.136],[1581612181000,7.416],[1581612481000,5.832],[1581612781000,5.184],[1581613081000,3.888],[1581613381000,4.968],[1581613681000,6.048],[1581613981000,5.328],[1581614281000,6.12],[1581614581000,5.688],[1581614881000,6.696],[1581615181000,6.192],[1581615481000,5.904],[1581615781000,5.544],[1581616081000,5.184],[1581616381000,3.168],[1581616681000,2.52],[1581616981000,2.088],[1581617281000,2.664],[1581617581000,3.168],[1581617881000,2.376],[1581618181000,3.312],[1581618481000,4.968],[1581618781000,5.904],[1581619081000,6.048],[1581619381000,5.904],[1581619681000,7.92],[1581619981000,7.704],[1581620281000,9.072],[1581620581000,11.088],[1581620881000,11.736],[1581621181000,11.16],[1581621481000,10.584],[1581621781000,8.208],[1581622081000,9.432],[1581622381000,7.632],[1581622681000,10.44],[1581622981000,10.008],[1581623281000,9.36],[1581623581000,8.856],[1581623881000,10.8],[1581624181000,10.008],[1581624481000,11.664],[1581624781000,12.024],[1581625081000,8.496],[1581625381000,10.296],[1581625681000,11.664],[1581625981000,8.64],[1581626281000,10.296],[1581626581000,9.792],[1581626881000,6.912],[1581627181000,9.288],[1581627481000,9.936],[1581627781000,12.672],[1581628081000,12.312],[1581628381000,12.384],[1581628681000,13.248],[1581628981000,13.752],[1581629281000,11.232],[1581629581000,13.968],[1581629881000,11.304],[1581630181000,12.96],[1581630481000,12.456],[1581630781000,14.472],[1581631081000,13.536],[1581631381000,10.008],[1581631681000,11.304],[1581631981000,11.736],[1581632281000,9.072],[1581632581000,11.592],[1581632881000,10.008],[1581633181000,7.056],[1581633481000,10.584],[1581633781000,7.2],[1581634081000,14.184],[1581634381000,15.912],[1581634681000,10.98],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1581548401000,22.405200012],[1581548581000,17.26632],[1581548881000,14.28264],[1581549181000,15.2964],[1581549481000,11.78928],[1581549781000,12.4164],[1581550081000,10.02816],[1581550381000,14.77368],[1581550681000,13.74192],[1581550981000,12.65616],[1581551281000,12.20544],[1581551581000,16.22088],[1581551881000,11.78424],[1581552181000,17.02512],[1581552481000,17.6328],[1581552781000,21.66336],[1581553081000,24.21504],[1581553381000,26.7156],[1581553681000,25.0632],[1581553981000,26.96184],[1581554281000,27.71136],[1581554581000,24.24024],[1581554881000,25.80768],[1581555181000,25.31592],[1581555481000,26.10792],[1581555781000,28.93752],[1581556081000,21.79152],[1581556381000,21.53736],[1581556681000,18.99216],[1581556981000,20.57472],[1581557281000,22.27968],[1581557581000,21.07656],[1581557881000,20.36448],[1581558181000,23.07816],[1581558481000,20.18448],[1581558781000,18.936],[1581559081000,20.17728],[1581559381000,24.53472],[1581559681000,22.9752],[1581559981000,19.3428],[1581560281000,20.42496],[1581560581000,27.37728],[1581560881000,26.78616],[1581561181000,32.16024],[1581561481000,26.964],[1581561781000,24.34824],[1581562081000,18.51336],[1581562381000,26.56872],[1581562681000,23.2056],[1581562981000,21.26664],[1581563281000,18.0504],[1581563581000,18.51192],[1581563881000,16.40376],[1581564181000,12.68496],[1581564481000,15.45768],[1581564781000,15.41736],[1581565081000,13.46472],[1581565381000,13.70088],[1581565681000,14.38056],[1581565981000,12.7548],[1581566281000,11.46744],[1581566581000,9.87192],[1581566881000,11.94048],[1581567181000,9.36792],[1581567481000,8.23752],[1581567781000,10.06992],[1581568081000,10.12896],[1581568381000,8.1936],[1581568681000,5.98752],[1581568981000,8.1144],[1581569281000,7.70256],[1581569581000,7.25328],[1581569881000,9.06624],[1581570181000,9.13968],[1581570481000,11.34504],[1581570781000,14.60664],[1581571081000,14.9544],[1581571381000,12.59208],[1581571681000,12.77208],[1581571981000,10.20528],[1581572281000,10.90368],[1581572581000,7.9776],[1581572881000,9.3672],[1581573181000,8.13384],[1581573481000,5.46408],[1581573781000,8.94456],[1581574081000,7.92864],[1581574381000,6.84072],[1581574681000,7.80408],[1581574981000,7.3584],[1581575281000,6.76944],[1581575581000,5.58792],[1581575881000,2.76408],[1581576181000,0],[1581576481000,0],[1581576781000,2.93832],[1581577081000,4.0248],[1581577381000,5.03568],[1581577681000,2.62008],[1581577981000,0],[1581578281000,4.26888],[1581578581000,5.25312],[1581578881000,5.9184],[1581579181000,4.76064],[1581579481000,4.7592],[1581579781000,5.14224],[1581580081000,8.13024],[1581580381000,7.78032],[1581580681000,8.39232],[1581580981000,14.3784],[1581581281000,14.67144],[1581581581000,15.7392],[1581581881000,9.8424],[1581582181000,12.78288],[1581582481000,15.88104],[1581582781000,11.79576],[1581583081000,14.8716],[1581583381000,16.956],[1581583681000,9.28512],[1581583981000,15.3684],[1581584281000,12.9852],[1581584581000,18.37296],[1581584881000,18.2304],[1581585181000,19.20672],[1581585481000,23.87016],[1581585781000,27.08496],[1581586081000,20.21184],[1581586381000,17.98704],[1581586681000,14.78016],[1581586981000,11.31048],[1581587281000,13.3344],[1581587581000,11.1564],[1581587881000,9.83952],[1581588181000,8.71776],[1581588481000,23.076],[1581588781000,27.39744],[1581589081000,14.994],[1581589381000,22.4316],[1581589681000,17.35344],[1581589981000,14.0616],[1581590281000,8.10288],[1581590581000,18.72216],[1581590881000,12.37608],[1581591181000,15.42024],[1581591481000,19.06704],[1581591781000,18.37872],[1581592081000,21.68136],[1581592381000,27.47304],[1581592681000,24.61248],[1581592981000,23.004],[1581593281000,33.0156],[1581593581000,32.68224],[1581593881000,50.62464],[1581594181000,47.88072],[1581594481000,52.6032],[1581594781000,38.92176],[1581595081000,41.87376],[1581595381000,41.13],[1581595681000,30.18024],[1581595981000,47.76984],[1581596281000,38.62296],[1581596581000,33.5376],[1581596881000,46.2456],[1581597181000,35.69256],[1581597481000,38.17872],[1581597781000,41.96736],[1581598081000,39.90744],[1581598381000,45.08784],[1581598681000,33.71976],[1581598981000,46.51056],[1581599281000,50.23584],[1581599581000,39.10032],[1581599881000,47.29752],[1581600181000,47.17872],[1581600481000,43.32528],[1581600781000,44.658],[1581601081000,39.95424],[1581601381000,40.49208],[1581601681000,39.79656],[1581601981000,48.90672],[1581602281000,46.00008],[1581602581000,47.31984],[1581602881000,49.84344],[1581603181000,42.3216],[1581603481000,42.0732],[1581603781000,39.69],[1581604081000,36.65736],[1581604381000,32.37912],[1581604681000,26.92656],[1581604981000,29.38896],[1581605281000,27.9216],[1581605581000,26.44272],[1581605881000,21.9384],[1581606181000,19.66536],[1581606481000,22.59576],[1581606781000,16.55712],[1581607081000,19.40472],[1581607381000,21.60936],[1581607681000,15.97752],[1581607981000,15.48],[1581608281000,21.51936],[1581608581000,19.46016],[1581608881000,22.02552],[1581609181000,15.32376],[1581609481000,12.18888],[1581609781000,10.91952],[1581610081000,10.67904],[1581610381000,14.7528],[1581610681000,17.72928],[1581610981000,18.54432],[1581611281000,15.74496],[1581611581000,16.8048],[1581611881000,13.35024],[1581612181000,12.078],[1581612481000,9.1296],[1581612781000,7.78176],[1581613081000,6.2352],[1581613381000,7.96896],[1581613681000,10.30896],[1581613981000,8.64864],[1581614281000,9.9432],[1581614581000,9.50544],[1581614881000,11.016],[1581615181000,10.11528],[1581615481000,9.46512],[1581615781000,9.00072],[1581616081000,8.37504],[1581616381000,5.0328],[1581616681000,3.9852],[1581616981000,3.29328],[1581617281000,4.15728],[1581617581000,5.00112],[1581617881000,3.63168],[1581618181000,5.25024],[1581618481000,7.78032],[1581618781000,9.28152],[1581619081000,9.6372],[1581619381000,9.12312],[1581619681000,12.1536],[1581619981000,11.826],[1581620281000,14.0436],[1581620581000,17.53272],[1581620881000,18.64368],[1581621181000,17.67816],[1581621481000,17.01648],[1581621781000,13.06224],[1581622081000,15.34536],[1581622381000,11.93472],[1581622681000,16.24824],[1581622981000,16.07616],[1581623281000,14.99976],[1581623581000,13.8816],[1581623881000,17.62848],[1581624181000,16.18416],[1581624481000,19.64304],[1581624781000,19.50408],[1581625081000,13.5612],[1581625381000,16.68096],[1581625681000,18.63504],[1581625981000,13.66272],[1581626281000,16.18272],[1581626581000,15.6024],[1581626881000,10.89936],[1581627181000,14.9832],[1581627481000,15.99696],[1581627781000,20.05056],[1581628081000,20.4372],[1581628381000,20.43288],[1581628681000,21.51792],[1581628981000,22.51584],[1581629281000,18.27432],[1581629581000,22.91328],[1581629881000,18.20232],[1581630181000,20.49192],[1581630481000,19.3068],[1581630781000,22.98384],[1581631081000,21.36456],[1581631381000,15.75072],[1581631681000,17.7696],[1581631981000,18.71496],[1581632281000,14.61096],[1581632581000,18.51624],[1581632881000,15.9264],[1581633181000,11.30616],[1581633481000,16.81488],[1581633781000,11.45376],[1581634081000,22.6008],[1581634381000,25.85808],[1581634681000,17.703],], 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: [[1581548401000,237.96666667],[1581548581000,257.32000000],[1581548881000,276.96000000],[1581549181000,251.60000000],[1581549481000,253.20000000],[1581549781000,242.60000000],[1581550081000,249.16000000],[1581550381000,237.28000000],[1581550681000,264.28000000],[1581550981000,258.54000000],[1581551281000,231.52000000],[1581551581000,273.68000000],[1581551881000,257.34000000],[1581552181000,237.68000000],[1581552481000,235.66000000],[1581552781000,260.18000000],[1581553081000,247.94000000],[1581553381000,268.78000000],[1581553681000,275.32000000],[1581553981000,242.60000000],[1581554281000,227.84000000],[1581554581000,238.90000000],[1581554881000,269.16000000],[1581555181000,243.82000000],[1581555481000,239.30000000],[1581555781000,262.64000000],[1581556081000,253.24000000],[1581556381000,225.82000000],[1581556681000,237.28000000],[1581556981000,262.22000000],[1581557281000,247.50000000],[1581557581000,263.04000000],[1581557881000,268.38000000],[1581558181000,262.24000000],[1581558481000,256.10000000],[1581558781000,250.36000000],[1581559081000,247.10000000],[1581559381000,249.54000000],[1581559681000,251.20000000],[1581559981000,244.22000000],[1581560281000,239.32000000],[1581560581000,244.22000000],[1581560881000,274.08000000],[1581561181000,239.32000000],[1581561481000,237.68000000],[1581561781000,247.90000000],[1581562081000,241.76000000],[1581562381000,278.16000000],[1581562681000,249.94000000],[1581562981000,261.00000000],[1581563281000,229.92000000],[1581563581000,236.44000000],[1581563881000,234.40000000],[1581564181000,218.84000000],[1581564481000,230.32000000],[1581564781000,231.92000000],[1581565081000,247.08000000],[1581565381000,225.40000000],[1581565681000,267.96000000],[1581565981000,258.12000000],[1581566281000,246.28000000],[1581566581000,220.92000000],[1581566881000,231.12000000],[1581567181000,236.06000000],[1581567481000,212.32000000],[1581567781000,194.72000000],[1581568081000,187.76000000],[1581568381000,191.44000000],[1581568681000,168.94000000],[1581568981000,155.46000000],[1581569281000,152.18000000],[1581569581000,139.50000000],[1581569881000,136.62000000],[1581570181000,135.00000000],[1581570481000,140.30000000],[1581570781000,154.66000000],[1581571081000,164.04000000],[1581571381000,170.60000000],[1581571681000,177.14000000],[1581571981000,181.62000000],[1581572281000,195.54000000],[1581572581000,171.40000000],[1581572881000,185.30000000],[1581573181000,186.54000000],[1581573481000,187.36000000],[1581573781000,218.86000000],[1581574081000,222.96000000],[1581574381000,224.18000000],[1581574681000,221.72000000],[1581574981000,222.54000000],[1581575281000,235.64000000],[1581575581000,213.14000000],[1581575881000,279.00000000],[1581576181000,237.26000000],[1581576481000,267.54000000],[1581576781000,198.00000000],[1581577081000,225.82000000],[1581577381000,230.32000000],[1581577681000,229.10000000],[1581577981000,258.14000000],[1581578281000,100.22000000],[1581578581000,27.42000000],[1581578881000,52.78000000],[1581579181000,122.32000000],[1581579481000,269.20000000],[1581579781000,226.64000000],[1581580081000,233.60000000],[1581580381000,228.68000000],[1581580681000,227.84000000],[1581580981000,227.86000000],[1581581281000,226.20000000],[1581581581000,239.72000000],[1581581881000,222.96000000],[1581582181000,233.18000000],[1581582481000,222.96000000],[1581582781000,229.06000000],[1581583081000,238.08000000],[1581583381000,237.68000000],[1581583681000,211.06000000],[1581583981000,238.90000000],[1581584281000,231.16000000],[1581584581000,232.34000000],[1581584881000,236.04000000],[1581585181000,238.92000000],[1581585481000,238.92000000],[1581585781000,238.90000000],[1581586081000,260.18000000],[1581586381000,237.26000000],[1581586681000,234.80000000],[1581586981000,228.28000000],[1581587281000,219.68000000],[1581587581000,211.52000000],[1581587881000,208.22000000],[1581588181000,227.46000000],[1581588481000,180.42000000],[1581588781000,174.26000000],[1581589081000,166.90000000],[1581589381000,183.70000000],[1581589681000,196.36000000],[1581589981000,204.94000000],[1581590281000,137.06000000],[1581590581000,144.40000000],[1581590881000,218.86000000],[1581591181000,153.80000000],[1581591481000,168.94000000],[1581591781000,190.64000000],[1581592081000,167.32000000],[1581592381000,175.92000000],[1581592681000,166.08000000],[1581592981000,178.36000000],[1581593281000,174.30000000],[1581593581000,167.34000000],[1581593881000,159.14000000],[1581594181000,157.92000000],[1581594481000,162.40000000],[1581594781000,144.84000000],[1581595081000,153.40000000],[1581595381000,171.00000000],[1581595681000,146.44000000],[1581595981000,156.30000000],[1581596281000,145.62000000],[1581596581000,147.24000000],[1581596881000,155.06000000],[1581597181000,164.44000000],[1581597481000,143.18000000],[1581597781000,143.20000000],[1581598081000,156.28000000],[1581598381000,147.28000000],[1581598681000,146.46000000],[1581598981000,148.94000000],[1581599281000,154.20000000],[1581599581000,157.90000000],[1581599881000,154.22000000],[1581600181000,155.02000000],[1581600481000,146.86000000],[1581600781000,137.08000000],[1581601081000,141.56000000],[1581601381000,156.68000000],[1581601681000,146.86000000],[1581601981000,151.36000000],[1581602281000,158.72000000],[1581602581000,150.14000000],[1581602881000,153.00000000],[1581603181000,154.24000000],[1581603481000,157.08000000],[1581603781000,150.54000000],[1581604081000,155.46000000],[1581604381000,148.10000000],[1581604681000,148.90000000],[1581604981000,130.10000000],[1581605281000,129.28000000],[1581605581000,130.06000000],[1581605881000,118.64000000],[1581606181000,121.48000000],[1581606481000,121.08000000],[1581606781000,121.92000000],[1581607081000,123.14000000],[1581607381000,120.26000000],[1581607681000,133.36000000],[1581607981000,122.32000000],[1581608281000,128.86000000],[1581608581000,125.58000000],[1581608881000,132.14000000],[1581609181000,129.68000000],[1581609481000,123.54000000],[1581609781000,109.24000000],[1581610081000,113.72000000],[1581610381000,128.86000000],[1581610681000,133.78000000],[1581610981000,133.36000000],[1581611281000,135.40000000],[1581611581000,141.54000000],[1581611881000,122.74000000],[1581612181000,107.20000000],[1581612481000,37.62000000],[1581612781000,27.82000000],[1581613081000,97.78000000],[1581613381000,116.16000000],[1581613681000,126.82000000],[1581613981000,135.42000000],[1581614281000,111.68000000],[1581614581000,111.26000000],[1581614881000,106.78000000],[1581615181000,111.68000000],[1581615481000,115.74000000],[1581615781000,117.40000000],[1581616081000,85.08000000],[1581616381000,93.68000000],[1581616681000,85.52000000],[1581616981000,81.82000000],[1581617281000,3.28000000],[1581617581000,157.52000000],[1581617881000,89.98000000],[1581618181000,55.64000000],[1581618481000,38.86000000],[1581618781000,56.06000000],[1581619081000,49.48000000],[1581619381000,39.28000000],[1581619681000,31.92000000],[1581619981000,19.24000000],[1581620281000,19.64000000],[1581620581000,22.50000000],[1581620881000,26.62000000],[1581621181000,42.54000000],[1581621481000,43.36000000],[1581621781000,47.46000000],[1581622081000,37.66000000],[1581622381000,34.76000000],[1581622681000,24.96000000],[1581622981000,32.72000000],[1581623281000,25.78000000],[1581623581000,13.92000000],[1581623881000,47.04000000],[1581624181000,41.74000000],[1581624481000,29.44000000],[1581624781000,26.60000000],[1581625081000,21.26000000],[1581625381000,41.72000000],[1581625681000,40.50000000],[1581625981000,18.00000000],[1581626281000,22.48000000],[1581626581000,30.28000000],[1581626881000,40.50000000],[1581627181000,37.22000000],[1581627481000,31.92000000],[1581627781000,24.56000000],[1581628081000,40.08000000],[1581628381000,39.28000000],[1581628681000,27.44000000],[1581628981000,31.10000000],[1581629281000,39.68000000],[1581629581000,32.30000000],[1581629881000,27.84000000],[1581630181000,24.54000000],[1581630481000,19.22000000],[1581630781000,19.22000000],[1581631081000,22.92000000],[1581631381000,18.82000000],[1581631681000,16.80000000],[1581631981000,23.32000000],[1581632281000,38.04000000],[1581632581000,26.58000000],[1581632881000,33.14000000],[1581633181000,61.78000000],[1581633481000,25.78000000],[1581633781000,32.74000000],[1581634081000,31.90000000],[1581634381000,27.00000000],[1581634681000,16.40000000],], 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); }); $('.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; }