var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1677625221000,0.53333333],[1677625392000,0.56000000],[1677625694000,0.52000000],[1677625993000,0.52000000],[1677626294000,0.56000000],[1677626596000,0.60000000],[1677626894000,0.50000000],[1677627193000,0.42000000],[1677627494000,0.30000000],[1677627793000,0.30000000],[1677628094000,0.32000000],[1677628393000,0.28000000],[1677628693000,0.26000000],[1677628993000,0.32000000],[1677629293000,0.42000000],[1677629593000,0.50000000],[1677629893000,0.60000000],[1677630193000,0.68000000],[1677630493000,0.82000000],[1677630792000,0.98000000],[1677631093000,1.04000000],[1677631398000,1.16000000],[1677631694000,1.20000000],[1677631993000,1.26000000],[1677632294000,1.32000000],[1677632593000,1.42000000],[1677632893000,1.54000000],[1677633193000,1.60000000],[1677633493000,1.72000000],[1677633793000,1.80000000],[1677634093000,1.86000000],[1677634395000,1.94000000],[1677634693000,1.98000000],[1677634993000,2.12000000],[1677635293000,2.20000000],[1677635592000,2.22000000],[1677635893000,2.36000000],[1677636193000,2.40000000],[1677636493000,2.40000000],[1677636793000,2.40000000],[1677637094000,2.40000000],[1677637393000,2.44000000],[1677637694000,2.50000000],[1677637993000,2.42000000],[1677638293000,2.50000000],[1677638593000,2.46000000],[1677638893000,2.50000000],[1677639192000,2.50000000],[1677639494000,2.54000000],[1677639793000,2.56000000],[1677640093000,2.54000000],[1677640393000,2.58000000],[1677640696000,2.60000000],[1677640993000,2.62000000],[1677641293000,2.60000000],[1677641592000,2.60000000],[1677641894000,2.68000000],[1677642193000,2.68000000],[1677642493000,2.62000000],[1677642792000,2.70000000],[1677643096000,2.70000000],[1677643394000,2.70000000],[1677643693000,2.72000000],[1677643992000,2.86000000],[1677644294000,2.80000000],[1677644593000,2.80000000],[1677644893000,2.80000000],[1677645194000,2.80000000],[1677645494000,2.88000000],[1677645794000,2.90000000],[1677646093000,2.90000000],[1677646393000,2.90000000],[1677646693000,3.00000000],[1677646995000,2.98000000],[1677647293000,3.00000000],[1677647595000,3.00000000],[1677647897000,3.06000000],[1677648193000,3.10000000],[1677648493000,3.08000000],[1677648798000,3.10000000],[1677649093000,3.10000000],[1677649393000,3.12000000],[1677649693000,3.20000000],[1677649995000,3.20000000],[1677650293000,3.26000000],[1677650593000,3.30000000],[1677650893000,3.30000000],[1677651192000,3.36000000],[1677651497000,3.46000000],[1677651793000,3.52000000],[1677652093000,3.52000000],[1677652394000,3.56000000],[1677652693000,3.58000000],[1677652993000,3.66000000],[1677653413000,3.80000000],[1677653593000,3.80000000],[1677653893000,3.80000000],[1677654194000,3.84000000],[1677654494000,3.90000000],[1677654793000,3.90000000],[1677655093000,3.90000000],[1677655393000,3.98000000],[1677655700000,4.14000000],[1677655993000,4.17500000],[1677656294000,4.34000000],[1677656593000,4.58000000],[1677656893000,4.74000000],[1677657212000,4.62000000],[1677657494000,4.70000000],[1677657793000,4.84000000],[1677658105000,4.82000000],[1677658395000,4.72000000],[1677658693000,4.72000000],[1677658993000,4.58000000],[1677659297000,4.80000000],[1677659601000,5.06000000],[1677659894000,5.07500000],[1677660154000,5.10000000],[1677660499000,5.32000000],[1677660793000,5.24000000],[1677661094000,5.08000000],[1677661393000,5.08000000],[1677661693000,5.16000000],[1677661993000,5.28000000],[1677662294000,5.30000000],[1677662593000,5.50000000],[1677662894000,5.75000000],[1677663194000,5.78000000],[1677663496000,5.90000000],[1677663793000,5.92000000],[1677664095000,6.06000000],[1677664396000,6.24000000],[1677664694000,6.10000000],[1677664993000,6.26000000],[1677665294000,6.32000000],[1677665593000,6.50000000],[1677665894000,6.60000000],[1677666193000,6.52000000],[1677666494000,6.50000000],[1677666793000,6.80000000],[1677667052000,7.06666667],[1677667396000,7.10000000],[1677667699000,7.22000000],[1677667993000,7.28000000],[1677668306000,7.18000000],[1677668593000,7.54000000],[1677668893000,7.98000000],[1677669193000,7.88000000],[1677669493000,8.04000000],[1677669794000,8.08000000],[1677670107000,8.20000000],[1677670396000,8.40000000],[1677670695000,8.34000000],[1677670996000,8.38000000],[1677671294000,8.54000000],[1677671593000,8.86000000],[1677671894000,8.92000000],[1677672193000,8.40000000],[1677672493000,8.46000000],[1677672793000,8.50000000],[1677673093000,8.60000000],[1677673393000,8.64000000],[1677673707000,8.44000000],[1677673992000,8.32000000],[1677674294000,8.50000000],[1677674595000,8.50000000],[1677674893000,8.66000000],[1677675192000,8.70000000],[1677675493000,8.64000000],[1677675792000,8.68000000],[1677676093000,8.70000000],[1677676392000,8.70000000],[1677676694000,8.60000000],[1677676993000,8.68000000],[1677677294000,8.80000000],[1677677607000,9.10000000],[1677677894000,8.98000000],[1677678192000,8.88000000],[1677678493000,8.96000000],[1677678793000,8.98000000],[1677679094000,8.76000000],[1677679393000,8.70000000],[1677679694000,8.62000000],[1677679993000,8.48000000],[1677680294000,8.56000000],[1677680598000,8.42000000],[1677680893000,8.40000000],[1677681193000,8.26000000],[1677681493000,8.26000000],[1677681793000,8.26000000],[1677682093000,8.30000000],[1677682392000,8.28000000],[1677682700000,8.14000000],[1677682992000,8.20000000],[1677683293000,8.20000000],[1677683592000,8.18000000],[1677683894000,8.12000000],[1677684193000,8.20000000],[1677684493000,8.16000000],[1677684793000,8.14000000],[1677685094000,8.20000000],[1677685392000,8.18000000],[1677685693000,8.22000000],[1677685992000,8.16000000],[1677686293000,8.14000000],[1677686593000,8.10000000],[1677686893000,8.02000000],[1677687192000,7.92000000],[1677687493000,7.84000000],[1677687794000,7.74000000],[1677688093000,7.56000000],[1677688393000,7.42000000],[1677688694000,6.96000000],[1677688993000,6.80000000],[1677689293000,6.66000000],[1677689592000,6.54000000],[1677689893000,6.48000000],[1677690194000,6.32000000],[1677690493000,6.12000000],[1677690793000,5.88000000],[1677691093000,5.84000000],[1677691393000,5.78000000],[1677691693000,5.74000000],[1677691992000,5.60000000],[1677692293000,5.46000000],[1677692593000,5.40000000],[1677692893000,5.46000000],[1677693195000,5.32000000],[1677693493000,5.22000000],[1677693793000,5.28000000],[1677694093000,5.22500000],[1677694370000,5.04000000],[1677694694000,5.04000000],[1677694993000,5.00000000],[1677695294000,5.08000000],[1677695592000,5.10000000],[1677695893000,5.08000000],[1677696192000,5.00000000],[1677696493000,4.98000000],[1677696792000,4.94000000],[1677697093000,5.06000000],[1677697392000,5.00000000],[1677697693000,4.96000000],[1677697992000,5.22000000],[1677698294000,5.42000000],[1677698595000,5.48000000],[1677698893000,5.34000000],[1677699195000,5.14000000],[1677699493000,4.96000000],[1677699793000,5.04000000],[1677700093000,4.94000000],[1677700392000,4.84000000],[1677700693000,4.66000000],[1677700992000,4.60000000],[1677701294000,4.56000000],[1677701593000,4.52000000],[1677701893000,4.48000000],[1677702193000,4.28000000],[1677702493000,4.28000000],[1677702798000,4.22000000],[1677703094000,4.30000000],[1677703393000,4.28000000],[1677703696000,4.26000000],[1677703993000,4.30000000],[1677704293000,4.24000000],[1677704593000,4.26000000],[1677704895000,4.30000000],[1677705193000,4.12000000],[1677705493000,4.28000000],[1677705793000,4.50000000],[1677706093000,4.54000000],[1677706392000,4.62000000],[1677706693000,4.70000000],[1677706994000,4.72000000],[1677707294000,4.64000000],[1677707593000,4.48000000],[1677707893000,4.40000000],[1677708196000,4.28000000],[1677708493000,4.14000000],[1677708796000,4.02000000],[1677709093000,3.90000000],[1677709393000,3.90000000],[1677709698000,3.90000000],[1677709993000,3.80000000],[1677710296000,3.68000000],[1677710593000,3.50000000],[1677710893000,3.50000000],[1677711193000,3.48000000],[1677711493000,3.40000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1677625221000,-5.8],[1677625392000,-5.8],[1677625694000,-5.8],[1677625993000,-5.8],[1677626294000,-5.7],[1677626596000,-5.8],[1677626894000,-5.8],[1677627193000,-5.9],[1677627494000,-5.9],[1677627793000,-5.9],[1677628094000,-5.8],[1677628393000,-5.8],[1677628693000,-5.8],[1677628993000,-5.8],[1677629293000,-5.6],[1677629593000,-5.6],[1677629893000,-5.5],[1677630193000,-5.4],[1677630493000,-5.3],[1677630792000,-5.2],[1677631093000,-5.2],[1677631398000,-5.1],[1677631694000,-5.1],[1677631993000,-5],[1677632294000,-4.9],[1677632593000,-4.8],[1677632893000,-4.7],[1677633193000,-4.5],[1677633493000,-4.4],[1677633793000,-4.4],[1677634093000,-4.3],[1677634395000,-4.3],[1677634693000,-4.2],[1677634993000,-4.2],[1677635293000,-4.2],[1677635592000,-4.3],[1677635893000,-4.4],[1677636193000,-4.4],[1677636493000,-4.7],[1677636793000,-4.7],[1677637094000,-4.7],[1677637393000,-4.7],[1677637694000,-4.6],[1677637993000,-4.7],[1677638293000,-4.6],[1677638593000,-4.7],[1677638893000,-4.6],[1677639192000,-4.7],[1677639494000,-4.6],[1677639793000,-4.6],[1677640093000,-4.7],[1677640393000,-4.6],[1677640696000,-4.6],[1677640993000,-4.6],[1677641293000,-4.6],[1677641592000,-4.6],[1677641894000,-4.5],[1677642193000,-4.6],[1677642493000,-4.6],[1677642792000,-4.5],[1677643096000,-4.5],[1677643394000,-4.5],[1677643693000,-4.5],[1677643992000,-4.4],[1677644294000,-4.5],[1677644593000,-4.5],[1677644893000,-4.5],[1677645194000,-4.5],[1677645494000,-4.5],[1677645794000,-4.4],[1677646093000,-4.5],[1677646393000,-4.5],[1677646693000,-4.4],[1677646995000,-4.5],[1677647293000,-4.4],[1677647595000,-4.4],[1677647897000,-4.4],[1677648193000,-4.4],[1677648493000,-4.4],[1677648798000,-4.4],[1677649093000,-4.4],[1677649393000,-4.4],[1677649693000,-4.3],[1677649995000,-4.3],[1677650293000,-4.3],[1677650593000,-4.3],[1677650893000,-4.4],[1677651192000,-4.3],[1677651497000,-4.1],[1677651793000,-4.1],[1677652093000,-4.2],[1677652394000,-4.1],[1677652693000,-4.1],[1677652993000,-4.1],[1677653413000,-4],[1677653593000,-4],[1677653893000,-4.1],[1677654194000,-4.1],[1677654494000,-4],[1677654793000,-4.1],[1677655093000,-4.2],[1677655393000,-4],[1677655700000,-3.8],[1677655993000,-3.9],[1677656294000,-3.8],[1677656593000,-3.6],[1677656893000,-3.5],[1677657212000,-3.7],[1677657494000,-3.5],[1677657793000,-3.3],[1677658105000,-3.3],[1677658395000,-3.3],[1677658693000,-3.2],[1677658993000,-3.3],[1677659297000,-3.1],[1677659601000,-2.9],[1677659894000,-3.1],[1677660154000,-3.1],[1677660499000,-2.9],[1677660793000,-3.1],[1677661094000,-3.2],[1677661393000,-3.2],[1677661693000,-3.1],[1677661993000,-3],[1677662294000,-3],[1677662593000,-2.8],[1677662894000,-2.6],[1677663194000,-2.7],[1677663496000,-2.5],[1677663793000,-2.5],[1677664095000,-2.4],[1677664396000,-2.3],[1677664694000,-2.5],[1677664993000,-2.3],[1677665294000,-2.3],[1677665593000,-2.1],[1677665894000,-2.1],[1677666193000,-2.3],[1677666494000,-2.4],[1677666793000,-2],[1677667052000,-1.9],[1677667396000,-2],[1677667699000,-1.9],[1677667993000,-1.9],[1677668306000,-2],[1677668593000,-1.6],[1677668893000,-1.3],[1677669193000,-1.5],[1677669493000,-1.2],[1677669794000,-1.2],[1677670107000,-1.1],[1677670396000,-0.8],[1677670695000,-1.1],[1677670996000,-1],[1677671294000,-0.7],[1677671593000,-0.4],[1677671894000,-0.4],[1677672193000,-1],[1677672493000,-0.9],[1677672793000,-0.9],[1677673093000,-0.7],[1677673393000,-0.6],[1677673707000,-0.8],[1677673992000,-0.9],[1677674294000,-0.6],[1677674595000,-0.7],[1677674893000,-0.5],[1677675192000,-0.5],[1677675493000,-0.6],[1677675792000,-0.5],[1677676093000,-0.6],[1677676392000,-0.6],[1677676694000,-0.7],[1677676993000,-0.5],[1677677294000,-0.4],[1677677607000,-0.1],[1677677894000,-0.4],[1677678192000,-0.4],[1677678493000,-0.3],[1677678793000,-0.3],[1677679094000,-0.4],[1677679393000,-0.4],[1677679694000,-0.4],[1677679993000,-0.5],[1677680294000,-0.4],[1677680598000,-0.6],[1677680893000,-0.5],[1677681193000,-0.6],[1677681493000,-0.5],[1677681793000,-0.5],[1677682093000,-0.4],[1677682392000,-0.4],[1677682700000,-0.5],[1677682992000,-0.4],[1677683293000,-0.4],[1677683592000,-0.5],[1677683894000,-0.4],[1677684193000,-0.3],[1677684493000,-0.3],[1677684793000,-0.3],[1677685094000,-0.3],[1677685392000,-0.3],[1677685693000,-0.2],[1677685992000,-0.3],[1677686293000,-0.3],[1677686593000,-0.3],[1677686893000,-0.3],[1677687192000,-0.3],[1677687493000,-0.4],[1677687794000,-0.4],[1677688093000,-0.5],[1677688393000,-0.5],[1677688694000,-0.7],[1677688993000,-0.7],[1677689293000,-0.8],[1677689592000,-0.8],[1677689893000,-0.9],[1677690194000,-0.9],[1677690493000,-1],[1677690793000,-1.1],[1677691093000,-1.1],[1677691393000,-1.1],[1677691693000,-1.1],[1677691992000,-1.2],[1677692293000,-1.3],[1677692593000,-1.3],[1677692893000,-1.2],[1677693195000,-1.3],[1677693493000,-1.4],[1677693793000,-1.3],[1677694093000,-1.4],[1677694370000,-1.5],[1677694694000,-1.4],[1677694993000,-1.4],[1677695294000,-1.4],[1677695592000,-1.4],[1677695893000,-1.4],[1677696192000,-1.5],[1677696493000,-1.5],[1677696792000,-1.5],[1677697093000,-1.5],[1677697392000,-1.5],[1677697693000,-1.5],[1677697992000,-1.4],[1677698294000,-1.4],[1677698595000,-1.4],[1677698893000,-1.5],[1677699195000,-1.6],[1677699493000,-1.6],[1677699793000,-1.5],[1677700093000,-1.7],[1677700392000,-1.8],[1677700693000,-1.7],[1677700992000,-1.7],[1677701294000,-1.7],[1677701593000,-1.7],[1677701893000,-1.7],[1677702193000,-1.8],[1677702493000,-1.8],[1677702798000,-1.8],[1677703094000,-1.7],[1677703393000,-1.7],[1677703696000,-1.8],[1677703993000,-1.8],[1677704293000,-1.8],[1677704593000,-1.8],[1677704895000,-1.8],[1677705193000,-1.9],[1677705493000,-1.7],[1677705793000,-1.6],[1677706093000,-1.6],[1677706392000,-1.6],[1677706693000,-1.6],[1677706994000,-1.6],[1677707294000,-1.7],[1677707593000,-1.8],[1677707893000,-1.8],[1677708196000,-1.9],[1677708493000,-2],[1677708796000,-2],[1677709093000,-2],[1677709393000,-1.9],[1677709698000,-2],[1677709993000,-2.1],[1677710296000,-2.2],[1677710593000,-2.2],[1677710893000,-2.3],[1677711193000,-2.3],[1677711493000,-2.3],], 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: [[1677625221000,62.83333333],[1677625392000,62.66000000],[1677625694000,62.74000000],[1677625993000,62.96000000],[1677626294000,63.02000000],[1677626596000,62.66000000],[1677626894000,63.06000000],[1677627193000,63.12000000],[1677627494000,63.42000000],[1677627793000,63.56000000],[1677628094000,63.68000000],[1677628393000,64.14000000],[1677628693000,64.08000000],[1677628993000,63.96000000],[1677629293000,64.26000000],[1677629593000,64.24000000],[1677629893000,64.04000000],[1677630193000,63.98000000],[1677630493000,64.04000000],[1677630792000,63.84000000],[1677631093000,63.58000000],[1677631398000,63.28000000],[1677631694000,63.20000000],[1677631993000,63.30000000],[1677632294000,63.58000000],[1677632593000,63.54000000],[1677632893000,63.70000000],[1677633193000,64.12000000],[1677633493000,63.96000000],[1677633793000,64.04000000],[1677634093000,63.82000000],[1677634395000,63.56000000],[1677634693000,63.78000000],[1677634993000,63.20000000],[1677635293000,63.04000000],[1677635592000,62.50000000],[1677635893000,61.56000000],[1677636193000,60.96000000],[1677636493000,60.04000000],[1677636793000,60.04000000],[1677637094000,59.90000000],[1677637393000,59.80000000],[1677637694000,59.90000000],[1677637993000,59.66000000],[1677638293000,59.70000000],[1677638593000,59.58000000],[1677638893000,59.72000000],[1677639192000,59.58000000],[1677639494000,59.50000000],[1677639793000,59.44000000],[1677640093000,59.40000000],[1677640393000,59.50000000],[1677640696000,59.64000000],[1677640993000,59.34000000],[1677641293000,59.42000000],[1677641592000,59.38000000],[1677641894000,59.48000000],[1677642193000,59.32000000],[1677642493000,59.20000000],[1677642792000,59.50000000],[1677643096000,59.30000000],[1677643394000,59.28000000],[1677643693000,59.30000000],[1677643992000,59.40000000],[1677644294000,59.22000000],[1677644593000,59.08000000],[1677644893000,59.08000000],[1677645194000,58.94000000],[1677645494000,58.92000000],[1677645794000,58.86000000],[1677646093000,58.78000000],[1677646393000,58.52000000],[1677646693000,58.56000000],[1677646995000,58.48000000],[1677647293000,58.52000000],[1677647595000,58.46000000],[1677647897000,58.44000000],[1677648193000,58.36000000],[1677648493000,58.40000000],[1677648798000,58.42000000],[1677649093000,58.38000000],[1677649393000,58.22000000],[1677649693000,58.24000000],[1677649995000,58.10000000],[1677650293000,57.98000000],[1677650593000,58.00000000],[1677650893000,57.57500000],[1677651192000,57.76000000],[1677651497000,57.92000000],[1677651793000,57.86000000],[1677652093000,57.60000000],[1677652394000,57.62000000],[1677652693000,57.48000000],[1677652993000,57.42000000],[1677653413000,57.33333333],[1677653593000,57.00000000],[1677653893000,56.76000000],[1677654194000,56.48000000],[1677654494000,56.60000000],[1677654793000,56.40000000],[1677655093000,56.08000000],[1677655393000,56.38000000],[1677655700000,56.60000000],[1677655993000,56.22500000],[1677656294000,55.80000000],[1677656593000,55.86000000],[1677656893000,55.70000000],[1677657212000,55.30000000],[1677657494000,55.56000000],[1677657793000,55.94000000],[1677658105000,56.02000000],[1677658395000,56.44000000],[1677658693000,56.96000000],[1677658993000,57.08000000],[1677659297000,56.86000000],[1677659601000,56.62000000],[1677659894000,55.80000000],[1677660154000,55.76666667],[1677660499000,55.58000000],[1677660793000,55.24000000],[1677661094000,55.40000000],[1677661393000,55.62000000],[1677661693000,55.60000000],[1677661993000,55.36000000],[1677662294000,55.46000000],[1677662593000,55.34000000],[1677662894000,55.35000000],[1677663194000,54.80000000],[1677663496000,55.28000000],[1677663793000,55.10000000],[1677664095000,55.16000000],[1677664396000,54.84000000],[1677664694000,54.36000000],[1677664993000,54.48000000],[1677665294000,54.40000000],[1677665593000,54.46000000],[1677665894000,54.04000000],[1677666193000,53.64000000],[1677666494000,53.42000000],[1677666793000,53.92500000],[1677667052000,53.33333333],[1677667396000,52.84000000],[1677667699000,52.76000000],[1677667993000,52.42000000],[1677668306000,52.34000000],[1677668593000,52.76000000],[1677668893000,52.34000000],[1677669193000,52.04000000],[1677669493000,52.48000000],[1677669794000,52.36000000],[1677670107000,52.42000000],[1677670396000,52.58000000],[1677670695000,51.90000000],[1677670996000,52.18000000],[1677671294000,52.40000000],[1677671593000,52.48000000],[1677671894000,52.32000000],[1677672193000,51.86000000],[1677672493000,52.18000000],[1677672793000,52.06000000],[1677673093000,52.32000000],[1677673393000,52.48000000],[1677673707000,52.40000000],[1677673992000,52.60000000],[1677674294000,52.98000000],[1677674595000,52.70000000],[1677674893000,52.82000000],[1677675192000,52.78000000],[1677675493000,52.60000000],[1677675792000,52.88000000],[1677676093000,52.42000000],[1677676392000,52.42000000],[1677676694000,52.44000000],[1677676993000,52.80000000],[1677677294000,52.80000000],[1677677607000,52.90000000],[1677677894000,52.18000000],[1677678192000,52.34000000],[1677678493000,52.76000000],[1677678793000,52.50000000],[1677679094000,52.84000000],[1677679393000,53.00000000],[1677679694000,53.42000000],[1677679993000,53.38000000],[1677680294000,53.48000000],[1677680598000,53.42000000],[1677680893000,53.78000000],[1677681193000,54.10000000],[1677681493000,54.22000000],[1677681793000,54.28000000],[1677682093000,54.44000000],[1677682392000,54.54000000],[1677682700000,54.66000000],[1677682992000,54.90000000],[1677683293000,54.88000000],[1677683592000,54.84000000],[1677683894000,55.16000000],[1677684193000,55.32000000],[1677684493000,55.40000000],[1677684793000,55.46000000],[1677685094000,55.54000000],[1677685392000,55.60000000],[1677685693000,55.66000000],[1677685992000,55.50000000],[1677686293000,55.62000000],[1677686593000,55.82000000],[1677686893000,56.00000000],[1677687192000,56.28000000],[1677687493000,56.46000000],[1677687794000,56.66000000],[1677688093000,56.98000000],[1677688393000,57.36000000],[1677688694000,58.36000000],[1677688993000,59.14000000],[1677689293000,59.38000000],[1677689592000,59.64000000],[1677689893000,59.54000000],[1677690194000,60.16000000],[1677690493000,60.54000000],[1677690793000,61.06000000],[1677691093000,61.30000000],[1677691393000,61.56000000],[1677691693000,61.90000000],[1677691992000,62.02000000],[1677692293000,62.32000000],[1677692593000,62.54000000],[1677692893000,62.66000000],[1677693195000,62.58000000],[1677693493000,62.82000000],[1677693793000,62.92000000],[1677694093000,62.77500000],[1677694370000,63.08000000],[1677694694000,63.40000000],[1677694993000,63.42000000],[1677695294000,63.42000000],[1677695592000,63.18000000],[1677695893000,63.12000000],[1677696192000,63.18000000],[1677696493000,63.28000000],[1677696792000,63.44000000],[1677697093000,62.98000000],[1677697392000,63.08000000],[1677697693000,63.30000000],[1677697992000,62.88000000],[1677698294000,62.04000000],[1677698595000,61.70000000],[1677698893000,61.64000000],[1677699195000,62.08000000],[1677699493000,62.78000000],[1677699793000,62.96000000],[1677700093000,62.74000000],[1677700392000,62.72000000],[1677700693000,63.58000000],[1677700992000,64.10000000],[1677701294000,64.08000000],[1677701593000,64.46000000],[1677701893000,64.42000000],[1677702193000,64.90000000],[1677702493000,64.80000000],[1677702798000,65.20000000],[1677703094000,65.16000000],[1677703393000,65.22000000],[1677703696000,65.14000000],[1677703993000,65.10000000],[1677704293000,65.00000000],[1677704593000,65.06000000],[1677704895000,64.86000000],[1677705193000,65.22000000],[1677705493000,65.26000000],[1677705793000,64.86000000],[1677706093000,64.58000000],[1677706392000,64.34000000],[1677706693000,64.08000000],[1677706994000,63.88000000],[1677707294000,63.82000000],[1677707593000,64.28000000],[1677707893000,64.64000000],[1677708196000,64.68000000],[1677708493000,64.88000000],[1677708796000,65.20000000],[1677709093000,65.82500000],[1677709393000,66.12000000],[1677709698000,65.96000000],[1677709993000,65.92000000],[1677710296000,65.92000000],[1677710593000,66.38000000],[1677710893000,66.20000000],[1677711193000,66.22000000],[1677711493000,66.45000000],], 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: [[1677625221000,1029.9],[1677625392000,1029.9],[1677625694000,1029.9],[1677625993000,1029.9],[1677626294000,1029.9],[1677626596000,1029.9],[1677626894000,1029.8],[1677627193000,1029.8],[1677627494000,1029.8],[1677627793000,1029.8],[1677628094000,1029.9],[1677628393000,1029.9],[1677628693000,1029.9],[1677628993000,1029.9],[1677629293000,1029.8],[1677629593000,1029.8],[1677629893000,1029.8],[1677630193000,1029.8],[1677630493000,1029.9],[1677630792000,1029.9],[1677631093000,1029.8],[1677631398000,1029.8],[1677631694000,1029.8],[1677631993000,1029.8],[1677632294000,1029.7],[1677632593000,1029.7],[1677632893000,1029.6],[1677633193000,1029.5],[1677633493000,1029.5],[1677633793000,1029.4],[1677634093000,1029.4],[1677634395000,1029.3],[1677634693000,1029.2],[1677634993000,1029.1],[1677635293000,1029.1],[1677635592000,1029.1],[1677635893000,1029.1],[1677636193000,1029.1],[1677636493000,1029.1],[1677636793000,1029],[1677637094000,1029],[1677637393000,1029],[1677637694000,1028.9],[1677637993000,1029],[1677638293000,1028.9],[1677638593000,1028.9],[1677638893000,1028.9],[1677639192000,1028.9],[1677639494000,1028.8],[1677639793000,1028.9],[1677640093000,1028.9],[1677640393000,1028.9],[1677640696000,1028.8],[1677640993000,1028.7],[1677641293000,1028.8],[1677641592000,1028.7],[1677641894000,1028.7],[1677642193000,1028.6],[1677642493000,1028.6],[1677642792000,1028.6],[1677643096000,1028.6],[1677643394000,1028.6],[1677643693000,1028.6],[1677643992000,1028.5],[1677644294000,1028.5],[1677644593000,1028.6],[1677644893000,1028.6],[1677645194000,1028.5],[1677645494000,1028.5],[1677645794000,1028.5],[1677646093000,1028.5],[1677646393000,1028.6],[1677646693000,1028.6],[1677646995000,1028.6],[1677647293000,1028.6],[1677647595000,1028.5],[1677647897000,1028.5],[1677648193000,1028.5],[1677648493000,1028.5],[1677648798000,1028.5],[1677649093000,1028.6],[1677649393000,1028.6],[1677649693000,1028.7],[1677649995000,1028.7],[1677650293000,1028.8],[1677650593000,1028.8],[1677650893000,1028.8],[1677651192000,1028.9],[1677651497000,1028.8],[1677651793000,1028.8],[1677652093000,1028.9],[1677652394000,1028.9],[1677652693000,1029],[1677652993000,1028.9],[1677653413000,1029],[1677653593000,1028.9],[1677653893000,1028.9],[1677654194000,1028.9],[1677654494000,1028.9],[1677654793000,1028.8],[1677655093000,1028.9],[1677655393000,1028.8],[1677655700000,1028.8],[1677655993000,1028.8],[1677656294000,1028.8],[1677656593000,1028.7],[1677656893000,1028.7],[1677657212000,1028.7],[1677657494000,1028.7],[1677657793000,1028.7],[1677658105000,1028.6],[1677658395000,1028.7],[1677658693000,1028.8],[1677658993000,1028.7],[1677659297000,1028.7],[1677659601000,1028.6],[1677659894000,1028.5],[1677660154000,1028.6],[1677660499000,1028.5],[1677660793000,1028.4],[1677661094000,1028.5],[1677661393000,1028.4],[1677661693000,1028.3],[1677661993000,1028.2],[1677662294000,1028.2],[1677662593000,1028.2],[1677662894000,1028.1],[1677663194000,1028.1],[1677663496000,1027.9],[1677663793000,1027.9],[1677664095000,1027.8],[1677664396000,1027.7],[1677664694000,1027.6],[1677664993000,1027.5],[1677665294000,1027.5],[1677665593000,1027.4],[1677665894000,1027.4],[1677666193000,1027.4],[1677666494000,1027.3],[1677666793000,1027.2],[1677667052000,1027.1],[1677667396000,1027],[1677667699000,1026.9],[1677667993000,1026.8],[1677668306000,1026.7],[1677668593000,1026.6],[1677668893000,1026.5],[1677669193000,1026.5],[1677669493000,1026.4],[1677669794000,1026.4],[1677670107000,1026.3],[1677670396000,1026.2],[1677670695000,1026.3],[1677670996000,1026.2],[1677671294000,1026.2],[1677671593000,1026.2],[1677671894000,1026.3],[1677672193000,1026.3],[1677672493000,1026.2],[1677672793000,1026.1],[1677673093000,1026.1],[1677673393000,1026.1],[1677673707000,1026],[1677673992000,1025.9],[1677674294000,1025.9],[1677674595000,1025.9],[1677674893000,1025.9],[1677675192000,1025.8],[1677675493000,1025.8],[1677675792000,1025.7],[1677676093000,1025.7],[1677676392000,1025.7],[1677676694000,1025.6],[1677676993000,1025.7],[1677677294000,1025.7],[1677677607000,1025.6],[1677677894000,1025.5],[1677678192000,1025.5],[1677678493000,1025.3],[1677678793000,1025.2],[1677679094000,1025.2],[1677679393000,1025.1],[1677679694000,1025.1],[1677679993000,1025.1],[1677680294000,1025],[1677680598000,1025],[1677680893000,1024.9],[1677681193000,1024.9],[1677681493000,1024.8],[1677681793000,1024.8],[1677682093000,1024.7],[1677682392000,1024.8],[1677682700000,1024.7],[1677682992000,1024.7],[1677683293000,1024.6],[1677683592000,1024.6],[1677683894000,1024.6],[1677684193000,1024.6],[1677684493000,1024.6],[1677684793000,1024.6],[1677685094000,1024.6],[1677685392000,1024.6],[1677685693000,1024.5],[1677685992000,1024.5],[1677686293000,1024.5],[1677686593000,1024.5],[1677686893000,1024.4],[1677687192000,1024.4],[1677687493000,1024.4],[1677687794000,1024.5],[1677688093000,1024.6],[1677688393000,1024.6],[1677688694000,1024.7],[1677688993000,1024.7],[1677689293000,1024.7],[1677689592000,1024.7],[1677689893000,1024.7],[1677690194000,1024.8],[1677690493000,1024.9],[1677690793000,1024.9],[1677691093000,1024.9],[1677691393000,1025],[1677691693000,1025],[1677691992000,1025],[1677692293000,1025],[1677692593000,1025],[1677692893000,1025],[1677693195000,1025],[1677693493000,1025.1],[1677693793000,1025.1],[1677694093000,1025],[1677694370000,1025.1],[1677694694000,1025],[1677694993000,1024.9],[1677695294000,1024.9],[1677695592000,1024.8],[1677695893000,1024.8],[1677696192000,1024.8],[1677696493000,1024.8],[1677696792000,1024.8],[1677697093000,1024.7],[1677697392000,1024.7],[1677697693000,1024.7],[1677697992000,1024.7],[1677698294000,1024.6],[1677698595000,1024.5],[1677698893000,1024.5],[1677699195000,1024.5],[1677699493000,1024.6],[1677699793000,1024.5],[1677700093000,1024.6],[1677700392000,1024.6],[1677700693000,1024.6],[1677700992000,1024.6],[1677701294000,1024.7],[1677701593000,1024.8],[1677701893000,1024.8],[1677702193000,1024.9],[1677702493000,1024.9],[1677702798000,1024.9],[1677703094000,1024.9],[1677703393000,1024.9],[1677703696000,1024.9],[1677703993000,1024.9],[1677704293000,1024.9],[1677704593000,1024.9],[1677704895000,1024.9],[1677705193000,1024.9],[1677705493000,1024.9],[1677705793000,1024.8],[1677706093000,1024.8],[1677706392000,1024.7],[1677706693000,1024.8],[1677706994000,1024.8],[1677707294000,1024.8],[1677707593000,1024.8],[1677707893000,1024.8],[1677708196000,1024.8],[1677708493000,1024.8],[1677708796000,1024.7],[1677709093000,1024.6],[1677709393000,1024.6],[1677709698000,1024.6],[1677709993000,1024.7],[1677710296000,1024.7],[1677710593000,1024.7],[1677710893000,1024.7],[1677711193000,1024.7],[1677711493000,1024.6],], 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; }