var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1546902001000,-3.26666667],[1546902181000,-3.30000000],[1546902481000,-3.30000000],[1546902781000,-3.26000000],[1546903081000,-3.28000000],[1546903381000,-3.22000000],[1546903681000,-3.30000000],[1546903981000,-3.22000000],[1546904281000,-3.26000000],[1546904641000,-3.22500000],[1546904881000,-3.22000000],[1546905181000,-3.20000000],[1546905481000,-3.20000000],[1546905781000,-3.22000000],[1546906081000,-3.14000000],[1546906381000,-3.14000000],[1546906681000,-3.12000000],[1546906981000,-3.14000000],[1546907281000,-3.16000000],[1546907581000,-3.20000000],[1546907881000,-3.18000000],[1546908181000,-3.16000000],[1546908481000,-3.20000000],[1546908781000,-3.20000000],[1546909081000,-3.20000000],[1546909381000,-3.18000000],[1546909681000,-3.18000000],[1546909981000,-3.20000000],[1546910281000,-3.22000000],[1546910581000,-3.22000000],[1546910881000,-3.20000000],[1546911181000,-3.18000000],[1546911481000,-3.20000000],[1546911781000,-3.20000000],[1546912081000,-3.20000000],[1546912381000,-3.16000000],[1546912681000,-3.18000000],[1546912981000,-3.20000000],[1546913281000,-3.20000000],[1546913581000,-3.18000000],[1546913881000,-3.22500000],[1546914181000,-3.22000000],[1546914481000,-3.28000000],[1546914781000,-3.30000000],[1546915081000,-3.26000000],[1546915381000,-3.28000000],[1546915681000,-3.24000000],[1546915981000,-3.28000000],[1546916281000,-3.30000000],[1546916581000,-3.30000000],[1546916881000,-3.26000000],[1546917181000,-3.20000000],[1546917481000,-3.22000000],[1546917781000,-3.22000000],[1546918081000,-3.24000000],[1546918381000,-3.20000000],[1546918681000,-3.20000000],[1546918981000,-3.20000000],[1546919281000,-3.20000000],[1546919581000,-3.22000000],[1546919881000,-3.18000000],[1546920181000,-3.20000000],[1546920481000,-3.20000000],[1546920781000,-3.24000000],[1546921081000,-3.30000000],[1546921381000,-3.28000000],[1546921681000,-3.30000000],[1546921981000,-3.30000000],[1546922281000,-3.30000000],[1546922581000,-3.36000000],[1546922881000,-3.38000000],[1546923181000,-3.40000000],[1546923481000,-3.42000000],[1546923781000,-3.40000000],[1546924081000,-3.48000000],[1546924382000,-3.50000000],[1546924681000,-3.48000000],[1546924981000,-3.44000000],[1546925281000,-3.46000000],[1546925581000,-3.50000000],[1546925881000,-3.58000000],[1546926181000,-3.66000000],[1546926481000,-3.60000000],[1546926781000,-3.60000000],[1546927081000,-3.60000000],[1546927381000,-3.62000000],[1546927681000,-3.70000000],[1546927981000,-3.76000000],[1546928281000,-3.90000000],[1546928581000,-3.90000000],[1546928881000,-3.97500000],[1546929181000,-4.00000000],[1546929481000,-4.00000000],[1546929781000,-3.98000000],[1546930081000,-3.92000000],[1546930381000,-3.90000000],[1546930681000,-3.90000000],[1546930981000,-3.96000000],[1546931281000,-3.92000000],[1546931581000,-3.92000000],[1546931881000,-4.02000000],[1546932181000,-4.00000000],[1546932481000,-3.94000000],[1546932841000,-3.97500000],[1546933081000,-3.94000000],[1546933381000,-4.00000000],[1546933681000,-4.02000000],[1546933981000,-4.04000000],[1546934281000,-4.10000000],[1546934581000,-4.10000000],[1546934881000,-4.08000000],[1546935181000,-4.00000000],[1546935481000,-4.00000000],[1546935781000,-3.98000000],[1546936081000,-3.94000000],[1546936381000,-4.00000000],[1546936681000,-4.00000000],[1546936981000,-4.00000000],[1546937281000,-4.00000000],[1546937581000,-3.98000000],[1546937881000,-3.90000000],[1546938181000,-3.88000000],[1546938481000,-3.82000000],[1546938781000,-3.80000000],[1546939081000,-3.82000000],[1546939381000,-3.90000000],[1546939681000,-3.90000000],[1546939981000,-3.90000000],[1546940281000,-3.84000000],[1546940581000,-3.74000000],[1546940881000,-3.70000000],[1546941181000,-3.64000000],[1546941481000,-3.70000000],[1546941781000,-3.60000000],[1546942081000,-3.60000000],[1546942381000,-3.60000000],[1546942741000,-3.60000000],[1546942981000,-3.60000000],[1546943281000,-3.54000000],[1546943581000,-3.56000000],[1546943881000,-3.70000000],[1546944181000,-3.70000000],[1546944541000,-3.52500000],[1546944781000,-3.54000000],[1546945081000,-3.40000000],[1546945381000,-3.30000000],[1546945681000,-3.28000000],[1546945981000,-3.36000000],[1546946281000,-3.22000000],[1546946581000,-3.14000000],[1546946881000,-3.12000000],[1546947181000,-3.14000000],[1546947481000,-3.08000000],[1546947781000,-3.16000000],[1546948081000,-3.08000000],[1546948381000,-2.98000000],[1546948681000,-2.96000000],[1546948981000,-2.86000000],[1546949281000,-2.78000000],[1546949581000,-2.68000000],[1546949881000,-2.82000000],[1546950181000,-2.94000000],[1546950481000,-2.94000000],[1546950781000,-2.44000000],[1546951081000,-2.26000000],[1546951381000,-2.30000000],[1546951681000,-2.32000000],[1546951981000,-2.36000000],[1546952281000,-2.40000000],[1546952581000,-2.44000000],[1546952881000,-2.46000000],[1546953181000,-2.44000000],[1546953481000,-2.60000000],[1546953781000,-2.66000000],[1546954081000,-2.76000000],[1546954381000,-2.80000000],[1546954681000,-2.86000000],[1546954981000,-2.84000000],[1546955281000,-2.88000000],[1546955581000,-2.88000000],[1546955881000,-2.86000000],[1546956181000,-2.80000000],[1546956481000,-2.88000000],[1546956781000,-2.90000000],[1546957081000,-2.94000000],[1546957381000,-3.04000000],[1546957681000,-3.10000000],[1546957981000,-3.18000000],[1546958281000,-3.20000000],[1546958581000,-3.28000000],[1546958881000,-3.30000000],[1546959181000,-3.26000000],[1546959481000,-3.24000000],[1546959781000,-3.24000000],[1546960081000,-3.26000000],[1546960381000,-3.30000000],[1546960681000,-3.30000000],[1546960981000,-3.38000000],[1546961281000,-3.38000000],[1546961581000,-3.34000000],[1546961881000,-3.30000000],[1546962181000,-3.32000000],[1546962481000,-3.30000000],[1546962781000,-3.30000000],[1546963081000,-3.30000000],[1546963381000,-3.28000000],[1546963681000,-3.30000000],[1546963981000,-3.30000000],[1546964281000,-3.30000000],[1546964581000,-3.30000000],[1546964881000,-3.30000000],[1546965181000,-3.30000000],[1546965481000,-3.30000000],[1546965781000,-3.30000000],[1546966081000,-3.30000000],[1546966381000,-3.30000000],[1546966681000,-3.30000000],[1546966981000,-3.30000000],[1546967281000,-3.30000000],[1546967581000,-3.30000000],[1546967881000,-3.30000000],[1546968181000,-3.30000000],[1546968481000,-3.30000000],[1546968781000,-3.30000000],[1546969081000,-3.38000000],[1546969381000,-3.40000000],[1546969681000,-3.42000000],[1546969981000,-3.50000000],[1546970282000,-3.50000000],[1546970581000,-3.54000000],[1546970881000,-3.52000000],[1546971181000,-3.52000000],[1546971481000,-3.56000000],[1546971781000,-3.55000000],[1546972081000,-3.52500000],[1546972381000,-3.50000000],[1546972681000,-3.52000000],[1546972981000,-3.56000000],[1546973281000,-3.56000000],[1546973581000,-3.60000000],[1546973881000,-3.57500000],[1546974181000,-3.56000000],[1546974481000,-3.56000000],[1546974781000,-3.60000000],[1546975081000,-3.60000000],[1546975381000,-3.62000000],[1546975681000,-3.54000000],[1546975981000,-3.54000000],[1546976281000,-3.54000000],[1546976581000,-3.50000000],[1546976881000,-3.50000000],[1546977181000,-3.50000000],[1546977481000,-3.48000000],[1546977781000,-3.48000000],[1546978081000,-3.56000000],[1546978381000,-3.56000000],[1546978681000,-3.54000000],[1546978981000,-3.50000000],[1546979281000,-3.50000000],[1546979581000,-3.50000000],[1546979881000,-3.50000000],[1546980181000,-3.50000000],[1546980481000,-3.60000000],[1546980781000,-3.60000000],[1546981081000,-3.62000000],[1546981381000,-3.68000000],[1546981681000,-3.70000000],[1546981981000,-3.72000000],[1546982281000,-3.82000000],[1546982581000,-3.90000000],[1546982881000,-3.94000000],[1546983181000,-4.00000000],[1546983481000,-4.00000000],[1546983781000,-3.94000000],[1546984081000,-3.90000000],[1546984381000,-3.96000000],[1546984681000,-4.00000000],[1546984981000,-3.92000000],[1546985281000,-3.88000000],[1546985581000,-3.80000000],[1546985881000,-3.74000000],[1546986181000,-3.70000000],[1546986481000,-3.62000000],[1546986781000,-3.60000000],[1546987081000,-3.64000000],[1546987381000,-3.60000000],[1546987681000,-3.60000000],[1546987981000,-3.60000000],[1546988281000,-3.60000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1546902001000,-4.3],[1546902181000,-4.4],[1546902481000,-4.3],[1546902781000,-4.3],[1546903081000,-4.3],[1546903381000,-4.2],[1546903681000,-4.2],[1546903981000,-4.1],[1546904281000,-4.2],[1546904881000,-4.2],[1546905181000,-4.2],[1546905481000,-4.2],[1546905781000,-4.2],[1546906081000,-4.1],[1546906381000,-4.2],[1546906681000,-4.1],[1546906981000,-4.2],[1546907281000,-4.2],[1546907581000,-4.3],[1546907881000,-4.2],[1546908181000,-4.2],[1546908481000,-4.2],[1546908781000,-4.2],[1546909081000,-4.3],[1546909381000,-4.2],[1546909681000,-4.3],[1546909981000,-4.3],[1546910281000,-4.2],[1546910581000,-4.2],[1546910881000,-4.2],[1546911181000,-4.2],[1546911481000,-4.2],[1546911781000,-4.3],[1546912081000,-4.3],[1546912381000,-4.3],[1546912681000,-4.3],[1546912981000,-4.3],[1546913281000,-4.3],[1546913581000,-4.3],[1546913881000,-4.3],[1546914181000,-4.3],[1546914481000,-4.3],[1546914781000,-4.4],[1546915081000,-4.3],[1546915381000,-4.3],[1546915681000,-4.3],[1546915981000,-4.3],[1546916281000,-4.3],[1546916581000,-4.3],[1546916881000,-4.3],[1546917181000,-4.3],[1546917481000,-4.2],[1546917781000,-4.2],[1546918081000,-4.2],[1546918381000,-4.2],[1546918681000,-4.2],[1546918981000,-4.2],[1546919281000,-4.1],[1546919581000,-4.1],[1546919881000,-4.1],[1546920181000,-4.1],[1546920481000,-4],[1546920781000,-4.1],[1546921081000,-4.1],[1546921381000,-4.1],[1546921681000,-4.1],[1546921981000,-4.1],[1546922281000,-4.1],[1546922581000,-4.2],[1546922881000,-4.2],[1546923181000,-4.3],[1546923481000,-4.2],[1546923781000,-4.2],[1546924081000,-4.2],[1546924382000,-4.2],[1546924681000,-4.2],[1546924981000,-4.2],[1546925281000,-4.2],[1546925581000,-4.2],[1546925881000,-4.3],[1546926181000,-4.3],[1546926481000,-4.3],[1546926781000,-4.4],[1546927081000,-4.4],[1546927381000,-4.4],[1546927681000,-4.4],[1546927981000,-4.5],[1546928281000,-4.6],[1546928581000,-4.6],[1546928881000,-4.7],[1546929181000,-4.7],[1546929481000,-4.8],[1546929781000,-4.8],[1546930081000,-4.7],[1546930381000,-4.8],[1546930681000,-4.8],[1546930981000,-4.9],[1546931281000,-4.8],[1546931581000,-4.9],[1546931881000,-5],[1546932181000,-4.9],[1546932481000,-4.9],[1546933081000,-4.9],[1546933381000,-5],[1546933681000,-5],[1546933981000,-5],[1546934281000,-5],[1546934581000,-5],[1546934881000,-5.1],[1546935181000,-5],[1546935481000,-5],[1546935781000,-5],[1546936081000,-4.9],[1546936381000,-5],[1546936681000,-5],[1546936981000,-5],[1546937281000,-5],[1546937581000,-5],[1546937881000,-4.9],[1546938181000,-4.9],[1546938481000,-4.9],[1546938781000,-4.9],[1546939081000,-4.9],[1546939381000,-4.9],[1546939681000,-4.9],[1546939981000,-4.9],[1546940281000,-4.9],[1546940881000,-4.8],[1546941181000,-4.8],[1546941481000,-4.8],[1546941781000,-4.7],[1546942081000,-4.7],[1546942381000,-4.7],[1546942981000,-4.7],[1546943281000,-4.7],[1546943581000,-4.7],[1546943881000,-4.8],[1546944181000,-4.8],[1546944781000,-4.7],[1546945081000,-4.7],[1546945381000,-4.6],[1546945681000,-4.7],[1546945981000,-4.7],[1546946281000,-4.7],[1546946581000,-4.7],[1546946881000,-4.6],[1546947181000,-4.6],[1546947481000,-4.5],[1546947781000,-4.5],[1546948081000,-4.5],[1546948381000,-4.4],[1546948681000,-4.5],[1546948981000,-4.5],[1546949281000,-4.5],[1546949581000,-4.6],[1546949881000,-4.5],[1546950181000,-4.5],[1546950481000,-4.6],[1546950781000,-4.5],[1546951081000,-4.4],[1546951381000,-4.5],[1546951681000,-4.4],[1546951981000,-4.4],[1546952281000,-4.4],[1546952581000,-4.4],[1546952881000,-4.4],[1546953181000,-4.4],[1546953481000,-4.5],[1546953781000,-4.6],[1546954081000,-4.6],[1546954381000,-4.6],[1546954681000,-4.6],[1546954981000,-4.6],[1546955281000,-4.6],[1546955581000,-4.6],[1546955881000,-4.5],[1546956181000,-4.5],[1546956481000,-4.5],[1546956781000,-4.5],[1546957081000,-4.5],[1546957381000,-4.4],[1546957681000,-4.3],[1546957981000,-4.3],[1546958281000,-4.3],[1546958581000,-4.3],[1546958881000,-4.3],[1546959181000,-4.2],[1546959481000,-4.2],[1546959781000,-4.3],[1546960081000,-4.2],[1546960381000,-4.2],[1546960681000,-4.2],[1546960981000,-4.3],[1546961281000,-4.3],[1546961581000,-4.3],[1546961881000,-4.2],[1546962181000,-4.2],[1546962481000,-4.2],[1546962781000,-4.2],[1546963081000,-4.2],[1546963381000,-4.2],[1546963681000,-4.3],[1546963981000,-4.3],[1546964281000,-4.3],[1546964581000,-4.4],[1546964881000,-4.4],[1546965181000,-4.4],[1546965481000,-4.4],[1546965781000,-4.4],[1546966081000,-4.3],[1546966381000,-4.3],[1546966681000,-4.4],[1546966981000,-4.4],[1546967281000,-4.3],[1546967581000,-4.3],[1546967881000,-4.3],[1546968181000,-4.3],[1546968481000,-4.3],[1546968781000,-4.4],[1546969081000,-4.4],[1546969381000,-4.4],[1546969681000,-4.4],[1546969981000,-4.4],[1546970282000,-4.4],[1546970581000,-4.4],[1546970881000,-4.4],[1546971181000,-4.4],[1546971481000,-4.4],[1546971781000,-4.4],[1546972081000,-4.4],[1546972381000,-4.4],[1546972681000,-4.4],[1546972981000,-4.5],[1546973281000,-4.5],[1546973581000,-4.5],[1546973881000,-4.5],[1546974181000,-4.5],[1546974481000,-4.6],[1546974781000,-4.6],[1546975081000,-4.6],[1546975381000,-4.6],[1546975681000,-4.6],[1546975981000,-4.7],[1546976281000,-4.6],[1546976581000,-4.5],[1546976881000,-4.5],[1546977181000,-4.5],[1546977481000,-4.5],[1546977781000,-4.5],[1546978081000,-4.6],[1546978381000,-4.6],[1546978681000,-4.6],[1546978981000,-4.5],[1546979281000,-4.6],[1546979581000,-4.6],[1546979881000,-4.6],[1546980181000,-4.6],[1546980481000,-4.6],[1546980781000,-4.6],[1546981081000,-4.6],[1546981381000,-4.7],[1546981681000,-4.7],[1546981981000,-4.7],[1546982281000,-4.7],[1546982581000,-4.8],[1546982881000,-4.8],[1546983181000,-4.9],[1546983481000,-4.9],[1546983781000,-4.8],[1546984081000,-4.8],[1546984381000,-4.9],[1546984681000,-4.9],[1546984981000,-4.9],[1546985281000,-4.8],[1546985581000,-4.8],[1546985881000,-4.7],[1546986181000,-4.7],[1546986481000,-4.6],[1546986781000,-4.5],[1546987081000,-4.5],[1546987381000,-4.5],[1546987681000,-4.5],[1546987981000,-4.5],[1546988281000,-4.5],], 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: [[1546902001000,92.33333333],[1546902181000,92.46000000],[1546902481000,92.64000000],[1546902781000,92.66000000],[1546903081000,92.84000000],[1546903381000,92.94000000],[1546903681000,93.28000000],[1546903981000,93.56000000],[1546904281000,93.26000000],[1546904581000,93.30000000],[1546904881000,92.98000000],[1546905181000,92.60000000],[1546905481000,93.16000000],[1546905781000,93.26000000],[1546906081000,92.92000000],[1546906381000,92.72000000],[1546906681000,92.70000000],[1546906981000,92.80000000],[1546907281000,92.64000000],[1546907581000,92.22000000],[1546907881000,92.84000000],[1546908181000,92.76000000],[1546908481000,92.90000000],[1546908781000,92.96000000],[1546909081000,92.54000000],[1546909381000,92.46000000],[1546909681000,92.38000000],[1546909981000,92.48000000],[1546910281000,92.80000000],[1546910581000,92.90000000],[1546910881000,92.56000000],[1546911181000,92.52000000],[1546911481000,92.76000000],[1546911781000,92.10000000],[1546912081000,91.90000000],[1546912381000,91.84000000],[1546912681000,92.36000000],[1546912981000,92.48000000],[1546913281000,92.30000000],[1546913581000,92.08000000],[1546913881000,92.08000000],[1546914181000,92.40000000],[1546914481000,92.42000000],[1546914781000,92.50000000],[1546915081000,92.38000000],[1546915381000,92.52000000],[1546915681000,92.24000000],[1546915981000,92.64000000],[1546916281000,92.70000000],[1546916581000,92.80000000],[1546916881000,92.78000000],[1546917181000,92.42000000],[1546917481000,92.76000000],[1546917781000,92.78000000],[1546918081000,93.16000000],[1546918381000,92.70000000],[1546918681000,92.94000000],[1546918981000,93.08000000],[1546919281000,93.46000000],[1546919581000,93.78000000],[1546919881000,93.62000000],[1546920181000,93.92000000],[1546920481000,94.12000000],[1546920781000,94.16000000],[1546921081000,94.50000000],[1546921381000,94.48000000],[1546921681000,94.32000000],[1546921981000,94.28000000],[1546922281000,94.12000000],[1546922581000,94.10000000],[1546922881000,93.90000000],[1546923181000,93.86000000],[1546923481000,94.40000000],[1546923781000,94.56000000],[1546924081000,94.88000000],[1546924382000,95.00000000],[1546924681000,94.84000000],[1546924981000,94.68000000],[1546925281000,94.48000000],[1546925581000,94.78000000],[1546925881000,94.94000000],[1546926181000,95.10000000],[1546926481000,95.06000000],[1546926781000,94.52000000],[1546927081000,94.58000000],[1546927381000,94.64000000],[1546927681000,94.86000000],[1546927981000,94.90000000],[1546928281000,95.10000000],[1546928581000,95.18000000],[1546928881000,94.94000000],[1546929181000,94.96000000],[1546929481000,94.58000000],[1546929781000,94.44000000],[1546930081000,94.18000000],[1546930381000,93.52000000],[1546930681000,93.26000000],[1546930981000,93.56000000],[1546931281000,93.56000000],[1546931581000,93.08000000],[1546931881000,93.08000000],[1546932181000,93.24000000],[1546932481000,93.06000000],[1546932781000,93.14000000],[1546933081000,93.18000000],[1546933381000,93.12000000],[1546933681000,93.02000000],[1546933981000,92.94000000],[1546934281000,93.36000000],[1546934581000,93.22000000],[1546934881000,92.98000000],[1546935181000,93.06000000],[1546935481000,92.92000000],[1546935781000,92.82000000],[1546936081000,93.02000000],[1546936381000,93.00000000],[1546936681000,92.96000000],[1546936981000,92.96000000],[1546937281000,93.04000000],[1546937581000,92.78000000],[1546937881000,92.70000000],[1546938181000,92.64000000],[1546938481000,92.32000000],[1546938781000,92.38000000],[1546939081000,92.38000000],[1546939381000,92.94000000],[1546939681000,92.88000000],[1546939981000,92.56000000],[1546940281000,92.46000000],[1546940582000,92.02000000],[1546940881000,91.92000000],[1546941181000,91.88000000],[1546941481000,92.00000000],[1546941781000,91.90000000],[1546942081000,91.86000000],[1546942381000,92.06000000],[1546942681000,91.88000000],[1546942981000,92.02000000],[1546943281000,91.80000000],[1546943581000,91.70000000],[1546943881000,92.52000000],[1546944181000,92.44000000],[1546944481000,91.72000000],[1546944781000,91.56000000],[1546945081000,90.82000000],[1546945381000,90.68000000],[1546945681000,90.18000000],[1546945981000,90.88000000],[1546946281000,89.92000000],[1546946581000,89.42000000],[1546946881000,89.38000000],[1546947181000,89.82000000],[1546947481000,89.76000000],[1546947781000,90.30000000],[1546948081000,90.04000000],[1546948381000,89.74000000],[1546948681000,89.16000000],[1546948981000,88.52000000],[1546949281000,87.84000000],[1546949581000,87.00000000],[1546949881000,88.14000000],[1546950181000,88.88000000],[1546950481000,88.32000000],[1546950781000,85.92000000],[1546951081000,85.42000000],[1546951381000,85.32000000],[1546951681000,85.92000000],[1546951981000,85.98000000],[1546952281000,86.18000000],[1546952581000,86.50000000],[1546952881000,86.44000000],[1546953181000,86.34000000],[1546953481000,86.92000000],[1546953781000,86.96000000],[1546954081000,87.32000000],[1546954381000,87.58000000],[1546954681000,87.76000000],[1546954981000,87.74000000],[1546955281000,88.26000000],[1546955581000,88.22000000],[1546955881000,88.44000000],[1546956181000,88.34000000],[1546956481000,88.48000000],[1546956781000,88.94000000],[1546957081000,89.36000000],[1546957381000,90.32000000],[1546957681000,91.76000000],[1546957981000,92.04000000],[1546958281000,92.46000000],[1546958581000,92.96000000],[1546958881000,93.00000000],[1546959181000,93.02000000],[1546959481000,92.96000000],[1546959781000,92.80000000],[1546960081000,93.24000000],[1546960381000,93.48000000],[1546960681000,93.48000000],[1546960981000,93.58000000],[1546961281000,93.40000000],[1546961581000,93.46000000],[1546961881000,93.74000000],[1546962181000,93.78000000],[1546962481000,93.42000000],[1546962781000,93.30000000],[1546963081000,93.28000000],[1546963381000,93.14000000],[1546963681000,93.00000000],[1546963981000,92.72000000],[1546964281000,92.62000000],[1546964581000,92.46000000],[1546964881000,92.36000000],[1546965181000,92.38000000],[1546965481000,92.22000000],[1546965781000,92.32000000],[1546966081000,92.60000000],[1546966381000,92.64000000],[1546966681000,92.44000000],[1546966981000,92.52000000],[1546967281000,92.56000000],[1546967581000,92.64000000],[1546967881000,92.68000000],[1546968181000,92.88000000],[1546968481000,92.58000000],[1546968781000,92.50000000],[1546969081000,92.64000000],[1546969381000,92.94000000],[1546969681000,93.10000000],[1546969981000,93.52000000],[1546970282000,93.60000000],[1546970581000,93.72000000],[1546970881000,93.66000000],[1546971181000,93.54000000],[1546971481000,93.68000000],[1546971781000,93.78000000],[1546972081000,93.58000000],[1546972381000,93.52000000],[1546972681000,93.44000000],[1546972981000,93.30000000],[1546973281000,93.00000000],[1546973581000,93.28000000],[1546973881000,93.40000000],[1546974181000,93.08000000],[1546974481000,92.80000000],[1546974781000,92.58000000],[1546975081000,92.60000000],[1546975381000,92.68000000],[1546975681000,92.34000000],[1546975981000,92.08000000],[1546976281000,92.60000000],[1546976581000,92.70000000],[1546976881000,92.88000000],[1546977181000,93.08000000],[1546977481000,93.06000000],[1546977781000,92.68000000],[1546978081000,92.94000000],[1546978381000,92.86000000],[1546978681000,92.56000000],[1546978981000,92.68000000],[1546979281000,92.40000000],[1546979581000,92.04000000],[1546979881000,92.16000000],[1546980181000,92.36000000],[1546980481000,92.62000000],[1546980781000,92.90000000],[1546981081000,92.92000000],[1546981381000,93.04000000],[1546981681000,92.90000000],[1546981981000,92.84000000],[1546982281000,93.38000000],[1546982581000,93.68000000],[1546982881000,93.88000000],[1546983181000,93.80000000],[1546983481000,93.78000000],[1546983781000,93.86000000],[1546984081000,93.44000000],[1546984381000,93.24000000],[1546984681000,93.40000000],[1546984981000,93.34000000],[1546985281000,93.30000000],[1546985581000,93.08000000],[1546985881000,93.34000000],[1546986181000,93.12000000],[1546986481000,93.08000000],[1546986781000,93.26000000],[1546987081000,93.58000000],[1546987381000,93.38000000],[1546987681000,93.34000000],[1546987981000,93.68000000],[1546988281000,93.80000000],], 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: [[1546902001000,1026.6],[1546902181000,1026.6],[1546902481000,1026.6],[1546902781000,1026.5],[1546903081000,1026.4],[1546903381000,1026.4],[1546903681000,1026.2],[1546903981000,1026.2],[1546904281000,1026.2],[1546904881000,1026],[1546905181000,1026],[1546905481000,1025.9],[1546905781000,1025.8],[1546906081000,1025.7],[1546906381000,1025.6],[1546906681000,1025.6],[1546906981000,1025.4],[1546907281000,1025.3],[1546907581000,1025.3],[1546907881000,1025.2],[1546908181000,1025.1],[1546908481000,1025.1],[1546908781000,1025],[1546909081000,1024.9],[1546909381000,1024.8],[1546909681000,1024.8],[1546909981000,1024.6],[1546910281000,1024.6],[1546910581000,1024.4],[1546910881000,1024.3],[1546911181000,1024.2],[1546911481000,1024.1],[1546911781000,1024.1],[1546912081000,1024],[1546912381000,1023.9],[1546912681000,1023.9],[1546912981000,1023.8],[1546913281000,1023.7],[1546913581000,1023.6],[1546913881000,1023.5],[1546914181000,1023.4],[1546914481000,1023.3],[1546914781000,1023.2],[1546915081000,1023.2],[1546915381000,1023],[1546915681000,1023],[1546915981000,1022.8],[1546916281000,1022.8],[1546916581000,1022.7],[1546916881000,1022.6],[1546917181000,1022.5],[1546917481000,1022.4],[1546917781000,1022.3],[1546918081000,1022.2],[1546918381000,1022],[1546918681000,1021.9],[1546918981000,1021.8],[1546919281000,1021.7],[1546919581000,1021.6],[1546919881000,1021.5],[1546920181000,1021.4],[1546920481000,1021.4],[1546920781000,1021.3],[1546921081000,1021.2],[1546921381000,1021.1],[1546921681000,1020.9],[1546921981000,1020.8],[1546922281000,1020.6],[1546922581000,1020.5],[1546922881000,1020.3],[1546923181000,1020.3],[1546923481000,1020.2],[1546923781000,1020.1],[1546924081000,1019.9],[1546924382000,1019.7],[1546924681000,1019.7],[1546924981000,1019.6],[1546925281000,1019.5],[1546925581000,1019.5],[1546925881000,1019.5],[1546926181000,1019.4],[1546926481000,1019.3],[1546926781000,1019.2],[1546927081000,1019],[1546927381000,1018.9],[1546927681000,1018.9],[1546927981000,1018.9],[1546928281000,1018.7],[1546928581000,1018.7],[1546928881000,1018.5],[1546929181000,1018.4],[1546929481000,1018.4],[1546929781000,1018.3],[1546930081000,1018.2],[1546930381000,1018.1],[1546930681000,1018],[1546930981000,1017.8],[1546931281000,1017.6],[1546931581000,1017.5],[1546931881000,1017.3],[1546932181000,1017.2],[1546932481000,1017],[1546933081000,1016.8],[1546933381000,1016.7],[1546933681000,1016.6],[1546933981000,1016.5],[1546934281000,1016.4],[1546934581000,1016.3],[1546934881000,1016.3],[1546935181000,1016.2],[1546935481000,1016.1],[1546935781000,1016.1],[1546936081000,1016],[1546936381000,1016],[1546936681000,1015.9],[1546936981000,1015.8],[1546937281000,1015.7],[1546937581000,1015.6],[1546937881000,1015.6],[1546938181000,1015.5],[1546938481000,1015.4],[1546938781000,1015.3],[1546939081000,1015.3],[1546939381000,1015.2],[1546939681000,1015.1],[1546939981000,1015],[1546940281000,1014.9],[1546940881000,1014.7],[1546941181000,1014.6],[1546941481000,1014.5],[1546941781000,1014.4],[1546942081000,1014.3],[1546942381000,1014.3],[1546942981000,1014.2],[1546943281000,1014.1],[1546943581000,1014],[1546943881000,1013.9],[1546944181000,1013.7],[1546944781000,1013.4],[1546945081000,1013.3],[1546945381000,1013.2],[1546945681000,1013.1],[1546945981000,1012.9],[1546946281000,1012.8],[1546946581000,1012.7],[1546946881000,1012.6],[1546947181000,1012.6],[1546947481000,1012.4],[1546947781000,1012.2],[1546948081000,1012.1],[1546948381000,1012],[1546948681000,1011.9],[1546948981000,1011.7],[1546949281000,1011.7],[1546949581000,1011.6],[1546949881000,1011.7],[1546950181000,1011.7],[1546950481000,1011.6],[1546950781000,1011.5],[1546951081000,1011.5],[1546951381000,1011.4],[1546951681000,1011.3],[1546951981000,1011.2],[1546952281000,1011.1],[1546952581000,1011],[1546952881000,1011],[1546953181000,1011],[1546953481000,1010.9],[1546953781000,1010.9],[1546954081000,1010.9],[1546954381000,1010.9],[1546954681000,1010.8],[1546954981000,1010.8],[1546955281000,1010.8],[1546955581000,1010.8],[1546955881000,1010.8],[1546956181000,1010.7],[1546956481000,1010.7],[1546956781000,1010.7],[1546957081000,1010.6],[1546957381000,1010.6],[1546957681000,1010.6],[1546957981000,1010.6],[1546958281000,1010.5],[1546958581000,1010.4],[1546958881000,1010.4],[1546959181000,1010.4],[1546959481000,1010.3],[1546959781000,1010.2],[1546960081000,1010.1],[1546960381000,1010],[1546960681000,1009.9],[1546960981000,1009.8],[1546961281000,1009.8],[1546961581000,1009.6],[1546961881000,1009.5],[1546962181000,1009.4],[1546962481000,1009.4],[1546962781000,1009.3],[1546963081000,1009.2],[1546963381000,1009.1],[1546963681000,1009],[1546963981000,1009],[1546964281000,1008.9],[1546964581000,1008.9],[1546964881000,1008.9],[1546965181000,1008.9],[1546965481000,1008.8],[1546965781000,1008.7],[1546966081000,1008.7],[1546966381000,1008.6],[1546966681000,1008.6],[1546966981000,1008.5],[1546967281000,1008.4],[1546967581000,1008.4],[1546967881000,1008.4],[1546968181000,1008.4],[1546968481000,1008.3],[1546968781000,1008.3],[1546969081000,1008.2],[1546969381000,1008.2],[1546969681000,1008.2],[1546969981000,1008.1],[1546970282000,1008],[1546970581000,1008],[1546970881000,1008],[1546971181000,1007.8],[1546971481000,1007.8],[1546971781000,1007.8],[1546972081000,1007.8],[1546972381000,1007.8],[1546972681000,1007.7],[1546972981000,1007.7],[1546973281000,1007.6],[1546973581000,1007.5],[1546973881000,1007.4],[1546974181000,1007.3],[1546974481000,1007.2],[1546974781000,1007.2],[1546975081000,1007],[1546975381000,1007],[1546975681000,1007],[1546975981000,1006.9],[1546976281000,1006.8],[1546976581000,1006.8],[1546976881000,1006.7],[1546977181000,1006.6],[1546977481000,1006.5],[1546977781000,1006.5],[1546978081000,1006.4],[1546978381000,1006.4],[1546978681000,1006.3],[1546978981000,1006.2],[1546979281000,1006.1],[1546979581000,1006],[1546979881000,1006],[1546980181000,1005.9],[1546980481000,1005.9],[1546980781000,1005.9],[1546981081000,1005.8],[1546981381000,1005.8],[1546981681000,1005.7],[1546981981000,1005.7],[1546982281000,1005.7],[1546982581000,1005.7],[1546982881000,1005.7],[1546983181000,1005.7],[1546983481000,1005.6],[1546983781000,1005.5],[1546984081000,1005.5],[1546984381000,1005.4],[1546984681000,1005.4],[1546984981000,1005.3],[1546985281000,1005.3],[1546985581000,1005.3],[1546985881000,1005.2],[1546986181000,1005.2],[1546986481000,1005.1],[1546986781000,1005],[1546987081000,1004.9],[1546987381000,1004.8],[1546987681000,1004.8],[1546987981000,1004.7],[1546988281000,1004.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: [[1546902001000,9.839999988],[1546902181000,8.64],[1546902481000,5.76],[1546902781000,7.128],[1546903081000,8.856],[1546903381000,7.92],[1546903681000,9.288],[1546903981000,8.64],[1546904281000,5.616],[1546904581000,5.832],[1546904881000,3.456],[1546905181000,3.6],[1546905481000,7.56],[1546905781000,7.632],[1546906081000,4.32],[1546906381000,3.528],[1546906681000,6.048],[1546906981000,5.184],[1546907281000,4.104],[1546907581000,4.392],[1546907881000,4.248],[1546908181000,3.384],[1546908481000,5.976],[1546908781000,4.536],[1546909081000,3.24],[1546909382000,2.304],[1546909681000,3.096],[1546909981000,3.024],[1546910281000,4.392],[1546910581000,4.464],[1546910881000,2.016],[1546911181000,3.096],[1546911481000,4.248],[1546911781000,3.096],[1546912081000,1.728],[1546912381000,2.376],[1546912681000,5.832],[1546912981000,4.392],[1546913281000,4.968],[1546913581000,3.6],[1546913881000,3.024],[1546914181000,3.672],[1546914481000,3.456],[1546914781000,4.824],[1546915081000,4.104],[1546915381000,2.88],[1546915682000,3.816],[1546915981000,3.096],[1546916281000,4.176],[1546916581000,3.672],[1546916881000,5.04],[1546917181000,4.104],[1546917481000,4.968],[1546917782000,3.312],[1546918081000,3.888],[1546918381000,1.656],[1546918681000,3.096],[1546918981000,4.68],[1546919281000,3.24],[1546919581000,2.304],[1546919881000,5.256],[1546920181000,3.96],[1546920481000,4.32],[1546920781000,3.312],[1546921081000,3.312],[1546921381000,4.104],[1546921681000,4.536],[1546921981000,5.616],[1546922281000,4.536],[1546922581000,5.688],[1546922881000,5.976],[1546923182000,3.384],[1546923481000,4.896],[1546923781000,4.68],[1546924081000,4.896],[1546924381000,5.688],[1546924681000,3.24],[1546924981000,2.88],[1546925282000,3.96],[1546925581000,4.104],[1546925881000,3.528],[1546926181000,4.248],[1546926482000,4.824],[1546926781000,2.088],[1546927081000,4.392],[1546927381000,4.968],[1546927681000,5.904],[1546927981000,8.424],[1546928281000,8.784],[1546928581000,5.976],[1546928881000,6.984],[1546929181000,5.544],[1546929481000,4.536],[1546929781000,3.312],[1546930081000,4.608],[1546930381000,3.168],[1546930681000,4.464],[1546930981000,4.968],[1546931281000,4.752],[1546931581000,4.248],[1546931881000,4.464],[1546932181000,5.76],[1546932481000,6.336],[1546932781000,6.48],[1546933082000,3.744],[1546933381000,3.816],[1546933681000,4.32],[1546933981000,4.392],[1546934281000,5.616],[1546934581000,5.112],[1546934881000,6.336],[1546935181000,8.784],[1546935481000,7.992],[1546935781000,7.2],[1546936081000,7.128],[1546936382000,8.856],[1546936681000,9.144],[1546936981000,8.784],[1546937281000,7.992],[1546937581000,8.208],[1546937881000,10.296],[1546938181000,9.648],[1546938481000,9.072],[1546938782000,9],[1546939081000,9.216],[1546939381000,10.296],[1546939681000,10.8],[1546939981000,10.44],[1546940281000,8.064],[1546940581000,6.912],[1546940881000,7.488],[1546941181000,9.36],[1546941481000,7.344],[1546941781000,5.76],[1546942081000,4.968],[1546942381000,3.384],[1546942681000,5.832],[1546942981000,3.96],[1546943281000,6.48],[1546943581000,3.96],[1546943881000,4.392],[1546944181000,5.904],[1546944481000,6.192],[1546944781000,6.912],[1546945081000,3.888],[1546945381000,3.384],[1546945681000,2.664],[1546945981000,2.952],[1546946281000,3.096],[1546946581000,4.608],[1546946881000,5.472],[1546947181000,5.184],[1546947482000,2.88],[1546947781000,5.04],[1546948081000,6.336],[1546948381000,7.2],[1546948681000,6.768],[1546948981000,9.216],[1546949281000,10.512],[1546949581000,6.984],[1546949881000,6.264],[1546950181000,7.344],[1546950481000,7.92],[1546950781000,8.064],[1546951081000,9.072],[1546951381000,10.728],[1546951681000,6.912],[1546951981000,7.344],[1546952281000,5.544],[1546952581000,8.28],[1546952881000,9.864],[1546953181000,9.216],[1546953481000,9.072],[1546953781000,9.864],[1546954081000,11.88],[1546954381000,7.992],[1546954681000,9],[1546954982000,10.728],[1546955281000,9.216],[1546955581000,10.368],[1546955881000,7.992],[1546956181000,8.712],[1546956481000,8.136],[1546956781000,7.92],[1546957081000,7.2],[1546957381000,7.2],[1546957681000,8.424],[1546957981000,7.56],[1546958281000,6.192],[1546958581000,4.68],[1546958881000,5.4],[1546959181000,6.192],[1546959481000,3.816],[1546959781000,4.032],[1546960081000,8.136],[1546960381000,7.92],[1546960681000,8.064],[1546960981000,6.264],[1546961282000,6.48],[1546961581000,6.984],[1546961881000,6.696],[1546962181000,7.92],[1546962482000,5.904],[1546962781000,7.272],[1546963081000,7.56],[1546963381000,6.768],[1546963681000,8.784],[1546963981000,6.336],[1546964281000,7.56],[1546964581000,9.072],[1546964881000,8.208],[1546965181000,8.496],[1546965481000,8.784],[1546965781000,9.288],[1546966081000,8.64],[1546966381000,8.856],[1546966681000,7.848],[1546966981000,5.328],[1546967281000,8.712],[1546967581000,7.2],[1546967881000,5.688],[1546968181000,7.128],[1546968481000,7.56],[1546968781000,8.856],[1546969081000,6.552],[1546969381000,7.992],[1546969681000,4.032],[1546969981000,4.608],[1546970281000,6.192],[1546970581000,2.448],[1546970881000,4.968],[1546971181000,2.808],[1546971481000,6.192],[1546971781000,6.264],[1546972081000,3.384],[1546972381000,6.768],[1546972681000,5.76],[1546972981000,7.344],[1546973281000,6.84],[1546973581000,6.048],[1546973881000,3.024],[1546974181000,4.392],[1546974481000,2.736],[1546974781000,1.152],[1546975081000,2.232],[1546975381000,1.368],[1546975681000,1.584],[1546975981000,0.864],[1546976281000,4.104],[1546976581000,3.096],[1546976881000,3.168],[1546977181000,1.584],[1546977481000,0.648],[1546977781000,0],[1546978081000,0],[1546978381000,0.576],[1546978681000,0],[1546978981000,0],[1546979282000,0],[1546979581000,0.432],[1546979881000,0.864],[1546980181000,0],[1546980481000,0.432],[1546980781000,1.296],[1546981081000,2.16],[1546981381000,4.392],[1546981682000,3.816],[1546981981000,3.384],[1546982281000,2.232],[1546982581000,3.816],[1546982881000,3.528],[1546983181000,3.096],[1546983481000,4.464],[1546983781000,4.896],[1546984081000,4.176],[1546984381000,2.232],[1546984681000,1.944],[1546984981000,1.296],[1546985281000,0.864],[1546985581000,0.72],[1546985881000,1.656],[1546986181000,1.944],[1546986481000,2.88],[1546986781000,4.68],[1546987081000,5.832],[1546987381000,4.392],[1546987681000,4.392],[1546987981000,4.536],[1546988281000,6.48],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1546902001000,15.4908],[1546902181000,13.24656],[1546902481000,8.93376],[1546902781000,11.15568],[1546903081000,14.11704],[1546903381000,12.36816],[1546903681000,14.74704],[1546903981000,13.49568],[1546904281000,8.86608],[1546904581000,9.15696],[1546904881000,5.65416],[1546905181000,5.6232],[1546905481000,11.93976],[1546905781000,11.9268],[1546906081000,6.70968],[1546906381000,5.6988],[1546906681000,9.51984],[1546906981000,8.27064],[1546907281000,6.5232],[1546907581000,6.81696],[1546907881000,6.91344],[1546908181000,5.35464],[1546908481000,9.4788],[1546908781000,7.04952],[1546909081000,4.7952],[1546909382000,3.58488],[1546909681000,5.05224],[1546909981000,4.67856],[1546910281000,6.99264],[1546910581000,7.2324],[1546910881000,3.17592],[1546911181000,4.86936],[1546911481000,6.69672],[1546911781000,4.78296],[1546912081000,2.69712],[1546912381000,3.65256],[1546912681000,9.21024],[1546912981000,7.07472],[1546913281000,7.83144],[1546913581000,5.76864],[1546913881000,4.83336],[1546914181000,5.82624],[1546914481000,5.25672],[1546914781000,7.64136],[1546915081000,6.63696],[1546915381000,4.50144],[1546915682000,5.8644],[1546915981000,4.85928],[1546916281000,6.61104],[1546916581000,5.86728],[1546916881000,7.89408],[1546917181000,6.30936],[1546917481000,7.75152],[1546917782000,5.18688],[1546918081000,6.24816],[1546918381000,2.5776],[1546918681000,4.94784],[1546918981000,7.25616],[1546919281000,4.93272],[1546919581000,3.46824],[1546919881000,8.53272],[1546920181000,6.5304],[1546920481000,6.82992],[1546920781000,5.34528],[1546921081000,5.23584],[1546921381000,6.61608],[1546921681000,7.08264],[1546921981000,9.07632],[1546922281000,7.20216],[1546922581000,9.14328],[1546922881000,9.65088],[1546923182000,5.2524],[1546923481000,7.632],[1546923781000,7.452],[1546924081000,7.81416],[1546924381000,9.18648],[1546924681000,5.31216],[1546924981000,4.53456],[1546925282000,6.24528],[1546925581000,6.45264],[1546925881000,5.69016],[1546926181000,6.89112],[1546926482000,7.67304],[1546926781000,3.18888],[1546927081000,6.97176],[1546927381000,7.90272],[1546927681000,9.42048],[1546927981000,13.61808],[1546928281000,13.94496],[1546928581000,9.62928],[1546928881000,10.91088],[1546929181000,8.89488],[1546929481000,7.17912],[1546929781000,5.14368],[1546930081000,7.23312],[1546930381000,5.06736],[1546930681000,7.07328],[1546930981000,7.85592],[1546931281000,7.63848],[1546931581000,6.70176],[1546931881000,7.1892],[1546932181000,8.94816],[1546932481000,10.32552],[1546932781000,10.36584],[1546933082000,5.97096],[1546933381000,6.10488],[1546933681000,6.81624],[1546933981000,7.0164],[1546934281000,8.80272],[1546934581000,8.42472],[1546934881000,10.2492],[1546935181000,14.00616],[1546935481000,13.0212],[1546935781000,11.55096],[1546936081000,11.34072],[1546936382000,13.81464],[1546936681000,14.5764],[1546936981000,14.04216],[1546937281000,12.77208],[1546937581000,12.91104],[1546937881000,16.15608],[1546938181000,15.2568],[1546938481000,14.44104],[1546938782000,14.1084],[1546939081000,14.90688],[1546939381000,16.37136],[1546939681000,17.22168],[1546939981000,16.69248],[1546940281000,13.0212],[1546940581000,11.20968],[1546940881000,12.06504],[1546941181000,14.7672],[1546941481000,11.73312],[1546941781000,9.15192],[1546942081000,7.87968],[1546942381000,5.48568],[1546942681000,9.34632],[1546942981000,6.07536],[1546943281000,10.20024],[1546943581000,6.26112],[1546943881000,7.18416],[1546944181000,9.38592],[1546944481000,9.93888],[1546944781000,11.65752],[1546945081000,6.21288],[1546945381000,5.39136],[1546945681000,4.40568],[1546945981000,4.85496],[1546946281000,4.97592],[1546946581000,7.21944],[1546946881000,8.54352],[1546947181000,8.0496],[1546947482000,4.46184],[1546947781000,8.05392],[1546948081000,9.84024],[1546948381000,11.2536],[1546948681000,10.68048],[1546948981000,14.9868],[1546949281000,17.4672],[1546949581000,10.91376],[1546949881000,9.96912],[1546950181000,12.4596],[1546950481000,12.88728],[1546950781000,12.81744],[1546951081000,14.37048],[1546951381000,17.31672],[1546951681000,10.90872],[1546951981000,11.46888],[1546952281000,8.88408],[1546952581000,12.94416],[1546952881000,15.99048],[1546953181000,15.1128],[1546953481000,14.70672],[1546953781000,16.34976],[1546954081000,19.51704],[1546954381000,12.8016],[1546954681000,14.80392],[1546954982000,17.29584],[1546955281000,14.83848],[1546955581000,16.50096],[1546955881000,12.70728],[1546956181000,13.78728],[1546956481000,12.6],[1546956781000,12.48624],[1546957081000,11.42712],[1546957381000,11.58552],[1546957681000,13.76352],[1546957981000,12.12336],[1546958281000,9.88128],[1546958581000,7.47072],[1546958881000,8.42184],[1546959181000,9.97992],[1546959481000,5.88744],[1546959781000,6.24168],[1546960081000,12.5712],[1546960381000,12.46176],[1546960681000,12.68352],[1546960981000,9.99288],[1546961282000,10.03104],[1546961581000,10.85688],[1546961881000,10.512],[1546962181000,12.34656],[1546962482000,9.41688],[1546962781000,11.37816],[1546963081000,11.82744],[1546963381000,10.7856],[1546963681000,13.73544],[1546963981000,10.00224],[1546964281000,11.95128],[1546964581000,14.45472],[1546964881000,12.96792],[1546965181000,13.30704],[1546965481000,13.89024],[1546965781000,14.70384],[1546966081000,13.59432],[1546966381000,13.99752],[1546966681000,12.4416],[1546966981000,8.47296],[1546967281000,13.69368],[1546967581000,11.33928],[1546967881000,9.03096],[1546968181000,11.54808],[1546968481000,12.20688],[1546968781000,14.25024],[1546969081000,10.64016],[1546969381000,12.82464],[1546969681000,6.34536],[1546969981000,7.39152],[1546970281000,9.8784],[1546970581000,3.92688],[1546970881000,7.98336],[1546971181000,4.41864],[1546971481000,9.72504],[1546971781000,9.62136],[1546972081000,5.29416],[1546972381000,10.4796],[1546972681000,9.01512],[1546972981000,11.99304],[1546973281000,10.97136],[1546973581000,9.58032],[1546973881000,4.71528],[1546974181000,6.84072],[1546974481000,4.26672],[1546974781000,1.80504],[1546975081000,3.4272],[1546975381000,2.09592],[1546975681000,2.34],[1546975981000,1.38888],[1546976281000,6.15312],[1546976581000,4.69368],[1546976881000,4.93488],[1546977181000,2.448],[1546977481000,1.00944],[1546977781000,0],[1546978081000,0.0576],[1546978381000,0.94032],[1546978681000,0],[1546978981000,0],[1546979282000,0],[1546979581000,0.56592],[1546979881000,1.35216],[1546980181000,0],[1546980481000,0.65808],[1546980781000,1.9512],[1546981081000,3.37824],[1546981381000,6.72624],[1546981682000,5.95656],[1546981981000,5.3784],[1546982281000,3.62376],[1546982581000,6.12216],[1546982881000,5.60088],[1546983181000,4.68216],[1546983481000,7.02576],[1546983781000,7.6464],[1546984081000,6.62832],[1546984381000,3.402],[1546984681000,2.98152],[1546984981000,2.01384],[1546985281000,1.37376],[1546985581000,1.13832],[1546985881000,2.64024],[1546986181000,2.94264],[1546986481000,4.47336],[1546986781000,7.37208],[1546987081000,9.2808],[1546987381000,6.71328],[1546987681000,6.96888],[1546987981000,7.2468],[1546988281000,10.323],], 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: [[1546902001000,149.30000000],[1546902181000,159.56000000],[1546902481000,173.86000000],[1546902781000,163.22000000],[1546903081000,163.22000000],[1546903381000,154.66000000],[1546903681000,159.94000000],[1546903981000,164.88000000],[1546904281000,147.26000000],[1546904581000,143.16000000],[1546904881000,144.82000000],[1546905181000,162.00000000],[1546905481000,159.14000000],[1546905781000,144.00000000],[1546906081000,137.86000000],[1546906381000,165.24000000],[1546906681000,148.90000000],[1546906981000,141.96000000],[1546907281000,110.46000000],[1546907581000,120.66000000],[1546907881000,131.32000000],[1546908181000,131.30000000],[1546908481000,140.72000000],[1546908781000,140.32000000],[1546909081000,109.64000000],[1546909382000,133.38000000],[1546909681000,122.32000000],[1546909981000,141.12000000],[1546910281000,130.10000000],[1546910581000,138.28000000],[1546910881000,111.68000000],[1546911181000,90.82000000],[1546911481000,107.60000000],[1546911781000,104.32000000],[1546912081000,132.12000000],[1546912381000,81.42000000],[1546912681000,74.46000000],[1546912981000,50.72000000],[1546913281000,45.42000000],[1546913581000,72.42000000],[1546913881000,73.22000000],[1546914181000,45.42000000],[1546914481000,74.84000000],[1546914781000,68.72000000],[1546915081000,56.46000000],[1546915381000,63.42000000],[1546915682000,63.42000000],[1546915981000,70.76000000],[1546916281000,56.84000000],[1546916581000,58.08000000],[1546916881000,45.40000000],[1546917181000,50.30000000],[1546917481000,32.74000000],[1546917782000,32.32000000],[1546918081000,35.18000000],[1546918381000,144.80000000],[1546918681000,31.08000000],[1546918981000,43.78000000],[1546919281000,80.98000000],[1546919581000,89.20000000],[1546919881000,55.64000000],[1546920181000,85.50000000],[1546920481000,46.64000000],[1546920781000,78.14000000],[1546921081000,101.44000000],[1546921381000,83.48000000],[1546921681000,74.86000000],[1546921981000,40.92000000],[1546922281000,51.54000000],[1546922581000,32.72000000],[1546922881000,44.18000000],[1546923182000,64.64000000],[1546923481000,85.50000000],[1546923781000,87.14000000],[1546924081000,82.22000000],[1546924381000,86.32000000],[1546924681000,103.48000000],[1546924981000,99.00000000],[1546925282000,56.04000000],[1546925581000,86.30000000],[1546925881000,93.70000000],[1546926181000,97.36000000],[1546926482000,77.72000000],[1546926781000,85.10000000],[1546927081000,60.96000000],[1546927381000,45.80000000],[1546927681000,75.26000000],[1546927981000,69.52000000],[1546928281000,75.28000000],[1546928581000,88.78000000],[1546928881000,75.30000000],[1546929181000,59.30000000],[1546929481000,57.28000000],[1546929781000,66.68000000],[1546930081000,43.34000000],[1546930381000,40.50000000],[1546930681000,62.16000000],[1546930981000,66.24000000],[1546931281000,65.86000000],[1546931581000,41.32000000],[1546931881000,50.72000000],[1546932181000,42.56000000],[1546932481000,53.18000000],[1546932781000,33.14000000],[1546933082000,18.82000000],[1546933381000,58.50000000],[1546933681000,66.68000000],[1546933981000,69.16000000],[1546934281000,52.36000000],[1546934581000,72.80000000],[1546934881000,37.64000000],[1546935181000,26.60000000],[1546935481000,35.58000000],[1546935781000,26.20000000],[1546936081000,37.24000000],[1546936382000,15.54000000],[1546936681000,27.82000000],[1546936981000,38.86000000],[1546937281000,25.78000000],[1546937581000,20.86000000],[1546937881000,20.06000000],[1546938181000,18.82000000],[1546938481000,19.64000000],[1546938782000,13.50000000],[1546939081000,14.30000000],[1546939381000,12.26000000],[1546939681000,23.72000000],[1546939981000,24.16000000],[1546940281000,18.42000000],[1546940581000,27.82000000],[1546940881000,22.50000000],[1546941181000,24.96000000],[1546941481000,21.66000000],[1546941781000,17.58000000],[1546942081000,42.56000000],[1546942381000,29.86000000],[1546942681000,28.62000000],[1546942981000,38.08000000],[1546943281000,42.96000000],[1546943581000,50.32000000],[1546943881000,50.74000000],[1546944181000,39.28000000],[1546944481000,34.36000000],[1546944781000,25.76000000],[1546945081000,39.30000000],[1546945381000,34.36000000],[1546945681000,54.40000000],[1546945981000,25.78000000],[1546946281000,18.00000000],[1546946581000,8.20000000],[1546946881000,22.08000000],[1546947181000,36.40000000],[1546947482000,11.86000000],[1546947781000,25.76000000],[1546948081000,17.18000000],[1546948381000,25.36000000],[1546948681000,31.48000000],[1546948981000,40.50000000],[1546949281000,40.90000000],[1546949581000,40.06000000],[1546949881000,52.36000000],[1546950181000,59.32000000],[1546950481000,54.84000000],[1546950781000,24.56000000],[1546951081000,26.58000000],[1546951381000,22.10000000],[1546951681000,30.28000000],[1546951981000,21.68000000],[1546952281000,27.42000000],[1546952581000,19.64000000],[1546952881000,31.90000000],[1546953181000,35.60000000],[1546953481000,29.04000000],[1546953781000,38.46000000],[1546954081000,40.52000000],[1546954381000,38.86000000],[1546954681000,48.26000000],[1546954982000,22.12000000],[1546955281000,19.64000000],[1546955581000,22.48000000],[1546955881000,31.50000000],[1546956181000,21.28000000],[1546956481000,23.74000000],[1546956781000,27.80000000],[1546957081000,43.76000000],[1546957381000,58.50000000],[1546957681000,31.10000000],[1546957981000,28.64000000],[1546958281000,73.64000000],[1546958581000,25.78000000],[1546958881000,15.14000000],[1546959181000,31.48000000],[1546959481000,60.56000000],[1546959781000,20.04000000],[1546960081000,16.38000000],[1546960381000,13.10000000],[1546960681000,26.60000000],[1546960981000,11.06000000],[1546961282000,20.06000000],[1546961581000,29.86000000],[1546961881000,9.00000000],[1546962181000,11.46000000],[1546962482000,20.04000000],[1546962781000,25.76000000],[1546963081000,19.20000000],[1546963381000,22.90000000],[1546963681000,24.12000000],[1546963981000,13.90000000],[1546964281000,27.82000000],[1546964581000,15.12000000],[1546964881000,19.24000000],[1546965181000,20.88000000],[1546965481000,27.80000000],[1546965781000,20.88000000],[1546966081000,22.88000000],[1546966381000,20.46000000],[1546966681000,25.78000000],[1546966981000,19.24000000],[1546967281000,27.44000000],[1546967581000,24.98000000],[1546967881000,61.36000000],[1546968181000,31.50000000],[1546968481000,40.10000000],[1546968781000,38.88000000],[1546969081000,45.82000000],[1546969381000,34.34000000],[1546969681000,74.06000000],[1546969981000,36.82000000],[1546970281000,42.98000000],[1546970581000,55.24000000],[1546970881000,20.04000000],[1546971181000,17.58000000],[1546971481000,6.96000000],[1546971781000,26.18000000],[1546972081000,25.34000000],[1546972381000,17.62000000],[1546972681000,29.04000000],[1546972981000,30.28000000],[1546973281000,37.62000000],[1546973581000,33.94000000],[1546973881000,34.76000000],[1546974181000,27.00000000],[1546974481000,91.62000000],[1546974781000,28.64000000],[1546975081000,76.50000000],[1546975381000,27.00000000],[1546975681000,0.00000000],[1546975981000,2.04000000],[1546976281000,9.82000000],[1546976581000,13.50000000],[1546976881000,11.04000000],[1546977181000,10.24000000],[1546977481000,0.00000000],[1546977781000,0.00000000],[1546978081000,33.54000000],[1546978381000,76.90000000],[1546978681000,57.68000000],[1546978981000,77.74000000],[1546979282000,55.22000000],[1546979581000,155.06000000],[1546979881000,290.46000000],[1546980181000,315.00000000],[1546980481000,277.36000000],[1546980781000,91.62000000],[1546981081000,63.42000000],[1546981381000,38.46000000],[1546981682000,30.30000000],[1546981981000,31.52000000],[1546982281000,63.44000000],[1546982581000,50.72000000],[1546982881000,54.00000000],[1546983181000,75.28000000],[1546983481000,76.48000000],[1546983781000,46.64000000],[1546984081000,24.14000000],[1546984381000,51.14000000],[1546984681000,77.32000000],[1546984981000,90.00000000],[1546985281000,102.28000000],[1546985581000,90.00000000],[1546985881000,73.22000000],[1546986181000,149.72000000],[1546986481000,94.10000000],[1546986781000,78.12000000],[1546987081000,21.66000000],[1546987381000,33.96000000],[1546987681000,45.38000000],[1546987981000,66.70000000],[1546988281000,84.90000000],], 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: [[1546944901000,0.55880000],[1546950361000,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; }