var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1581202801000,-1.60000000],[1581202981000,-1.60000000],[1581203281000,-1.64000000],[1581203581000,-1.76000000],[1581203881000,-1.80000000],[1581204181000,-1.80000000],[1581204481000,-1.88000000],[1581204781000,-1.92000000],[1581205081000,-2.00000000],[1581205381000,-1.96000000],[1581205681000,-1.92000000],[1581205981000,-1.90000000],[1581206281000,-2.00000000],[1581206581000,-2.10000000],[1581206881000,-2.10000000],[1581207181000,-2.14000000],[1581207481000,-2.06000000],[1581207781000,-2.00000000],[1581208081000,-1.90000000],[1581208381000,-1.84000000],[1581208681000,-1.82000000],[1581208981000,-1.78000000],[1581209281000,-1.80000000],[1581209581000,-1.80000000],[1581209881000,-1.72000000],[1581210181000,-1.70000000],[1581210481000,-1.80000000],[1581210781000,-1.80000000],[1581211081000,-1.88000000],[1581211381000,-1.90000000],[1581211681000,-1.98000000],[1581211981000,-2.08000000],[1581212281000,-2.10000000],[1581212581000,-2.04000000],[1581212881000,-2.00000000],[1581213181000,-2.00000000],[1581213481000,-1.96000000],[1581213781000,-1.94000000],[1581214081000,-1.92000000],[1581214381000,-1.90000000],[1581214681000,-1.98000000],[1581214981000,-2.00000000],[1581215281000,-2.00000000],[1581215581000,-2.02000000],[1581215881000,-1.96000000],[1581216181000,-1.94000000],[1581216481000,-1.94000000],[1581216781000,-1.94000000],[1581217081000,-2.12000000],[1581217381000,-2.34000000],[1581217681000,-2.32000000],[1581217981000,-2.30000000],[1581218281000,-2.30000000],[1581218581000,-2.40000000],[1581218881000,-2.40000000],[1581219181000,-2.42000000],[1581219481000,-2.36000000],[1581219781000,-2.10000000],[1581220081000,-2.02000000],[1581220381000,-2.00000000],[1581220681000,-2.00000000],[1581220981000,-2.14000000],[1581221281000,-2.28000000],[1581221581000,-2.28000000],[1581221881000,-2.42000000],[1581222181000,-2.48000000],[1581222481000,-2.46000000],[1581222781000,-2.32000000],[1581223081000,-2.38000000],[1581223381000,-2.46000000],[1581223682000,-2.50000000],[1581223981000,-2.40000000],[1581224281000,-2.40000000],[1581224581000,-2.42000000],[1581224881000,-2.50000000],[1581225181000,-2.50000000],[1581225481000,-2.50000000],[1581225781000,-2.50000000],[1581226081000,-2.50000000],[1581226381000,-2.60000000],[1581226681000,-2.66000000],[1581226981000,-2.68000000],[1581227281000,-2.68000000],[1581227581000,-2.80000000],[1581227881000,-2.80000000],[1581228181000,-2.74000000],[1581228481000,-2.66000000],[1581228781000,-2.60000000],[1581229081000,-2.52000000],[1581229381000,-2.44000000],[1581229681000,-2.32000000],[1581229981000,-2.26000000],[1581230281000,-2.16000000],[1581230581000,-1.96000000],[1581230881000,-1.86000000],[1581231181000,-1.74000000],[1581231481000,-1.64000000],[1581231781000,-1.54000000],[1581232081000,-1.50000000],[1581232381000,-1.50000000],[1581232681000,-1.42000000],[1581232981000,-1.34000000],[1581233281000,-1.28000000],[1581233581000,-1.12000000],[1581233881000,-0.82000000],[1581234181000,-0.58000000],[1581234481000,-0.30000000],[1581234781000,0.00000000],[1581235081000,0.20000000],[1581235381000,0.42000000],[1581235681000,0.58000000],[1581235981000,0.66000000],[1581236281000,0.62000000],[1581236581000,0.76000000],[1581236881000,0.96000000],[1581237181000,1.08000000],[1581237481000,1.36000000],[1581237781000,1.64000000],[1581238081000,1.68000000],[1581238381000,1.64000000],[1581238681000,1.66000000],[1581238981000,1.74000000],[1581239281000,1.86000000],[1581239581000,2.06000000],[1581239881000,2.24000000],[1581240181000,2.12000000],[1581240481000,2.58000000],[1581240781000,2.74000000],[1581241081000,2.48000000],[1581241381000,2.66000000],[1581241681000,3.24000000],[1581241981000,3.10000000],[1581242281000,3.34000000],[1581242581000,3.48000000],[1581242881000,3.66000000],[1581243181000,3.74000000],[1581243481000,3.64000000],[1581243781000,3.92000000],[1581244081000,4.06000000],[1581244381000,3.84000000],[1581244681000,4.34000000],[1581244981000,4.56000000],[1581245281000,4.48000000],[1581245581000,4.66000000],[1581245881000,4.86000000],[1581246181000,4.70000000],[1581246481000,4.64000000],[1581246781000,5.00000000],[1581247081000,4.96000000],[1581247381000,5.08000000],[1581247681000,4.96000000],[1581247981000,5.44000000],[1581248281000,5.72000000],[1581248581000,5.48000000],[1581248881000,5.60000000],[1581249181000,5.62000000],[1581249481000,5.58000000],[1581249781000,5.52000000],[1581250081000,5.76000000],[1581250381000,5.94000000],[1581250681000,6.02000000],[1581250981000,6.20000000],[1581251281000,5.80000000],[1581251581000,5.70000000],[1581251881000,5.70000000],[1581252181000,5.62000000],[1581252481000,5.66000000],[1581252781000,5.42000000],[1581253081000,5.60000000],[1581253381000,5.76000000],[1581253681000,5.98000000],[1581253981000,6.04000000],[1581254281000,6.00000000],[1581254581000,5.94000000],[1581254881000,5.76000000],[1581255181000,5.84000000],[1581255481000,6.38000000],[1581255781000,6.68000000],[1581256081000,6.64000000],[1581256381000,6.54000000],[1581256681000,6.86000000],[1581256981000,7.10000000],[1581257281000,7.18000000],[1581257581000,6.96000000],[1581257881000,6.72000000],[1581258181000,6.92000000],[1581258481000,7.08000000],[1581258781000,7.08000000],[1581259081000,6.84000000],[1581259381000,6.66000000],[1581259681000,6.54000000],[1581259981000,6.44000000],[1581260281000,6.24000000],[1581260581000,6.20000000],[1581260881000,5.98000000],[1581261181000,5.76000000],[1581261481000,5.44000000],[1581261781000,5.26000000],[1581262090000,5.08000000],[1581262381000,4.92000000],[1581262681000,4.74000000],[1581262981000,4.52000000],[1581263281000,4.26000000],[1581263581000,3.94000000],[1581263881000,3.66000000],[1581264181000,3.52000000],[1581264481000,3.42000000],[1581264781000,3.22000000],[1581265081000,3.02000000],[1581265381000,2.92000000],[1581265681000,2.76000000],[1581265981000,2.80000000],[1581266281000,2.72000000],[1581266581000,2.58000000],[1581266881000,2.28000000],[1581267181000,2.16000000],[1581267481000,2.14000000],[1581267781000,2.06000000],[1581268081000,2.06000000],[1581268381000,2.08000000],[1581268681000,2.12000000],[1581268981000,2.04000000],[1581269281000,2.16000000],[1581269581000,2.24000000],[1581269881000,2.14000000],[1581270181000,1.92000000],[1581270481000,1.96000000],[1581270781000,2.02000000],[1581271081000,1.98000000],[1581271381000,1.90000000],[1581271681000,1.84000000],[1581271981000,1.80000000],[1581272281000,1.88000000],[1581272581000,2.00000000],[1581272881000,1.94000000],[1581273181000,1.90000000],[1581273481000,1.94000000],[1581273781000,2.00000000],[1581274081000,1.92000000],[1581274381000,2.00000000],[1581274681000,2.08000000],[1581274981000,2.06000000],[1581275281000,2.04000000],[1581275581000,2.20000000],[1581275881000,2.14000000],[1581276181000,2.06000000],[1581276481000,2.10000000],[1581276781000,2.10000000],[1581277081000,2.00000000],[1581277381000,1.80000000],[1581277681000,1.64000000],[1581277981000,1.64000000],[1581278281000,1.64000000],[1581278581000,1.46000000],[1581278882000,1.44000000],[1581279181000,1.60000000],[1581279481000,1.58000000],[1581279781000,1.80000000],[1581280081000,1.58000000],[1581280381000,1.40000000],[1581280681000,1.30000000],[1581280981000,1.28000000],[1581281281000,1.44000000],[1581281581000,1.46000000],[1581281881000,1.40000000],[1581282181000,1.36000000],[1581282481000,1.40000000],[1581282781000,1.32000000],[1581283081000,1.30000000],[1581283381000,1.20000000],[1581283681000,1.18000000],[1581283981000,1.28000000],[1581284281000,1.32000000],[1581284581000,1.60000000],[1581284881000,1.38000000],[1581285181000,1.32000000],[1581285481000,1.20000000],[1581285781000,1.10000000],[1581286081000,1.02000000],[1581286381000,0.96000000],[1581286681000,0.94000000],[1581286981000,1.00000000],[1581287281000,1.06000000],[1581287581000,1.10000000],[1581287881000,1.02000000],[1581288181000,0.98000000],[1581288481000,0.88000000],[1581288781000,0.94000000],[1581289081000,0.95000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1581202801000,-1.6],[1581202981000,-1.6],[1581203281000,-1.6],[1581203581000,-1.8],[1581203881000,-1.8],[1581204181000,-1.8],[1581204481000,-1.9],[1581204781000,-1.9],[1581205081000,-2],[1581205381000,-2],[1581205681000,-1.9],[1581205981000,-1.9],[1581206281000,-2],[1581206581000,-2.1],[1581206881000,-2.1],[1581207181000,-2.1],[1581207481000,-2.1],[1581207781000,-2],[1581208081000,-1.9],[1581208381000,-1.8],[1581208681000,-1.8],[1581208981000,-1.8],[1581209281000,-1.8],[1581209581000,-1.8],[1581209881000,-1.7],[1581210181000,-1.7],[1581210481000,-1.8],[1581210781000,-1.8],[1581211081000,-1.9],[1581211381000,-1.9],[1581211681000,-2],[1581211981000,-2.1],[1581212281000,-2.1],[1581212581000,-2],[1581212881000,-2],[1581213181000,-2],[1581213481000,-2],[1581213781000,-1.9],[1581214081000,-1.9],[1581214381000,-1.9],[1581214681000,-2],[1581214981000,-2],[1581215281000,-2],[1581215581000,-2],[1581215881000,-2],[1581216181000,-1.9],[1581216481000,-1.9],[1581216781000,-1.9],[1581217081000,-2.1],[1581217381000,-2.3],[1581217681000,-2.3],[1581217981000,-2.3],[1581218281000,-2.3],[1581218581000,-2.4],[1581218881000,-2.4],[1581219181000,-2.4],[1581219481000,-2.4],[1581219781000,-2.1],[1581220081000,-2],[1581220381000,-2],[1581220681000,-2],[1581220981000,-2.1],[1581221281000,-2.3],[1581221581000,-2.3],[1581221881000,-2.4],[1581222181000,-2.5],[1581222481000,-2.5],[1581222781000,-2.3],[1581223081000,-2.4],[1581223381000,-2.5],[1581223682000,-2.5],[1581223981000,-2.4],[1581224281000,-2.4],[1581224581000,-2.4],[1581224881000,-2.5],[1581225181000,-2.5],[1581225481000,-2.5],[1581225781000,-2.5],[1581226081000,-2.5],[1581226381000,-2.6],[1581226681000,-2.7],[1581226981000,-2.7],[1581227281000,-2.7],[1581227581000,-2.8],[1581227881000,-2.8],[1581228181000,-2.7],[1581228481000,-2.7],[1581228781000,-2.6],[1581229081000,-2.5],[1581229381000,-2.4],[1581229681000,-2.3],[1581229981000,-2.3],[1581230281000,-2.2],[1581230581000,-2],[1581230881000,-2.1],[1581231181000,-2],[1581231481000,-2],[1581231781000,-2.1],[1581232081000,-2.2],[1581232381000,-2.3],[1581232681000,-2.4],[1581232981000,-2.1],[1581233281000,-2.2],[1581233581000,-2.2],[1581233881000,-2.5],[1581234181000,-2.4],[1581234481000,-2.6],[1581234781000,-2.6],[1581235081000,-2.5],[1581235381000,-2.9],[1581235681000,-3],[1581235981000,-2.6],[1581236281000,-3.1],[1581236581000,-3],[1581236881000,-3],[1581237181000,-2.8],[1581237481000,-2.8],[1581237781000,-2.7],[1581238081000,-2.9],[1581238381000,-2.9],[1581238681000,-2.9],[1581238981000,-2.8],[1581239281000,-2.8],[1581239581000,-2.7],[1581239881000,-2.7],[1581240181000,-2.7],[1581240481000,-2.8],[1581240781000,-2.2],[1581241081000,-2.5],[1581241381000,-2.4],[1581241681000,-2.1],[1581241981000,-2.2],[1581242281000,-2],[1581242581000,-2.2],[1581242881000,-2],[1581243181000,-1.9],[1581243481000,-1.9],[1581243781000,-1.8],[1581244081000,-1.8],[1581244381000,-1.9],[1581244681000,-1.8],[1581244981000,-1.7],[1581245281000,-1.7],[1581245581000,-1.7],[1581245881000,-1.3],[1581246181000,-1.5],[1581246481000,-1.6],[1581246781000,-1.5],[1581247081000,-1.5],[1581247381000,-1.4],[1581247681000,-1.3],[1581247981000,-1.1],[1581248281000,-1],[1581248581000,-0.9],[1581248881000,-0.8],[1581249181000,-0.8],[1581249481000,-0.7],[1581249781000,-0.8],[1581250081000,-0.4],[1581250381000,-0.4],[1581250681000,-0.4],[1581250981000,-0.3],[1581251281000,-0.4],[1581251581000,-0.2],[1581251881000,-0.2],[1581252181000,-0.3],[1581252481000,0],[1581252781000,0],[1581253081000,0.1],[1581253381000,0.2],[1581253681000,0.3],[1581253981000,0.5],[1581254281000,0.5],[1581254581000,0.6],[1581254881000,0.6],[1581255181000,0.6],[1581255481000,0.7],[1581255781000,0.6],[1581256081000,0.7],[1581256381000,0.6],[1581256981000,0.6],[1581257281000,0.6],[1581257581000,0.6],[1581257881000,0.5],[1581258181000,0.5],[1581258481000,0.6],[1581258781000,0.6],[1581259081000,0.7],[1581259381000,0.6],[1581259681000,0.7],[1581259981000,0.7],[1581260281000,0.6],[1581260581000,0.8],[1581260881000,0.9],[1581261181000,1.1],[1581261481000,1.4],[1581261781000,1.5],[1581262381000,1.9],[1581262681000,2],[1581262981000,2.4],[1581263281000,2.5],[1581263581000,2.5],[1581263881000,2.5],[1581264181000,2.4],[1581264481000,2.3],[1581264781000,2.2],[1581265081000,2.2],[1581265381000,2.1],[1581265681000,2.1],[1581265981000,2.1],[1581266281000,2.1],[1581266581000,2.2],[1581266881000,2.2],[1581267181000,2.2],[1581267481000,2.1],[1581267781000,2],[1581268081000,2],[1581268381000,2.1],[1581268681000,2.1],[1581268981000,2],[1581269281000,2.1],[1581269581000,2.2],[1581269881000,2.1],[1581270181000,1.9],[1581270481000,2],[1581270781000,2],[1581271081000,2],[1581271381000,1.9],[1581271681000,1.8],[1581271981000,1.8],[1581272281000,1.9],[1581272581000,2],[1581272881000,1.9],[1581273181000,1.9],[1581273481000,1.9],[1581273781000,2],[1581274081000,1.9],[1581274381000,2],[1581274681000,2.1],[1581274981000,2.1],[1581275281000,2],[1581275581000,2.2],[1581275881000,2.1],[1581276181000,2.1],[1581276481000,2.1],[1581276781000,2.1],[1581277081000,2],[1581277381000,1.8],[1581277681000,1.6],[1581277981000,1.6],[1581278281000,1.6],[1581278581000,1.5],[1581279181000,1.6],[1581279481000,1.6],[1581279781000,1.8],[1581280081000,1.6],[1581280381000,1.4],[1581280681000,1.3],[1581280981000,1.3],[1581281281000,1.4],[1581281581000,1.5],[1581281881000,1.4],[1581282181000,1.4],[1581282481000,1.4],[1581282781000,1.3],[1581283081000,1.3],[1581283381000,1.2],[1581283681000,1.2],[1581283981000,1.3],[1581284281000,1.3],[1581284581000,1.6],[1581284881000,1.4],[1581285181000,1.3],[1581285481000,1.2],[1581285781000,1.1],[1581286081000,1],[1581286381000,1],[1581286681000,0.9],[1581286981000,1],[1581287281000,1.1],[1581287581000,1.1],[1581287881000,1],[1581288181000,1],[1581288481000,0.9],[1581288781000,0.9],[1581289081000,1],], 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: [[1581202801000,100.00000000],[1581202981000,100.00000000],[1581203281000,100.00000000],[1581203581000,100.00000000],[1581203881000,100.00000000],[1581204181000,100.00000000],[1581204481000,100.00000000],[1581204781000,100.00000000],[1581205081000,100.00000000],[1581205381000,100.00000000],[1581205681000,100.00000000],[1581205981000,100.00000000],[1581206281000,100.00000000],[1581206581000,100.00000000],[1581206881000,100.00000000],[1581207181000,100.00000000],[1581207481000,100.00000000],[1581207781000,100.00000000],[1581208081000,100.00000000],[1581208381000,100.00000000],[1581208681000,100.00000000],[1581208981000,100.00000000],[1581209281000,100.00000000],[1581209581000,100.00000000],[1581209881000,100.00000000],[1581210181000,100.00000000],[1581210481000,100.00000000],[1581210781000,100.00000000],[1581211081000,100.00000000],[1581211381000,100.00000000],[1581211681000,100.00000000],[1581211981000,100.00000000],[1581212281000,100.00000000],[1581212581000,100.00000000],[1581212881000,100.00000000],[1581213181000,100.00000000],[1581213481000,100.00000000],[1581213781000,100.00000000],[1581214081000,100.00000000],[1581214381000,100.00000000],[1581214681000,100.00000000],[1581214981000,100.00000000],[1581215281000,100.00000000],[1581215581000,100.00000000],[1581215881000,100.00000000],[1581216181000,100.00000000],[1581216481000,100.00000000],[1581216781000,100.00000000],[1581217081000,100.00000000],[1581217381000,100.00000000],[1581217681000,100.00000000],[1581217981000,100.00000000],[1581218281000,100.00000000],[1581218581000,100.00000000],[1581218881000,100.00000000],[1581219181000,100.00000000],[1581219481000,100.00000000],[1581219781000,100.00000000],[1581220081000,100.00000000],[1581220381000,100.00000000],[1581220681000,100.00000000],[1581220981000,100.00000000],[1581221281000,100.00000000],[1581221581000,100.00000000],[1581221881000,100.00000000],[1581222181000,100.00000000],[1581222481000,100.00000000],[1581222781000,100.00000000],[1581223081000,100.00000000],[1581223381000,100.00000000],[1581223682000,100.00000000],[1581223981000,100.00000000],[1581224281000,100.00000000],[1581224581000,100.00000000],[1581224881000,100.00000000],[1581225181000,100.00000000],[1581225481000,100.00000000],[1581225781000,100.00000000],[1581226081000,100.00000000],[1581226381000,100.00000000],[1581226681000,100.00000000],[1581226981000,100.00000000],[1581227281000,100.00000000],[1581227581000,100.00000000],[1581227881000,100.00000000],[1581228181000,100.00000000],[1581228481000,100.00000000],[1581228781000,100.00000000],[1581229081000,100.00000000],[1581229381000,100.00000000],[1581229681000,100.00000000],[1581229981000,100.00000000],[1581230281000,100.00000000],[1581230581000,99.38000000],[1581230881000,98.48000000],[1581231181000,98.06000000],[1581231481000,97.30000000],[1581231781000,96.00000000],[1581232081000,95.22000000],[1581232381000,94.30000000],[1581232681000,93.14000000],[1581232981000,94.34000000],[1581233281000,93.88000000],[1581233581000,92.48000000],[1581233881000,88.42000000],[1581234181000,87.38000000],[1581234481000,84.76000000],[1581234781000,83.08000000],[1581235081000,82.20000000],[1581235381000,78.94000000],[1581235681000,77.44000000],[1581235981000,78.84000000],[1581236281000,76.62000000],[1581236581000,76.20000000],[1581236881000,75.26000000],[1581237181000,75.80000000],[1581237481000,74.18000000],[1581237781000,73.16000000],[1581238081000,72.16000000],[1581238381000,72.10000000],[1581238681000,71.86000000],[1581238981000,72.12000000],[1581239281000,71.68000000],[1581239581000,71.24000000],[1581239881000,70.16000000],[1581240181000,70.72000000],[1581240481000,68.22000000],[1581240781000,70.22000000],[1581241081000,69.94000000],[1581241381000,69.58000000],[1581241681000,68.10000000],[1581241981000,68.28000000],[1581242281000,68.12000000],[1581242581000,66.56000000],[1581242881000,66.74000000],[1581243181000,66.94000000],[1581243481000,67.22000000],[1581243781000,66.44000000],[1581244081000,66.10000000],[1581244381000,66.40000000],[1581244681000,64.82000000],[1581244981000,64.14000000],[1581245281000,64.62000000],[1581245581000,63.58000000],[1581245881000,64.84000000],[1581246181000,64.30000000],[1581246481000,64.16000000],[1581246781000,63.28000000],[1581247081000,63.14000000],[1581247381000,63.50000000],[1581247681000,64.12000000],[1581247981000,63.02000000],[1581248281000,62.12000000],[1581248581000,63.62000000],[1581248881000,63.60000000],[1581249181000,63.64000000],[1581249481000,64.26000000],[1581249781000,64.34000000],[1581250081000,64.78000000],[1581250381000,64.32000000],[1581250681000,63.62000000],[1581250981000,63.28000000],[1581251281000,64.82000000],[1581251581000,66.00000000],[1581251881000,66.16000000],[1581252181000,66.26000000],[1581252481000,67.42000000],[1581252781000,68.62000000],[1581253081000,68.26000000],[1581253381000,67.64000000],[1581253681000,67.46000000],[1581253981000,67.74000000],[1581254281000,68.24000000],[1581254581000,68.68000000],[1581254881000,69.78000000],[1581255181000,69.16000000],[1581255481000,67.10000000],[1581255781000,65.34000000],[1581256081000,66.00000000],[1581256381000,66.36000000],[1581256682000,65.42000000],[1581256981000,63.54000000],[1581257281000,63.46000000],[1581257581000,64.16000000],[1581257881000,64.84000000],[1581258181000,64.18000000],[1581258481000,63.54000000],[1581258781000,63.64000000],[1581259081000,65.12000000],[1581259381000,65.58000000],[1581259681000,66.38000000],[1581259981000,66.94000000],[1581260281000,67.48000000],[1581260581000,68.42000000],[1581260881000,70.04000000],[1581261181000,72.36000000],[1581261481000,75.52000000],[1581261781000,76.98000000],[1581262081000,79.36000000],[1581262381000,81.32000000],[1581262681000,82.80000000],[1581262981000,86.14000000],[1581263281000,88.30000000],[1581263581000,90.56000000],[1581263881000,92.46000000],[1581264181000,92.46000000],[1581264481000,92.56000000],[1581264781000,93.12000000],[1581265081000,94.14000000],[1581265381000,94.48000000],[1581265681000,95.74000000],[1581265981000,94.90000000],[1581266281000,96.04000000],[1581266581000,97.44000000],[1581266881000,99.38000000],[1581267181000,100.00000000],[1581267481000,99.62000000],[1581267781000,99.76000000],[1581268081000,99.92000000],[1581268381000,99.80000000],[1581268681000,99.70000000],[1581268981000,100.00000000],[1581269281000,99.66000000],[1581269581000,99.46000000],[1581269881000,99.92000000],[1581270181000,100.00000000],[1581270481000,100.00000000],[1581270781000,100.00000000],[1581271081000,100.00000000],[1581271381000,100.00000000],[1581271681000,100.00000000],[1581271981000,100.00000000],[1581272281000,100.00000000],[1581272581000,100.00000000],[1581272881000,100.00000000],[1581273181000,100.00000000],[1581273481000,100.00000000],[1581273781000,100.00000000],[1581274081000,100.00000000],[1581274381000,100.00000000],[1581274681000,100.00000000],[1581274981000,100.00000000],[1581275281000,100.00000000],[1581275581000,100.00000000],[1581275881000,100.00000000],[1581276181000,100.00000000],[1581276481000,100.00000000],[1581276781000,100.00000000],[1581277081000,100.00000000],[1581277381000,100.00000000],[1581277681000,100.00000000],[1581277981000,100.00000000],[1581278281000,100.00000000],[1581278581000,100.00000000],[1581278881000,100.00000000],[1581279181000,100.00000000],[1581279481000,100.00000000],[1581279781000,100.00000000],[1581280081000,100.00000000],[1581280381000,100.00000000],[1581280681000,100.00000000],[1581280981000,100.00000000],[1581281281000,100.00000000],[1581281581000,100.00000000],[1581281881000,100.00000000],[1581282181000,100.00000000],[1581282481000,100.00000000],[1581282781000,100.00000000],[1581283081000,100.00000000],[1581283381000,100.00000000],[1581283681000,100.00000000],[1581283981000,100.00000000],[1581284281000,100.00000000],[1581284581000,100.00000000],[1581284881000,100.00000000],[1581285181000,100.00000000],[1581285481000,100.00000000],[1581285781000,100.00000000],[1581286081000,100.00000000],[1581286381000,100.00000000],[1581286681000,100.00000000],[1581286981000,100.00000000],[1581287281000,100.00000000],[1581287581000,100.00000000],[1581287881000,100.00000000],[1581288181000,100.00000000],[1581288481000,100.00000000],[1581288781000,100.00000000],[1581289081000,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: [[1581202801000,1029.7],[1581202981000,1029.8],[1581203281000,1029.8],[1581203581000,1029.9],[1581203881000,1029.9],[1581204181000,1029.9],[1581204481000,1029.8],[1581204781000,1029.7],[1581205081000,1029.7],[1581205381000,1029.6],[1581205681000,1029.6],[1581205981000,1029.6],[1581206281000,1029.6],[1581206581000,1029.6],[1581206881000,1029.5],[1581207181000,1029.6],[1581207481000,1029.6],[1581207781000,1029.5],[1581208081000,1029.6],[1581208381000,1029.6],[1581208681000,1029.5],[1581208981000,1029.5],[1581209281000,1029.5],[1581209581000,1029.5],[1581209881000,1029.5],[1581210181000,1029.5],[1581210481000,1029.5],[1581210781000,1029.4],[1581211081000,1029.3],[1581211381000,1029.4],[1581211681000,1029.4],[1581211981000,1029.4],[1581212281000,1029.4],[1581212581000,1029.3],[1581212881000,1029.3],[1581213181000,1029.5],[1581213481000,1029.5],[1581213781000,1029.5],[1581214081000,1029.4],[1581214381000,1029.4],[1581214681000,1029.4],[1581214981000,1029.5],[1581215281000,1029.5],[1581215581000,1029.5],[1581215881000,1029.4],[1581216181000,1029.4],[1581216481000,1029.5],[1581216781000,1029.5],[1581217081000,1029.5],[1581217381000,1029.4],[1581217681000,1029.5],[1581217981000,1029.5],[1581218281000,1029.6],[1581218581000,1029.6],[1581218881000,1029.6],[1581219181000,1029.7],[1581219481000,1029.7],[1581219781000,1029.7],[1581220081000,1029.7],[1581220381000,1029.6],[1581220681000,1029.5],[1581220981000,1029.5],[1581221281000,1029.5],[1581221581000,1029.4],[1581221881000,1029.5],[1581222181000,1029.5],[1581222481000,1029.5],[1581222781000,1029.6],[1581223081000,1029.6],[1581223381000,1029.7],[1581223682000,1029.7],[1581223981000,1029.6],[1581224281000,1029.5],[1581224581000,1029.6],[1581224881000,1029.6],[1581225181000,1029.7],[1581225481000,1029.7],[1581225781000,1029.6],[1581226081000,1029.5],[1581226381000,1029.6],[1581226681000,1029.6],[1581226981000,1029.6],[1581227281000,1029.6],[1581227581000,1029.7],[1581227881000,1029.7],[1581228181000,1029.7],[1581228481000,1029.7],[1581228781000,1029.7],[1581229081000,1029.6],[1581229381000,1029.8],[1581229681000,1029.7],[1581229981000,1029.7],[1581230281000,1029.8],[1581230581000,1029.8],[1581230881000,1029.8],[1581231181000,1029.9],[1581231481000,1030],[1581231781000,1030],[1581232081000,1029.9],[1581232381000,1029.8],[1581232681000,1029.9],[1581232981000,1030],[1581233281000,1030],[1581233581000,1030],[1581233881000,1029.9],[1581234181000,1029.9],[1581234481000,1029.8],[1581234781000,1029.7],[1581235081000,1029.7],[1581235381000,1029.8],[1581235681000,1029.8],[1581235981000,1029.7],[1581236281000,1029.8],[1581236581000,1029.8],[1581236881000,1029.7],[1581237181000,1029.7],[1581237481000,1029.6],[1581237781000,1029.7],[1581238081000,1029.6],[1581238381000,1029.6],[1581238681000,1029.5],[1581238981000,1029.4],[1581239281000,1029.5],[1581239581000,1029.5],[1581239881000,1029.4],[1581240181000,1029.4],[1581240481000,1029.3],[1581240781000,1029.2],[1581241081000,1029.3],[1581241381000,1029.3],[1581241681000,1029.1],[1581241981000,1029.2],[1581242281000,1029.2],[1581242581000,1029.2],[1581242881000,1029],[1581243181000,1029],[1581243481000,1028.9],[1581243781000,1028.9],[1581244081000,1028.8],[1581244381000,1028.9],[1581244681000,1028.8],[1581244981000,1028.7],[1581245281000,1028.6],[1581245581000,1028.5],[1581245881000,1028.3],[1581246181000,1028.2],[1581246481000,1028.1],[1581246781000,1028.1],[1581247081000,1027.9],[1581247381000,1027.7],[1581247681000,1027.5],[1581247981000,1027.4],[1581248281000,1027.4],[1581248581000,1027.3],[1581248881000,1027.2],[1581249181000,1027.1],[1581249481000,1027],[1581249781000,1026.9],[1581250081000,1026.9],[1581250381000,1026.7],[1581250681000,1026.6],[1581250981000,1026.5],[1581251281000,1026.5],[1581251581000,1026.5],[1581251881000,1026.3],[1581252181000,1026.3],[1581252481000,1026.2],[1581252781000,1026.2],[1581253081000,1026.1],[1581253381000,1026],[1581253681000,1025.9],[1581253981000,1025.8],[1581254281000,1025.7],[1581254581000,1025.7],[1581254881000,1025.7],[1581255181000,1025.6],[1581255481000,1025.4],[1581255781000,1025.4],[1581256081000,1025.4],[1581256381000,1025.3],[1581256981000,1025],[1581257281000,1024.9],[1581257581000,1025],[1581257881000,1024.8],[1581258181000,1024.7],[1581258481000,1024.7],[1581258781000,1024.6],[1581259081000,1024.6],[1581259381000,1024.5],[1581259681000,1024.5],[1581259981000,1024.4],[1581260281000,1024.4],[1581260581000,1024.3],[1581260881000,1024.2],[1581261181000,1024.3],[1581261481000,1024.4],[1581261781000,1024.2],[1581262381000,1024.1],[1581262681000,1024],[1581262981000,1024],[1581263281000,1023.9],[1581263581000,1023.8],[1581263881000,1023.8],[1581264181000,1023.8],[1581264481000,1023.8],[1581264781000,1023.7],[1581265081000,1023.7],[1581265381000,1023.6],[1581265681000,1023.7],[1581265981000,1023.5],[1581266281000,1023.4],[1581266581000,1023.3],[1581266881000,1023.2],[1581267181000,1023.3],[1581267481000,1023.2],[1581267781000,1023.2],[1581268081000,1023.2],[1581268381000,1023.1],[1581268681000,1023],[1581268981000,1022.9],[1581269281000,1022.9],[1581269581000,1022.8],[1581269881000,1022.8],[1581270181000,1022.6],[1581270481000,1022.4],[1581270781000,1022.3],[1581271081000,1022.3],[1581271381000,1022.1],[1581271681000,1021.9],[1581271981000,1021.9],[1581272281000,1021.7],[1581272581000,1021.6],[1581272881000,1021.5],[1581273181000,1021.4],[1581273481000,1021.3],[1581273781000,1021.2],[1581274081000,1021],[1581274381000,1020.9],[1581274681000,1020.8],[1581274981000,1020.7],[1581275281000,1020.7],[1581275581000,1020.7],[1581275881000,1020.5],[1581276181000,1020.3],[1581276481000,1020.2],[1581276781000,1020],[1581277081000,1019.9],[1581277381000,1019.8],[1581277681000,1019.9],[1581277981000,1019.9],[1581278281000,1019.8],[1581278581000,1019.6],[1581279181000,1019.4],[1581279481000,1019.4],[1581279781000,1019.3],[1581280081000,1019.1],[1581280381000,1018.9],[1581280681000,1018.9],[1581280981000,1018.8],[1581281281000,1018.5],[1581281581000,1018.5],[1581281881000,1018.4],[1581282181000,1018.4],[1581282481000,1018.1],[1581282781000,1017.9],[1581283081000,1017.9],[1581283381000,1017.8],[1581283681000,1017.8],[1581283981000,1017.9],[1581284281000,1017.9],[1581284581000,1017.8],[1581284881000,1017.5],[1581285181000,1017.2],[1581285481000,1017.2],[1581285781000,1017.1],[1581286081000,1016.9],[1581286381000,1016.7],[1581286681000,1016.7],[1581286981000,1016.7],[1581287281000,1016.6],[1581287581000,1016.4],[1581287881000,1016.2],[1581288181000,1015.9],[1581288481000,1015.8],[1581288781000,1015.7],[1581289081000,1015.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); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1581202801000,8.039999988],[1581202981000,6.84],[1581203281000,6.84],[1581203581000,6.552],[1581203881000,5.76],[1581204181000,8.28],[1581204481000,5.832],[1581204781000,6.624],[1581205081000,4.824],[1581205381000,7.416],[1581205681000,9.144],[1581205981000,9.216],[1581206281000,4.68],[1581206581000,3.816],[1581206881000,7.056],[1581207181000,8.424],[1581207481000,8.496],[1581207781000,10.44],[1581208081000,11.736],[1581208381000,11.808],[1581208681000,12.24],[1581208981000,12.384],[1581209281000,12.096],[1581209581000,13.104],[1581209881000,15.192],[1581210181000,15.048],[1581210481000,15.696],[1581210781000,13.968],[1581211081000,13.32],[1581211381000,12.816],[1581211681000,9.576],[1581211981000,8.28],[1581212281000,6.912],[1581212581000,11.664],[1581212881000,13.896],[1581213181000,12.096],[1581213481000,14.976],[1581213781000,12.888],[1581214081000,14.04],[1581214381000,12.24],[1581214681000,11.448],[1581214981000,10.944],[1581215281000,11.232],[1581215581000,14.256],[1581215881000,15.408],[1581216181000,14.472],[1581216481000,12.96],[1581216781000,11.304],[1581217081000,4.824],[1581217381000,6.552],[1581217681000,10.656],[1581217981000,9.288],[1581218281000,10.152],[1581218581000,6.84],[1581218881000,7.488],[1581219181000,8.136],[1581219481000,15.984],[1581219781000,15.264],[1581220081000,15.84],[1581220381000,14.4],[1581220681000,13.248],[1581220981000,10.008],[1581221281000,12.312],[1581221581000,10.08],[1581221881000,10.224],[1581222181000,9.792],[1581222481000,11.952],[1581222781000,10.512],[1581223081000,9],[1581223381000,9],[1581223681000,11.376],[1581223981000,8.856],[1581224281000,10.08],[1581224581000,9.72],[1581224881000,10.8],[1581225181000,11.16],[1581225481000,10.584],[1581225781000,11.808],[1581226081000,11.52],[1581226381000,10.08],[1581226681000,10.728],[1581226981000,12.384],[1581227281000,11.88],[1581227581000,9.936],[1581227881000,11.808],[1581228181000,11.664],[1581228481000,12.096],[1581228781000,12.96],[1581229081000,12.024],[1581229381000,13.608],[1581229681000,13.608],[1581229981000,13.392],[1581230281000,15.624],[1581230581000,13.464],[1581230881000,12.6],[1581231181000,11.088],[1581231481000,10.44],[1581231781000,9.936],[1581232081000,7.2],[1581232381000,10.152],[1581232681000,7.56],[1581232981000,8.496],[1581233281000,8.136],[1581233581000,10.08],[1581233881000,12.96],[1581234181000,11.232],[1581234481000,12.024],[1581234781000,8.64],[1581235081000,12.456],[1581235381000,11.664],[1581235681000,12.456],[1581235981000,8.568],[1581236281000,11.16],[1581236581000,12.168],[1581236881000,7.848],[1581237181000,9],[1581237481000,11.232],[1581237781000,7.992],[1581238081000,12.456],[1581238381000,14.976],[1581238681000,11.088],[1581238981000,9.216],[1581239281000,8.856],[1581239581000,9.504],[1581239881000,10.8],[1581240181000,8.136],[1581240481000,13.536],[1581240781000,9.144],[1581241081000,8.64],[1581241381000,10.152],[1581241681000,9.936],[1581241981000,10.872],[1581242281000,9.792],[1581242581000,11.808],[1581242881000,7.56],[1581243181000,9.936],[1581243481000,10.656],[1581243781000,9.072],[1581244081000,7.704],[1581244381000,9.72],[1581244681000,10.656],[1581244981000,12.096],[1581245281000,12.24],[1581245581000,7.2],[1581245881000,7.992],[1581246181000,8.784],[1581246481000,8.64],[1581246781000,10.584],[1581247081000,5.76],[1581247381000,6.552],[1581247681000,6.912],[1581247981000,7.344],[1581248281000,8.928],[1581248581000,8.424],[1581248881000,10.152],[1581249181000,6.048],[1581249481000,9.864],[1581249781000,7.632],[1581250081000,5.904],[1581250381000,11.664],[1581250681000,9.648],[1581250981000,8.712],[1581251281000,8.712],[1581251581000,9.432],[1581251881000,6.624],[1581252181000,7.272],[1581252481000,9.72],[1581252781000,9.432],[1581253081000,7.344],[1581253381000,6.912],[1581253681000,7.632],[1581253981000,8.856],[1581254281000,7.488],[1581254581000,6.48],[1581254881000,7.56],[1581255181000,6.84],[1581255481000,7.632],[1581255781000,8.64],[1581256081000,8.568],[1581256381000,8.424],[1581256681000,7.416],[1581256981000,6.624],[1581257281000,6.984],[1581257581000,8.064],[1581257881000,9.072],[1581258181000,5.688],[1581258481000,7.92],[1581258781000,5.256],[1581259081000,7.776],[1581259381000,3.96],[1581259681000,7.272],[1581259981000,8.856],[1581260281000,7.992],[1581260581000,6.84],[1581260881000,7.056],[1581261181000,7.992],[1581261481000,7.776],[1581261781000,3.96],[1581262081000,3.456],[1581262381000,4.968],[1581262681000,5.256],[1581262981000,5.4],[1581263281000,4.104],[1581263581000,4.752],[1581263881000,6.048],[1581264181000,6.048],[1581264481000,5.256],[1581264781000,5.328],[1581265081000,8.208],[1581265381000,9.216],[1581265681000,9.648],[1581265981000,10.728],[1581266281000,10.368],[1581266581000,9.648],[1581266881000,9.36],[1581267181000,7.2],[1581267481000,10.008],[1581267781000,7.776],[1581268081000,9.432],[1581268381000,10.944],[1581268681000,8.856],[1581268981000,8.928],[1581269281000,9.792],[1581269581000,11.952],[1581269881000,8.856],[1581270181000,5.616],[1581270481000,9.36],[1581270781000,10.872],[1581271081000,10.656],[1581271381000,11.52],[1581271681000,9.36],[1581271981000,11.304],[1581272281000,12.816],[1581272581000,12.6],[1581272881000,10.8],[1581273181000,10.944],[1581273481000,12.888],[1581273781000,12.024],[1581274081000,14.904],[1581274381000,12.528],[1581274681000,14.112],[1581274981000,11.88],[1581275281000,11.808],[1581275581000,14.976],[1581275881000,12.312],[1581276181000,13.536],[1581276481000,13.968],[1581276781000,15.336],[1581277081000,12.456],[1581277381000,13.392],[1581277681000,13.68],[1581277981000,16.848],[1581278281000,18.936],[1581278581000,15.336],[1581278881000,18.432],[1581279181000,18.72],[1581279481000,17.712],[1581279781000,16.848],[1581280081000,18.36],[1581280381000,16.416],[1581280681000,15.984],[1581280981000,16.992],[1581281281000,25.056],[1581281581000,18.936],[1581281881000,15.768],[1581282181000,16.56],[1581282481000,14.184],[1581282781000,19.224],[1581283081000,19.872],[1581283381000,10.872],[1581283681000,15.696],[1581283981000,13.824],[1581284281000,11.808],[1581284581000,13.176],[1581284881000,13.176],[1581285181000,15.624],[1581285481000,15.048],[1581285781000,11.88],[1581286081000,17.136],[1581286381000,14.184],[1581286681000,18.072],[1581286981000,18.504],[1581287281000,11.088],[1581287581000,15.12],[1581287881000,13.536],[1581288181000,12.24],[1581288481000,14.184],[1581288781000,15.192],[1581289081000,14.94],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1581202801000,13.070400012],[1581202981000,10.75968],[1581203281000,10.74888],[1581203581000,10.42632],[1581203881000,9.0648],[1581204181000,13.24224],[1581204481000,9.25848],[1581204781000,10.54368],[1581205081000,7.80336],[1581205381000,11.91888],[1581205681000,14.15232],[1581205981000,14.6772],[1581206281000,7.28208],[1581206581000,5.9436],[1581206881000,11.11968],[1581207181000,13.53528],[1581207481000,13.5648],[1581207781000,16.28424],[1581208081000,18.61128],[1581208381000,19.0296],[1581208681000,19.66392],[1581208981000,19.6344],[1581209281000,19.6272],[1581209581000,21.2256],[1581209881000,24.70176],[1581210181000,24.58728],[1581210481000,25.25688],[1581210781000,22.71672],[1581211081000,21.65256],[1581211381000,20.8944],[1581211681000,15.69456],[1581211981000,13.26744],[1581212281000,11.26224],[1581212581000,19.14192],[1581212881000,22.248],[1581213181000,18.95544],[1581213481000,23.58288],[1581213781000,20.5416],[1581214081000,22.50576],[1581214381000,19.66032],[1581214681000,18.2448],[1581214981000,17.47872],[1581215281000,18.04392],[1581215581000,22.71744],[1581215881000,23.99688],[1581216181000,22.78152],[1581216481000,20.69136],[1581216781000,18.23616],[1581217081000,7.79256],[1581217381000,10.40616],[1581217681000,17.01864],[1581217981000,14.75136],[1581218281000,16.28568],[1581218581000,11.07288],[1581218881000,12.24288],[1581219181000,13.00392],[1581219481000,25.82928],[1581219781000,24.52968],[1581220081000,26.01432],[1581220381000,23.5188],[1581220681000,21.63168],[1581220981000,16.07544],[1581221281000,19.74672],[1581221581000,16.55136],[1581221881000,16.38432],[1581222181000,15.92712],[1581222481000,19.31256],[1581222781000,16.89768],[1581223081000,14.39136],[1581223381000,14.3316],[1581223681000,18.62928],[1581223981000,14.21064],[1581224281000,16.11504],[1581224581000,15.54984],[1581224881000,17.6544],[1581225181000,17.84808],[1581225481000,16.9164],[1581225781000,19.26],[1581226081000,18.81288],[1581226381000,16.0632],[1581226681000,17.1972],[1581226981000,19.7892],[1581227281000,19.19736],[1581227581000,16.0128],[1581227881000,19.35864],[1581228181000,18.71928],[1581228481000,19.52568],[1581228781000,20.83392],[1581229081000,19.34496],[1581229381000,21.89016],[1581229681000,21.7908],[1581229981000,21.7944],[1581230281000,25.55424],[1581230581000,21.79008],[1581230881000,20.1456],[1581231181000,18.26064],[1581231481000,16.71552],[1581231781000,15.8292],[1581232081000,11.89656],[1581232381000,16.81056],[1581232681000,12.25584],[1581232981000,13.83264],[1581233281000,13.2732],[1581233581000,16.17696],[1581233881000,21.14496],[1581234181000,18.26928],[1581234481000,20.05272],[1581234781000,14.14584],[1581235081000,20.0484],[1581235381000,19.0836],[1581235681000,20.4588],[1581235981000,13.8132],[1581236281000,18.306],[1581236581000,19.8504],[1581236881000,12.72096],[1581237181000,14.62392],[1581237481000,18.07848],[1581237781000,12.90384],[1581238081000,20.34144],[1581238381000,24.70464],[1581238681000,17.92656],[1581238981000,15.0444],[1581239281000,14.7168],[1581239581000,15.43104],[1581239881000,18.14832],[1581240181000,12.99744],[1581240481000,21.99816],[1581240781000,15.16536],[1581241081000,14.26176],[1581241381000,16.40448],[1581241681000,16.08336],[1581241981000,17.63784],[1581242281000,16.10496],[1581242581000,19.18224],[1581242881000,12.22488],[1581243181000,16.28712],[1581243481000,17.17992],[1581243781000,14.83272],[1581244081000,12.59496],[1581244381000,15.62472],[1581244681000,17.02584],[1581244981000,19.62792],[1581245281000,19.8684],[1581245581000,11.448],[1581245881000,12.85272],[1581246181000,13.87296],[1581246481000,13.78368],[1581246781000,17.31024],[1581247081000,9.018],[1581247381000,10.55016],[1581247681000,11.32344],[1581247981000,11.91816],[1581248281000,14.2956],[1581248581000,13.44456],[1581248881000,16.55712],[1581249181000,9.7344],[1581249481000,15.92928],[1581249781000,12.2112],[1581250081000,9.66744],[1581250381000,19.36872],[1581250681000,15.5088],[1581250981000,14.01336],[1581251281000,14.12784],[1581251581000,15.4692],[1581251881000,10.76472],[1581252181000,11.67192],[1581252481000,15.71256],[1581252781000,15.62976],[1581253081000,11.52216],[1581253381000,10.92384],[1581253681000,12.04272],[1581253981000,14.51232],[1581254281000,12.11184],[1581254581000,10.26576],[1581254881000,12.03696],[1581255181000,11.24064],[1581255481000,12.37608],[1581255781000,14.11344],[1581256081000,13.89384],[1581256381000,13.35096],[1581256681000,11.85048],[1581256981000,10.77336],[1581257281000,11.18448],[1581257581000,12.8232],[1581257881000,14.41224],[1581258181000,9.06768],[1581258481000,12.51504],[1581258781000,8.3376],[1581259081000,12.27456],[1581259381000,6.10488],[1581259681000,11.52],[1581259981000,14.17608],[1581260281000,12.87576],[1581260581000,10.76688],[1581260881000,11.04912],[1581261181000,12.55392],[1581261481000,12.50352],[1581261781000,6.15888],[1581262081000,5.56344],[1581262381000,7.74576],[1581262681000,8.21952],[1581262981000,8.38656],[1581263281000,6.3612],[1581263581000,7.23456],[1581263881000,9.38016],[1581264181000,9.31464],[1581264481000,8.12376],[1581264781000,8.1504],[1581265081000,12.68064],[1581265381000,14.5296],[1581265681000,15.0768],[1581265981000,17.1216],[1581266281000,16.44984],[1581266581000,15.13008],[1581266881000,14.886],[1581267181000,11.22624],[1581267481000,15.58944],[1581267781000,12.34944],[1581268081000,15.066],[1581268381000,17.56008],[1581268681000,13.99104],[1581268981000,13.95072],[1581269281000,15.27984],[1581269581000,18.86832],[1581269881000,14.4324],[1581270181000,8.99712],[1581270481000,15.17544],[1581270781000,17.27568],[1581271081000,16.92144],[1581271381000,18.39744],[1581271681000,14.64048],[1581271981000,17.89056],[1581272281000,20.304],[1581272581000,20.12112],[1581272881000,16.92648],[1581273181000,17.59032],[1581273481000,20.94624],[1581273781000,19.52928],[1581274081000,23.922],[1581274381000,20.33064],[1581274681000,22.61016],[1581274981000,19.1808],[1581275281000,19.33344],[1581275581000,24.5196],[1581275881000,20.50848],[1581276181000,22.68288],[1581276481000,23.05944],[1581276781000,25.49232],[1581277081000,20.32344],[1581277381000,22.00032],[1581277681000,21.75336],[1581277981000,27.13248],[1581278281000,30.03624],[1581278581000,25.128],[1581278881000,31.25448],[1581279181000,30.72456],[1581279481000,29.18232],[1581279781000,28.19448],[1581280081000,29.89656],[1581280381000,27.56448],[1581280681000,26.29656],[1581280981000,28.638],[1581281281000,42.0444],[1581281581000,31.58928],[1581281881000,26.27856],[1581282181000,27.96984],[1581282481000,23.77152],[1581282781000,32.05152],[1581283081000,32.79672],[1581283381000,18.02304],[1581283681000,25.75512],[1581283981000,22.69944],[1581284281000,19.28664],[1581284581000,21.258],[1581284881000,22.0464],[1581285181000,26.07048],[1581285481000,24.4404],[1581285781000,19.20816],[1581286081000,27.9288],[1581286381000,23.61312],[1581286681000,29.8116],[1581286981000,30.8988],[1581287281000,18.29376],[1581287581000,25.28352],[1581287881000,22.63464],[1581288181000,21.24864],[1581288481000,23.12208],[1581288781000,24.5988],[1581289081000,24.5862],], 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: [[1581202801000,22.50000000],[1581202981000,27.82000000],[1581203281000,23.34000000],[1581203581000,26.60000000],[1581203881000,34.36000000],[1581204181000,40.10000000],[1581204481000,53.58000000],[1581204781000,42.14000000],[1581205081000,52.36000000],[1581205381000,45.42000000],[1581205681000,29.04000000],[1581205981000,34.78000000],[1581206281000,69.96000000],[1581206581000,65.48000000],[1581206881000,38.06000000],[1581207181000,29.86000000],[1581207481000,35.18000000],[1581207781000,29.84000000],[1581208081000,24.94000000],[1581208381000,33.54000000],[1581208681000,33.94000000],[1581208981000,24.94000000],[1581209281000,28.64000000],[1581209581000,31.90000000],[1581209881000,20.46000000],[1581210181000,31.88000000],[1581210481000,18.42000000],[1581210781000,26.58000000],[1581211081000,23.32000000],[1581211381000,27.00000000],[1581211681000,31.48000000],[1581211981000,41.32000000],[1581212281000,53.20000000],[1581212581000,29.44000000],[1581212881000,20.02000000],[1581213181000,23.74000000],[1581213481000,26.18000000],[1581213781000,22.08000000],[1581214081000,19.64000000],[1581214381000,31.52000000],[1581214681000,31.48000000],[1581214981000,30.68000000],[1581215281000,31.10000000],[1581215581000,24.12000000],[1581215881000,24.98000000],[1581216181000,19.22000000],[1581216481000,19.24000000],[1581216781000,23.32000000],[1581217081000,56.86000000],[1581217381000,42.54000000],[1581217681000,25.36000000],[1581217981000,28.22000000],[1581218281000,27.40000000],[1581218581000,59.32000000],[1581218881000,48.28000000],[1581219181000,29.06000000],[1581219481000,24.14000000],[1581219781000,30.30000000],[1581220081000,29.04000000],[1581220381000,29.44000000],[1581220681000,26.58000000],[1581220981000,30.68000000],[1581221281000,30.68000000],[1581221581000,34.78000000],[1581221881000,25.36000000],[1581222181000,34.78000000],[1581222481000,29.44000000],[1581222781000,28.64000000],[1581223081000,38.86000000],[1581223381000,31.92000000],[1581223681000,34.34000000],[1581223981000,41.72000000],[1581224281000,32.32000000],[1581224581000,33.14000000],[1581224881000,24.94000000],[1581225181000,33.56000000],[1581225481000,33.94000000],[1581225781000,38.06000000],[1581226081000,35.58000000],[1581226381000,31.92000000],[1581226681000,31.92000000],[1581226981000,32.30000000],[1581227281000,31.08000000],[1581227581000,43.36000000],[1581227881000,25.78000000],[1581228181000,30.68000000],[1581228481000,33.94000000],[1581228781000,29.86000000],[1581229081000,30.68000000],[1581229381000,27.40000000],[1581229681000,24.14000000],[1581229981000,23.32000000],[1581230281000,26.18000000],[1581230581000,22.90000000],[1581230881000,21.28000000],[1581231181000,27.40000000],[1581231481000,32.74000000],[1581231781000,31.90000000],[1581232081000,54.80000000],[1581232381000,46.62000000],[1581232681000,47.86000000],[1581232981000,40.90000000],[1581233281000,33.14000000],[1581233581000,34.38000000],[1581233881000,34.78000000],[1581234181000,45.80000000],[1581234481000,55.64000000],[1581234781000,44.18000000],[1581235081000,37.66000000],[1581235381000,35.56000000],[1581235681000,41.74000000],[1581235981000,77.72000000],[1581236281000,47.84000000],[1581236581000,40.08000000],[1581236881000,56.44000000],[1581237181000,47.88000000],[1581237481000,33.54000000],[1581237781000,41.72000000],[1581238081000,24.96000000],[1581238381000,39.28000000],[1581238681000,57.70000000],[1581238981000,49.92000000],[1581239281000,74.44000000],[1581239581000,53.60000000],[1581239881000,52.36000000],[1581240181000,55.64000000],[1581240481000,41.32000000],[1581240781000,80.60000000],[1581241081000,76.50000000],[1581241381000,41.28000000],[1581241681000,52.36000000],[1581241981000,39.28000000],[1581242281000,69.56000000],[1581242581000,52.36000000],[1581242881000,74.06000000],[1581243181000,67.10000000],[1581243481000,59.30000000],[1581243781000,78.56000000],[1581244081000,80.58000000],[1581244381000,45.00000000],[1581244681000,46.64000000],[1581244981000,35.58000000],[1581245281000,42.54000000],[1581245581000,72.00000000],[1581245881000,59.72000000],[1581246181000,74.88000000],[1581246481000,45.00000000],[1581246781000,55.24000000],[1581247081000,72.42000000],[1581247381000,92.44000000],[1581247681000,107.58000000],[1581247981000,89.18000000],[1581248281000,105.14000000],[1581248581000,101.06000000],[1581248881000,57.28000000],[1581249181000,95.32000000],[1581249481000,97.78000000],[1581249781000,78.56000000],[1581250081000,104.30000000],[1581250381000,104.72000000],[1581250681000,69.14000000],[1581250981000,68.74000000],[1581251281000,75.66000000],[1581251581000,91.22000000],[1581251881000,99.80000000],[1581252181000,108.00000000],[1581252481000,77.32000000],[1581252781000,88.78000000],[1581253081000,94.90000000],[1581253381000,81.82000000],[1581253681000,88.38000000],[1581253981000,106.36000000],[1581254281000,88.78000000],[1581254581000,96.14000000],[1581254881000,94.90000000],[1581255181000,114.14000000],[1581255481000,96.56000000],[1581255781000,90.00000000],[1581256081000,93.26000000],[1581256381000,80.18000000],[1581256681000,78.96000000],[1581256981000,105.12000000],[1581257281000,90.82000000],[1581257581000,87.14000000],[1581257881000,65.04000000],[1581258181000,77.32000000],[1581258481000,90.00000000],[1581258781000,89.18000000],[1581259081000,81.02000000],[1581259381000,117.42000000],[1581259681000,79.78000000],[1581259981000,77.30000000],[1581260281000,66.26000000],[1581260581000,90.42000000],[1581260881000,83.86000000],[1581261181000,41.34000000],[1581261481000,33.14000000],[1581261781000,81.82000000],[1581262081000,64.64000000],[1581262381000,74.46000000],[1581262681000,47.88000000],[1581262981000,49.90000000],[1581263281000,40.90000000],[1581263581000,36.02000000],[1581263881000,24.16000000],[1581264181000,23.72000000],[1581264481000,11.44000000],[1581264781000,11.46000000],[1581265081000,9.00000000],[1581265381000,32.74000000],[1581265681000,12.68000000],[1581265981000,26.18000000],[1581266281000,23.32000000],[1581266581000,28.66000000],[1581266881000,27.00000000],[1581267181000,16.38000000],[1581267481000,20.46000000],[1581267781000,51.14000000],[1581268081000,34.76000000],[1581268381000,42.94000000],[1581268681000,52.78000000],[1581268981000,18.00000000],[1581269281000,23.72000000],[1581269581000,26.60000000],[1581269881000,36.42000000],[1581270181000,52.78000000],[1581270481000,45.00000000],[1581270781000,37.64000000],[1581271081000,31.08000000],[1581271381000,31.92000000],[1581271681000,31.48000000],[1581271981000,22.48000000],[1581272281000,22.10000000],[1581272581000,29.04000000],[1581272881000,25.74000000],[1581273181000,29.04000000],[1581273481000,35.20000000],[1581273781000,31.90000000],[1581274081000,31.10000000],[1581274381000,24.54000000],[1581274681000,26.58000000],[1581274981000,36.82000000],[1581275281000,29.84000000],[1581275581000,36.42000000],[1581275881000,29.44000000],[1581276181000,41.74000000],[1581276481000,32.72000000],[1581276781000,42.14000000],[1581277081000,38.48000000],[1581277381000,36.82000000],[1581277681000,18.42000000],[1581277981000,21.68000000],[1581278281000,20.88000000],[1581278581000,28.22000000],[1581278881000,44.18000000],[1581279181000,25.78000000],[1581279481000,60.14000000],[1581279781000,37.22000000],[1581280081000,30.68000000],[1581280381000,40.90000000],[1581280681000,33.14000000],[1581280981000,47.06000000],[1581281281000,23.74000000],[1581281581000,27.00000000],[1581281881000,39.28000000],[1581282181000,58.92000000],[1581282481000,63.82000000],[1581282781000,40.50000000],[1581283081000,27.82000000],[1581283381000,49.10000000],[1581283681000,22.08000000],[1581283981000,56.00000000],[1581284281000,40.08000000],[1581284581000,44.18000000],[1581284881000,38.44000000],[1581285181000,38.86000000],[1581285481000,29.88000000],[1581285781000,42.94000000],[1581286081000,31.10000000],[1581286381000,36.82000000],[1581286681000,22.08000000],[1581286981000,34.76000000],[1581287281000,55.20000000],[1581287581000,51.14000000],[1581287881000,61.76000000],[1581288181000,51.54000000],[1581288481000,34.78000000],[1581288781000,35.58000000],[1581289081000,36.80000000],], 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; }