var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1647126023000,-0.20000000],[1647126193000,-0.20000000],[1647126493000,-0.26666667],[1647126793000,-0.22500000],[1647127078000,-0.28333333],[1647127393000,-0.30000000],[1647127693000,-0.44000000],[1647127996000,-0.52000000],[1647128293000,-0.54000000],[1647128593000,-0.52000000],[1647128893000,-0.60000000],[1647129196000,-0.62000000],[1647129493000,-0.64000000],[1647129798000,-0.60000000],[1647130095000,-0.70000000],[1647130393000,-0.78000000],[1647130693000,-0.80000000],[1647130993000,-0.74000000],[1647131292000,-0.80000000],[1647131594000,-0.82000000],[1647131896000,-0.94000000],[1647132193000,-1.06000000],[1647132495000,-1.12000000],[1647132793000,-1.20000000],[1647133098000,-1.22000000],[1647133394000,-1.22000000],[1647133693000,-1.30000000],[1647133994000,-1.30000000],[1647134293000,-1.36000000],[1647134593000,-1.38000000],[1647134893000,-1.48000000],[1647135193000,-1.50000000],[1647135493000,-1.46000000],[1647135793000,-1.46000000],[1647136096000,-1.60000000],[1647136393000,-1.62000000],[1647136693000,-1.70000000],[1647136993000,-1.70000000],[1647137293000,-1.78000000],[1647137597000,-1.76000000],[1647137893000,-1.82000000],[1647138193000,-1.90000000],[1647138493000,-1.92000000],[1647138793000,-1.90000000],[1647139098000,-2.00000000],[1647139393000,-2.02000000],[1647139692000,-2.08000000],[1647139994000,-2.10000000],[1647140293000,-2.10000000],[1647140593000,-2.12000000],[1647140892000,-2.14000000],[1647141194000,-2.24000000],[1647141493000,-2.22000000],[1647141794000,-2.28000000],[1647142092000,-2.30000000],[1647142393000,-2.30000000],[1647142693000,-2.34000000],[1647142993000,-2.40000000],[1647143292000,-2.44000000],[1647143593000,-2.46000000],[1647143893000,-2.50000000],[1647144194000,-2.50000000],[1647144492000,-2.50000000],[1647144793000,-2.60000000],[1647145093000,-2.56000000],[1647145393000,-2.60000000],[1647145692000,-2.60000000],[1647145993000,-2.68000000],[1647146293000,-2.62000000],[1647146594000,-2.66000000],[1647146893000,-2.68000000],[1647147193000,-2.66000000],[1647147493000,-2.68000000],[1647147793000,-2.60000000],[1647148093000,-2.56000000],[1647148399000,-2.58000000],[1647148693000,-2.62000000],[1647148993000,-2.62000000],[1647149295000,-2.60000000],[1647149597000,-2.60000000],[1647149896000,-2.58000000],[1647150194000,-2.48000000],[1647150493000,-2.40000000],[1647150793000,-2.32000000],[1647151093000,-2.32000000],[1647151394000,-2.12000000],[1647151692000,-1.74000000],[1647151993000,-1.60000000],[1647152293000,-1.72000000],[1647152593000,-1.74000000],[1647152893000,-1.72000000],[1647153194000,-1.68000000],[1647153493000,-1.34000000],[1647153793000,-1.12000000],[1647154093000,-1.24000000],[1647154396000,-1.08000000],[1647154693000,-1.06000000],[1647154993000,-0.88000000],[1647155292000,-0.72000000],[1647155593000,-0.52000000],[1647155893000,-0.36000000],[1647156208000,-0.22000000],[1647156493000,-0.06000000],[1647156793000,0.36000000],[1647157094000,0.54000000],[1647157393000,0.60000000],[1647157693000,0.94000000],[1647157995000,1.10000000],[1647158293000,1.40000000],[1647158596000,1.68000000],[1647158896000,1.84000000],[1647159193000,2.12000000],[1647159494000,2.44000000],[1647159793000,2.74000000],[1647160093000,3.08000000],[1647160393000,3.46000000],[1647160693000,3.82000000],[1647160993000,4.14000000],[1647161296000,4.36000000],[1647161593000,4.54000000],[1647161893000,4.68000000],[1647162193000,4.86000000],[1647162493000,5.14000000],[1647162793000,5.44000000],[1647163096000,5.62000000],[1647163393000,5.76000000],[1647163693000,6.02000000],[1647163992000,5.92000000],[1647164293000,6.12000000],[1647164593000,6.52000000],[1647164893000,6.64000000],[1647165195000,6.74000000],[1647165493000,6.88000000],[1647165794000,7.06000000],[1647166095000,7.20000000],[1647166392000,7.24000000],[1647166694000,7.34000000],[1647166993000,7.54000000],[1647167293000,7.80000000],[1647167595000,7.96000000],[1647167894000,7.84000000],[1647168194000,8.08000000],[1647168493000,8.16000000],[1647168792000,8.32000000],[1647169096000,8.72000000],[1647169394000,8.84000000],[1647169693000,8.88000000],[1647169993000,9.08000000],[1647170293000,9.22000000],[1647170594000,9.32000000],[1647170893000,9.26000000],[1647171193000,9.32000000],[1647171494000,9.46000000],[1647171793000,9.52000000],[1647172093000,9.66000000],[1647172392000,9.74000000],[1647172693000,9.96000000],[1647172993000,9.86000000],[1647173293000,9.98000000],[1647173595000,10.26000000],[1647173893000,10.34000000],[1647174193000,10.30000000],[1647174493000,10.42000000],[1647174793000,10.54000000],[1647175093000,10.50000000],[1647175393000,10.40000000],[1647175693000,10.62000000],[1647175992000,10.88000000],[1647176293000,10.88000000],[1647176593000,11.26000000],[1647176893000,11.82000000],[1647177193000,11.86000000],[1647177493000,12.18000000],[1647177793000,11.98000000],[1647178093000,12.28000000],[1647178393000,12.38000000],[1647178694000,12.70000000],[1647178993000,12.26000000],[1647179293000,12.40000000],[1647179592000,12.18000000],[1647179893000,11.82000000],[1647180193000,11.58000000],[1647180493000,11.36000000],[1647180795000,11.22000000],[1647181093000,11.16000000],[1647181392000,11.02000000],[1647181693000,10.88000000],[1647181993000,10.94000000],[1647182293000,10.68000000],[1647182595000,10.64000000],[1647182893000,10.76000000],[1647183192000,10.68000000],[1647183494000,10.72000000],[1647183793000,10.78000000],[1647184093000,10.54000000],[1647184393000,10.68000000],[1647184694000,10.86000000],[1647184993000,10.86000000],[1647185293000,10.62000000],[1647185593000,10.44000000],[1647185893000,10.56000000],[1647186193000,10.58000000],[1647186496000,10.36000000],[1647186792000,10.24000000],[1647187094000,10.14000000],[1647187393000,10.00000000],[1647187696000,9.96000000],[1647187993000,10.08000000],[1647188293000,9.90000000],[1647188592000,9.72000000],[1647188895000,9.66000000],[1647189195000,9.68000000],[1647189494000,9.40000000],[1647189794000,9.14000000],[1647190093000,9.00000000],[1647190393000,8.80000000],[1647190693000,8.70000000],[1647190993000,8.68000000],[1647191293000,8.52000000],[1647191592000,8.56000000],[1647191893000,8.40000000],[1647192196000,8.12000000],[1647192493000,8.06000000],[1647192792000,7.88000000],[1647193098000,7.64000000],[1647193393000,7.58000000],[1647193693000,7.52000000],[1647193993000,7.40000000],[1647194293000,7.38000000],[1647194593000,7.26000000],[1647194893000,7.10000000],[1647195192000,7.10000000],[1647195493000,6.90000000],[1647195793000,6.92000000],[1647196093000,6.98000000],[1647196393000,6.88000000],[1647196693000,6.70000000],[1647196993000,6.62000000],[1647197293000,6.50000000],[1647197593000,6.34000000],[1647197893000,6.28000000],[1647198193000,6.32000000],[1647198493000,6.30000000],[1647198794000,6.14000000],[1647199093000,5.88000000],[1647199393000,5.72000000],[1647199693000,5.60000000],[1647199994000,5.66000000],[1647200293000,5.58000000],[1647200593000,5.50000000],[1647200893000,5.44000000],[1647201193000,5.26000000],[1647201493000,5.12000000],[1647201792000,4.98000000],[1647202094000,4.92000000],[1647202392000,4.82000000],[1647202696000,4.78000000],[1647202993000,4.90000000],[1647203293000,4.86000000],[1647203592000,4.76000000],[1647203893000,4.80000000],[1647204193000,4.80000000],[1647204493000,4.76000000],[1647204792000,4.62000000],[1647205094000,4.58000000],[1647205393000,4.52000000],[1647205693000,4.52000000],[1647205995000,4.50000000],[1647206294000,4.48000000],[1647206593000,4.30000000],[1647206893000,4.18000000],[1647207193000,3.98000000],[1647207493000,3.78000000],[1647207793000,3.74000000],[1647208093000,3.62000000],[1647208393000,3.56000000],[1647208694000,3.42000000],[1647208994000,3.32000000],[1647209293000,3.18000000],[1647209592000,3.12000000],[1647209893000,2.96000000],[1647210194000,2.90000000],[1647210493000,2.82000000],[1647210798000,2.76000000],[1647211093000,2.64000000],[1647211392000,2.58000000],[1647211696000,2.54000000],[1647211993000,2.38000000],[1647212293000,2.35000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1647126023000,-11.7],[1647126193000,-11.7],[1647126493000,-11.7],[1647126793000,-11.7],[1647127078000,-11.8],[1647127393000,-11.8],[1647127693000,-11.9],[1647127996000,-11.9],[1647128293000,-11.9],[1647128593000,-12],[1647128893000,-11.9],[1647129196000,-11.9],[1647129493000,-11.8],[1647129798000,-11.8],[1647130095000,-11.9],[1647130393000,-11.9],[1647130693000,-11.8],[1647130993000,-11.8],[1647131292000,-11.9],[1647131594000,-11.8],[1647131896000,-12],[1647132193000,-12],[1647132495000,-12.1],[1647132793000,-12.1],[1647133098000,-12.1],[1647133394000,-12.2],[1647133693000,-12.2],[1647133994000,-12.1],[1647134293000,-12.1],[1647134593000,-12.2],[1647134893000,-12.2],[1647135193000,-12.2],[1647135493000,-12.1],[1647135793000,-12.2],[1647136096000,-12.2],[1647136393000,-12.2],[1647136693000,-12.2],[1647136993000,-12.2],[1647137293000,-12.2],[1647137597000,-12.2],[1647137893000,-12.3],[1647138193000,-12.3],[1647138493000,-12.3],[1647138793000,-12.3],[1647139098000,-12.3],[1647139393000,-12.3],[1647139692000,-12.3],[1647139994000,-12.3],[1647140293000,-12.3],[1647140593000,-12.2],[1647140892000,-12.3],[1647141194000,-12.3],[1647141493000,-12.3],[1647141794000,-12.4],[1647142092000,-12.3],[1647142393000,-12.4],[1647142693000,-12.4],[1647142993000,-12.3],[1647143292000,-12.4],[1647143593000,-12.4],[1647143893000,-12.4],[1647144194000,-12.4],[1647144492000,-12.4],[1647144793000,-12.4],[1647145093000,-12.3],[1647145393000,-12.4],[1647145692000,-12.4],[1647145993000,-12.5],[1647146293000,-12.3],[1647146594000,-12.4],[1647146893000,-12.4],[1647147193000,-12.3],[1647147493000,-12.4],[1647147793000,-12.3],[1647148093000,-12.3],[1647148399000,-12.3],[1647148693000,-12.4],[1647148993000,-12.3],[1647149295000,-12.3],[1647149597000,-12.3],[1647149896000,-12.4],[1647150194000,-12.2],[1647150493000,-12.1],[1647150793000,-12.1],[1647151093000,-12.1],[1647151394000,-12],[1647151692000,-11.7],[1647151993000,-11.8],[1647152293000,-11.8],[1647152593000,-11.9],[1647152893000,-11.8],[1647153194000,-11.8],[1647153493000,-11.5],[1647153793000,-11.5],[1647154093000,-11.6],[1647154396000,-11.5],[1647154693000,-11.5],[1647154993000,-11.3],[1647155292000,-11.3],[1647155593000,-11.1],[1647155893000,-11],[1647156208000,-11],[1647156493000,-10.9],[1647156793000,-10.5],[1647157094000,-10.5],[1647157393000,-10.5],[1647157693000,-10.1],[1647157995000,-10.1],[1647158293000,-9.9],[1647158596000,-9.7],[1647158896000,-9.7],[1647159193000,-9.4],[1647159494000,-9.2],[1647159793000,-9],[1647160093000,-8.9],[1647160393000,-8.6],[1647160693000,-8.7],[1647160993000,-8.7],[1647161296000,-8.8],[1647161593000,-8.6],[1647161893000,-8.6],[1647162193000,-8.5],[1647162493000,-8.4],[1647162793000,-8.3],[1647163096000,-8.3],[1647163393000,-8.3],[1647163693000,-8.3],[1647163992000,-8.6],[1647164293000,-8.5],[1647164593000,-8.1],[1647164893000,-8.2],[1647165195000,-8.3],[1647165493000,-8.1],[1647165794000,-8],[1647166095000,-8.1],[1647166392000,-8],[1647166694000,-8],[1647166993000,-7.7],[1647167293000,-7.7],[1647167595000,-7.5],[1647167894000,-7.8],[1647168194000,-7.6],[1647168493000,-7.7],[1647168792000,-7.7],[1647169096000,-7.4],[1647169394000,-7.7],[1647169693000,-7.7],[1647169993000,-7.6],[1647170293000,-7.5],[1647170594000,-7.5],[1647170893000,-7.7],[1647171193000,-7.6],[1647171494000,-7.6],[1647171793000,-7.5],[1647172093000,-7.4],[1647172392000,-7.5],[1647172693000,-7.5],[1647172993000,-7.6],[1647173293000,-7.8],[1647173595000,-7.4],[1647173893000,-7.6],[1647174193000,-7.6],[1647174493000,-7.5],[1647174793000,-7.4],[1647175093000,-7.5],[1647175393000,-7.8],[1647175693000,-7.4],[1647175992000,-7.5],[1647176293000,-7.8],[1647176593000,-7.3],[1647176893000,-6.9],[1647177193000,-7.2],[1647177493000,-7],[1647177793000,-7.4],[1647178093000,-6.9],[1647178393000,-7],[1647178694000,-6.7],[1647178993000,-7.4],[1647179293000,-7.1],[1647179592000,-7.3],[1647179893000,-7.6],[1647180193000,-7.6],[1647180493000,-7.8],[1647180795000,-8],[1647181093000,-8],[1647181392000,-8],[1647181693000,-7.9],[1647181993000,-7.8],[1647182293000,-7.9],[1647182595000,-7.8],[1647182893000,-7.6],[1647183192000,-7.6],[1647183494000,-7.8],[1647183793000,-7.9],[1647184093000,-8],[1647184393000,-7.8],[1647184694000,-7.9],[1647184993000,-8.1],[1647185293000,-8.1],[1647185593000,-8.1],[1647185893000,-8],[1647186193000,-7.9],[1647186496000,-7.9],[1647186792000,-7.8],[1647187094000,-7.9],[1647187393000,-7.9],[1647187696000,-7.9],[1647187993000,-7.9],[1647188293000,-8],[1647188592000,-8.1],[1647188895000,-8],[1647189195000,-8.1],[1647189494000,-8.3],[1647189794000,-8.4],[1647190093000,-8.4],[1647190393000,-8.4],[1647190693000,-8.4],[1647190993000,-8.4],[1647191293000,-8.6],[1647191592000,-8.6],[1647191893000,-8.7],[1647192196000,-8.8],[1647192493000,-8.8],[1647192792000,-8.9],[1647193098000,-9],[1647193393000,-9],[1647193693000,-9],[1647193993000,-9.1],[1647194293000,-9.1],[1647194593000,-9.2],[1647194893000,-9.2],[1647195192000,-9.2],[1647195493000,-9.3],[1647195793000,-9.2],[1647196093000,-9.1],[1647196393000,-9.2],[1647196693000,-9.2],[1647196993000,-9.2],[1647197293000,-9.3],[1647197593000,-9.3],[1647197893000,-9.4],[1647198193000,-9.4],[1647198493000,-9.5],[1647198794000,-9.6],[1647199093000,-9.7],[1647199393000,-9.8],[1647199693000,-9.8],[1647199994000,-9.8],[1647200293000,-9.8],[1647200593000,-9.8],[1647200893000,-9.8],[1647201193000,-9.9],[1647201493000,-10],[1647201792000,-10.1],[1647202094000,-10.2],[1647202392000,-10.2],[1647202696000,-10.3],[1647202993000,-10.2],[1647203293000,-10.2],[1647203592000,-10.2],[1647203893000,-10],[1647204193000,-10],[1647204493000,-9.9],[1647204792000,-9.9],[1647205094000,-9.9],[1647205393000,-9.9],[1647205693000,-9.8],[1647205995000,-9.8],[1647206294000,-9.9],[1647206593000,-10],[1647206893000,-10.2],[1647207193000,-10.3],[1647207493000,-10.4],[1647207793000,-10.4],[1647208093000,-10.5],[1647208393000,-10.5],[1647208694000,-10.6],[1647208994000,-10.6],[1647209293000,-10.7],[1647209592000,-10.7],[1647209893000,-10.7],[1647210194000,-10.7],[1647210493000,-10.8],[1647210798000,-10.7],[1647211093000,-10.8],[1647211392000,-10.8],[1647211696000,-10.9],[1647211993000,-10.9],[1647212293000,-10.9],], 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: [[1647126023000,41.96666667],[1647126193000,42.10000000],[1647126493000,42.10000000],[1647126793000,41.92500000],[1647127078000,41.86666667],[1647127393000,41.84000000],[1647127693000,41.92000000],[1647127996000,42.36000000],[1647128293000,42.34000000],[1647128593000,42.10000000],[1647128893000,42.66000000],[1647129196000,42.72000000],[1647129493000,42.90000000],[1647129798000,42.92000000],[1647130095000,42.96000000],[1647130393000,43.22000000],[1647130693000,43.36000000],[1647130993000,43.42000000],[1647131292000,43.30000000],[1647131594000,43.44000000],[1647131896000,43.30000000],[1647132193000,43.46000000],[1647132495000,43.42000000],[1647132793000,43.54000000],[1647133098000,43.62000000],[1647133394000,43.58000000],[1647133693000,43.76000000],[1647133994000,44.08000000],[1647134293000,44.20000000],[1647134593000,44.06000000],[1647134893000,44.10000000],[1647135193000,44.36000000],[1647135493000,44.56000000],[1647135793000,44.30000000],[1647136096000,44.50000000],[1647136393000,44.82000000],[1647136693000,44.84000000],[1647136993000,44.92000000],[1647137293000,45.10000000],[1647137597000,45.12000000],[1647137893000,45.14000000],[1647138193000,45.36000000],[1647138493000,45.52000000],[1647138793000,45.42000000],[1647139098000,45.60000000],[1647139393000,45.86000000],[1647139692000,46.02000000],[1647139994000,46.02000000],[1647140293000,46.08000000],[1647140593000,46.22000000],[1647140892000,46.24000000],[1647141194000,46.36000000],[1647141493000,46.36000000],[1647141794000,46.36000000],[1647142092000,46.46000000],[1647142393000,46.34000000],[1647142693000,46.46000000],[1647142993000,46.80000000],[1647143292000,46.66000000],[1647143593000,46.90000000],[1647143893000,46.86000000],[1647144194000,46.96000000],[1647144492000,46.88000000],[1647144793000,47.16000000],[1647145093000,47.36000000],[1647145393000,47.32000000],[1647145692000,47.34000000],[1647145993000,47.24000000],[1647146293000,47.56000000],[1647146594000,47.50000000],[1647146893000,47.70000000],[1647147193000,47.72000000],[1647147493000,47.72000000],[1647147793000,47.56000000],[1647148093000,47.66000000],[1647148399000,47.50000000],[1647148693000,47.38000000],[1647148993000,47.58000000],[1647149295000,47.54000000],[1647149597000,47.56000000],[1647149896000,47.26000000],[1647150194000,47.48000000],[1647150493000,47.60000000],[1647150793000,47.48000000],[1647151093000,47.28000000],[1647151394000,47.18000000],[1647151692000,46.82000000],[1647151993000,46.20000000],[1647152293000,46.38000000],[1647152593000,46.30000000],[1647152893000,46.34000000],[1647153194000,46.50000000],[1647153493000,46.30000000],[1647153793000,45.66000000],[1647154093000,45.60000000],[1647154396000,45.62000000],[1647154693000,45.40000000],[1647154993000,45.44000000],[1647155292000,45.02000000],[1647155593000,44.94000000],[1647155893000,44.74000000],[1647156208000,44.46000000],[1647156493000,44.34000000],[1647156793000,44.38000000],[1647157094000,43.92000000],[1647157393000,43.62000000],[1647157693000,43.78000000],[1647157995000,43.38000000],[1647158293000,43.20000000],[1647158596000,42.82000000],[1647158896000,42.52000000],[1647159193000,42.48000000],[1647159494000,42.38000000],[1647159793000,42.00000000],[1647160093000,41.56000000],[1647160393000,41.12000000],[1647160693000,39.90000000],[1647160993000,39.14000000],[1647161296000,38.28000000],[1647161593000,38.32000000],[1647161893000,37.74000000],[1647162193000,37.74000000],[1647162493000,37.30000000],[1647162793000,36.88000000],[1647163096000,36.38000000],[1647163393000,35.86000000],[1647163693000,35.44000000],[1647163992000,34.62000000],[1647164293000,34.58000000],[1647164593000,34.76000000],[1647164893000,34.24000000],[1647165195000,33.64000000],[1647165493000,33.70000000],[1647165794000,33.62000000],[1647166095000,33.20000000],[1647166392000,33.16000000],[1647166694000,32.94000000],[1647166993000,33.22000000],[1647167293000,32.78000000],[1647167595000,32.80000000],[1647167894000,32.46000000],[1647168194000,32.44000000],[1647168493000,31.86000000],[1647168792000,31.64000000],[1647169096000,31.46000000],[1647169394000,30.58000000],[1647169693000,30.36000000],[1647169993000,30.28000000],[1647170293000,30.16000000],[1647170594000,29.98000000],[1647170893000,29.60000000],[1647171193000,29.88000000],[1647171494000,29.40000000],[1647171793000,29.60000000],[1647172093000,29.60000000],[1647172392000,29.12000000],[1647172693000,28.78000000],[1647172993000,28.60000000],[1647173293000,28.04000000],[1647173595000,28.46000000],[1647173893000,27.76000000],[1647174193000,27.84000000],[1647174493000,27.90000000],[1647174793000,27.80000000],[1647175093000,27.74000000],[1647175393000,27.30000000],[1647175693000,27.74000000],[1647175992000,27.06000000],[1647176293000,26.40000000],[1647176593000,26.82000000],[1647176893000,26.52000000],[1647177193000,25.86000000],[1647177493000,25.76000000],[1647177793000,25.38000000],[1647178093000,25.80000000],[1647178393000,25.48000000],[1647178694000,25.40000000],[1647178993000,24.92000000],[1647179293000,25.18000000],[1647179592000,25.14000000],[1647179893000,25.22000000],[1647180193000,25.52000000],[1647180493000,25.66000000],[1647180795000,25.32000000],[1647181093000,25.60000000],[1647181392000,25.74000000],[1647181693000,26.28000000],[1647181993000,26.20000000],[1647182293000,26.54000000],[1647182595000,26.84000000],[1647182893000,26.94000000],[1647183192000,27.08000000],[1647183494000,26.58000000],[1647183793000,26.36000000],[1647184093000,26.64000000],[1647184393000,26.80000000],[1647184694000,26.20000000],[1647184993000,25.90000000],[1647185293000,26.32000000],[1647185593000,26.64000000],[1647185893000,26.64000000],[1647186193000,26.82000000],[1647186496000,27.20000000],[1647186792000,27.58000000],[1647187094000,27.56000000],[1647187393000,27.84000000],[1647187696000,27.86000000],[1647187993000,27.70000000],[1647188293000,27.76000000],[1647188592000,27.98000000],[1647188895000,28.14000000],[1647189195000,27.98000000],[1647189494000,28.08000000],[1647189794000,28.30000000],[1647190093000,28.60000000],[1647190393000,28.96000000],[1647190693000,29.22000000],[1647190993000,29.20000000],[1647191293000,29.18000000],[1647191592000,29.02000000],[1647191893000,28.98000000],[1647192196000,29.34000000],[1647192493000,29.52000000],[1647192792000,29.76000000],[1647193098000,30.00000000],[1647193393000,30.12000000],[1647193693000,30.12000000],[1647193993000,30.30000000],[1647194293000,30.24000000],[1647194593000,30.34000000],[1647194893000,30.56000000],[1647195192000,30.56000000],[1647195493000,30.76000000],[1647195793000,30.96000000],[1647196093000,31.00000000],[1647196393000,31.10000000],[1647196693000,31.38000000],[1647196993000,31.48000000],[1647197293000,31.68000000],[1647197593000,31.88000000],[1647197893000,31.82000000],[1647198193000,31.66000000],[1647198493000,31.62000000],[1647198794000,31.74000000],[1647199093000,32.02000000],[1647199393000,32.18000000],[1647199693000,32.30000000],[1647199994000,32.32000000],[1647200293000,32.44000000],[1647200593000,32.56000000],[1647200893000,32.68000000],[1647201193000,32.82000000],[1647201493000,32.90000000],[1647201792000,32.88000000],[1647202094000,32.96000000],[1647202392000,32.98000000],[1647202696000,32.92000000],[1647202993000,32.98000000],[1647203293000,32.96000000],[1647203592000,33.32000000],[1647203893000,33.62000000],[1647204193000,33.74000000],[1647204493000,33.98000000],[1647204792000,34.26000000],[1647205094000,34.48000000],[1647205393000,34.72000000],[1647205693000,34.82000000],[1647205995000,34.80000000],[1647206294000,34.70000000],[1647206593000,34.74000000],[1647206893000,34.68000000],[1647207193000,34.80000000],[1647207493000,34.94000000],[1647207793000,35.06000000],[1647208093000,35.18000000],[1647208393000,35.20000000],[1647208694000,35.34000000],[1647208994000,35.52000000],[1647209293000,35.72000000],[1647209592000,35.98000000],[1647209893000,36.12000000],[1647210194000,36.40000000],[1647210493000,36.44000000],[1647210798000,36.70000000],[1647211093000,36.74000000],[1647211392000,36.92000000],[1647211696000,36.88000000],[1647211993000,37.20000000],[1647212293000,37.30000000],], 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: [[1647126023000,1030.1],[1647126193000,1030.1],[1647126493000,1030.1],[1647126793000,1030.1],[1647127078000,1030.1],[1647127393000,1030.2],[1647127693000,1030.1],[1647127996000,1030.1],[1647128293000,1030],[1647128593000,1029.9],[1647128893000,1030],[1647129196000,1029.8],[1647129493000,1029.8],[1647129798000,1029.8],[1647130095000,1029.8],[1647130393000,1029.8],[1647130693000,1029.8],[1647130993000,1029.8],[1647131292000,1029.8],[1647131594000,1029.8],[1647131896000,1029.8],[1647132193000,1029.9],[1647132495000,1029.9],[1647132793000,1029.8],[1647133098000,1029.7],[1647133394000,1029.7],[1647133693000,1029.6],[1647133994000,1029.6],[1647134293000,1029.6],[1647134593000,1029.6],[1647134893000,1029.6],[1647135193000,1029.6],[1647135493000,1029.5],[1647135793000,1029.5],[1647136096000,1029.5],[1647136393000,1029.5],[1647136693000,1029.6],[1647136993000,1029.6],[1647137293000,1029.6],[1647137597000,1029.6],[1647137893000,1029.5],[1647138193000,1029.5],[1647138493000,1029.5],[1647138793000,1029.4],[1647139098000,1029.4],[1647139393000,1029.5],[1647139692000,1029.4],[1647139994000,1029.4],[1647140293000,1029.4],[1647140593000,1029.5],[1647140892000,1029.5],[1647141194000,1029.5],[1647141493000,1029.5],[1647141794000,1029.6],[1647142092000,1029.5],[1647142393000,1029.5],[1647142693000,1029.5],[1647142993000,1029.5],[1647143292000,1029.6],[1647143593000,1029.6],[1647143893000,1029.5],[1647144194000,1029.5],[1647144492000,1029.4],[1647144793000,1029.4],[1647145093000,1029.3],[1647145393000,1029.3],[1647145692000,1029.3],[1647145993000,1029.3],[1647146293000,1029.3],[1647146594000,1029.3],[1647146893000,1029.3],[1647147193000,1029.3],[1647147493000,1029.2],[1647147793000,1029.2],[1647148093000,1029.3],[1647148399000,1029.3],[1647148693000,1029.4],[1647148993000,1029.3],[1647149295000,1029.4],[1647149597000,1029.4],[1647149896000,1029.5],[1647150194000,1029.5],[1647150493000,1029.4],[1647150793000,1029.5],[1647151093000,1029.4],[1647151394000,1029.4],[1647151692000,1029.3],[1647151993000,1029.3],[1647152293000,1029.3],[1647152593000,1029.3],[1647152893000,1029.3],[1647153194000,1029.4],[1647153493000,1029.4],[1647153793000,1029.4],[1647154093000,1029.5],[1647154396000,1029.5],[1647154693000,1029.5],[1647154993000,1029.5],[1647155292000,1029.5],[1647155593000,1029.4],[1647155893000,1029.4],[1647156208000,1029.4],[1647156493000,1029.3],[1647156793000,1029.3],[1647157094000,1029.2],[1647157393000,1029.1],[1647157693000,1029.1],[1647157995000,1029],[1647158293000,1028.9],[1647158596000,1028.8],[1647158896000,1028.7],[1647159193000,1028.7],[1647159494000,1028.7],[1647159793000,1028.6],[1647160093000,1028.5],[1647160393000,1028.4],[1647160693000,1028.4],[1647160993000,1028.3],[1647161296000,1028.3],[1647161593000,1028.3],[1647161893000,1028.2],[1647162193000,1028.2],[1647162493000,1028.1],[1647162793000,1028.1],[1647163096000,1028.1],[1647163393000,1028],[1647163693000,1028],[1647163992000,1028],[1647164293000,1027.9],[1647164593000,1027.8],[1647164893000,1027.7],[1647165195000,1027.7],[1647165493000,1027.7],[1647165794000,1027.7],[1647166095000,1027.5],[1647166392000,1027.5],[1647166694000,1027.4],[1647166993000,1027.3],[1647167293000,1027.2],[1647167595000,1027.2],[1647167894000,1027.1],[1647168194000,1027],[1647168493000,1027],[1647168792000,1026.9],[1647169096000,1026.8],[1647169394000,1026.8],[1647169693000,1026.8],[1647169993000,1026.7],[1647170293000,1026.6],[1647170594000,1026.6],[1647170893000,1026.5],[1647171193000,1026.5],[1647171494000,1026.3],[1647171793000,1026.3],[1647172093000,1026.2],[1647172392000,1026.2],[1647172693000,1026],[1647172993000,1026.1],[1647173293000,1025.9],[1647173595000,1025.9],[1647173893000,1025.9],[1647174193000,1025.9],[1647174493000,1025.8],[1647174793000,1025.7],[1647175093000,1025.7],[1647175393000,1025.6],[1647175693000,1025.6],[1647175992000,1025.5],[1647176293000,1025.5],[1647176593000,1025.4],[1647176893000,1025.4],[1647177193000,1025.3],[1647177493000,1025.2],[1647177793000,1025.2],[1647178093000,1025.2],[1647178393000,1025.2],[1647178694000,1025.2],[1647178993000,1025.2],[1647179293000,1025.2],[1647179592000,1025.3],[1647179893000,1025.2],[1647180193000,1025.2],[1647180493000,1025.3],[1647180795000,1025.2],[1647181093000,1025.2],[1647181392000,1025.2],[1647181693000,1025.2],[1647181993000,1025.2],[1647182293000,1025.2],[1647182595000,1025.2],[1647182893000,1025.1],[1647183192000,1025.1],[1647183494000,1025],[1647183793000,1025.1],[1647184093000,1025.2],[1647184393000,1025.1],[1647184694000,1025.1],[1647184993000,1025.1],[1647185293000,1025.2],[1647185593000,1025.3],[1647185893000,1025.2],[1647186193000,1025.2],[1647186496000,1025.2],[1647186792000,1025.2],[1647187094000,1025.2],[1647187393000,1025.3],[1647187696000,1025.4],[1647187993000,1025.4],[1647188293000,1025.5],[1647188592000,1025.5],[1647188895000,1025.6],[1647189195000,1025.6],[1647189494000,1025.7],[1647189794000,1025.8],[1647190093000,1025.9],[1647190393000,1026],[1647190693000,1026],[1647190993000,1026.1],[1647191293000,1026.2],[1647191592000,1026.2],[1647191893000,1026.3],[1647192196000,1026.4],[1647192493000,1026.6],[1647192792000,1026.6],[1647193098000,1026.6],[1647193393000,1026.7],[1647193693000,1026.7],[1647193993000,1026.7],[1647194293000,1026.8],[1647194593000,1026.8],[1647194893000,1026.8],[1647195192000,1026.9],[1647195493000,1027],[1647195793000,1027],[1647196093000,1027.1],[1647196393000,1027.2],[1647196693000,1027.2],[1647196993000,1027.3],[1647197293000,1027.4],[1647197593000,1027.4],[1647197893000,1027.4],[1647198193000,1027.4],[1647198493000,1027.4],[1647198794000,1027.5],[1647199093000,1027.6],[1647199393000,1027.7],[1647199693000,1027.7],[1647199994000,1027.7],[1647200293000,1027.8],[1647200593000,1027.8],[1647200893000,1027.9],[1647201193000,1027.9],[1647201493000,1027.9],[1647201792000,1028],[1647202094000,1028],[1647202392000,1028],[1647202696000,1028],[1647202993000,1028],[1647203293000,1028],[1647203592000,1028.1],[1647203893000,1028.1],[1647204193000,1028.2],[1647204493000,1028.2],[1647204792000,1028.2],[1647205094000,1028.2],[1647205393000,1028.3],[1647205693000,1028.3],[1647205995000,1028.3],[1647206294000,1028.3],[1647206593000,1028.3],[1647206893000,1028.4],[1647207193000,1028.4],[1647207493000,1028.4],[1647207793000,1028.4],[1647208093000,1028.4],[1647208393000,1028.4],[1647208694000,1028.5],[1647208994000,1028.5],[1647209293000,1028.5],[1647209592000,1028.5],[1647209893000,1028.5],[1647210194000,1028.6],[1647210493000,1028.6],[1647210798000,1028.7],[1647211093000,1028.7],[1647211392000,1028.7],[1647211696000,1028.7],[1647211993000,1028.8],[1647212293000,1028.8],], 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); }); $('.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; }