var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1566770401000,19.93333333],[1566770581000,19.96000000],[1566770881000,19.96000000],[1566771181000,20.36000000],[1566771481000,20.38000000],[1566771781000,20.22000000],[1566772081000,20.34000000],[1566772381000,20.36000000],[1566772681000,20.34000000],[1566772982000,20.24000000],[1566773281000,20.24000000],[1566773581000,20.36000000],[1566773881000,20.40000000],[1566774181000,20.36000000],[1566774481000,20.20000000],[1566774781000,20.20000000],[1566775081000,20.16000000],[1566775381000,19.96000000],[1566775681000,19.68000000],[1566775981000,19.46000000],[1566776281000,19.28000000],[1566776581000,19.18000000],[1566776881000,19.04000000],[1566777181000,18.90000000],[1566777481000,18.82000000],[1566777781000,19.06000000],[1566778081000,19.18000000],[1566778381000,19.10000000],[1566778681000,19.14000000],[1566778981000,19.20000000],[1566779281000,19.24000000],[1566779581000,19.00000000],[1566779881000,18.70000000],[1566780181000,18.48000000],[1566780481000,18.26000000],[1566780781000,18.20000000],[1566781081000,18.22000000],[1566781381000,18.40000000],[1566781681000,18.40000000],[1566781981000,18.30000000],[1566782281000,18.28000000],[1566782581000,18.26000000],[1566782881000,18.54000000],[1566783181000,18.46000000],[1566783481000,18.36000000],[1566783781000,18.24000000],[1566784081000,18.18000000],[1566784381000,18.32000000],[1566784681000,18.48000000],[1566784981000,18.50000000],[1566785281000,18.62000000],[1566785581000,18.56000000],[1566785881000,18.52000000],[1566786181000,18.58000000],[1566786481000,18.54000000],[1566786781000,18.42000000],[1566787081000,18.40000000],[1566787381000,18.48000000],[1566787681000,18.48000000],[1566787981000,18.40000000],[1566788281000,18.46000000],[1566788581000,18.50000000],[1566788881000,18.58000000],[1566789181000,18.66000000],[1566789481000,18.60000000],[1566789781000,18.40000000],[1566790081000,18.16000000],[1566790381000,18.10000000],[1566790681000,18.12000000],[1566790981000,18.12000000],[1566791281000,18.12000000],[1566791581000,18.14000000],[1566791881000,18.16000000],[1566792181000,18.20000000],[1566792481000,18.10000000],[1566792781000,18.36000000],[1566793081000,18.46000000],[1566793381000,18.42000000],[1566793681000,18.48000000],[1566793981000,18.52000000],[1566794281000,18.50000000],[1566794581000,18.54000000],[1566794881000,18.68000000],[1566795181000,18.74000000],[1566795481000,18.64000000],[1566795781000,18.86000000],[1566796081000,18.96000000],[1566796381000,19.10000000],[1566796681000,19.40000000],[1566796981000,19.56000000],[1566797281000,19.70000000],[1566797581000,19.88000000],[1566797881000,20.20000000],[1566798181000,20.56000000],[1566798481000,20.90000000],[1566798781000,21.40000000],[1566799081000,21.58000000],[1566799381000,21.76000000],[1566799681000,21.42000000],[1566799981000,21.04000000],[1566800281000,20.60000000],[1566800581000,20.40000000],[1566800881000,20.40000000],[1566801181000,20.40000000],[1566801481000,20.38000000],[1566801781000,20.38000000],[1566802081000,20.36000000],[1566802381000,20.30000000],[1566802681000,20.30000000],[1566802982000,20.30000000],[1566803281000,20.30000000],[1566803581000,20.30000000],[1566803881000,20.42000000],[1566804181000,20.60000000],[1566804481000,20.70000000],[1566804781000,20.70000000],[1566805081000,20.80000000],[1566805381000,20.88000000],[1566805681000,20.96000000],[1566805981000,21.38000000],[1566806281000,22.64000000],[1566806581000,23.68000000],[1566806882000,23.60000000],[1566807181000,23.82000000],[1566807481000,24.24000000],[1566807781000,24.08000000],[1566808081000,24.62000000],[1566808381000,24.76000000],[1566808681000,24.80000000],[1566808981000,24.68000000],[1566809281000,24.20000000],[1566809581000,23.94000000],[1566809881000,24.22000000],[1566810181000,24.14000000],[1566810481000,24.16000000],[1566810781000,24.58000000],[1566811081000,25.24000000],[1566811381000,25.02000000],[1566811681000,25.58000000],[1566811981000,26.58000000],[1566812281000,25.66000000],[1566812581000,24.58000000],[1566812881000,23.98000000],[1566813181000,23.74000000],[1566813481000,23.54000000],[1566813781000,23.00000000],[1566814081000,23.70000000],[1566814381000,24.18000000],[1566814681000,23.64000000],[1566814982000,23.12000000],[1566815281000,22.88000000],[1566815581000,22.64000000],[1566815882000,22.30000000],[1566816181000,21.94000000],[1566816481000,21.28000000],[1566816781000,20.96000000],[1566817081000,20.76000000],[1566817381000,20.76000000],[1566817681000,20.60000000],[1566817981000,20.62000000],[1566818281000,20.74000000],[1566818581000,20.72000000],[1566818881000,20.86000000],[1566819181000,21.24000000],[1566819481000,21.60000000],[1566819781000,21.80000000],[1566820081000,21.94000000],[1566820381000,22.12000000],[1566820681000,22.14000000],[1566820981000,22.18000000],[1566821281000,22.20000000],[1566821581000,22.14000000],[1566821881000,22.14000000],[1566822181000,22.20000000],[1566822481000,22.50000000],[1566822781000,22.60000000],[1566823081000,22.52000000],[1566823381000,22.60000000],[1566823681000,22.94000000],[1566823981000,23.46000000],[1566824281000,23.66000000],[1566824581000,23.88000000],[1566824881000,24.02000000],[1566825181000,24.00000000],[1566825481000,23.94000000],[1566825781000,23.92000000],[1566826081000,23.98000000],[1566826381000,24.20000000],[1566826682000,24.32000000],[1566826981000,24.60000000],[1566827281000,24.64000000],[1566827581000,24.64000000],[1566827881000,25.54000000],[1566828181000,25.96000000],[1566828481000,25.56000000],[1566828781000,25.32000000],[1566829081000,25.46000000],[1566829381000,25.34000000],[1566829681000,25.42000000],[1566829981000,25.52000000],[1566830281000,25.66000000],[1566830581000,25.54000000],[1566830881000,25.90000000],[1566831181000,26.16000000],[1566831481000,26.14000000],[1566831781000,26.42000000],[1566832081000,26.08000000],[1566832381000,25.54000000],[1566832681000,25.36000000],[1566832982000,25.26000000],[1566833281000,25.22000000],[1566833581000,25.22000000],[1566833881000,25.16000000],[1566834181000,24.92000000],[1566834481000,24.84000000],[1566834781000,24.80000000],[1566835081000,24.80000000],[1566835382000,24.76000000],[1566835681000,24.72000000],[1566835981000,24.66000000],[1566836281000,24.60000000],[1566836581000,24.50000000],[1566836881000,24.36000000],[1566837181000,24.14000000],[1566837481000,24.00000000],[1566837781000,23.84000000],[1566838081000,23.74000000],[1566838381000,23.60000000],[1566838681000,23.48000000],[1566838981000,23.40000000],[1566839281000,23.28000000],[1566839581000,23.10000000],[1566839881000,22.94000000],[1566840181000,22.80000000],[1566840481000,22.74000000],[1566840781000,22.66000000],[1566841081000,22.52000000],[1566841381000,22.40000000],[1566841681000,22.36000000],[1566841981000,22.30000000],[1566842281000,22.28000000],[1566842581000,22.18000000],[1566842881000,22.00000000],[1566843181000,21.76000000],[1566843481000,21.66000000],[1566843781000,21.58000000],[1566844081000,21.50000000],[1566844381000,21.48000000],[1566844681000,21.40000000],[1566844981000,21.38000000],[1566845281000,21.24000000],[1566845581000,21.12000000],[1566845881000,21.10000000],[1566846181000,21.10000000],[1566846481000,21.02000000],[1566846781000,20.94000000],[1566847081000,20.82000000],[1566847381000,20.80000000],[1566847681000,20.72000000],[1566847981000,20.68000000],[1566848281000,20.58000000],[1566848581000,20.44000000],[1566848881000,20.26000000],[1566849181000,20.16000000],[1566849481000,20.08000000],[1566849781000,20.06000000],[1566850081000,20.00000000],[1566850381000,19.92000000],[1566850681000,19.88000000],[1566850981000,19.82000000],[1566851281000,19.74000000],[1566851581000,19.70000000],[1566851881000,19.60000000],[1566852181000,19.52000000],[1566852481000,19.42000000],[1566852781000,19.46000000],[1566853081000,19.46000000],[1566853381000,19.40000000],[1566853681000,19.40000000],[1566853981000,19.40000000],[1566854281000,19.30000000],[1566854581000,19.24000000],[1566854881000,19.20000000],[1566855181000,19.20000000],[1566855481000,19.20000000],[1566855781000,19.20000000],[1566856081000,19.26000000],[1566856381000,19.28000000],[1566856681000,19.20000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1566770401000,19.4],[1566770581000,19.4],[1566770881000,19.1],[1566771181000,18.9],[1566771481000,19.1],[1566771781000,19],[1566772081000,18.9],[1566772381000,19.1],[1566772681000,19],[1566773281000,18.9],[1566773581000,18.7],[1566773881000,18.8],[1566774181000,19],[1566774481000,18.9],[1566774781000,18.9],[1566775081000,19],[1566775381000,19.3],[1566775681000,19.4],[1566775981000,19.4],[1566776281000,19.3],[1566776581000,19.2],[1566776881000,19],[1566777181000,18.9],[1566777481000,18.8],[1566777781000,19.1],[1566778081000,19.2],[1566778381000,19.1],[1566778681000,19.1],[1566778981000,19.2],[1566779281000,19.2],[1566779581000,19],[1566779881000,18.7],[1566780181000,18.5],[1566780481000,18.3],[1566780781000,18.2],[1566781081000,18.2],[1566781381000,18.4],[1566781681000,18.4],[1566781981000,18.3],[1566782281000,18.3],[1566782581000,18.3],[1566782881000,18.5],[1566783181000,18.5],[1566783481000,18.4],[1566783781000,18.2],[1566784081000,18.2],[1566784381000,18.3],[1566784681000,18.5],[1566784981000,18.5],[1566785281000,18.6],[1566785581000,18.6],[1566785881000,18.5],[1566786181000,18.6],[1566786481000,18.5],[1566786781000,18.4],[1566787081000,18.4],[1566787381000,18.5],[1566787681000,18.5],[1566787981000,18.4],[1566788281000,18.5],[1566788581000,18.5],[1566788881000,18.3],[1566789181000,18.4],[1566789481000,18.5],[1566789781000,18.4],[1566790081000,18.2],[1566790381000,18.1],[1566790681000,18.1],[1566790981000,18.1],[1566791281000,18.1],[1566791581000,18.1],[1566791881000,18.1],[1566792181000,18.2],[1566792481000,18.1],[1566792781000,18.1],[1566793081000,18.2],[1566793381000,18.2],[1566793681000,18.1],[1566793981000,18.3],[1566794281000,18.4],[1566794581000,18.2],[1566794881000,18.2],[1566795181000,18.3],[1566795481000,18.2],[1566795781000,18.4],[1566796081000,18.5],[1566796381000,18.1],[1566796681000,18.1],[1566796981000,18.3],[1566797281000,18.4],[1566797581000,18.4],[1566797881000,18.4],[1566798181000,18.4],[1566798481000,18.6],[1566798781000,18.7],[1566799081000,18.7],[1566799381000,18.9],[1566799681000,18.8],[1566799981000,19],[1566800281000,18.8],[1566800581000,18.6],[1566800881000,18.6],[1566801181000,18.6],[1566801481000,18.7],[1566801781000,18.9],[1566802081000,19.1],[1566802381000,19.1],[1566802681000,19.1],[1566802982000,19.5],[1566803281000,19.3],[1566803581000,19.3],[1566803881000,18.9],[1566804181000,18.9],[1566804481000,19.4],[1566804781000,19.4],[1566805081000,19.5],[1566805381000,19.4],[1566805681000,19.9],[1566805981000,19.5],[1566806281000,19.4],[1566806581000,18.9],[1566807181000,18.3],[1566807481000,18.6],[1566807781000,18.5],[1566808081000,18.3],[1566808381000,18.6],[1566808681000,18.6],[1566808981000,19],[1566809281000,18.8],[1566809581000,18.4],[1566809881000,18.6],[1566810181000,18.6],[1566810481000,18.6],[1566810781000,18.2],[1566811081000,18.3],[1566811381000,18],[1566811681000,17.9],[1566811981000,18],[1566812281000,18.4],[1566812581000,18.7],[1566812881000,18.4],[1566813181000,18.7],[1566813481000,20],[1566813781000,19.9],[1566814081000,20],[1566814381000,19.5],[1566814982000,19.7],[1566815281000,19.5],[1566815581000,20.2],[1566815882000,20],[1566816181000,21.1],[1566816481000,21.3],[1566816781000,21],[1566817081000,20.8],[1566817381000,20.8],[1566817681000,20.6],[1566817981000,20.6],[1566818281000,20.7],[1566818581000,20.7],[1566818881000,20.8],[1566819181000,21.2],[1566819481000,21.6],[1566819781000,21.5],[1566820081000,21.7],[1566820381000,21.8],[1566820681000,21.7],[1566820981000,21.9],[1566821281000,21.8],[1566821581000,21.2],[1566821881000,20.4],[1566822181000,20.4],[1566822481000,20.7],[1566822781000,20.6],[1566823081000,20.3],[1566823381000,19.9],[1566823681000,20],[1566823981000,20],[1566824281000,19.6],[1566824581000,19.1],[1566824881000,18.9],[1566825181000,19.1],[1566825481000,19.4],[1566825781000,19.5],[1566826081000,19.5],[1566826381000,19.8],[1566826682000,19.6],[1566826981000,19.4],[1566827281000,19.2],[1566827581000,19.1],[1566827881000,18.9],[1566828181000,19.3],[1566828481000,19.8],[1566828781000,18.8],[1566829081000,18.7],[1566829381000,19],[1566829681000,18.6],[1566829981000,18.9],[1566830281000,18.9],[1566830581000,19.1],[1566831181000,19],[1566831481000,18.8],[1566831781000,19.5],[1566832081000,19.2],[1566832381000,19.2],[1566832681000,19.2],[1566832982000,19.3],[1566833281000,19.4],[1566833581000,19.3],[1566833881000,19.2],[1566834181000,19.4],[1566834481000,19.5],[1566834781000,19.5],[1566835081000,19.4],[1566835382000,19.3],[1566835681000,19.9],[1566835981000,20.3],[1566836281000,20.4],[1566836581000,20.5],[1566836881000,20.9],[1566837181000,20.9],[1566837481000,20.9],[1566837781000,21],[1566838081000,20.9],[1566838381000,20.6],[1566838681000,20.7],[1566838981000,20.8],[1566839281000,20.9],[1566839581000,21],[1566839881000,21],[1566840181000,20.9],[1566840481000,21],[1566840781000,21.2],[1566841081000,21.3],[1566841381000,21.4],[1566841681000,21.4],[1566841981000,21.5],[1566842281000,21.6],[1566842581000,21.8],[1566842881000,22],[1566843181000,21.8],[1566843481000,21.7],[1566843781000,21.6],[1566844081000,21.5],[1566844381000,21.5],[1566844681000,21.4],[1566844981000,21.4],[1566845281000,21.2],[1566845581000,21.1],[1566845881000,21.1],[1566846181000,21.1],[1566846481000,21],[1566846781000,20.9],[1566847081000,20.8],[1566847381000,20.8],[1566847681000,20.7],[1566847981000,20.7],[1566848281000,20.6],[1566848581000,20.4],[1566848881000,20.3],[1566849181000,20.2],[1566849481000,20.1],[1566849781000,20.1],[1566850081000,20],[1566850381000,19.9],[1566850681000,19.9],[1566850981000,19.8],[1566851281000,19.7],[1566851581000,19.7],[1566851881000,19.6],[1566852181000,19.5],[1566852481000,19.4],[1566852781000,19.5],[1566853081000,19.5],[1566853381000,19.4],[1566853681000,19.4],[1566853981000,19.4],[1566854281000,19.3],[1566854581000,19.2],[1566854881000,19.2],[1566855181000,19.2],[1566855481000,19.2],[1566855781000,19.2],[1566856081000,19.3],[1566856381000,19.3],[1566856681000,19.2],], 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: [[1566770401000,96.86666667],[1566770581000,96.82000000],[1566770881000,94.68000000],[1566771181000,91.18000000],[1566771481000,92.68000000],[1566771781000,92.94000000],[1566772081000,91.50000000],[1566772381000,92.76000000],[1566772681000,91.88000000],[1566772981000,92.78000000],[1566773281000,92.12000000],[1566773581000,90.34000000],[1566773881000,90.60000000],[1566774181000,92.10000000],[1566774481000,92.34000000],[1566774781000,92.48000000],[1566775081000,92.82000000],[1566775381000,95.78000000],[1566775681000,98.30000000],[1566775981000,99.60000000],[1566776281000,99.92000000],[1566776581000,100.00000000],[1566776881000,100.00000000],[1566777181000,100.00000000],[1566777481000,100.00000000],[1566777781000,99.96000000],[1566778081000,99.98000000],[1566778381000,100.00000000],[1566778681000,100.00000000],[1566778981000,99.96000000],[1566779281000,100.00000000],[1566779581000,100.00000000],[1566779881000,100.00000000],[1566780181000,100.00000000],[1566780481000,100.00000000],[1566780781000,100.00000000],[1566781081000,100.00000000],[1566781381000,100.00000000],[1566781681000,100.00000000],[1566781981000,100.00000000],[1566782281000,100.00000000],[1566782581000,100.00000000],[1566782881000,100.00000000],[1566783181000,100.00000000],[1566783481000,100.00000000],[1566783781000,100.00000000],[1566784081000,100.00000000],[1566784381000,100.00000000],[1566784681000,100.00000000],[1566784981000,100.00000000],[1566785281000,100.00000000],[1566785581000,100.00000000],[1566785881000,100.00000000],[1566786181000,100.00000000],[1566786481000,100.00000000],[1566786781000,100.00000000],[1566787081000,100.00000000],[1566787381000,100.00000000],[1566787681000,100.00000000],[1566787981000,100.00000000],[1566788281000,100.00000000],[1566788581000,99.80000000],[1566788881000,98.46000000],[1566789181000,98.28000000],[1566789481000,99.10000000],[1566789781000,100.00000000],[1566790081000,100.00000000],[1566790381000,100.00000000],[1566790681000,100.00000000],[1566790981000,100.00000000],[1566791281000,100.00000000],[1566791581000,100.00000000],[1566791881000,99.92000000],[1566792181000,100.00000000],[1566792481000,100.00000000],[1566792781000,98.68000000],[1566793081000,98.28000000],[1566793381000,98.82000000],[1566793681000,97.56000000],[1566793981000,98.52000000],[1566794281000,99.18000000],[1566794581000,97.96000000],[1566794881000,97.26000000],[1566795181000,97.56000000],[1566795481000,97.52000000],[1566795781000,97.24000000],[1566796081000,97.34000000],[1566796381000,94.10000000],[1566796681000,92.10000000],[1566796981000,92.56000000],[1566797281000,92.34000000],[1566797581000,91.30000000],[1566797881000,89.68000000],[1566798181000,87.38000000],[1566798481000,86.94000000],[1566798781000,84.68000000],[1566799081000,84.00000000],[1566799381000,83.68000000],[1566799681000,85.36000000],[1566799981000,87.94000000],[1566800281000,89.62000000],[1566800581000,89.56000000],[1566800881000,89.54000000],[1566801181000,89.64000000],[1566801481000,89.94000000],[1566801781000,91.48000000],[1566802081000,92.48000000],[1566802381000,92.66000000],[1566802681000,92.86000000],[1566802982000,94.96000000],[1566803281000,93.78000000],[1566803581000,94.04000000],[1566803881000,90.94000000],[1566804181000,90.14000000],[1566804481000,92.26000000],[1566804781000,92.32000000],[1566805081000,92.50000000],[1566805381000,91.54000000],[1566805681000,93.54000000],[1566805981000,89.24000000],[1566806281000,81.88000000],[1566806581000,74.90000000],[1566806881000,72.42000000],[1566807181000,71.32000000],[1566807481000,70.88000000],[1566807781000,70.98000000],[1566808081000,67.88000000],[1566808381000,68.62000000],[1566808681000,68.70000000],[1566808981000,70.84000000],[1566809281000,72.10000000],[1566809581000,71.16000000],[1566809881000,71.12000000],[1566810181000,71.28000000],[1566810481000,71.22000000],[1566810781000,67.90000000],[1566811081000,65.34000000],[1566811381000,65.06000000],[1566811681000,62.56000000],[1566811981000,59.50000000],[1566812281000,64.40000000],[1566812581000,69.78000000],[1566812881000,71.04000000],[1566813181000,73.70000000],[1566813481000,80.76000000],[1566813781000,82.84000000],[1566814081000,79.86000000],[1566814381000,75.42000000],[1566814682000,79.20000000],[1566814982000,80.98000000],[1566815281000,81.50000000],[1566815581000,86.28000000],[1566815882000,87.06000000],[1566816181000,95.10000000],[1566816481000,100.00000000],[1566816781000,100.00000000],[1566817081000,100.00000000],[1566817381000,100.00000000],[1566817681000,100.00000000],[1566817981000,100.00000000],[1566818281000,100.00000000],[1566818581000,100.00000000],[1566818881000,99.78000000],[1566819181000,100.00000000],[1566819481000,99.98000000],[1566819781000,98.30000000],[1566820081000,98.68000000],[1566820381000,98.34000000],[1566820681000,97.60000000],[1566820981000,98.18000000],[1566821281000,97.88000000],[1566821581000,94.46000000],[1566821881000,90.04000000],[1566822181000,89.38000000],[1566822481000,89.60000000],[1566822781000,88.56000000],[1566823081000,87.18000000],[1566823381000,84.98000000],[1566823681000,83.34000000],[1566823981000,80.76000000],[1566824281000,78.28000000],[1566824581000,74.78000000],[1566824881000,73.04000000],[1566825181000,74.20000000],[1566825481000,75.82000000],[1566825781000,76.32000000],[1566826081000,75.90000000],[1566826381000,76.62000000],[1566826682000,75.24000000],[1566826981000,72.84000000],[1566827281000,71.68000000],[1566827581000,71.30000000],[1566827881000,66.88000000],[1566828181000,66.66000000],[1566828481000,70.48000000],[1566828781000,67.44000000],[1566829081000,66.44000000],[1566829381000,68.16000000],[1566829681000,66.22000000],[1566829981000,66.82000000],[1566830281000,66.30000000],[1566830581000,67.62000000],[1566830882000,65.92000000],[1566831181000,64.68000000],[1566831481000,64.16000000],[1566831781000,65.84000000],[1566832081000,65.70000000],[1566832381000,68.18000000],[1566832681000,68.66000000],[1566832982000,69.44000000],[1566833281000,70.16000000],[1566833581000,69.62000000],[1566833881000,69.80000000],[1566834181000,71.60000000],[1566834481000,72.20000000],[1566834781000,72.26000000],[1566835081000,71.96000000],[1566835382000,71.76000000],[1566835681000,74.58000000],[1566835981000,76.90000000],[1566836281000,77.76000000],[1566836581000,78.68000000],[1566836881000,80.94000000],[1566837181000,82.38000000],[1566837481000,82.92000000],[1566837781000,83.94000000],[1566838081000,84.12000000],[1566838381000,83.46000000],[1566838681000,84.32000000],[1566838981000,85.16000000],[1566839281000,86.68000000],[1566839581000,88.00000000],[1566839881000,88.76000000],[1566840181000,89.06000000],[1566840481000,90.04000000],[1566840781000,91.30000000],[1566841081000,92.84000000],[1566841381000,93.86000000],[1566841681000,94.46000000],[1566841981000,95.22000000],[1566842281000,95.78000000],[1566842581000,97.76000000],[1566842881000,99.94000000],[1566843181000,100.00000000],[1566843481000,100.00000000],[1566843781000,100.00000000],[1566844081000,100.00000000],[1566844381000,100.00000000],[1566844681000,100.00000000],[1566844981000,100.00000000],[1566845281000,100.00000000],[1566845581000,100.00000000],[1566845881000,100.00000000],[1566846181000,100.00000000],[1566846481000,100.00000000],[1566846781000,100.00000000],[1566847081000,100.00000000],[1566847381000,100.00000000],[1566847681000,100.00000000],[1566847981000,100.00000000],[1566848281000,100.00000000],[1566848581000,100.00000000],[1566848881000,100.00000000],[1566849181000,100.00000000],[1566849481000,100.00000000],[1566849781000,100.00000000],[1566850081000,100.00000000],[1566850381000,100.00000000],[1566850681000,100.00000000],[1566850981000,100.00000000],[1566851281000,100.00000000],[1566851581000,100.00000000],[1566851881000,100.00000000],[1566852181000,100.00000000],[1566852481000,100.00000000],[1566852781000,100.00000000],[1566853081000,100.00000000],[1566853381000,100.00000000],[1566853681000,100.00000000],[1566853981000,100.00000000],[1566854281000,100.00000000],[1566854581000,100.00000000],[1566854881000,100.00000000],[1566855181000,100.00000000],[1566855481000,100.00000000],[1566855781000,100.00000000],[1566856081000,100.00000000],[1566856381000,100.00000000],[1566856681000,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: [[1566770401000,1022.1],[1566770581000,1022],[1566770881000,1022.1],[1566771181000,1022.1],[1566771481000,1022.1],[1566771781000,1022.1],[1566772081000,1022.1],[1566772381000,1022],[1566772681000,1022.1],[1566773281000,1022.1],[1566773581000,1022.1],[1566773881000,1022.2],[1566774181000,1022.2],[1566774481000,1022.2],[1566774781000,1022.2],[1566775081000,1022.1],[1566775381000,1022],[1566775681000,1022],[1566775981000,1022],[1566776281000,1022],[1566776581000,1022],[1566776881000,1022],[1566777181000,1022],[1566777481000,1022],[1566777781000,1022],[1566778081000,1022],[1566778381000,1022.1],[1566778681000,1022.1],[1566778981000,1022.1],[1566779281000,1022.1],[1566779581000,1022.1],[1566779881000,1022.1],[1566780181000,1022.2],[1566780481000,1022.1],[1566780781000,1022.1],[1566781081000,1022.1],[1566781381000,1022.1],[1566781681000,1022.1],[1566781981000,1022],[1566782281000,1021.9],[1566782581000,1021.9],[1566782881000,1021.8],[1566783181000,1021.8],[1566783481000,1021.8],[1566783781000,1021.8],[1566784081000,1021.8],[1566784381000,1021.8],[1566784681000,1021.8],[1566784981000,1021.8],[1566785281000,1021.8],[1566785581000,1021.8],[1566785881000,1021.9],[1566786181000,1021.9],[1566786481000,1021.9],[1566786781000,1021.9],[1566787081000,1022],[1566787381000,1021.9],[1566787681000,1021.9],[1566787981000,1022],[1566788281000,1022.1],[1566788581000,1022.2],[1566788881000,1022.2],[1566789181000,1022.2],[1566789481000,1022.3],[1566789781000,1022.4],[1566790081000,1022.5],[1566790381000,1022.6],[1566790681000,1022.6],[1566790981000,1022.7],[1566791281000,1022.6],[1566791581000,1022.7],[1566791881000,1022.6],[1566792181000,1022.5],[1566792481000,1022.5],[1566792781000,1022.4],[1566793081000,1022.5],[1566793381000,1022.4],[1566793681000,1022.3],[1566793981000,1022.3],[1566794281000,1022.3],[1566794581000,1022.3],[1566794881000,1022.2],[1566795181000,1022.2],[1566795481000,1022.2],[1566795781000,1022.2],[1566796081000,1022.2],[1566796381000,1022.2],[1566796681000,1022.2],[1566796981000,1022.1],[1566797281000,1022.1],[1566797581000,1022],[1566797881000,1022],[1566798181000,1022],[1566798481000,1022],[1566798781000,1022],[1566799081000,1022.1],[1566799381000,1022.2],[1566799681000,1022.4],[1566799981000,1022.6],[1566800281000,1022.8],[1566800581000,1022.8],[1566800881000,1023],[1566801181000,1023.1],[1566801481000,1023.2],[1566801781000,1023.2],[1566802081000,1023.2],[1566802381000,1023.3],[1566802681000,1023.4],[1566802982000,1023.5],[1566803281000,1023.4],[1566803581000,1023.5],[1566803881000,1023.4],[1566804181000,1023.4],[1566804481000,1023.3],[1566804781000,1023.3],[1566805081000,1023.3],[1566805381000,1023.3],[1566805681000,1023.2],[1566805981000,1023.2],[1566806281000,1023.2],[1566806581000,1023.2],[1566807181000,1023.2],[1566807481000,1023.2],[1566807781000,1023.2],[1566808081000,1023.2],[1566808381000,1023.3],[1566808681000,1023.4],[1566808981000,1023.4],[1566809281000,1023.5],[1566809581000,1023.5],[1566809881000,1023.4],[1566810181000,1023.3],[1566810481000,1023.2],[1566810781000,1023.1],[1566811081000,1023],[1566811381000,1022.9],[1566811681000,1022.8],[1566811981000,1022.8],[1566812281000,1022.9],[1566812581000,1023],[1566812881000,1023.1],[1566813181000,1023],[1566813481000,1023.1],[1566813781000,1023.1],[1566814081000,1023],[1566814381000,1022.9],[1566814982000,1023.3],[1566815281000,1023.6],[1566815581000,1023.8],[1566815882000,1023.7],[1566816181000,1023.5],[1566816481000,1023.3],[1566816781000,1023.3],[1566817081000,1023.1],[1566817381000,1022.9],[1566817681000,1022.8],[1566817981000,1022.8],[1566818281000,1022.8],[1566818581000,1022.7],[1566818881000,1022.7],[1566819181000,1022.6],[1566819481000,1022.7],[1566819781000,1022.7],[1566820081000,1022.8],[1566820381000,1022.7],[1566820681000,1022.7],[1566820981000,1022.7],[1566821281000,1022.7],[1566821581000,1022.7],[1566821881000,1022.6],[1566822181000,1022.6],[1566822481000,1022.5],[1566822781000,1022.4],[1566823081000,1022.3],[1566823381000,1022.3],[1566823681000,1022.3],[1566823981000,1022.2],[1566824281000,1022.2],[1566824581000,1022.2],[1566824881000,1022.2],[1566825181000,1022.1],[1566825481000,1022.1],[1566825781000,1022.1],[1566826081000,1022],[1566826381000,1022],[1566826682000,1022],[1566826981000,1021.9],[1566827281000,1021.9],[1566827581000,1021.8],[1566827881000,1021.8],[1566828181000,1021.6],[1566828481000,1021.6],[1566828781000,1021.6],[1566829081000,1021.5],[1566829381000,1021.5],[1566829681000,1021.5],[1566829981000,1021.4],[1566830281000,1021.3],[1566830581000,1021.2],[1566831181000,1021],[1566831481000,1020.9],[1566831781000,1020.8],[1566832081000,1020.8],[1566832381000,1020.8],[1566832681000,1020.8],[1566832982000,1020.8],[1566833281000,1020.8],[1566833581000,1020.8],[1566833881000,1020.8],[1566834181000,1020.8],[1566834481000,1020.7],[1566834781000,1020.8],[1566835081000,1020.7],[1566835382000,1020.8],[1566835681000,1020.9],[1566835981000,1021],[1566836281000,1021.1],[1566836581000,1021.1],[1566836881000,1021.2],[1566837181000,1021.3],[1566837481000,1021.3],[1566837781000,1021.4],[1566838081000,1021.4],[1566838381000,1021.5],[1566838681000,1021.4],[1566838981000,1021.4],[1566839281000,1021.4],[1566839581000,1021.4],[1566839881000,1021.4],[1566840181000,1021.4],[1566840481000,1021.4],[1566840781000,1021.4],[1566841081000,1021.5],[1566841381000,1021.5],[1566841681000,1021.5],[1566841981000,1021.6],[1566842281000,1021.6],[1566842581000,1021.6],[1566842881000,1021.7],[1566843181000,1021.7],[1566843481000,1021.7],[1566843781000,1021.7],[1566844081000,1021.7],[1566844381000,1021.7],[1566844681000,1021.8],[1566844981000,1021.7],[1566845281000,1021.7],[1566845581000,1021.7],[1566845881000,1021.7],[1566846181000,1021.8],[1566846481000,1021.8],[1566846781000,1021.9],[1566847081000,1021.9],[1566847381000,1021.9],[1566847681000,1021.9],[1566847981000,1021.9],[1566848281000,1022],[1566848581000,1022],[1566848881000,1022],[1566849181000,1022.1],[1566849481000,1022.2],[1566849781000,1022.1],[1566850081000,1022.1],[1566850381000,1022],[1566850681000,1022.1],[1566850981000,1022],[1566851281000,1022],[1566851581000,1022],[1566851881000,1022],[1566852181000,1022],[1566852481000,1022],[1566852781000,1022.1],[1566853081000,1022.1],[1566853381000,1022],[1566853681000,1021.9],[1566853981000,1021.9],[1566854281000,1021.8],[1566854581000,1021.8],[1566854881000,1021.9],[1566855181000,1021.9],[1566855481000,1021.9],[1566855781000,1021.9],[1566856081000,1021.9],[1566856381000,1021.9],[1566856681000,1021.9],], 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: [[1566770401000,2.52],[1566770581000,2.664],[1566770881000,2.448],[1566771181000,0.504],[1566771481000,0.504],[1566771781000,2.088],[1566772081000,3.168],[1566772381000,1.872],[1566772681000,1.44],[1566772981000,2.448],[1566773281000,1.8],[1566773581000,0.576],[1566773881000,1.296],[1566774181000,1.656],[1566774481000,0.648],[1566774781000,0.936],[1566775081000,0.576],[1566775381000,0.864],[1566775681000,1.152],[1566775981000,1.152],[1566776281000,1.152],[1566776581000,0.936],[1566776881000,0],[1566777181000,0],[1566777481000,0.72],[1566777781000,0.288],[1566778081000,0.36],[1566778381000,0.648],[1566778681000,0],[1566778981000,0.504],[1566779281000,0.864],[1566779581000,0.792],[1566779881000,0.432],[1566780181000,0],[1566780481000,0],[1566780781000,0],[1566781081000,0],[1566781381000,1.8],[1566781681000,3.024],[1566781981000,2.952],[1566782281000,2.664],[1566782581000,3.384],[1566782881000,4.032],[1566783181000,2.52],[1566783481000,1.8],[1566783781000,1.512],[1566784081000,1.656],[1566784381000,2.304],[1566784681000,4.68],[1566784981000,2.16],[1566785281000,2.376],[1566785581000,2.664],[1566785881000,2.304],[1566786181000,4.896],[1566786481000,3.744],[1566786781000,4.032],[1566787081000,3.312],[1566787381000,3.096],[1566787681000,2.016],[1566787981000,0.936],[1566788281000,3.096],[1566788581000,2.88],[1566788881000,2.304],[1566789181000,2.016],[1566789481000,1.296],[1566789781000,1.08],[1566790081000,2.232],[1566790381000,1.44],[1566790681000,2.448],[1566790981000,3.168],[1566791281000,4.896],[1566791581000,3.384],[1566791881000,2.952],[1566792181000,0.504],[1566792481000,2.736],[1566792781000,3.816],[1566793081000,2.664],[1566793381000,4.176],[1566793681000,3.816],[1566793981000,2.736],[1566794281000,2.808],[1566794581000,0.648],[1566794881000,0.072],[1566795181000,0],[1566795481000,0],[1566795781000,0.072],[1566796081000,0.072],[1566796381000,0],[1566796681000,0],[1566796981000,0.648],[1566797281000,0.216],[1566797581000,3.672],[1566797881000,3.384],[1566798181000,1.368],[1566798481000,1.224],[1566798781000,2.376],[1566799081000,0.864],[1566799381000,0.576],[1566799681000,1.296],[1566799981000,3.168],[1566800281000,2.808],[1566800581000,3.96],[1566800881000,4.536],[1566801181000,3.744],[1566801481000,2.736],[1566801781000,1.44],[1566802081000,0],[1566802381000,0],[1566802681000,0],[1566802981000,0.072],[1566803281000,0.72],[1566803581000,1.296],[1566803881000,1.08],[1566804181000,0],[1566804481000,0.288],[1566804781000,1.584],[1566805081000,3.312],[1566805381000,2.376],[1566805681000,3.024],[1566805981000,4.032],[1566806281000,2.304],[1566806581000,2.88],[1566806881000,3.384],[1566807181000,2.664],[1566807481000,2.304],[1566807781000,2.016],[1566808081000,3.6],[1566808381000,8.712],[1566808681000,8.784],[1566808981000,12.672],[1566809281000,18.432],[1566809581000,14.184],[1566809881000,13.176],[1566810181000,7.344],[1566810481000,4.824],[1566810781000,0.792],[1566811081000,6.696],[1566811381000,4.464],[1566811681000,3.456],[1566811981000,5.04],[1566812281000,1.584],[1566812581000,3.456],[1566812881000,3.528],[1566813181000,0.72],[1566813481000,0],[1566813781000,0.432],[1566814081000,1.224],[1566814381000,2.088],[1566814681000,1.944],[1566814981000,4.896],[1566815281000,10.08],[1566815581000,5.76],[1566815881000,1.296],[1566816181000,4.104],[1566816481000,3.312],[1566816781000,4.248],[1566817081000,6.696],[1566817381000,7.92],[1566817681000,8.496],[1566817981000,5.976],[1566818281000,0.576],[1566818581000,1.872],[1566818881000,4.968],[1566819181000,6.408],[1566819481000,2.448],[1566819781000,1.872],[1566820081000,2.592],[1566820381000,1.656],[1566820681000,2.232],[1566820981000,2.088],[1566821281000,2.808],[1566821581000,2.592],[1566821881000,1.728],[1566822181000,2.016],[1566822481000,0.864],[1566822781000,3.312],[1566823081000,4.608],[1566823381000,2.88],[1566823681000,0.792],[1566823981000,0.648],[1566824281000,1.944],[1566824581000,4.68],[1566824881000,4.32],[1566825181000,8.064],[1566825481000,1.656],[1566825781000,1.44],[1566826081000,5.832],[1566826381000,5.904],[1566826681000,4.176],[1566826981000,5.328],[1566827281000,4.608],[1566827581000,1.44],[1566827881000,10.944],[1566828181000,7.992],[1566828481000,14.544],[1566828781000,11.592],[1566829081000,13.032],[1566829381000,4.392],[1566829681000,10.8],[1566829981000,9],[1566830281000,5.544],[1566830581000,11.016],[1566830881000,7.416],[1566831181000,6.192],[1566831481000,9.72],[1566831781000,6.336],[1566832081000,3.672],[1566832381000,1.872],[1566832681000,2.736],[1566832981000,0.432],[1566833281000,1.8],[1566833581000,3.096],[1566833881000,0.864],[1566834181000,2.088],[1566834481000,2.88],[1566834781000,1.368],[1566835081000,0.144],[1566835381000,1.08],[1566835681000,3.6],[1566835981000,11.52],[1566836281000,10.008],[1566836581000,5.616],[1566836881000,4.896],[1566837181000,5.688],[1566837481000,6.696],[1566837781000,6.48],[1566838081000,9.72],[1566838381000,10.224],[1566838681000,10.584],[1566838981000,10.44],[1566839281000,10.296],[1566839581000,8.856],[1566839881000,7.344],[1566840181000,7.488],[1566840481000,5.832],[1566840781000,0.936],[1566841081000,0],[1566841381000,0],[1566841681000,0.36],[1566841981000,0],[1566842281000,0],[1566842581000,0.504],[1566842881000,2.448],[1566843181000,0.36],[1566843481000,0],[1566843781000,0.144],[1566844081000,0.648],[1566844381000,0],[1566844681000,1.152],[1566844981000,0],[1566845281000,0],[1566845581000,0],[1566845881000,0],[1566846181000,0],[1566846481000,0],[1566846781000,0],[1566847081000,1.008],[1566847381000,0.864],[1566847681000,2.376],[1566847981000,2.088],[1566848281000,1.44],[1566848581000,1.008],[1566848881000,0.216],[1566849181000,0.216],[1566849481000,0],[1566849781000,0],[1566850081000,0],[1566850381000,0],[1566850681000,0],[1566850981000,0],[1566851281000,0],[1566851581000,0],[1566851881000,0],[1566852181000,0],[1566852481000,0],[1566852781000,0.36],[1566853081000,0.864],[1566853381000,0.864],[1566853681000,0.72],[1566853981000,0.072],[1566854281000,0],[1566854581000,0],[1566854881000,0.072],[1566855181000,1.8],[1566855481000,0.792],[1566855781000,0.072],[1566856081000,0],[1566856381000,0.072],[1566856681000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1566770401000,4.1076],[1566770581000,4.17312],[1566770881000,3.75768],[1566771181000,0.67032],[1566771481000,0.78048],[1566771781000,2.96928],[1566772081000,4.8816],[1566772381000,2.93832],[1566772681000,2.29392],[1566772981000,3.73248],[1566773281000,2.77848],[1566773581000,0.99],[1566773881000,1.998],[1566774181000,2.56608],[1566774481000,0.87552],[1566774781000,1.52784],[1566775081000,0.89136],[1566775381000,1.24488],[1566775681000,1.8468],[1566775981000,1.7676],[1566776281000,1.76832],[1566776581000,1.46232],[1566776881000,0],[1566777181000,0.02376],[1566777481000,1.1952],[1566777781000,0.52056],[1566778081000,0.594],[1566778381000,0.85392],[1566778681000,0.07056],[1566778981000,0.756],[1566779281000,1.36872],[1566779581000,1.22904],[1566779881000,0.71496],[1566780181000,0],[1566780481000,0],[1566780781000,0],[1566781081000,0],[1566781381000,2.77128],[1566781681000,4.7988],[1566781981000,4.50072],[1566782281000,4.12776],[1566782581000,5.14008],[1566782881000,6.06816],[1566783181000,3.99456],[1566783481000,2.80584],[1566783781000,2.29968],[1566784081000,2.5488],[1566784381000,3.55536],[1566784681000,7.27848],[1566784981000,3.42936],[1566785281000,3.68208],[1566785581000,4.3344],[1566785881000,3.62232],[1566786181000,7.53192],[1566786481000,5.80608],[1566786781000,6.34104],[1566787081000,5.1696],[1566787381000,4.75992],[1566787681000,3.15936],[1566787981000,1.31616],[1566788281000,4.67136],[1566788581000,4.5648],[1566788881000,3.6972],[1566789181000,3.32928],[1566789481000,1.89936],[1566789781000,1.66608],[1566790081000,3.546],[1566790381000,2.2068],[1566790681000,3.70512],[1566790981000,4.9932],[1566791281000,7.54848],[1566791581000,5.41872],[1566791881000,4.46832],[1566792181000,0.7128],[1566792481000,4.31496],[1566792781000,5.84784],[1566793081000,4.17168],[1566793381000,6.52104],[1566793681000,5.86656],[1566793981000,4.37616],[1566794281000,4.41576],[1566794581000,0.98064],[1566794881000,0.18864],[1566795181000,0],[1566795481000,0],[1566795781000,0.07848],[1566796081000,0.09072],[1566796381000,0],[1566796681000,0],[1566796981000,0.88416],[1566797281000,0.36288],[1566797581000,5.80032],[1566797881000,5.24088],[1566798181000,2.21904],[1566798481000,1.90296],[1566798781000,3.69576],[1566799081000,1.42056],[1566799381000,0.8136],[1566799681000,2.00952],[1566799981000,4.94136],[1566800281000,4.25376],[1566800581000,6.53544],[1566800881000,7.18992],[1566801181000,5.71464],[1566801481000,4.10976],[1566801781000,2.1672],[1566802081000,0],[1566802381000,0],[1566802681000,0],[1566802981000,0.12456],[1566803281000,1.15704],[1566803581000,2.04048],[1566803881000,1.49256],[1566804181000,0],[1566804481000,0.52416],[1566804781000,2.39976],[1566805081000,5.11776],[1566805381000,3.58776],[1566805681000,4.63536],[1566805981000,6.17112],[1566806281000,3.60504],[1566806581000,4.22568],[1566806881000,5.20992],[1566807181000,4.176],[1566807481000,3.5496],[1566807781000,3.06432],[1566808081000,5.67648],[1566808381000,13.24008],[1566808681000,13.7016],[1566808981000,20.0016],[1566809281000,28.35432],[1566809581000,22.19112],[1566809881000,20.8332],[1566810181000,11.1672],[1566810481000,7.37856],[1566810781000,1.19592],[1566811081000,10.4076],[1566811381000,6.75432],[1566811681000,5.42592],[1566811981000,7.7976],[1566812281000,2.30184],[1566812581000,5.39568],[1566812881000,5.65128],[1566813181000,1.04904],[1566813481000,0],[1566813781000,0.66168],[1566814081000,1.68624],[1566814381000,3.33432],[1566814681000,3.02112],[1566814981000,7.884],[1566815281000,16.5132],[1566815581000,9.65088],[1566815881000,2.03832],[1566816181000,6.2568],[1566816481000,5.09544],[1566816781000,6.72552],[1566817081000,10.81368],[1566817381000,12.39408],[1566817681000,13.07304],[1566817981000,9.23328],[1566818281000,0.96264],[1566818581000,2.96208],[1566818881000,7.30656],[1566819181000,9.82008],[1566819481000,3.79944],[1566819781000,3.02688],[1566820081000,4.27968],[1566820381000,2.54304],[1566820681000,3.38112],[1566820981000,3.18672],[1566821281000,4.3164],[1566821581000,4.05648],[1566821881000,2.80368],[1566822181000,3.12048],[1566822481000,1.14624],[1566822781000,5.05656],[1566823081000,7.32168],[1566823381000,4.47696],[1566823681000,1.1412],[1566823981000,1.03968],[1566824281000,2.97144],[1566824581000,7.14168],[1566824881000,6.68088],[1566825181000,12.43656],[1566825481000,2.69496],[1566825781000,2.11968],[1566826081000,9.15408],[1566826381000,9.06912],[1566826681000,6.49656],[1566826981000,8.30232],[1566827281000,7.25688],[1566827581000,2.29608],[1566827881000,17.20656],[1566828181000,12.58488],[1566828481000,22.66416],[1566828781000,18.00864],[1566829081000,20.52144],[1566829381000,6.8112],[1566829681000,17.15112],[1566829981000,14.1408],[1566830281000,8.4564],[1566830581000,17.39232],[1566830881000,11.3904],[1566831181000,9.88488],[1566831481000,15.03576],[1566831781000,10.08144],[1566832081000,5.80464],[1566832381000,2.87784],[1566832681000,4.19688],[1566832981000,0.7524],[1566833281000,2.75184],[1566833581000,4.88664],[1566833881000,1.43064],[1566834181000,3.02616],[1566834481000,4.2696],[1566834781000,2.07576],[1566835081000,0.2232],[1566835381000,1.80216],[1566835681000,5.64696],[1566835981000,18.07848],[1566836281000,15.43536],[1566836581000,8.73072],[1566836881000,7.59528],[1566837181000,8.5248],[1566837481000,10.2852],[1566837781000,9.87408],[1566838081000,15.09552],[1566838381000,15.70824],[1566838681000,16.28208],[1566838981000,15.89976],[1566839281000,15.71184],[1566839581000,13.48992],[1566839881000,11.15568],[1566840181000,11.6604],[1566840481000,8.70624],[1566840781000,1.41264],[1566841081000,0],[1566841381000,0.04104],[1566841681000,0.56448],[1566841981000,0],[1566842281000,0],[1566842581000,0.82296],[1566842881000,3.60864],[1566843181000,0.60192],[1566843481000,0],[1566843781000,0.23904],[1566844081000,0.90216],[1566844381000,0.04248],[1566844681000,1.57968],[1566844981000,0],[1566845281000,0],[1566845581000,0],[1566845881000,0],[1566846181000,0],[1566846481000,0],[1566846781000,0],[1566847081000,1.48536],[1566847381000,1.37592],[1566847681000,3.4524],[1566847981000,3.17736],[1566848281000,2.21832],[1566848581000,1.47816],[1566848881000,0.41832],[1566849181000,0.23832],[1566849481000,0],[1566849781000,0.01584],[1566850081000,0],[1566850381000,0],[1566850681000,0],[1566850981000,0],[1566851281000,0],[1566851581000,0],[1566851881000,0],[1566852181000,0],[1566852481000,0],[1566852781000,0.60192],[1566853081000,1.40904],[1566853381000,1.2852],[1566853681000,1.13472],[1566853981000,0.1512],[1566854281000,0],[1566854581000,0],[1566854881000,0.17208],[1566855181000,2.66256],[1566855481000,1.32336],[1566855781000,0.16128],[1566856081000,0],[1566856381000,0.15408],[1566856681000,0],], color: '#EF9856', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1km/h' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-legend' } }; graphs['#chart-wind'] = $.plot('#chart-wind', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Smer vetra', data: [[1566770401000,23.83333333],[1566770581000,36.82000000],[1566770881000,34.78000000],[1566771181000,0.00000000],[1566771481000,1.64000000],[1566771781000,6.12000000],[1566772081000,31.10000000],[1566772381000,30.26000000],[1566772681000,20.06000000],[1566772981000,36.00000000],[1566773281000,24.96000000],[1566773581000,0.00000000],[1566773881000,0.00000000],[1566774181000,18.00000000],[1566774481000,0.00000000],[1566774781000,0.00000000],[1566775081000,0.00000000],[1566775381000,0.00000000],[1566775681000,0.00000000],[1566775981000,0.00000000],[1566776281000,0.00000000],[1566776581000,0.00000000],[1566776881000,0.00000000],[1566777181000,0.00000000],[1566777481000,0.00000000],[1566777781000,0.00000000],[1566778081000,0.00000000],[1566778381000,0.00000000],[1566778681000,0.00000000],[1566778981000,0.00000000],[1566779281000,0.00000000],[1566779581000,171.82000000],[1566779881000,240.54000000],[1566780181000,315.00000000],[1566780481000,315.00000000],[1566780781000,269.18000000],[1566781081000,0.00000000],[1566781381000,7.76000000],[1566781681000,32.32000000],[1566781981000,28.22000000],[1566782281000,22.08000000],[1566782581000,39.70000000],[1566782881000,31.48000000],[1566783181000,28.22000000],[1566783481000,24.56000000],[1566783781000,17.18000000],[1566784081000,30.68000000],[1566784381000,24.96000000],[1566784681000,30.70000000],[1566784981000,16.78000000],[1566785281000,33.52000000],[1566785581000,45.42000000],[1566785881000,34.36000000],[1566786181000,31.08000000],[1566786481000,40.90000000],[1566786781000,29.04000000],[1566787081000,28.64000000],[1566787381000,28.64000000],[1566787681000,34.38000000],[1566787981000,44.18000000],[1566788281000,41.32000000],[1566788581000,44.98000000],[1566788881000,45.00000000],[1566789181000,2.86000000],[1566789481000,6.54000000],[1566789781000,10.22000000],[1566790081000,36.40000000],[1566790381000,42.56000000],[1566790681000,28.22000000],[1566790981000,38.46000000],[1566791281000,33.96000000],[1566791581000,20.04000000],[1566791881000,10.22000000],[1566792181000,1.22000000],[1566792481000,22.92000000],[1566792781000,37.24000000],[1566793081000,23.72000000],[1566793381000,37.64000000],[1566793681000,23.74000000],[1566793981000,34.36000000],[1566794281000,24.94000000],[1566794581000,45.00000000],[1566794881000,45.00000000],[1566795181000,45.00000000],[1566795481000,42.54000000],[1566795781000,0.00000000],[1566796081000,0.00000000],[1566796381000,0.00000000],[1566796681000,0.00000000],[1566796981000,23.72000000],[1566797281000,45.00000000],[1566797581000,38.06000000],[1566797881000,36.40000000],[1566798181000,36.82000000],[1566798481000,26.18000000],[1566798781000,17.98000000],[1566799081000,63.80000000],[1566799381000,82.22000000],[1566799681000,93.68000000],[1566799981000,85.12000000],[1566800281000,56.04000000],[1566800581000,43.78000000],[1566800881000,42.14000000],[1566801181000,19.64000000],[1566801481000,34.78000000],[1566801781000,24.14000000],[1566802081000,82.64000000],[1566802381000,114.94000000],[1566802681000,0.00000000],[1566802981000,81.00000000],[1566803281000,25.36000000],[1566803581000,135.82000000],[1566803881000,167.32000000],[1566804181000,45.00000000],[1566804481000,45.00000000],[1566804781000,39.68000000],[1566805081000,28.22000000],[1566805381000,24.56000000],[1566805681000,3.68000000],[1566805981000,22.90000000],[1566806281000,20.88000000],[1566806581000,43.38000000],[1566806881000,66.30000000],[1566807181000,90.40000000],[1566807481000,122.72000000],[1566807781000,119.48000000],[1566808081000,142.38000000],[1566808381000,177.54000000],[1566808681000,156.68000000],[1566808981000,171.42000000],[1566809281000,160.76000000],[1566809581000,150.12000000],[1566809881000,166.94000000],[1566810181000,159.14000000],[1566810481000,205.38000000],[1566810781000,193.92000000],[1566811081000,173.86000000],[1566811381000,130.50000000],[1566811681000,118.22000000],[1566811981000,255.28000000],[1566812281000,138.68000000],[1566812581000,61.76000000],[1566812881000,94.50000000],[1566813181000,123.14000000],[1566813481000,225.00000000],[1566813781000,15.54000000],[1566814081000,42.94000000],[1566814381000,115.36000000],[1566814681000,30.68000000],[1566814981000,137.02000000],[1566815281000,135.02000000],[1566815581000,107.60000000],[1566815881000,68.72000000],[1566816181000,34.36000000],[1566816481000,128.46000000],[1566816781000,28.66000000],[1566817081000,117.40000000],[1566817381000,261.82000000],[1566817681000,276.96000000],[1566817981000,303.96000000],[1566818281000,216.82000000],[1566818581000,94.90000000],[1566818881000,202.50000000],[1566819181000,141.14000000],[1566819481000,144.40000000],[1566819781000,128.44000000],[1566820081000,132.52000000],[1566820381000,23.72000000],[1566820681000,101.44000000],[1566820981000,33.96000000],[1566821281000,59.32000000],[1566821581000,53.62000000],[1566821881000,98.58000000],[1566822181000,96.54000000],[1566822481000,114.94000000],[1566822781000,75.26000000],[1566823081000,33.96000000],[1566823381000,37.64000000],[1566823681000,40.10000000],[1566823981000,108.00000000],[1566824281000,102.68000000],[1566824581000,148.50000000],[1566824881000,166.08000000],[1566825181000,162.00000000],[1566825481000,121.10000000],[1566825781000,108.82000000],[1566826081000,141.52000000],[1566826381000,176.72000000],[1566826681000,155.04000000],[1566826981000,146.02000000],[1566827281000,144.82000000],[1566827581000,96.12000000],[1566827881000,144.82000000],[1566828181000,153.82000000],[1566828481000,173.86000000],[1566828781000,150.14000000],[1566829081000,154.64000000],[1566829381000,101.44000000],[1566829681000,146.44000000],[1566829981000,146.86000000],[1566830281000,132.12000000],[1566830581000,153.82000000],[1566830881000,161.62000000],[1566831181000,164.06000000],[1566831481000,161.18000000],[1566831781000,170.98000000],[1566832081000,171.40000000],[1566832381000,78.14000000],[1566832681000,127.24000000],[1566832981000,186.92000000],[1566833281000,94.92000000],[1566833581000,139.50000000],[1566833881000,82.64000000],[1566834181000,8.58000000],[1566834481000,27.02000000],[1566834781000,22.90000000],[1566835081000,45.00000000],[1566835381000,115.78000000],[1566835681000,80.98000000],[1566835981000,147.68000000],[1566836281000,164.04000000],[1566836581000,191.86000000],[1566836881000,202.90000000],[1566837181000,201.70000000],[1566837481000,193.92000000],[1566837781000,193.50000000],[1566838081000,182.44000000],[1566838381000,162.80000000],[1566838681000,162.02000000],[1566838981000,154.26000000],[1566839281000,154.64000000],[1566839581000,159.96000000],[1566839881000,153.00000000],[1566840181000,147.70000000],[1566840481000,146.84000000],[1566840781000,151.36000000],[1566841081000,135.00000000],[1566841381000,135.00000000],[1566841681000,177.54000000],[1566841981000,180.00000000],[1566842281000,180.00000000],[1566842581000,91.64000000],[1566842881000,45.00000000],[1566843181000,220.10000000],[1566843481000,279.00000000],[1566843781000,117.00000000],[1566844081000,32.72000000],[1566844381000,0.00000000],[1566844681000,8.58000000],[1566844981000,45.00000000],[1566845281000,45.00000000],[1566845581000,45.00000000],[1566845881000,45.00000000],[1566846181000,45.00000000],[1566846481000,45.00000000],[1566846781000,45.00000000],[1566847081000,37.64000000],[1566847381000,22.92000000],[1566847681000,41.72000000],[1566847981000,26.18000000],[1566848281000,1.62000000],[1566848581000,18.00000000],[1566848881000,45.00000000],[1566849181000,45.00000000],[1566849481000,40.10000000],[1566849781000,0.00000000],[1566850081000,0.00000000],[1566850381000,0.00000000],[1566850681000,0.00000000],[1566850981000,0.00000000],[1566851281000,0.00000000],[1566851581000,0.00000000],[1566851881000,0.00000000],[1566852181000,0.00000000],[1566852481000,0.00000000],[1566852781000,0.00000000],[1566853081000,2.04000000],[1566853381000,10.24000000],[1566853681000,11.86000000],[1566853981000,0.00000000],[1566854281000,0.00000000],[1566854581000,0.00000000],[1566854881000,0.82000000],[1566855181000,19.62000000],[1566855481000,21.70000000],[1566855781000,0.00000000],[1566856081000,0.00000000],[1566856381000,0.00000000],[1566856681000,0.00000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Zrážky', data: [[1566813541000,0.27940000],[1566815881000,0.27940000],[1566816241000,0.34925000],[1566816661000,0.27940000],[1566816961000,0.27940000],[1566817141000,0.27940000],[1566821221000,0.27940000],], color: '#008fbf' } ]; var options = { xaxes: [{ axisLabel: 'rain', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.3mm' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-rain-legend' } }; graphs['#chart-rain'] = $.plot('#chart-rain', dataset, options); }); $('.modal').on('hide.bs.modal', function() { var memory = $(this).html(); $(this).html(memory); }); function meteo_wind_direction_name(wind_direction) { if (wind_direction >= 0.00 && wind_direction <= 11.25) { ret = 'S'; } else if (wind_direction > 11.25 && wind_direction <= 33.75) { ret = 'SSV'; } else if (wind_direction > 33.75 && wind_direction <= 56.25) { ret = 'SV'; } else if (wind_direction > 56.25 && wind_direction <= 78.75) { // 67.5 ret = 'VSV'; } else if (wind_direction > 78.75 && wind_direction <= 101.25) { // 90 ret = 'V'; } else if (wind_direction > 101.25 && wind_direction <= 123.75) { //112.5 ret = 'VJV'; } else if (wind_direction > 123.75 && wind_direction <= 146.25) { // 135 ret = 'JV'; } else if (wind_direction > 146.25 && wind_direction <= 168.75) { // 157.5 ret = 'JJV'; } else if (wind_direction > 168.75 && wind_direction <= 191.25) { // 180 ret = 'J'; } else if (wind_direction > 191.25 && wind_direction <= 213.75) { // 202.5 ret = 'JJZ'; } else if (wind_direction > 213.75 && wind_direction <= 236.25) { // 225 ret = 'JZ'; } else if (wind_direction > 236.25 && wind_direction <= 258.75) { // 247.5 ret = 'ZJZ'; } else if (wind_direction > 258.75 && wind_direction <= 281.25) { // 270 ret = 'Z'; } else if (wind_direction > 281.25 && wind_direction <= 303.75) { // 292.5 ret = 'ZSZ'; } else if (wind_direction > 303.75 && wind_direction <= 326.25) { // 315 ret = 'SZ'; } else if (wind_direction > 326.25 && wind_direction <= 348.75) { // 337.5 ret = 'SSZ'; } else if (wind_direction > 348.75 && wind_direction <= 360.0) { // 337.5 ret = 'S'; } else { return ''; } return ret; }