var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1579906801000,-1.90000000],[1579906981000,-1.90000000],[1579907281000,-1.90000000],[1579907581000,-1.88000000],[1579907881000,-1.80000000],[1579908181000,-1.82000000],[1579908481000,-1.90000000],[1579908781000,-1.86000000],[1579909081000,-1.86000000],[1579909381000,-1.86000000],[1579909681000,-1.86000000],[1579909981000,-1.90000000],[1579910281000,-1.90000000],[1579910581000,-1.90000000],[1579910881000,-1.90000000],[1579911181000,-1.90000000],[1579911481000,-1.90000000],[1579911781000,-1.90000000],[1579912081000,-1.90000000],[1579912381000,-1.90000000],[1579912681000,-1.90000000],[1579912981000,-1.92000000],[1579913281000,-2.00000000],[1579913581000,-2.00000000],[1579913881000,-2.00000000],[1579914181000,-2.00000000],[1579914481000,-2.04000000],[1579914781000,-2.00000000],[1579915081000,-2.00000000],[1579915381000,-2.00000000],[1579915682000,-2.00000000],[1579915981000,-2.00000000],[1579916281000,-2.00000000],[1579916581000,-2.00000000],[1579916881000,-2.00000000],[1579917182000,-1.96000000],[1579917481000,-2.00000000],[1579917781000,-1.92000000],[1579918081000,-2.00000000],[1579918381000,-1.94000000],[1579918681000,-2.00000000],[1579918981000,-2.00000000],[1579919281000,-1.96000000],[1579919581000,-1.90000000],[1579919881000,-1.90000000],[1579920181000,-1.90000000],[1579920481000,-1.90000000],[1579920781000,-1.90000000],[1579921081000,-1.94000000],[1579921381000,-1.90000000],[1579921681000,-1.90000000],[1579921981000,-1.88000000],[1579922281000,-1.82000000],[1579922581000,-1.84000000],[1579922881000,-1.80000000],[1579923181000,-1.78000000],[1579923481000,-1.76000000],[1579923781000,-1.80000000],[1579924081000,-1.80000000],[1579924381000,-1.78000000],[1579924681000,-1.80000000],[1579924981000,-1.80000000],[1579925281000,-1.80000000],[1579925581000,-1.78000000],[1579925881000,-1.78000000],[1579926181000,-1.76000000],[1579926481000,-1.70000000],[1579926781000,-1.70000000],[1579927081000,-1.70000000],[1579927381000,-1.68000000],[1579927681000,-1.70000000],[1579927981000,-1.70000000],[1579928281000,-1.70000000],[1579928581000,-1.70000000],[1579928881000,-1.66000000],[1579929181000,-1.66000000],[1579929481000,-1.60000000],[1579929781000,-1.60000000],[1579930081000,-1.60000000],[1579930381000,-1.60000000],[1579930681000,-1.58000000],[1579930981000,-1.56000000],[1579931281000,-1.56000000],[1579931581000,-1.60000000],[1579931881000,-1.52000000],[1579932181000,-1.50000000],[1579932481000,-1.50000000],[1579932781000,-1.50000000],[1579933081000,-1.42000000],[1579933381000,-1.40000000],[1579933681000,-1.40000000],[1579933981000,-1.40000000],[1579934281000,-1.40000000],[1579934581000,-1.40000000],[1579934881000,-1.40000000],[1579935181000,-1.40000000],[1579935481000,-1.32000000],[1579935781000,-1.30000000],[1579936081000,-1.30000000],[1579936381000,-1.26000000],[1579936681000,-1.22000000],[1579936981000,-1.20000000],[1579937281000,-1.22000000],[1579937581000,-1.20000000],[1579937881000,-1.20000000],[1579938181000,-1.16000000],[1579938481000,-1.12000000],[1579938781000,-1.18000000],[1579939081000,-1.12000000],[1579939381000,-1.10000000],[1579939681000,-1.10000000],[1579939981000,-1.16000000],[1579940281000,-1.18000000],[1579940581000,-1.10000000],[1579940881000,-1.04000000],[1579941181000,-1.00000000],[1579941481000,-1.00000000],[1579941781000,-0.92000000],[1579942081000,-0.92000000],[1579942381000,-0.90000000],[1579942681000,-0.92000000],[1579942981000,-0.94000000],[1579943281000,-0.98000000],[1579943581000,-0.90000000],[1579943881000,-0.82000000],[1579944181000,-0.76000000],[1579944481000,-0.80000000],[1579944781000,-0.84000000],[1579945081000,-0.80000000],[1579945381000,-0.78000000],[1579945681000,-0.76000000],[1579945981000,-0.74000000],[1579946281000,-0.62000000],[1579946581000,-0.52000000],[1579946881000,-0.50000000],[1579947181000,-0.50000000],[1579947481000,-0.54000000],[1579947781000,-0.68000000],[1579948081000,-0.64000000],[1579948381000,-0.60000000],[1579948681000,-0.64000000],[1579948981000,-0.66000000],[1579949281000,-0.68000000],[1579949581000,-0.78000000],[1579949881000,-0.70000000],[1579950181000,-0.80000000],[1579950481000,-0.74000000],[1579950781000,-0.76000000],[1579951081000,-0.80000000],[1579951381000,-0.76000000],[1579951681000,-0.70000000],[1579951981000,-0.64000000],[1579952281000,-0.60000000],[1579952581000,-0.60000000],[1579952881000,-0.60000000],[1579953181000,-0.60000000],[1579953481000,-0.60000000],[1579953781000,-0.60000000],[1579954081000,-0.68000000],[1579954381000,-0.66000000],[1579954681000,-0.62000000],[1579954981000,-0.66000000],[1579955281000,-0.60000000],[1579955581000,-0.74000000],[1579955881000,-0.80000000],[1579956181000,-0.72000000],[1579956481000,-0.70000000],[1579956781000,-0.80000000],[1579957081000,-0.74000000],[1579957381000,-0.76000000],[1579957681000,-0.78000000],[1579957981000,-0.78000000],[1579958281000,-0.72000000],[1579958581000,-0.76000000],[1579958881000,-0.76000000],[1579959181000,-0.68000000],[1579959481000,-0.66000000],[1579959781000,-0.72000000],[1579960081000,-0.80000000],[1579960381000,-0.76000000],[1579960681000,-0.80000000],[1579960981000,-0.90000000],[1579961281000,-0.90000000],[1579961581000,-0.90000000],[1579961881000,-0.94000000],[1579962181000,-0.92000000],[1579962481000,-1.00000000],[1579962781000,-0.96000000],[1579963081000,-0.94000000],[1579963381000,-0.98000000],[1579963681000,-0.92000000],[1579963981000,-0.94000000],[1579964281000,-0.98000000],[1579964581000,-1.00000000],[1579964881000,-1.00000000],[1579965182000,-1.00000000],[1579965481000,-1.00000000],[1579965781000,-1.00000000],[1579966081000,-1.00000000],[1579966381000,-1.00000000],[1579966681000,-1.08000000],[1579966981000,-1.06000000],[1579967281000,-1.00000000],[1579967581000,-1.00000000],[1579967881000,-0.98000000],[1579968181000,-1.00000000],[1579968481000,-1.00000000],[1579968781000,-1.04000000],[1579969081000,-1.00000000],[1579969381000,-1.00000000],[1579969681000,-0.90000000],[1579969981000,-0.90000000],[1579970281000,-0.94000000],[1579970581000,-0.92000000],[1579970881000,-0.96000000],[1579971181000,-0.92000000],[1579971481000,-0.92000000],[1579971781000,-1.00000000],[1579972081000,-1.00000000],[1579972381000,-1.08000000],[1579972681000,-1.10000000],[1579972981000,-1.10000000],[1579973282000,-1.10000000],[1579973581000,-1.10000000],[1579973881000,-1.10000000],[1579974181000,-1.08000000],[1579974481000,-1.08000000],[1579974781000,-1.10000000],[1579975081000,-1.10000000],[1579975381000,-1.10000000],[1579975681000,-1.10000000],[1579975981000,-1.10000000],[1579976281000,-1.16000000],[1579976581000,-1.16000000],[1579976881000,-1.20000000],[1579977181000,-1.20000000],[1579977481000,-1.16000000],[1579977781000,-1.10000000],[1579978081000,-1.16000000],[1579978381000,-1.20000000],[1579978681000,-1.16000000],[1579978981000,-1.18000000],[1579979281000,-1.20000000],[1579979581000,-1.20000000],[1579979881000,-1.12000000],[1579980181000,-1.16000000],[1579980481000,-1.12000000],[1579980781000,-1.10000000],[1579981081000,-1.14000000],[1579981381000,-1.22000000],[1579981681000,-1.30000000],[1579981981000,-1.28000000],[1579982281000,-1.20000000],[1579982581000,-1.26000000],[1579982881000,-1.20000000],[1579983181000,-1.20000000],[1579983481000,-1.20000000],[1579983781000,-1.20000000],[1579984081000,-1.20000000],[1579984381000,-1.20000000],[1579984682000,-1.20000000],[1579984981000,-1.20000000],[1579985281000,-1.24000000],[1579985581000,-1.22000000],[1579985881000,-1.20000000],[1579986181000,-1.20000000],[1579986481000,-1.20000000],[1579986781000,-1.20000000],[1579987081000,-1.22000000],[1579987381000,-1.20000000],[1579987681000,-1.18000000],[1579987981000,-1.20000000],[1579988281000,-1.20000000],[1579988581000,-1.22000000],[1579988881000,-1.20000000],[1579989181000,-1.20000000],[1579989481000,-1.20000000],[1579989781000,-1.20000000],[1579990081000,-1.20000000],[1579990381000,-1.20000000],[1579990681000,-1.20000000],[1579990981000,-1.20000000],[1579991281000,-1.22000000],[1579991581000,-1.22000000],[1579991881000,-1.26000000],[1579992181000,-1.24000000],[1579992481000,-1.28000000],[1579992781000,-1.30000000],[1579993081000,-1.30000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1579906801000,-1.9],[1579906981000,-1.9],[1579907281000,-1.9],[1579907581000,-1.9],[1579907881000,-1.8],[1579908181000,-1.8],[1579908481000,-1.9],[1579908781000,-1.9],[1579909081000,-1.9],[1579909381000,-1.9],[1579909681000,-1.9],[1579909981000,-1.9],[1579910281000,-1.9],[1579910581000,-1.9],[1579910881000,-1.9],[1579911181000,-1.9],[1579911481000,-1.9],[1579911781000,-1.9],[1579912081000,-1.9],[1579912381000,-1.9],[1579912681000,-1.9],[1579912981000,-1.9],[1579913281000,-2],[1579913581000,-2],[1579913881000,-2],[1579914181000,-2],[1579914481000,-2],[1579914781000,-2],[1579915081000,-2],[1579915381000,-2],[1579915682000,-2],[1579915981000,-2],[1579916281000,-2],[1579916581000,-2],[1579916881000,-2],[1579917182000,-2],[1579917481000,-2],[1579917781000,-1.9],[1579918081000,-2],[1579918381000,-1.9],[1579918681000,-2],[1579918981000,-2],[1579919281000,-2],[1579919581000,-1.9],[1579919881000,-1.9],[1579920181000,-1.9],[1579920481000,-1.9],[1579920781000,-1.9],[1579921081000,-1.9],[1579921381000,-1.9],[1579921681000,-1.9],[1579921981000,-1.9],[1579922281000,-1.8],[1579922581000,-1.8],[1579922881000,-1.8],[1579923181000,-1.8],[1579923481000,-1.8],[1579923781000,-1.8],[1579924081000,-1.8],[1579924381000,-1.8],[1579924681000,-1.8],[1579924981000,-1.8],[1579925281000,-1.8],[1579925581000,-1.8],[1579925881000,-1.8],[1579926181000,-1.8],[1579926481000,-1.7],[1579926781000,-1.7],[1579927081000,-1.7],[1579927381000,-1.7],[1579927681000,-1.7],[1579927981000,-1.7],[1579928281000,-1.7],[1579928581000,-1.7],[1579928881000,-1.7],[1579929181000,-1.7],[1579929481000,-1.6],[1579929781000,-1.6],[1579930081000,-1.6],[1579930381000,-1.6],[1579930681000,-1.6],[1579930981000,-1.6],[1579931281000,-1.6],[1579931581000,-1.6],[1579931881000,-1.5],[1579932181000,-1.5],[1579932481000,-1.5],[1579932781000,-1.5],[1579933081000,-1.4],[1579933381000,-1.4],[1579933681000,-1.4],[1579933981000,-1.4],[1579934281000,-1.4],[1579934581000,-1.4],[1579934881000,-1.4],[1579935181000,-1.4],[1579935481000,-1.3],[1579935781000,-1.3],[1579936081000,-1.3],[1579936381000,-1.3],[1579936681000,-1.2],[1579936981000,-1.2],[1579937281000,-1.2],[1579937581000,-1.2],[1579937881000,-1.2],[1579938181000,-1.2],[1579938481000,-1.1],[1579938781000,-1.2],[1579939081000,-1.1],[1579939381000,-1.1],[1579939681000,-1.1],[1579939981000,-1.2],[1579940281000,-1.2],[1579940581000,-1.1],[1579940881000,-1],[1579941181000,-1],[1579941481000,-1],[1579941781000,-0.9],[1579942081000,-0.9],[1579942381000,-0.9],[1579942681000,-0.9],[1579942981000,-0.9],[1579943281000,-1],[1579943581000,-0.9],[1579943881000,-0.8],[1579944181000,-0.8],[1579944481000,-0.8],[1579944781000,-0.8],[1579945081000,-0.8],[1579945381000,-0.8],[1579945681000,-0.8],[1579945981000,-0.7],[1579946281000,-0.6],[1579946581000,-0.5],[1579946881000,-0.5],[1579947181000,-0.5],[1579947481000,-0.5],[1579947781000,-0.7],[1579948081000,-0.6],[1579948381000,-0.6],[1579948681000,-0.6],[1579948981000,-0.7],[1579949281000,-0.7],[1579949581000,-0.8],[1579949881000,-0.7],[1579950181000,-0.8],[1579950481000,-0.7],[1579950781000,-0.8],[1579951081000,-0.8],[1579951381000,-0.8],[1579951681000,-0.7],[1579951981000,-0.6],[1579952281000,-0.6],[1579952581000,-0.6],[1579952881000,-0.6],[1579953181000,-0.6],[1579953481000,-0.6],[1579953781000,-0.6],[1579954081000,-0.7],[1579954381000,-0.7],[1579954681000,-0.6],[1579954981000,-0.7],[1579955281000,-0.6],[1579955581000,-0.7],[1579955881000,-0.8],[1579956181000,-0.7],[1579956481000,-0.7],[1579956781000,-0.8],[1579957081000,-0.7],[1579957381000,-0.8],[1579957681000,-0.8],[1579957981000,-0.8],[1579958281000,-0.7],[1579958581000,-0.8],[1579958881000,-0.8],[1579959181000,-0.7],[1579959481000,-0.7],[1579959781000,-0.7],[1579960081000,-0.8],[1579960381000,-0.8],[1579960681000,-0.8],[1579960981000,-0.9],[1579961281000,-0.9],[1579961581000,-0.9],[1579961881000,-0.9],[1579962181000,-0.9],[1579962481000,-1],[1579962781000,-1],[1579963081000,-0.9],[1579963381000,-1],[1579963681000,-0.9],[1579963981000,-0.9],[1579964281000,-1],[1579964581000,-1],[1579964881000,-1],[1579965182000,-1],[1579965481000,-1],[1579965781000,-1],[1579966081000,-1],[1579966681000,-1.1],[1579966981000,-1.1],[1579967281000,-1],[1579967581000,-1],[1579967881000,-1],[1579968181000,-1],[1579968481000,-1],[1579968781000,-1],[1579969081000,-1],[1579969381000,-1],[1579969681000,-0.9],[1579969981000,-0.9],[1579970281000,-0.9],[1579970581000,-0.9],[1579970881000,-1],[1579971181000,-0.9],[1579971481000,-0.9],[1579971781000,-1],[1579972081000,-1],[1579972381000,-1.1],[1579972681000,-1.1],[1579972981000,-1.1],[1579973581000,-1.1],[1579973881000,-1.1],[1579974181000,-1.1],[1579974481000,-1.1],[1579974781000,-1.1],[1579975081000,-1.1],[1579975381000,-1.1],[1579975681000,-1.1],[1579975981000,-1.1],[1579976281000,-1.2],[1579976581000,-1.2],[1579976881000,-1.2],[1579977181000,-1.2],[1579977481000,-1.2],[1579977781000,-1.1],[1579978081000,-1.2],[1579978381000,-1.2],[1579978681000,-1.2],[1579978981000,-1.2],[1579979281000,-1.2],[1579979581000,-1.2],[1579979881000,-1.1],[1579980181000,-1.2],[1579980481000,-1.1],[1579980781000,-1.1],[1579981081000,-1.1],[1579981381000,-1.2],[1579981681000,-1.3],[1579981981000,-1.3],[1579982281000,-1.2],[1579982581000,-1.3],[1579982881000,-1.2],[1579983181000,-1.2],[1579983481000,-1.2],[1579983781000,-1.2],[1579984081000,-1.2],[1579984381000,-1.2],[1579984682000,-1.2],[1579984981000,-1.2],[1579985281000,-1.2],[1579985581000,-1.2],[1579985881000,-1.2],[1579986181000,-1.2],[1579986481000,-1.2],[1579986781000,-1.2],[1579987081000,-1.2],[1579987381000,-1.2],[1579987681000,-1.2],[1579987981000,-1.2],[1579988281000,-1.2],[1579988581000,-1.2],[1579988881000,-1.2],[1579989181000,-1.2],[1579989481000,-1.2],[1579989781000,-1.2],[1579990081000,-1.2],[1579990381000,-1.2],[1579990681000,-1.2],[1579990981000,-1.2],[1579991281000,-1.2],[1579991581000,-1.2],[1579991881000,-1.3],[1579992181000,-1.2],[1579992481000,-1.3],[1579992781000,-1.3],[1579993081000,-1.3],], color: '#5b9f4a' } ]; var options = { xaxes: [{ axisLabel: 'temperature', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1°C' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-temperature-legend' } }; graphs['#chart-temperature'] = $.plot('#chart-temperature', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Vlhkosť (%)', data: [[1579906801000,100.00000000],[1579906981000,100.00000000],[1579907281000,100.00000000],[1579907581000,100.00000000],[1579907881000,100.00000000],[1579908181000,100.00000000],[1579908481000,100.00000000],[1579908781000,100.00000000],[1579909081000,100.00000000],[1579909381000,100.00000000],[1579909681000,100.00000000],[1579909981000,100.00000000],[1579910281000,100.00000000],[1579910581000,100.00000000],[1579910881000,100.00000000],[1579911181000,100.00000000],[1579911481000,100.00000000],[1579911781000,100.00000000],[1579912081000,100.00000000],[1579912381000,100.00000000],[1579912681000,100.00000000],[1579912981000,100.00000000],[1579913281000,100.00000000],[1579913581000,100.00000000],[1579913881000,100.00000000],[1579914181000,100.00000000],[1579914481000,100.00000000],[1579914781000,100.00000000],[1579915081000,100.00000000],[1579915381000,100.00000000],[1579915682000,100.00000000],[1579915981000,100.00000000],[1579916281000,100.00000000],[1579916581000,100.00000000],[1579916881000,100.00000000],[1579917182000,100.00000000],[1579917481000,100.00000000],[1579917781000,100.00000000],[1579918081000,100.00000000],[1579918381000,100.00000000],[1579918681000,100.00000000],[1579918981000,100.00000000],[1579919281000,100.00000000],[1579919581000,100.00000000],[1579919881000,100.00000000],[1579920181000,100.00000000],[1579920481000,100.00000000],[1579920781000,100.00000000],[1579921081000,100.00000000],[1579921381000,100.00000000],[1579921681000,100.00000000],[1579921981000,100.00000000],[1579922281000,100.00000000],[1579922581000,100.00000000],[1579922881000,100.00000000],[1579923181000,100.00000000],[1579923481000,100.00000000],[1579923781000,100.00000000],[1579924081000,100.00000000],[1579924381000,100.00000000],[1579924681000,100.00000000],[1579924981000,100.00000000],[1579925281000,100.00000000],[1579925581000,100.00000000],[1579925881000,100.00000000],[1579926181000,100.00000000],[1579926481000,100.00000000],[1579926781000,100.00000000],[1579927081000,100.00000000],[1579927381000,100.00000000],[1579927681000,100.00000000],[1579927981000,100.00000000],[1579928281000,100.00000000],[1579928581000,100.00000000],[1579928881000,100.00000000],[1579929181000,100.00000000],[1579929481000,100.00000000],[1579929781000,100.00000000],[1579930081000,100.00000000],[1579930381000,100.00000000],[1579930681000,100.00000000],[1579930981000,100.00000000],[1579931281000,100.00000000],[1579931581000,100.00000000],[1579931881000,100.00000000],[1579932181000,100.00000000],[1579932481000,100.00000000],[1579932781000,100.00000000],[1579933081000,100.00000000],[1579933381000,100.00000000],[1579933681000,100.00000000],[1579933981000,100.00000000],[1579934281000,100.00000000],[1579934581000,100.00000000],[1579934881000,100.00000000],[1579935181000,100.00000000],[1579935481000,100.00000000],[1579935781000,100.00000000],[1579936081000,100.00000000],[1579936381000,100.00000000],[1579936681000,100.00000000],[1579936981000,100.00000000],[1579937281000,100.00000000],[1579937581000,100.00000000],[1579937881000,100.00000000],[1579938181000,100.00000000],[1579938481000,100.00000000],[1579938781000,100.00000000],[1579939081000,100.00000000],[1579939381000,100.00000000],[1579939681000,100.00000000],[1579939981000,100.00000000],[1579940281000,100.00000000],[1579940581000,100.00000000],[1579940881000,100.00000000],[1579941181000,100.00000000],[1579941481000,100.00000000],[1579941781000,100.00000000],[1579942081000,100.00000000],[1579942381000,100.00000000],[1579942681000,100.00000000],[1579942981000,100.00000000],[1579943281000,100.00000000],[1579943581000,100.00000000],[1579943881000,100.00000000],[1579944181000,100.00000000],[1579944481000,100.00000000],[1579944781000,100.00000000],[1579945081000,100.00000000],[1579945381000,100.00000000],[1579945681000,100.00000000],[1579945981000,100.00000000],[1579946281000,100.00000000],[1579946581000,100.00000000],[1579946881000,100.00000000],[1579947181000,100.00000000],[1579947481000,100.00000000],[1579947781000,100.00000000],[1579948081000,100.00000000],[1579948381000,100.00000000],[1579948681000,100.00000000],[1579948981000,100.00000000],[1579949281000,100.00000000],[1579949581000,100.00000000],[1579949881000,100.00000000],[1579950181000,100.00000000],[1579950481000,100.00000000],[1579950781000,100.00000000],[1579951081000,100.00000000],[1579951381000,100.00000000],[1579951681000,100.00000000],[1579951981000,100.00000000],[1579952281000,100.00000000],[1579952581000,100.00000000],[1579952881000,100.00000000],[1579953181000,100.00000000],[1579953481000,100.00000000],[1579953781000,100.00000000],[1579954081000,100.00000000],[1579954381000,100.00000000],[1579954681000,100.00000000],[1579954981000,100.00000000],[1579955281000,100.00000000],[1579955581000,100.00000000],[1579955881000,100.00000000],[1579956181000,100.00000000],[1579956481000,100.00000000],[1579956781000,100.00000000],[1579957081000,100.00000000],[1579957381000,100.00000000],[1579957681000,100.00000000],[1579957981000,100.00000000],[1579958281000,100.00000000],[1579958581000,100.00000000],[1579958881000,100.00000000],[1579959181000,100.00000000],[1579959481000,100.00000000],[1579959781000,100.00000000],[1579960081000,100.00000000],[1579960381000,100.00000000],[1579960681000,100.00000000],[1579960981000,100.00000000],[1579961281000,100.00000000],[1579961581000,100.00000000],[1579961881000,100.00000000],[1579962181000,100.00000000],[1579962481000,100.00000000],[1579962781000,100.00000000],[1579963081000,100.00000000],[1579963381000,100.00000000],[1579963681000,100.00000000],[1579963981000,100.00000000],[1579964281000,100.00000000],[1579964581000,100.00000000],[1579964881000,100.00000000],[1579965182000,100.00000000],[1579965481000,100.00000000],[1579965781000,100.00000000],[1579966081000,100.00000000],[1579966382000,100.00000000],[1579966681000,100.00000000],[1579966981000,100.00000000],[1579967281000,100.00000000],[1579967581000,100.00000000],[1579967881000,100.00000000],[1579968181000,100.00000000],[1579968481000,100.00000000],[1579968781000,100.00000000],[1579969081000,100.00000000],[1579969381000,100.00000000],[1579969681000,100.00000000],[1579969981000,100.00000000],[1579970281000,100.00000000],[1579970581000,100.00000000],[1579970881000,100.00000000],[1579971181000,100.00000000],[1579971481000,100.00000000],[1579971781000,100.00000000],[1579972081000,100.00000000],[1579972381000,100.00000000],[1579972681000,100.00000000],[1579972981000,100.00000000],[1579973281000,100.00000000],[1579973581000,100.00000000],[1579973881000,100.00000000],[1579974181000,100.00000000],[1579974481000,100.00000000],[1579974781000,100.00000000],[1579975081000,100.00000000],[1579975381000,100.00000000],[1579975681000,100.00000000],[1579975981000,100.00000000],[1579976281000,100.00000000],[1579976581000,100.00000000],[1579976881000,100.00000000],[1579977181000,100.00000000],[1579977481000,100.00000000],[1579977781000,100.00000000],[1579978081000,100.00000000],[1579978381000,100.00000000],[1579978681000,100.00000000],[1579978981000,100.00000000],[1579979281000,100.00000000],[1579979581000,100.00000000],[1579979881000,100.00000000],[1579980181000,100.00000000],[1579980481000,100.00000000],[1579980781000,100.00000000],[1579981081000,100.00000000],[1579981381000,100.00000000],[1579981681000,100.00000000],[1579981981000,100.00000000],[1579982281000,100.00000000],[1579982581000,100.00000000],[1579982881000,100.00000000],[1579983181000,100.00000000],[1579983481000,100.00000000],[1579983781000,100.00000000],[1579984081000,100.00000000],[1579984381000,100.00000000],[1579984682000,100.00000000],[1579984981000,100.00000000],[1579985281000,100.00000000],[1579985581000,100.00000000],[1579985881000,100.00000000],[1579986181000,100.00000000],[1579986481000,100.00000000],[1579986781000,100.00000000],[1579987081000,100.00000000],[1579987381000,100.00000000],[1579987681000,100.00000000],[1579987981000,100.00000000],[1579988281000,100.00000000],[1579988581000,100.00000000],[1579988881000,100.00000000],[1579989181000,100.00000000],[1579989481000,100.00000000],[1579989781000,100.00000000],[1579990081000,100.00000000],[1579990381000,100.00000000],[1579990681000,100.00000000],[1579990981000,100.00000000],[1579991281000,100.00000000],[1579991581000,100.00000000],[1579991881000,100.00000000],[1579992181000,100.00000000],[1579992481000,100.00000000],[1579992781000,100.00000000],[1579993081000,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: [[1579906801000,1026.4],[1579906981000,1026.4],[1579907281000,1026.3],[1579907581000,1026.4],[1579907881000,1026.4],[1579908181000,1026.3],[1579908481000,1026.2],[1579908781000,1026.1],[1579909081000,1026.1],[1579909381000,1026.1],[1579909681000,1026.1],[1579909981000,1026],[1579910281000,1026],[1579910581000,1026],[1579910881000,1026],[1579911181000,1026],[1579911481000,1026],[1579911781000,1025.9],[1579912081000,1025.8],[1579912381000,1025.7],[1579912681000,1025.7],[1579912981000,1025.8],[1579913281000,1025.7],[1579913581000,1025.7],[1579913881000,1025.8],[1579914181000,1025.8],[1579914481000,1025.8],[1579914781000,1025.8],[1579915081000,1025.8],[1579915381000,1025.7],[1579915682000,1025.8],[1579915981000,1025.7],[1579916281000,1025.7],[1579916581000,1025.7],[1579916881000,1025.7],[1579917182000,1025.6],[1579917481000,1025.6],[1579917781000,1025.5],[1579918081000,1025.5],[1579918381000,1025.4],[1579918681000,1025.5],[1579918981000,1025.4],[1579919281000,1025.4],[1579919581000,1025.3],[1579919881000,1025.3],[1579920181000,1025.3],[1579920481000,1025.2],[1579920781000,1025.2],[1579921081000,1025.2],[1579921381000,1025.2],[1579921681000,1025.2],[1579921981000,1025.2],[1579922281000,1025.2],[1579922581000,1025.2],[1579922881000,1025.2],[1579923181000,1025.1],[1579923481000,1025.1],[1579923781000,1025.2],[1579924081000,1025.2],[1579924381000,1025.3],[1579924681000,1025.2],[1579924981000,1025.2],[1579925281000,1025.2],[1579925581000,1025.2],[1579925881000,1025.3],[1579926181000,1025.2],[1579926481000,1025.1],[1579926781000,1025.1],[1579927081000,1025.1],[1579927381000,1025.1],[1579927681000,1025.1],[1579927981000,1025.1],[1579928281000,1025.1],[1579928581000,1025.1],[1579928881000,1025.1],[1579929181000,1025.1],[1579929481000,1025.1],[1579929781000,1025.1],[1579930081000,1025.1],[1579930381000,1025.1],[1579930681000,1025.1],[1579930981000,1025.1],[1579931281000,1025.1],[1579931581000,1025.2],[1579931881000,1025.3],[1579932181000,1025.3],[1579932481000,1025.4],[1579932781000,1025.4],[1579933081000,1025.4],[1579933381000,1025.5],[1579933681000,1025.5],[1579933981000,1025.6],[1579934281000,1025.6],[1579934581000,1025.7],[1579934881000,1025.8],[1579935181000,1025.8],[1579935481000,1025.8],[1579935781000,1025.8],[1579936081000,1025.8],[1579936381000,1025.8],[1579936681000,1025.8],[1579936981000,1025.8],[1579937281000,1025.8],[1579937581000,1025.9],[1579937881000,1025.9],[1579938181000,1025.9],[1579938481000,1025.9],[1579938781000,1025.9],[1579939081000,1025.9],[1579939381000,1025.9],[1579939681000,1025.9],[1579939981000,1025.9],[1579940281000,1026],[1579940581000,1026],[1579940881000,1026],[1579941181000,1026.1],[1579941481000,1026.2],[1579941781000,1026.2],[1579942081000,1026.3],[1579942381000,1026.3],[1579942681000,1026.3],[1579942981000,1026.4],[1579943281000,1026.4],[1579943581000,1026.4],[1579943881000,1026.4],[1579944181000,1026.4],[1579944481000,1026.4],[1579944781000,1026.5],[1579945081000,1026.5],[1579945381000,1026.5],[1579945681000,1026.5],[1579945981000,1026.5],[1579946281000,1026.5],[1579946581000,1026.5],[1579946881000,1026.5],[1579947181000,1026.5],[1579947481000,1026.5],[1579947781000,1026.4],[1579948081000,1026.4],[1579948381000,1026.3],[1579948681000,1026.4],[1579948981000,1026.3],[1579949281000,1026.3],[1579949581000,1026.3],[1579949881000,1026.2],[1579950181000,1026.2],[1579950481000,1026.2],[1579950781000,1026.1],[1579951081000,1026.1],[1579951381000,1026],[1579951681000,1026],[1579951981000,1026],[1579952281000,1026],[1579952581000,1026],[1579952881000,1025.9],[1579953181000,1025.9],[1579953481000,1025.8],[1579953781000,1025.8],[1579954081000,1025.7],[1579954381000,1025.7],[1579954681000,1025.6],[1579954981000,1025.5],[1579955281000,1025.5],[1579955581000,1025.5],[1579955881000,1025.5],[1579956181000,1025.5],[1579956481000,1025.4],[1579956781000,1025.3],[1579957081000,1025.3],[1579957381000,1025.3],[1579957681000,1025.2],[1579957981000,1025.2],[1579958281000,1025.2],[1579958581000,1025.2],[1579958881000,1025.2],[1579959181000,1025.2],[1579959481000,1025.2],[1579959781000,1025.2],[1579960081000,1025.2],[1579960381000,1025.3],[1579960681000,1025.3],[1579960981000,1025.3],[1579961281000,1025.3],[1579961581000,1025.3],[1579961881000,1025.2],[1579962181000,1025.2],[1579962481000,1025.2],[1579962781000,1025.2],[1579963081000,1025.2],[1579963381000,1025.2],[1579963681000,1025.1],[1579963981000,1025.1],[1579964281000,1025],[1579964581000,1025],[1579964881000,1025],[1579965182000,1025],[1579965481000,1025],[1579965781000,1025],[1579966081000,1025],[1579966681000,1025],[1579966981000,1025],[1579967281000,1025],[1579967581000,1025],[1579967881000,1025.1],[1579968181000,1025.1],[1579968481000,1025.1],[1579968781000,1025.2],[1579969081000,1025.3],[1579969381000,1025.2],[1579969681000,1025.3],[1579969981000,1025.3],[1579970281000,1025.3],[1579970581000,1025.3],[1579970881000,1025.3],[1579971181000,1025.4],[1579971481000,1025.4],[1579971781000,1025.4],[1579972081000,1025.4],[1579972381000,1025.4],[1579972681000,1025.4],[1579972981000,1025.4],[1579973581000,1025.6],[1579973881000,1025.6],[1579974181000,1025.6],[1579974481000,1025.6],[1579974781000,1025.6],[1579975081000,1025.6],[1579975381000,1025.6],[1579975681000,1025.5],[1579975981000,1025.6],[1579976281000,1025.6],[1579976581000,1025.7],[1579976881000,1025.7],[1579977181000,1025.8],[1579977481000,1025.8],[1579977781000,1025.8],[1579978081000,1025.8],[1579978381000,1025.9],[1579978681000,1025.9],[1579978981000,1025.9],[1579979281000,1025.8],[1579979581000,1025.8],[1579979881000,1025.8],[1579980181000,1025.8],[1579980481000,1025.7],[1579980781000,1025.7],[1579981081000,1025.7],[1579981381000,1025.7],[1579981681000,1025.7],[1579981981000,1025.7],[1579982281000,1025.7],[1579982581000,1025.7],[1579982881000,1025.7],[1579983181000,1025.8],[1579983481000,1025.7],[1579983781000,1025.7],[1579984081000,1025.6],[1579984381000,1025.7],[1579984682000,1025.7],[1579984981000,1025.6],[1579985281000,1025.6],[1579985581000,1025.6],[1579985881000,1025.6],[1579986181000,1025.6],[1579986481000,1025.6],[1579986781000,1025.7],[1579987081000,1025.7],[1579987381000,1025.7],[1579987681000,1025.7],[1579987981000,1025.6],[1579988281000,1025.6],[1579988581000,1025.6],[1579988881000,1025.6],[1579989181000,1025.6],[1579989481000,1025.6],[1579989781000,1025.7],[1579990081000,1025.7],[1579990381000,1025.7],[1579990681000,1025.7],[1579990981000,1025.7],[1579991281000,1025.7],[1579991581000,1025.7],[1579991881000,1025.7],[1579992181000,1025.7],[1579992481000,1025.7],[1579992781000,1025.7],[1579993081000,1025.7],], 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: [[1579906801000,1.559999988],[1579906981000,2.448],[1579907281000,1.512],[1579907581000,1.368],[1579907881000,5.616],[1579908181000,5.976],[1579908481000,4.176],[1579908781000,3.6],[1579909081000,6.192],[1579909381000,5.688],[1579909681000,4.896],[1579909981000,7.128],[1579910281000,5.256],[1579910581000,6.336],[1579910881000,7.92],[1579911181000,7.776],[1579911481000,8.28],[1579911781000,7.776],[1579912081000,6.408],[1579912381000,6.984],[1579912681000,6.552],[1579912981000,7.56],[1579913281000,5.976],[1579913581000,8.424],[1579913881000,9.576],[1579914181000,10.44],[1579914481000,7.128],[1579914781000,7.056],[1579915081000,9.072],[1579915381000,9.216],[1579915681000,5.256],[1579915981000,5.832],[1579916281000,8.784],[1579916581000,8.568],[1579916881000,3.024],[1579917181000,6.12],[1579917481000,6.264],[1579917781000,5.976],[1579918081000,2.448],[1579918381000,5.832],[1579918681000,6.84],[1579918981000,6.048],[1579919281000,7.2],[1579919581000,3.528],[1579919881000,4.608],[1579920181000,3.384],[1579920481000,4.32],[1579920781000,8.424],[1579921081000,8.136],[1579921381000,9.648],[1579921681000,8.28],[1579921981000,9.936],[1579922281000,6.984],[1579922581000,8.208],[1579922881000,5.184],[1579923181000,6.984],[1579923481000,8.856],[1579923781000,9.576],[1579924081000,11.448],[1579924381000,10.224],[1579924681000,9.288],[1579924981000,9.36],[1579925281000,8.496],[1579925581000,7.272],[1579925881000,7.344],[1579926181000,8.568],[1579926481000,7.704],[1579926781000,5.616],[1579927081000,5.328],[1579927381000,6.12],[1579927681000,11.664],[1579927981000,9.072],[1579928281000,7.92],[1579928581000,6.048],[1579928881000,5.904],[1579929181000,3.744],[1579929481000,4.896],[1579929781000,4.752],[1579930081000,1.008],[1579930381000,0.648],[1579930681000,1.512],[1579930981000,0.792],[1579931281000,1.512],[1579931581000,3.672],[1579931881000,3.888],[1579932181000,4.32],[1579932481000,3.96],[1579932781000,5.04],[1579933081000,2.88],[1579933381000,3.312],[1579933681000,3.744],[1579933981000,4.824],[1579934281000,4.176],[1579934581000,2.52],[1579934881000,0.648],[1579935181000,1.368],[1579935481000,0.36],[1579935781000,2.304],[1579936081000,0.36],[1579936381000,1.368],[1579936681000,3.024],[1579936981000,3.168],[1579937281000,5.688],[1579937581000,4.32],[1579937881000,2.88],[1579938181000,1.656],[1579938481000,3.096],[1579938781000,2.088],[1579939081000,0.72],[1579939381000,1.368],[1579939681000,4.176],[1579939981000,4.32],[1579940281000,5.544],[1579940581000,4.32],[1579940881000,2.664],[1579941181000,4.752],[1579941481000,3.96],[1579941781000,2.664],[1579942081000,3.456],[1579942381000,4.392],[1579942681000,1.728],[1579942981000,2.664],[1579943281000,0.144],[1579943581000,0],[1579943881000,0],[1579944181000,1.8],[1579944481000,4.32],[1579944781000,4.968],[1579945081000,3.888],[1579945381000,4.68],[1579945681000,2.664],[1579945981000,0.216],[1579946281000,0],[1579946581000,0.504],[1579946881000,0.144],[1579947181000,0.288],[1579947481000,2.736],[1579947781000,5.544],[1579948081000,4.248],[1579948381000,3.6],[1579948681000,7.848],[1579948981000,9.36],[1579949281000,9.864],[1579949581000,8.64],[1579949881000,6.192],[1579950181000,6.768],[1579950481000,7.848],[1579950781000,7.416],[1579951081000,10.152],[1579951381000,6.984],[1579951681000,6.408],[1579951981000,2.448],[1579952281000,7.488],[1579952581000,4.824],[1579952881000,4.32],[1579953181000,5.472],[1579953481000,7.128],[1579953781000,7.128],[1579954081000,8.784],[1579954381000,6.912],[1579954681000,4.752],[1579954981000,6.048],[1579955281000,6.624],[1579955581000,11.88],[1579955881000,11.592],[1579956181000,7.272],[1579956481000,10.584],[1579956781000,11.52],[1579957081000,9.504],[1579957381000,8.856],[1579957681000,11.232],[1579957981000,13.968],[1579958281000,11.376],[1579958581000,13.608],[1579958881000,9.36],[1579959181000,10.368],[1579959481000,9.216],[1579959781000,14.904],[1579960081000,12.6],[1579960381000,12.528],[1579960681000,14.256],[1579960981000,14.976],[1579961281000,12.384],[1579961581000,12.384],[1579961881000,12.672],[1579962181000,11.592],[1579962481000,12.168],[1579962781000,9.72],[1579963081000,9.36],[1579963381000,10.152],[1579963681000,7.056],[1579963981000,9.216],[1579964281000,9.36],[1579964581000,9.36],[1579964881000,11.448],[1579965181000,10.656],[1579965481000,10.224],[1579965781000,9.648],[1579966081000,10.08],[1579966381000,10.512],[1579966681000,11.592],[1579966981000,5.976],[1579967281000,7.2],[1579967581000,7.272],[1579967881000,7.992],[1579968181000,9.072],[1579968481000,8.424],[1579968781000,9.576],[1579969081000,7.848],[1579969381000,6.552],[1579969681000,2.88],[1579969981000,5.688],[1579970281000,7.416],[1579970581000,8.784],[1579970881000,7.488],[1579971181000,7.128],[1579971481000,9],[1579971781000,9.504],[1579972081000,12.024],[1579972381000,12.96],[1579972681000,11.376],[1579972981000,11.232],[1579973281000,14.256],[1579973581000,12.456],[1579973881000,10.44],[1579974181000,9.288],[1579974481000,11.016],[1579974781000,11.088],[1579975081000,9.288],[1579975381000,8.712],[1579975681000,7.92],[1579975981000,9.072],[1579976281000,10.224],[1579976581000,6.336],[1579976881000,7.632],[1579977181000,5.688],[1579977481000,3.168],[1579977781000,7.128],[1579978081000,6.768],[1579978381000,6.408],[1579978681000,5.76],[1579978981000,6.552],[1579979281000,6.408],[1579979581000,6.84],[1579979881000,1.512],[1579980181000,4.104],[1579980481000,1.656],[1579980781000,2.088],[1579981081000,2.952],[1579981381000,3.096],[1579981681000,3.168],[1579981981000,1.008],[1579982281000,3.312],[1579982581000,4.824],[1579982881000,1.296],[1579983181000,2.376],[1579983481000,1.512],[1579983781000,2.232],[1579984081000,2.16],[1579984381000,0.216],[1579984681000,4.392],[1579984981000,5.544],[1579985281000,4.032],[1579985581000,0.648],[1579985881000,0],[1579986181000,0],[1579986481000,2.232],[1579986781000,2.736],[1579987081000,2.376],[1579987381000,5.184],[1579987681000,4.536],[1579987981000,5.184],[1579988281000,2.376],[1579988581000,2.304],[1579988881000,0],[1579989181000,1.224],[1579989481000,4.32],[1579989781000,6.84],[1579990081000,3.672],[1579990381000,2.448],[1579990681000,2.304],[1579990981000,1.512],[1579991281000,1.296],[1579991581000,1.008],[1579991881000,3.672],[1579992181000,3.096],[1579992481000,3.6],[1579992781000,3.384],[1579993081000,2.52],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1579906801000,2.4048],[1579906981000,3.69864],[1579907281000,2.33856],[1579907581000,2.09592],[1579907881000,8.89704],[1579908181000,9.19296],[1579908481000,6.40512],[1579908781000,5.40792],[1579909081000,9.48744],[1579909381000,8.81856],[1579909681000,7.74936],[1579909981000,10.85112],[1579910281000,8.00496],[1579910581000,9.88776],[1579910881000,12.38544],[1579911181000,11.99808],[1579911481000,12.978],[1579911781000,12.24216],[1579912081000,9.89856],[1579912381000,11.04624],[1579912681000,10.2888],[1579912981000,12.05856],[1579913281000,9.35928],[1579913581000,12.96504],[1579913881000,15.07968],[1579914181000,16.24968],[1579914481000,11.0592],[1579914781000,10.99224],[1579915081000,14.34816],[1579915381000,14.54904],[1579915681000,8.38656],[1579915981000,9.09432],[1579916281000,13.94928],[1579916581000,13.70304],[1579916881000,4.80888],[1579917181000,9.73584],[1579917481000,9.79992],[1579917781000,9.39456],[1579918081000,3.7692],[1579918381000,9.05256],[1579918681000,10.43712],[1579918981000,9.2772],[1579919281000,11.29392],[1579919581000,5.5476],[1579919881000,7.344],[1579920181000,5.22144],[1579920481000,6.71976],[1579920781000,12.87864],[1579921081000,12.51864],[1579921381000,15.2136],[1579921681000,12.7692],[1579921981000,15.26832],[1579922281000,10.90944],[1579922581000,12.74616],[1579922881000,8.04096],[1579923181000,10.93392],[1579923481000,13.97808],[1579923781000,15.16104],[1579924081000,18.1728],[1579924381000,16.29648],[1579924681000,14.742],[1579924981000,14.65344],[1579925281000,13.30344],[1579925581000,11.39544],[1579925881000,11.74176],[1579926181000,13.4172],[1579926481000,12.45384],[1579926781000,8.94168],[1579927081000,8.61192],[1579927381000,9.88416],[1579927681000,19.16064],[1579927981000,14.62608],[1579928281000,12.81096],[1579928581000,9.47016],[1579928881000,9.32328],[1579929181000,5.8824],[1579929481000,7.47144],[1579929781000,7.35192],[1579930081000,1.4868],[1579930381000,0.82368],[1579930681000,2.34504],[1579930981000,1.20816],[1579931281000,2.23272],[1579931581000,5.66496],[1579931881000,6.0048],[1579932181000,6.66216],[1579932481000,5.98536],[1579932781000,8.02152],[1579933081000,4.63032],[1579933381000,5.1804],[1579933681000,6.04008],[1579933981000,7.45272],[1579934281000,6.462],[1579934581000,3.78504],[1579934881000,0.9684],[1579935181000,2.12616],[1579935481000,0.55008],[1579935781000,3.51576],[1579936081000,0.58608],[1579936381000,2.05776],[1579936681000,4.69944],[1579936981000,4.88088],[1579937281000,8.77896],[1579937581000,6.6024],[1579937881000,4.36608],[1579938181000,2.66688],[1579938481000,4.8312],[1579938781000,3.16872],[1579939081000,1.16928],[1579939381000,2.07648],[1579939681000,6.5016],[1579939981000,6.89832],[1579940281000,8.63208],[1579940581000,6.66216],[1579940881000,4.17096],[1579941181000,7.56216],[1579941481000,6.30792],[1579941781000,4.1436],[1579942081000,5.37984],[1579942381000,6.85584],[1579942681000,2.63016],[1579942981000,4.3272],[1579943281000,0.18648],[1579943581000,0],[1579943881000,0],[1579944181000,2.8332],[1579944481000,6.8256],[1579944781000,7.54992],[1579945081000,6.04584],[1579945381000,7.1712],[1579945681000,4.06224],[1579945981000,0.35496],[1579946281000,0],[1579946581000,0.846],[1579946881000,0.26856],[1579947181000,0.38664],[1579947481000,4.1184],[1579947781000,8.5896],[1579948081000,6.41232],[1579948381000,5.652],[1579948681000,12.04128],[1579948981000,14.3892],[1579949281000,15.64992],[1579949581000,13.50216],[1579949881000,10.02384],[1579950181000,10.61136],[1579950481000,12.65256],[1579950781000,11.92176],[1579951081000,15.76368],[1579951381000,11.05272],[1579951681000,10.2456],[1579951981000,3.9564],[1579952281000,12.00384],[1579952581000,7.82568],[1579952881000,7.1136],[1579953181000,8.67312],[1579953481000,11.59416],[1579953781000,11.7396],[1579954081000,14.22504],[1579954381000,10.83816],[1579954681000,7.70544],[1579954981000,9.95544],[1579955281000,10.76976],[1579955581000,18.87912],[1579955881000,18.63864],[1579956181000,11.82456],[1579956481000,16.74432],[1579956781000,18.82944],[1579957081000,15.36552],[1579957381000,14.42664],[1579957681000,17.8776],[1579957981000,22.50072],[1579958281000,18.18792],[1579958581000,21.77424],[1579958881000,15.28848],[1579959181000,16.86312],[1579959481000,14.90328],[1579959781000,23.60592],[1579960081000,20.13984],[1579960381000,19.92384],[1579960681000,22.5648],[1579960981000,24.05592],[1579961281000,19.63008],[1579961581000,19.71936],[1579961881000,20.02464],[1579962181000,18.6912],[1579962481000,19.40184],[1579962781000,15.0624],[1579963081000,14.51304],[1579963381000,16.21512],[1579963681000,11.574],[1579963981000,14.72976],[1579964281000,14.84496],[1579964581000,14.7384],[1579964881000,18.2196],[1579965181000,16.71912],[1579965481000,16.41024],[1579965781000,15.12936],[1579966081000,15.99552],[1579966381000,16.67808],[1579966681000,17.82648],[1579966981000,9.4248],[1579967281000,11.16288],[1579967581000,11.36232],[1579967881000,12.72384],[1579968181000,14.25312],[1579968481000,13.53672],[1579968781000,15.14448],[1579969081000,12.36024],[1579969381000,10.28664],[1579969681000,4.60368],[1579969981000,9.01152],[1579970281000,12.4056],[1579970581000,13.8492],[1579970881000,11.65968],[1579971181000,11.12904],[1579971481000,14.04936],[1579971781000,15.14304],[1579972081000,19.12032],[1579972381000,20.29968],[1579972681000,17.91],[1579972981000,17.76384],[1579973281000,22.38552],[1579973581000,19.67904],[1579973881000,16.6248],[1579974181000,14.60952],[1579974481000,17.14608],[1579974781000,17.31096],[1579975081000,14.52672],[1579975381000,13.73472],[1579975681000,12.37824],[1579975981000,14.11056],[1579976281000,16.05312],[1579976581000,10.0908],[1579976881000,11.90664],[1579977181000,8.76528],[1579977481000,4.84776],[1579977781000,11.03112],[1579978081000,10.4472],[1579978381000,10.12464],[1579978681000,8.8848],[1579978981000,10.24632],[1579979281000,9.86688],[1579979581000,10.48968],[1579979881000,2.38104],[1579980181000,6.4764],[1579980481000,2.63088],[1579980781000,3.29472],[1579981081000,4.72968],[1579981381000,4.91832],[1579981681000,4.9968],[1579981981000,1.60848],[1579982281000,5.02776],[1579982581000,7.24464],[1579982881000,2.08584],[1579983181000,3.59496],[1579983481000,2.34072],[1579983781000,3.6252],[1579984081000,3.27456],[1579984381000,0.37296],[1579984681000,6.74208],[1579984981000,8.4852],[1579985281000,6.38136],[1579985581000,0.9612],[1579985881000,0],[1579986181000,0],[1579986481000,3.41496],[1579986781000,4.1472],[1579987081000,3.64968],[1579987381000,8.04672],[1579987681000,7.164],[1579987981000,7.98264],[1579988281000,3.52944],[1579988581000,3.46608],[1579988881000,0],[1579989181000,1.9656],[1579989481000,6.73272],[1579989781000,11.00664],[1579990081000,5.8356],[1579990381000,3.75552],[1579990681000,3.75336],[1579990981000,2.35656],[1579991281000,2.11032],[1579991581000,1.62216],[1579991881000,5.97024],[1579992181000,4.6872],[1579992481000,5.70312],[1579992781000,5.39712],[1579993081000,3.9366],], 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: [[1579906801000,105.66666667],[1579906981000,164.48000000],[1579907281000,187.78000000],[1579907581000,128.86000000],[1579907881000,139.10000000],[1579908181000,137.86000000],[1579908481000,117.00000000],[1579908781000,116.60000000],[1579909081000,148.50000000],[1579909381000,110.86000000],[1579909681000,98.18000000],[1579909981000,125.16000000],[1579910281000,137.46000000],[1579910581000,134.58000000],[1579910881000,155.86000000],[1579911181000,104.32000000],[1579911481000,86.32000000],[1579911781000,98.16000000],[1579912081000,118.64000000],[1579912381000,97.76000000],[1579912681000,96.96000000],[1579912981000,100.64000000],[1579913281000,110.86000000],[1579913581000,142.36000000],[1579913881000,101.88000000],[1579914181000,98.18000000],[1579914481000,121.50000000],[1579914781000,128.88000000],[1579915081000,87.14000000],[1579915381000,106.76000000],[1579915681000,119.88000000],[1579915981000,122.74000000],[1579916281000,101.86000000],[1579916581000,115.78000000],[1579916881000,137.04000000],[1579917181000,131.34000000],[1579917481000,121.92000000],[1579917781000,152.18000000],[1579918081000,158.74000000],[1579918381000,154.64000000],[1579918681000,115.36000000],[1579918981000,144.84000000],[1579919281000,137.44000000],[1579919581000,162.00000000],[1579919881000,130.52000000],[1579920181000,159.96000000],[1579920481000,134.98000000],[1579920781000,160.78000000],[1579921081000,136.24000000],[1579921381000,152.18000000],[1579921681000,130.08000000],[1579921981000,154.64000000],[1579922281000,164.46000000],[1579922581000,149.74000000],[1579922881000,160.78000000],[1579923181000,176.32000000],[1579923481000,87.12000000],[1579923781000,144.82000000],[1579924081000,152.18000000],[1579924381000,128.04000000],[1579924681000,99.40000000],[1579924981000,152.18000000],[1579925281000,90.80000000],[1579925581000,105.12000000],[1579925881000,128.84000000],[1579926181000,76.08000000],[1579926481000,65.04000000],[1579926781000,26.58000000],[1579927081000,52.76000000],[1579927381000,42.96000000],[1579927681000,132.94000000],[1579927981000,211.08000000],[1579928281000,218.04000000],[1579928581000,209.88000000],[1579928881000,204.14000000],[1579929181000,199.22000000],[1579929481000,186.96000000],[1579929781000,195.56000000],[1579930081000,218.86000000],[1579930381000,182.04000000],[1579930681000,209.86000000],[1579930981000,186.14000000],[1579931281000,187.78000000],[1579931581000,180.82000000],[1579931881000,187.36000000],[1579932181000,197.18000000],[1579932481000,192.26000000],[1579932781000,201.68000000],[1579933081000,186.96000000],[1579933381000,205.80000000],[1579933681000,217.64000000],[1579933981000,200.46000000],[1579934281000,207.82000000],[1579934581000,218.04000000],[1579934881000,225.00000000],[1579935181000,226.24000000],[1579935481000,233.58000000],[1579935781000,198.42000000],[1579936081000,180.00000000],[1579936381000,193.50000000],[1579936681000,185.34000000],[1579936981000,195.54000000],[1579937281000,184.50000000],[1579937581000,164.44000000],[1579937881000,175.50000000],[1579938181000,220.10000000],[1579938481000,238.50000000],[1579938781000,238.08000000],[1579939081000,167.72000000],[1579939381000,234.40000000],[1579939681000,230.32000000],[1579939981000,213.14000000],[1579940281000,207.00000000],[1579940581000,211.90000000],[1579940881000,240.14000000],[1579941181000,243.00000000],[1579941481000,231.12000000],[1579941781000,230.72000000],[1579942081000,237.68000000],[1579942381000,232.36000000],[1579942681000,227.86000000],[1579942981000,186.94000000],[1579943281000,114.96000000],[1579943581000,0.00000000],[1579943881000,0.00000000],[1579944181000,184.90000000],[1579944481000,172.62000000],[1579944781000,177.14000000],[1579945081000,188.18000000],[1579945381000,176.30000000],[1579945681000,187.76000000],[1579945981000,155.86000000],[1579946281000,225.00000000],[1579946581000,214.78000000],[1579946881000,91.64000000],[1579947181000,137.46000000],[1579947481000,105.96000000],[1579947781000,146.44000000],[1579948081000,192.28000000],[1579948381000,168.94000000],[1579948681000,161.60000000],[1579948981000,151.36000000],[1579949281000,159.52000000],[1579949581000,147.68000000],[1579949881000,142.76000000],[1579950181000,155.04000000],[1579950481000,130.50000000],[1579950781000,130.50000000],[1579951081000,144.40000000],[1579951381000,140.72000000],[1579951681000,130.08000000],[1579951981000,131.72000000],[1579952281000,148.88000000],[1579952581000,125.60000000],[1579952881000,124.36000000],[1579953181000,129.70000000],[1579953481000,140.76000000],[1579953781000,132.96000000],[1579954081000,132.14000000],[1579954381000,150.12000000],[1579954681000,117.82000000],[1579954981000,130.50000000],[1579955281000,135.80000000],[1579955581000,147.66000000],[1579955881000,143.58000000],[1579956181000,128.46000000],[1579956481000,153.80000000],[1579956781000,149.72000000],[1579957081000,142.36000000],[1579957381000,142.38000000],[1579957681000,145.62000000],[1579957981000,147.26000000],[1579958281000,141.14000000],[1579958581000,150.16000000],[1579958881000,149.74000000],[1579959181000,142.76000000],[1579959481000,138.70000000],[1579959781000,142.76000000],[1579960081000,141.54000000],[1579960381000,157.10000000],[1579960681000,157.50000000],[1579960981000,150.12000000],[1579961281000,152.18000000],[1579961581000,152.18000000],[1579961881000,150.96000000],[1579962181000,146.04000000],[1579962481000,146.86000000],[1579962781000,147.70000000],[1579963081000,155.46000000],[1579963381000,138.68000000],[1579963681000,139.10000000],[1579963981000,148.08000000],[1579964281000,147.28000000],[1579964581000,148.10000000],[1579964881000,163.66000000],[1579965181000,163.62000000],[1579965481000,150.12000000],[1579965781000,153.82000000],[1579966081000,151.78000000],[1579966381000,167.32000000],[1579966681000,150.54000000],[1579966981000,144.00000000],[1579967281000,154.24000000],[1579967581000,153.42000000],[1579967881000,150.96000000],[1579968181000,149.74000000],[1579968481000,142.36000000],[1579968781000,147.28000000],[1579969081000,150.54000000],[1579969381000,152.98000000],[1579969681000,129.28000000],[1579969981000,137.86000000],[1579970281000,140.32000000],[1579970581000,148.92000000],[1579970881000,151.76000000],[1579971181000,171.82000000],[1579971481000,158.72000000],[1579971781000,141.56000000],[1579972081000,156.68000000],[1579972381000,163.64000000],[1579972681000,163.22000000],[1579972981000,144.00000000],[1579973281000,155.46000000],[1579973581000,157.90000000],[1579973881000,153.40000000],[1579974181000,149.32000000],[1579974481000,150.52000000],[1579974781000,161.20000000],[1579975081000,149.72000000],[1579975381000,163.64000000],[1579975681000,161.60000000],[1579975981000,161.18000000],[1579976281000,168.54000000],[1579976581000,175.08000000],[1579976881000,183.28000000],[1579977181000,184.92000000],[1579977481000,167.32000000],[1579977781000,171.02000000],[1579978081000,154.24000000],[1579978381000,153.40000000],[1579978681000,159.54000000],[1579978981000,153.40000000],[1579979281000,154.24000000],[1579979581000,165.68000000],[1579979881000,101.04000000],[1579980181000,136.62000000],[1579980481000,146.46000000],[1579980781000,139.50000000],[1579981081000,134.60000000],[1579981381000,142.36000000],[1579981681000,153.00000000],[1579981981000,156.68000000],[1579982281000,145.22000000],[1579982581000,146.46000000],[1579982881000,142.78000000],[1579983181000,171.00000000],[1579983481000,137.86000000],[1579983781000,163.22000000],[1579984081000,135.82000000],[1579984381000,141.54000000],[1579984681000,162.00000000],[1579984981000,159.54000000],[1579985281000,164.88000000],[1579985581000,180.00000000],[1579985881000,180.00000000],[1579986181000,180.00000000],[1579986481000,159.96000000],[1579986781000,136.22000000],[1579987081000,137.04000000],[1579987381000,148.52000000],[1579987681000,140.32000000],[1579987981000,184.92000000],[1579988281000,159.14000000],[1579988581000,152.58000000],[1579988881000,135.00000000],[1579989181000,138.28000000],[1579989481000,126.00000000],[1579989781000,138.68000000],[1579990081000,133.36000000],[1579990381000,123.94000000],[1579990681000,102.28000000],[1579990981000,87.14000000],[1579991281000,291.68000000],[1579991581000,102.68000000],[1579991881000,121.08000000],[1579992181000,83.86000000],[1579992481000,87.54000000],[1579992781000,119.86000000],[1579993081000,119.65000000],], 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: [[1579978621000,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; }