var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1780956054000,13.00000000],[1780956182000,13.12000000],[1780956502000,13.12500000],[1780956751000,12.96000000],[1780957078000,13.02000000],[1780957398000,13.12500000],[1780957651000,13.14000000],[1780957974000,13.20000000],[1780958294000,13.20000000],[1780958550000,13.28000000],[1780958870000,13.18000000],[1780959190000,13.04000000],[1780959510000,13.00000000],[1780959751000,13.00000000],[1780960071000,12.96000000],[1780960391000,12.82000000],[1780960711000,12.67500000],[1780960967000,12.60000000],[1780961286000,12.60000000],[1780961607000,12.62500000],[1780961863000,12.56000000],[1780962183000,12.36000000],[1780962503000,12.22500000],[1780962758000,12.02000000],[1780963079000,12.08000000],[1780963399000,11.92500000],[1780963653000,11.34000000],[1780963975000,11.22000000],[1780964295000,11.30000000],[1780964566000,11.40000000],[1780964886000,11.64000000],[1780965206000,11.52500000],[1780965462000,11.36000000],[1780965782000,11.22000000],[1780966102000,11.15000000],[1780966358000,11.00000000],[1780966678000,11.02000000],[1780966998000,11.00000000],[1780967252000,11.08000000],[1780967574000,10.94000000],[1780967894000,10.82500000],[1780968150000,10.90000000],[1780968453000,10.90000000],[1780968775000,10.80000000],[1780969094000,10.77500000],[1780969351000,10.68000000],[1780969670000,10.56000000],[1780969991000,10.50000000],[1780970311000,10.55000000],[1780970568000,10.56000000],[1780970887000,10.44000000],[1780971208000,10.27500000],[1780971463000,10.16000000],[1780971798000,10.12500000],[1780972052000,10.32000000],[1780972374000,10.34000000],[1780972694000,10.30000000],[1780972950000,10.30000000],[1780973270000,10.30000000],[1780973590000,10.32000000],[1780973910000,10.40000000],[1780974166000,10.46000000],[1780974486000,10.50000000],[1780974806000,10.45000000],[1780975062000,10.40000000],[1780975382000,10.42000000],[1780975702000,10.55000000],[1780975952000,10.64000000],[1780976252000,10.80000000],[1780976567000,11.12000000],[1780976886000,11.56000000],[1780977207000,11.85000000],[1780977463000,12.20000000],[1780977782000,12.48000000],[1780978103000,12.80000000],[1780978358000,13.50000000],[1780978679000,14.18000000],[1780978999000,14.75000000],[1780979253000,15.08000000],[1780979575000,15.52000000],[1780979895000,15.70000000],[1780980166000,16.04000000],[1780980486000,16.74000000],[1780980806000,17.10000000],[1780981062000,17.92000000],[1780981382000,18.46000000],[1780981702000,18.55000000],[1780981958000,18.72000000],[1780982278000,18.64000000],[1780982599000,19.05000000],[1780982853000,19.54000000],[1780983175000,19.62000000],[1780983498000,19.85000000],[1780983766000,20.34000000],[1780984087000,20.98000000],[1780984407000,21.20000000],[1780984663000,21.20000000],[1780984984000,21.14000000],[1780985303000,21.25000000],[1780985559000,21.30000000],[1780985880000,21.60000000],[1780986199000,22.17500000],[1780986454000,22.44000000],[1780986775000,22.62000000],[1780987095000,22.87500000],[1780987351000,23.06000000],[1780987671000,23.40000000],[1780987991000,23.42000000],[1780988310000,23.77500000],[1780988568000,24.24000000],[1780988887000,24.16000000],[1780989207000,24.30000000],[1780989462000,24.50000000],[1780989783000,24.78000000],[1780990102000,25.12500000],[1780990358000,25.60000000],[1780990678000,25.84000000],[1780990998000,25.72500000],[1780991254000,25.66000000],[1780991574000,25.96000000],[1780991895000,26.92500000],[1780992151000,26.96000000],[1780992474000,26.38000000],[1780992807000,26.87500000],[1780993062000,27.98000000],[1780993382000,27.54000000],[1780993702000,26.87500000],[1780993958000,27.36000000],[1780994278000,27.68000000],[1780994598000,27.67500000],[1780994852000,27.68000000],[1780995174000,27.70000000],[1780995494000,27.67500000],[1780995750000,27.96000000],[1780996070000,28.10000000],[1780996390000,27.90000000],[1780996710000,28.35000000],[1780996966000,28.12000000],[1780997253000,28.34000000],[1780997574000,28.34000000],[1780997895000,28.12500000],[1780998150000,28.54000000],[1780998470000,28.24000000],[1780998790000,28.56000000],[1780999110000,29.37500000],[1780999366000,29.66000000],[1780999703000,29.95000000],[1780999958000,29.70000000],[1781000279000,29.10000000],[1781000598000,29.45000000],[1781000853000,29.54000000],[1781001191000,29.90000000],[1781001510000,30.50000000],[1781001767000,30.22000000],[1781002102000,30.35000000],[1781002358000,30.26000000],[1781002679000,29.72500000],[1781002950000,29.60000000],[1781003270000,29.60000000],[1781003590000,29.32000000],[1781003911000,28.80000000],[1781004167000,28.26000000],[1781004487000,28.12000000],[1781004806000,28.42500000],[1781005062000,28.76000000],[1781005382000,28.42000000],[1781005703000,28.52500000],[1781005959000,28.98000000],[1781006279000,29.40000000],[1781006598000,28.75000000],[1781006854000,28.62000000],[1781007175000,28.88000000],[1781007494000,28.50000000],[1781007750000,28.84000000],[1781008070000,29.94000000],[1781008390000,30.40000000],[1781008710000,31.10000000],[1781008967000,30.68000000],[1781009287000,29.64000000],[1781009606000,29.10000000],[1781009862000,27.74000000],[1781010182000,26.86000000],[1781010502000,27.05000000],[1781010758000,27.50000000],[1781011078000,27.70000000],[1781011398000,27.82500000],[1781011652000,27.86000000],[1781011973000,27.46000000],[1781012293000,27.40000000],[1781012550000,27.50000000],[1781012869000,27.62000000],[1781013190000,27.64000000],[1781013509000,27.27500000],[1781013766000,26.74000000],[1781014085000,27.12000000],[1781014405000,27.32500000],[1781014652000,27.20000000],[1781014982000,27.50000000],[1781015302000,26.47500000],[1781015558000,25.46000000],[1781015878000,24.70000000],[1781016199000,24.47500000],[1781016454000,24.30000000],[1781016775000,24.50000000],[1781017094000,24.60000000],[1781017351000,24.74000000],[1781017671000,25.46000000],[1781017990000,25.52000000],[1781018310000,25.20000000],[1781018567000,24.78000000],[1781018886000,24.60000000],[1781019206000,24.77500000],[1781019463000,25.00000000],[1781019782000,25.00000000],[1781020102000,25.00000000],[1781020360000,24.86000000],[1781020678000,24.68000000],[1781020998000,24.50000000],[1781021253000,24.16000000],[1781021574000,23.36000000],[1781021894000,22.62500000],[1781022150000,22.58000000],[1781022470000,22.42000000],[1781022790000,22.12000000],[1781023110000,21.75000000],[1781023367000,21.38000000],[1781023686000,21.06000000],[1781024006000,20.87500000],[1781024262000,20.80000000],[1781024582000,20.82000000],[1781024902000,20.95000000],[1781025158000,20.86000000],[1781025478000,20.76000000],[1781025798000,20.80000000],[1781026054000,20.88000000],[1781026374000,21.00000000],[1781026694000,21.00000000],[1781026951000,20.90000000],[1781027270000,20.86000000],[1781027590000,20.90000000],[1781027911000,20.75000000],[1781028166000,20.72000000],[1781028487000,20.80000000],[1781028806000,20.77500000],[1781029062000,20.62000000],[1781029382000,20.48000000],[1781029702000,20.32500000],[1781029958000,20.26000000],[1781030278000,20.20000000],[1781030599000,20.17500000],[1781030854000,20.18000000],[1781031174000,20.04000000],[1781031495000,20.07500000],[1781031750000,20.10000000],[1781032070000,20.00000000],[1781032390000,19.74000000],[1781032714000,19.52500000],[1781032982000,19.32000000],[1781033302000,19.15000000],[1781033560000,19.06000000],[1781033881000,19.06000000],[1781034212000,18.55000000],[1781034469000,18.26000000],[1781034789000,18.10000000],[1781035109000,18.10000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1780956054000,11.9],[1780956182000,11.9],[1780956502000,11.8],[1780956751000,11.7],[1780957078000,11.7],[1780957398000,11.8],[1780957651000,11.9],[1780957974000,11.9],[1780958294000,12],[1780958550000,12.2],[1780958870000,12.1],[1780959190000,12],[1780959510000,12],[1780959751000,12],[1780960071000,11.9],[1780960391000,11.8],[1780960711000,11.7],[1780960967000,11.6],[1780961286000,11.6],[1780961607000,11.7],[1780961863000,11.6],[1780962183000,11.4],[1780962503000,11.3],[1780962758000,11.1],[1780963079000,11.3],[1780963399000,11.1],[1780963653000,10.6],[1780963975000,10.4],[1780964295000,10.5],[1780964566000,10.7],[1780964886000,11],[1780965206000,10.9],[1780965462000,10.7],[1780965782000,10.6],[1780966102000,10.5],[1780966358000,10.4],[1780966678000,10.4],[1780966998000,10.4],[1780967252000,10.5],[1780967574000,10.3],[1780967894000,10.2],[1780968150000,10.4],[1780968453000,10.4],[1780968775000,10.3],[1780969094000,10.3],[1780969351000,10.2],[1780969670000,10.1],[1780969991000,10],[1780970311000,10.1],[1780970568000,10.1],[1780970887000,10],[1780971208000,9.8],[1780971463000,9.7],[1780971798000,9.7],[1780972052000,9.9],[1780972374000,10],[1780972694000,10],[1780972950000,10],[1780973270000,10],[1780973590000,10],[1780973910000,10.1],[1780974166000,10.2],[1780974486000,10.2],[1780974806000,10.1],[1780975062000,10.1],[1780975382000,10.1],[1780975702000,10.2],[1780975952000,10.3],[1780976252000,10.5],[1780976567000,10.8],[1780976886000,11.3],[1780977207000,11.5],[1780977463000,11.9],[1780977782000,12.2],[1780978103000,12.4],[1780978358000,13],[1780978679000,13.3],[1780978999000,13.1],[1780979253000,12.7],[1780979575000,12.9],[1780979895000,12.9],[1780980166000,13.3],[1780980486000,13.9],[1780980806000,13.9],[1780981062000,14.4],[1780981382000,14.6],[1780981702000,14.6],[1780981958000,14.5],[1780982278000,14.3],[1780982599000,14.7],[1780982853000,14.7],[1780983175000,14.7],[1780983498000,14.7],[1780983766000,15.2],[1780984087000,15.4],[1780984407000,15.7],[1780984663000,15.1],[1780984984000,14.7],[1780985303000,14.8],[1780985559000,15],[1780985880000,15.1],[1780986199000,15.3],[1780986454000,14.6],[1780986775000,14.9],[1780987095000,14.9],[1780987351000,14.8],[1780987671000,14.4],[1780987991000,14.5],[1780988310000,14.9],[1780988568000,15.2],[1780988887000,15],[1780989207000,14.8],[1780989462000,14.6],[1780989783000,15.1],[1780990102000,15.5],[1780990358000,15.4],[1780990678000,15.4],[1780990998000,15.2],[1780991254000,15.1],[1780991574000,15.5],[1780991895000,16],[1780992151000,15.8],[1780992474000,15.7],[1780992807000,16],[1780993062000,16.7],[1780993382000,16.6],[1780993702000,16],[1780993958000,16.6],[1780994278000,16.8],[1780994598000,16.5],[1780994852000,16.9],[1780995174000,16.1],[1780995494000,16.5],[1780995750000,16.5],[1780996070000,16.8],[1780996390000,16.5],[1780996710000,16.9],[1780996966000,16.7],[1780997253000,17],[1780997574000,16.9],[1780997895000,17.3],[1780998150000,16.9],[1780998470000,17.1],[1780998790000,17.2],[1780999110000,18],[1780999366000,17.6],[1780999703000,17.5],[1780999958000,17.4],[1781000279000,17.7],[1781000598000,17.4],[1781000853000,16.7],[1781001191000,17.3],[1781001510000,17.2],[1781001767000,17.8],[1781002102000,17.1],[1781002358000,17.4],[1781002679000,16.9],[1781002950000,17.4],[1781003270000,17],[1781003590000,17.4],[1781003911000,16.8],[1781004167000,18.2],[1781004487000,18.7],[1781004806000,18],[1781005062000,17.8],[1781005382000,17.4],[1781005703000,17.2],[1781005959000,17.3],[1781006279000,17.3],[1781006598000,16.7],[1781006854000,17.2],[1781007175000,17.4],[1781007494000,17.6],[1781007750000,17.3],[1781008070000,17.2],[1781008390000,17.6],[1781008710000,17],[1781008967000,17],[1781009287000,17.2],[1781009606000,18.3],[1781009862000,18.9],[1781010182000,17.8],[1781010502000,18],[1781010758000,18.1],[1781011078000,17.3],[1781011398000,18.1],[1781011652000,19],[1781011973000,19.1],[1781012293000,19.7],[1781012550000,18.4],[1781012869000,18.5],[1781013190000,18.8],[1781013509000,19.5],[1781013766000,19],[1781014085000,16.8],[1781014405000,17],[1781014652000,16.5],[1781014982000,17.2],[1781015302000,18],[1781015558000,17.3],[1781015878000,17.4],[1781016199000,17.8],[1781016454000,17.5],[1781016775000,17.8],[1781017094000,17.9],[1781017351000,17.8],[1781017671000,17.9],[1781017990000,17.9],[1781018310000,17.8],[1781018567000,17.5],[1781018886000,17.7],[1781019206000,18],[1781019463000,17.8],[1781019782000,17.8],[1781020102000,18.2],[1781020360000,18],[1781020678000,18.1],[1781020998000,18.3],[1781021253000,18.2],[1781021574000,17.8],[1781021894000,17.5],[1781022150000,17.3],[1781022470000,17.3],[1781022790000,17.6],[1781023110000,17.8],[1781023367000,17.7],[1781023686000,17.6],[1781024006000,17.6],[1781024262000,17.4],[1781024582000,17.3],[1781024902000,17.2],[1781025158000,17.3],[1781025478000,17.2],[1781025798000,17],[1781026054000,16.8],[1781026374000,16.7],[1781026694000,16.7],[1781026951000,16.7],[1781027270000,16.4],[1781027590000,16.4],[1781027911000,16.3],[1781028166000,16.2],[1781028487000,16.2],[1781028806000,16.2],[1781029062000,16.1],[1781029382000,16.1],[1781029702000,16],[1781029958000,16.1],[1781030278000,16],[1781030599000,16],[1781030854000,16.1],[1781031174000,16.1],[1781031495000,16],[1781031750000,16.1],[1781032070000,16.1],[1781032390000,16.1],[1781032714000,16.1],[1781032982000,16],[1781033302000,15.9],[1781033560000,15.9],[1781033881000,16.1],[1781034212000,16],[1781034469000,16],[1781034789000,15.8],[1781035109000,15.9],], 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: [[1780956054000,93.00000000],[1780956182000,92.60000000],[1780956502000,92.00000000],[1780956751000,92.00000000],[1780957078000,92.00000000],[1780957398000,92.00000000],[1780957651000,92.00000000],[1780957974000,92.00000000],[1780958294000,92.25000000],[1780958550000,93.00000000],[1780958870000,93.00000000],[1780959190000,93.20000000],[1780959510000,94.00000000],[1780959751000,94.00000000],[1780960071000,93.40000000],[1780960391000,93.80000000],[1780960711000,94.00000000],[1780960967000,94.00000000],[1780961286000,94.00000000],[1780961607000,94.00000000],[1780961863000,94.00000000],[1780962183000,94.00000000],[1780962503000,94.00000000],[1780962758000,94.20000000],[1780963079000,95.00000000],[1780963399000,95.00000000],[1780963653000,95.00000000],[1780963975000,95.00000000],[1780964295000,95.00000000],[1780964566000,95.80000000],[1780964886000,95.80000000],[1780965206000,96.00000000],[1780965462000,96.00000000],[1780965782000,96.00000000],[1780966102000,96.00000000],[1780966358000,96.00000000],[1780966678000,96.00000000],[1780966998000,96.00000000],[1780967252000,96.00000000],[1780967574000,96.00000000],[1780967894000,96.25000000],[1780968150000,97.00000000],[1780968453000,97.00000000],[1780968775000,97.00000000],[1780969094000,97.00000000],[1780969351000,97.00000000],[1780969670000,97.00000000],[1780969991000,97.00000000],[1780970311000,97.00000000],[1780970568000,97.00000000],[1780970887000,97.00000000],[1780971208000,97.00000000],[1780971463000,97.00000000],[1780971798000,97.00000000],[1780972052000,97.40000000],[1780972374000,97.60000000],[1780972694000,98.00000000],[1780972950000,98.00000000],[1780973270000,98.00000000],[1780973590000,98.00000000],[1780973910000,98.00000000],[1780974166000,98.00000000],[1780974486000,98.00000000],[1780974806000,98.00000000],[1780975062000,98.00000000],[1780975382000,98.00000000],[1780975702000,98.00000000],[1780975952000,98.00000000],[1780976252000,98.00000000],[1780976567000,98.00000000],[1780976886000,98.00000000],[1780977207000,98.00000000],[1780977463000,98.00000000],[1780977782000,98.00000000],[1780978103000,97.50000000],[1780978358000,96.60000000],[1780978679000,94.40000000],[1780978999000,89.75000000],[1780979253000,85.80000000],[1780979575000,84.40000000],[1780979895000,83.50000000],[1780980166000,84.00000000],[1780980486000,83.40000000],[1780980806000,81.50000000],[1780981062000,80.00000000],[1780981382000,78.40000000],[1780981702000,78.00000000],[1780981958000,76.60000000],[1780982278000,75.80000000],[1780982599000,76.00000000],[1780982853000,73.80000000],[1780983175000,73.60000000],[1780983498000,72.50000000],[1780983766000,72.60000000],[1780984087000,70.40000000],[1780984407000,70.75000000],[1780984663000,68.40000000],[1780984984000,66.80000000],[1780985303000,67.00000000],[1780985559000,67.40000000],[1780985880000,66.80000000],[1780986199000,65.25000000],[1780986454000,61.20000000],[1780986775000,62.00000000],[1780987095000,60.75000000],[1780987351000,59.80000000],[1780987671000,57.20000000],[1780987991000,57.40000000],[1780988310000,57.75000000],[1780988568000,57.00000000],[1780988887000,56.80000000],[1780989207000,55.50000000],[1780989462000,54.00000000],[1780989783000,55.00000000],[1780990102000,55.25000000],[1780990358000,53.20000000],[1780990678000,52.60000000],[1780990998000,52.25000000],[1780991254000,52.00000000],[1780991574000,52.60000000],[1780991895000,51.25000000],[1780992151000,50.60000000],[1780992474000,51.80000000],[1780992807000,51.50000000],[1780993062000,50.40000000],[1780993382000,51.40000000],[1780993702000,51.50000000],[1780993958000,51.80000000],[1780994278000,51.40000000],[1780994598000,50.75000000],[1780994852000,52.00000000],[1780995174000,49.40000000],[1780995494000,50.75000000],[1780995750000,49.80000000],[1780996070000,50.20000000],[1780996390000,50.00000000],[1780996710000,49.75000000],[1780996966000,50.00000000],[1780997253000,50.20000000],[1780997574000,49.80000000],[1780997895000,52.00000000],[1780998150000,49.20000000],[1780998470000,50.80000000],[1780998790000,50.20000000],[1780999110000,50.50000000],[1780999366000,48.20000000],[1780999703000,47.25000000],[1780999958000,47.60000000],[1781000279000,50.20000000],[1781000598000,48.25000000],[1781000853000,46.00000000],[1781001191000,46.60000000],[1781001510000,44.75000000],[1781001767000,47.20000000],[1781002102000,45.00000000],[1781002358000,46.20000000],[1781002679000,46.00000000],[1781002950000,47.80000000],[1781003270000,46.80000000],[1781003590000,48.80000000],[1781003911000,48.25000000],[1781004167000,54.60000000],[1781004487000,56.80000000],[1781004806000,53.25000000],[1781005062000,51.40000000],[1781005382000,51.40000000],[1781005703000,50.25000000],[1781005959000,49.20000000],[1781006279000,48.00000000],[1781006598000,48.25000000],[1781006854000,50.20000000],[1781007175000,49.80000000],[1781007494000,51.75000000],[1781007750000,49.80000000],[1781008070000,46.20000000],[1781008390000,46.40000000],[1781008710000,42.75000000],[1781008967000,43.80000000],[1781009287000,47.00000000],[1781009606000,52.00000000],[1781009862000,58.60000000],[1781010182000,57.80000000],[1781010502000,57.75000000],[1781010758000,56.60000000],[1781011078000,53.00000000],[1781011398000,55.50000000],[1781011652000,58.60000000],[1781011973000,60.20000000],[1781012293000,62.75000000],[1781012550000,57.80000000],[1781012869000,57.60000000],[1781013190000,58.80000000],[1781013509000,62.50000000],[1781013766000,62.40000000],[1781014085000,53.40000000],[1781014405000,53.25000000],[1781014652000,52.20000000],[1781014982000,53.60000000],[1781015302000,59.75000000],[1781015558000,60.60000000],[1781015878000,64.00000000],[1781016199000,66.50000000],[1781016454000,66.00000000],[1781016775000,66.40000000],[1781017094000,66.50000000],[1781017351000,65.60000000],[1781017671000,63.20000000],[1781017990000,63.00000000],[1781018310000,63.50000000],[1781018567000,64.00000000],[1781018886000,65.40000000],[1781019206000,66.00000000],[1781019463000,64.40000000],[1781019782000,64.40000000],[1781020102000,66.00000000],[1781020360000,65.60000000],[1781020678000,66.80000000],[1781020998000,68.50000000],[1781021253000,69.40000000],[1781021574000,71.20000000],[1781021894000,72.75000000],[1781022150000,72.00000000],[1781022470000,72.80000000],[1781022790000,75.80000000],[1781023110000,78.25000000],[1781023367000,79.60000000],[1781023686000,80.80000000],[1781024006000,81.50000000],[1781024262000,81.00000000],[1781024582000,80.40000000],[1781024902000,79.00000000],[1781025158000,80.00000000],[1781025478000,80.00000000],[1781025798000,79.00000000],[1781026054000,77.60000000],[1781026374000,76.60000000],[1781026694000,76.75000000],[1781026951000,76.80000000],[1781027270000,75.80000000],[1781027590000,75.60000000],[1781027911000,76.00000000],[1781028166000,75.40000000],[1781028487000,75.00000000],[1781028806000,75.00000000],[1781029062000,75.60000000],[1781029382000,76.00000000],[1781029702000,76.25000000],[1781029958000,77.00000000],[1781030278000,76.80000000],[1781030599000,77.25000000],[1781030854000,77.40000000],[1781031174000,78.00000000],[1781031495000,77.75000000],[1781031750000,78.00000000],[1781032070000,78.60000000],[1781032390000,79.60000000],[1781032714000,80.75000000],[1781032982000,81.00000000],[1781033302000,81.75000000],[1781033560000,82.20000000],[1781033881000,83.20000000],[1781034212000,85.25000000],[1781034469000,86.80000000],[1781034789000,86.80000000],[1781035109000,87.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: [[1780956054000,1017],[1780956182000,1017],[1780956502000,1017],[1780956751000,1017],[1780957078000,1017],[1780957398000,1017.1],[1780957651000,1017],[1780957974000,1017],[1780958294000,1017],[1780958550000,1017],[1780958870000,1017],[1780959190000,1017],[1780959510000,1016.9],[1780959751000,1016.9],[1780960071000,1016.9],[1780960391000,1016.8],[1780960711000,1016.8],[1780960967000,1016.8],[1780961286000,1016.7],[1780961607000,1016.8],[1780961863000,1016.8],[1780962183000,1016.8],[1780962503000,1016.9],[1780962758000,1016.9],[1780963079000,1017.1],[1780963399000,1017],[1780963653000,1017],[1780963975000,1016.9],[1780964295000,1016.9],[1780964566000,1016.8],[1780964886000,1016.8],[1780965206000,1016.8],[1780965462000,1016.8],[1780965782000,1016.7],[1780966102000,1016.7],[1780966358000,1016.7],[1780966678000,1016.7],[1780966998000,1016.5],[1780967252000,1016.5],[1780967574000,1016.5],[1780967894000,1016.4],[1780968150000,1016.4],[1780968453000,1016.4],[1780968775000,1016.3],[1780969094000,1016.3],[1780969351000,1016.4],[1780969670000,1016.3],[1780969991000,1016.3],[1780970311000,1016.3],[1780970568000,1016.2],[1780970887000,1016.2],[1780971208000,1016.2],[1780971463000,1016.2],[1780971798000,1016.1],[1780972052000,1016.2],[1780972374000,1016.1],[1780972694000,1016.1],[1780972950000,1016.2],[1780973270000,1016.1],[1780973590000,1016.1],[1780973910000,1016.2],[1780974166000,1016.2],[1780974486000,1016.2],[1780974806000,1016.3],[1780975062000,1016.2],[1780975382000,1016.3],[1780975702000,1016.2],[1780975952000,1016.2],[1780976252000,1016.1],[1780976567000,1016.2],[1780976886000,1016.1],[1780977207000,1016.1],[1780977463000,1016],[1780977782000,1016],[1780978103000,1016],[1780978358000,1016],[1780978679000,1016.1],[1780978999000,1016.1],[1780979253000,1016.2],[1780979575000,1016.2],[1780979895000,1016.2],[1780980166000,1016.1],[1780980486000,1016.1],[1780980806000,1016],[1780981062000,1016],[1780981382000,1015.9],[1780981702000,1015.9],[1780981958000,1015.9],[1780982278000,1015.8],[1780982599000,1015.9],[1780982853000,1015.8],[1780983175000,1015.7],[1780983498000,1015.7],[1780983766000,1015.6],[1780984087000,1015.7],[1780984407000,1015.7],[1780984663000,1015.7],[1780984984000,1015.6],[1780985303000,1015.6],[1780985559000,1015.6],[1780985880000,1015.5],[1780986199000,1015.5],[1780986454000,1015.5],[1780986775000,1015.4],[1780987095000,1015.3],[1780987351000,1015.3],[1780987671000,1015.2],[1780987991000,1015.2],[1780988310000,1015.2],[1780988568000,1015.1],[1780988887000,1015],[1780989207000,1015],[1780989462000,1015],[1780989783000,1014.9],[1780990102000,1015],[1780990358000,1014.9],[1780990678000,1014.8],[1780990998000,1014.8],[1780991254000,1014.9],[1780991574000,1014.8],[1780991895000,1014.7],[1780992151000,1014.8],[1780992474000,1014.6],[1780992807000,1014.6],[1780993062000,1014.5],[1780993382000,1014.4],[1780993702000,1014.5],[1780993958000,1014.3],[1780994278000,1014.4],[1780994598000,1014.4],[1780994852000,1014.4],[1780995174000,1014.3],[1780995494000,1014.3],[1780995750000,1014.1],[1780996070000,1014.1],[1780996390000,1014.1],[1780996710000,1014],[1780996966000,1014],[1780997253000,1014],[1780997574000,1014],[1780997895000,1014],[1780998150000,1014],[1780998470000,1014],[1780998790000,1013.9],[1780999110000,1013.7],[1780999366000,1013.7],[1780999703000,1013.7],[1780999958000,1013.7],[1781000279000,1013.6],[1781000598000,1013.6],[1781000853000,1013.4],[1781001191000,1013.5],[1781001510000,1013.4],[1781001767000,1013.5],[1781002102000,1013.3],[1781002358000,1013.3],[1781002679000,1013.3],[1781002950000,1013.3],[1781003270000,1013.3],[1781003590000,1013.3],[1781003911000,1013.3],[1781004167000,1013.2],[1781004487000,1013.3],[1781004806000,1013.1],[1781005062000,1013.1],[1781005382000,1013],[1781005703000,1012.9],[1781005959000,1012.8],[1781006279000,1012.8],[1781006598000,1012.9],[1781006854000,1012.8],[1781007175000,1012.7],[1781007494000,1012.6],[1781007750000,1012.6],[1781008070000,1012.4],[1781008390000,1012.4],[1781008710000,1012.2],[1781008967000,1012.3],[1781009287000,1012.4],[1781009606000,1012.5],[1781009862000,1012.6],[1781010182000,1012.5],[1781010502000,1012.4],[1781010758000,1012.3],[1781011078000,1012.2],[1781011398000,1012.2],[1781011652000,1012.1],[1781011973000,1012.1],[1781012293000,1012.1],[1781012550000,1011.9],[1781012869000,1011.8],[1781013190000,1011.8],[1781013509000,1011.7],[1781013766000,1011.7],[1781014085000,1011.5],[1781014405000,1011.6],[1781014652000,1011.6],[1781014982000,1011.8],[1781015302000,1011.9],[1781015558000,1012],[1781015878000,1012],[1781016199000,1011.9],[1781016454000,1011.9],[1781016775000,1011.8],[1781017094000,1011.8],[1781017351000,1011.7],[1781017671000,1011.7],[1781017990000,1011.7],[1781018310000,1011.8],[1781018567000,1011.8],[1781018886000,1011.8],[1781019206000,1011.7],[1781019463000,1011.7],[1781019782000,1011.7],[1781020102000,1011.8],[1781020360000,1011.8],[1781020678000,1011.9],[1781020998000,1012],[1781021253000,1012.3],[1781021574000,1012.8],[1781021894000,1013.2],[1781022150000,1013.4],[1781022470000,1013.5],[1781022790000,1013.6],[1781023110000,1013.7],[1781023367000,1013.7],[1781023686000,1013.6],[1781024006000,1013.7],[1781024262000,1013.5],[1781024582000,1013.5],[1781024902000,1013.6],[1781025158000,1013.5],[1781025478000,1013.6],[1781025798000,1013.5],[1781026054000,1013.4],[1781026374000,1013.3],[1781026694000,1013.3],[1781026951000,1013.3],[1781027270000,1013.3],[1781027590000,1013.4],[1781027911000,1013.4],[1781028166000,1013.4],[1781028487000,1013.5],[1781028806000,1013.6],[1781029062000,1013.7],[1781029382000,1013.8],[1781029702000,1014],[1781029958000,1014.2],[1781030278000,1014.4],[1781030599000,1014.6],[1781030854000,1014.8],[1781031174000,1014.9],[1781031495000,1015],[1781031750000,1015],[1781032070000,1014.9],[1781032390000,1014.9],[1781032714000,1015],[1781032982000,1015.2],[1781033302000,1015.1],[1781033560000,1015.2],[1781033881000,1015.1],[1781034212000,1015.1],[1781034469000,1015],[1781034789000,1015.1],[1781035109000,1015],], 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: [[1780956054000,0],[1780956182000,0],[1780956502000,0],[1780956751000,0],[1780957078000,0],[1780957398000,0],[1780957651000,0],[1780957974000,0],[1780958294000,0],[1780958550000,0],[1780958870000,0],[1780959190000,0],[1780959510000,0],[1780959751000,0],[1780960071000,0],[1780960391000,0],[1780960711000,0],[1780960967000,0],[1780961286000,0],[1780961607000,0],[1780961863000,0],[1780962183000,0],[1780962503000,0],[1780962758000,0],[1780963079000,0],[1780963399000,0],[1780963653000,0],[1780963975000,0],[1780964295000,0],[1780964566000,0],[1780964886000,0],[1780965206000,0],[1780965462000,0],[1780965782000,0],[1780966102000,0],[1780966358000,0],[1780966678000,0],[1780966998000,0],[1780967252000,0],[1780967574000,0],[1780967894000,0],[1780968150000,0],[1780968453000,0],[1780968775000,0],[1780969094000,0],[1780969351000,0],[1780969670000,0],[1780969991000,0],[1780970311000,0],[1780970568000,0],[1780970887000,0],[1780971208000,0],[1780971463000,0],[1780971798000,0],[1780972052000,0],[1780972374000,0],[1780972694000,0],[1780972950000,0],[1780973270000,0],[1780973590000,0],[1780973910000,0],[1780974166000,0],[1780974486000,0],[1780974806000,0],[1780975062000,0],[1780975382000,0],[1780975702000,0],[1780975952000,0],[1780976252000,0],[1780976567000,0],[1780976886000,0],[1780977207000,0],[1780977463000,0],[1780977782000,0],[1780978103000,0],[1780978358000,0],[1780978679000,0],[1780978999000,0],[1780979253000,0],[1780979575000,0],[1780979895000,0],[1780980166000,0],[1780980486000,0],[1780980806000,0],[1780981062000,0],[1780981382000,0],[1780981702000,0],[1780981958000,0],[1780982278000,0],[1780982599000,0],[1780982853000,0],[1780983175000,0],[1780983498000,0],[1780983766000,0],[1780984087000,0],[1780984407000,0],[1780984663000,0.072],[1780984984000,0.288],[1780985303000,0.09],[1780985559000,0.576],[1780985880000,0],[1780986199000,0.18],[1780986454000,0.864],[1780986775000,0.144],[1780987095000,1.44],[1780987351000,0.648],[1780987671000,2.016],[1780987991000,1.296],[1780988310000,1.17],[1780988568000,0.144],[1780988887000,1.584],[1780989207000,0.63],[1780989462000,2.88],[1780989783000,0.864],[1780990102000,1.08],[1780990358000,1.944],[1780990678000,0.648],[1780990998000,1.71],[1780991254000,3.6],[1780991574000,0.288],[1780991895000,0.72],[1780992151000,2.952],[1780992474000,1.44],[1780992807000,0.72],[1780993062000,1.152],[1780993382000,1.368],[1780993702000,1.89],[1780993958000,1.944],[1780994278000,0.72],[1780994598000,1.44],[1780994852000,1.08],[1780995174000,1.368],[1780995494000,0.72],[1780995750000,1.872],[1780996070000,0.576],[1780996390000,0.144],[1780996710000,0.45],[1780996966000,0.936],[1780997253000,0.288],[1780997574000,0.144],[1780997895000,0.09],[1780998150000,0.792],[1780998470000,0.792],[1780998790000,0.576],[1780999110000,0.54],[1780999366000,3.96],[1780999703000,0.36],[1780999958000,0.072],[1781000279000,0.936],[1781000598000,1.8],[1781000853000,0.576],[1781001191000,2.016],[1781001510000,2.79],[1781001767000,0.864],[1781002102000,0.99],[1781002358000,1.512],[1781002679000,0.9],[1781002950000,0.216],[1781003270000,1.368],[1781003590000,0.432],[1781003911000,0.63],[1781004167000,0],[1781004487000,0],[1781004806000,0.54],[1781005062000,0],[1781005382000,0.144],[1781005703000,1.44],[1781005959000,1.728],[1781006279000,1.224],[1781006598000,0.36],[1781006854000,0],[1781007175000,0.072],[1781007494000,0.72],[1781007750000,0.072],[1781008070000,1.368],[1781008390000,2.304],[1781008710000,1.62],[1781008967000,3.096],[1781009287000,0.144],[1781009606000,1.26],[1781009862000,0.72],[1781010182000,0.432],[1781010502000,0],[1781010758000,0],[1781011078000,0],[1781011398000,0],[1781011652000,0],[1781011973000,0.576],[1781012293000,0.09],[1781012550000,1.728],[1781012869000,1.008],[1781013190000,0.288],[1781013509000,0],[1781013766000,0],[1781014085000,1.224],[1781014405000,0],[1781014652000,1.152],[1781014982000,3.456],[1781015302000,3.69],[1781015558000,8.064],[1781015878000,6.768],[1781016199000,4.59],[1781016454000,4.32],[1781016775000,2.88],[1781017094000,5.31],[1781017351000,4.248],[1781017671000,3.528],[1781017990000,2.736],[1781018310000,2.88],[1781018567000,5.544],[1781018886000,1.08],[1781019206000,0],[1781019463000,1.08],[1781019782000,2.088],[1781020102000,0],[1781020360000,0.648],[1781020678000,0],[1781020998000,0.45],[1781021253000,1.728],[1781021574000,3.24],[1781021894000,2.7],[1781022150000,3.816],[1781022470000,6.048],[1781022790000,2.304],[1781023110000,3.42],[1781023367000,2.376],[1781023686000,2.376],[1781024006000,5.58],[1781024262000,3.672],[1781024582000,5.76],[1781024902000,7.02],[1781025158000,4.536],[1781025478000,4.896],[1781025798000,5.22],[1781026054000,5.76],[1781026374000,5.76],[1781026694000,5.85],[1781026951000,4.392],[1781027270000,5.4],[1781027590000,3.96],[1781027911000,3.69],[1781028166000,5.04],[1781028487000,3.456],[1781028806000,2.34],[1781029062000,1.368],[1781029382000,0],[1781029702000,0],[1781029958000,0],[1781030278000,0],[1781030599000,0],[1781030854000,0],[1781031174000,0],[1781031495000,0.09],[1781031750000,0.144],[1781032070000,0],[1781032390000,0],[1781032714000,0],[1781032982000,0],[1781033302000,0],[1781033560000,0],[1781033881000,0],[1781034212000,0.99],[1781034469000,0],[1781034789000,0],[1781035109000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1780956054000,0],[1780956182000,0],[1780956502000,0],[1780956751000,0],[1780957078000,0],[1780957398000,0],[1780957651000,0],[1780957974000,0],[1780958294000,0],[1780958550000,0],[1780958870000,0],[1780959190000,0],[1780959510000,0],[1780959751000,0],[1780960071000,0],[1780960391000,0],[1780960711000,0],[1780960967000,0],[1780961286000,0],[1780961607000,0],[1780961863000,0],[1780962183000,0],[1780962503000,0],[1780962758000,0],[1780963079000,0],[1780963399000,0],[1780963653000,0],[1780963975000,0],[1780964295000,0],[1780964566000,0],[1780964886000,0],[1780965206000,0],[1780965462000,0],[1780965782000,0],[1780966102000,0],[1780966358000,0],[1780966678000,0],[1780966998000,0],[1780967252000,0],[1780967574000,0],[1780967894000,0],[1780968150000,0],[1780968453000,0],[1780968775000,0],[1780969094000,0],[1780969351000,0],[1780969670000,0],[1780969991000,0],[1780970311000,0],[1780970568000,0],[1780970887000,0],[1780971208000,0],[1780971463000,0],[1780971798000,0],[1780972052000,0],[1780972374000,0],[1780972694000,0],[1780972950000,0],[1780973270000,0],[1780973590000,0],[1780973910000,0],[1780974166000,0],[1780974486000,0],[1780974806000,0],[1780975062000,0],[1780975382000,0],[1780975702000,0],[1780975952000,0],[1780976252000,0],[1780976567000,0],[1780976886000,0],[1780977207000,0],[1780977463000,0],[1780977782000,0],[1780978103000,0],[1780978358000,0],[1780978679000,0],[1780978999000,0],[1780979253000,0],[1780979575000,0],[1780979895000,0],[1780980166000,0],[1780980486000,0],[1780980806000,0],[1780981062000,0],[1780981382000,0],[1780981702000,0],[1780981958000,0],[1780982278000,0],[1780982599000,0],[1780982853000,0],[1780983175000,0],[1780983498000,0],[1780983766000,0],[1780984087000,0],[1780984407000,0],[1780984663000,0.504],[1780984984000,0.504],[1780985303000,0.63],[1780985559000,1.008],[1780985880000,0],[1780986199000,1.26],[1780986454000,1.512],[1780986775000,1.008],[1780987095000,3.15],[1780987351000,2.016],[1780987671000,3.528],[1780987991000,3.528],[1780988310000,2.52],[1780988568000,1.008],[1780988887000,3.024],[1780989207000,3.15],[1780989462000,5.04],[1780989783000,2.016],[1780990102000,2.52],[1780990358000,3.024],[1780990678000,2.52],[1780990998000,3.78],[1780991254000,5.544],[1780991574000,1.008],[1780991895000,1.89],[1780992151000,5.04],[1780992474000,3.024],[1780992807000,2.52],[1780993062000,3.024],[1780993382000,3.024],[1780993702000,3.15],[1780993958000,3.528],[1780994278000,2.016],[1780994598000,3.15],[1780994852000,2.016],[1780995174000,2.016],[1780995494000,1.26],[1780995750000,3.024],[1780996070000,1.512],[1780996390000,1.008],[1780996710000,1.89],[1780996966000,2.016],[1780997253000,0.504],[1780997574000,1.008],[1780997895000,0.63],[1780998150000,3.024],[1780998470000,1.512],[1780998790000,1.008],[1780999110000,1.26],[1780999366000,5.04],[1780999703000,0.63],[1780999958000,0.504],[1781000279000,2.016],[1781000598000,3.78],[1781000853000,1.008],[1781001191000,3.528],[1781001510000,5.67],[1781001767000,2.016],[1781002102000,1.89],[1781002358000,2.52],[1781002679000,2.52],[1781002950000,1.008],[1781003270000,3.024],[1781003590000,0.504],[1781003911000,2.52],[1781004167000,0],[1781004487000,0],[1781004806000,1.26],[1781005062000,0],[1781005382000,1.008],[1781005703000,3.78],[1781005959000,3.528],[1781006279000,3.528],[1781006598000,0.63],[1781006854000,0],[1781007175000,0.504],[1781007494000,1.26],[1781007750000,0.504],[1781008070000,3.024],[1781008390000,4.032],[1781008710000,1.89],[1781008967000,5.04],[1781009287000,1.008],[1781009606000,1.89],[1781009862000,2.52],[1781010182000,0.504],[1781010502000,0],[1781010758000,0],[1781011078000,0],[1781011398000,0],[1781011652000,0],[1781011973000,1.008],[1781012293000,0.63],[1781012550000,2.52],[1781012869000,1.512],[1781013190000,0.504],[1781013509000,0],[1781013766000,0],[1781014085000,1.512],[1781014405000,0],[1781014652000,1.512],[1781014982000,5.04],[1781015302000,7.56],[1781015558000,12.744],[1781015878000,9.144],[1781016199000,5.67],[1781016454000,6.048],[1781016775000,4.032],[1781017094000,6.93],[1781017351000,6.552],[1781017671000,5.544],[1781017990000,4.032],[1781018310000,5.04],[1781018567000,8.064],[1781018886000,1.512],[1781019206000,0],[1781019463000,2.016],[1781019782000,3.024],[1781020102000,0],[1781020360000,1.512],[1781020678000,0],[1781020998000,1.26],[1781021253000,2.52],[1781021574000,5.04],[1781021894000,3.87],[1781022150000,7.704],[1781022470000,9.648],[1781022790000,4.032],[1781023110000,5.04],[1781023367000,3.528],[1781023686000,3.024],[1781024006000,7.02],[1781024262000,6.624],[1781024582000,8.136],[1781024902000,9.54],[1781025158000,6.048],[1781025478000,6.048],[1781025798000,6.3],[1781026054000,7.056],[1781026374000,8.064],[1781026694000,7.56],[1781026951000,7.056],[1781027270000,8.136],[1781027590000,6.048],[1781027911000,5.67],[1781028166000,6.048],[1781028487000,4.032],[1781028806000,3.15],[1781029062000,2.52],[1781029382000,0],[1781029702000,0],[1781029958000,0],[1781030278000,0],[1781030599000,0],[1781030854000,0],[1781031174000,0],[1781031495000,0.63],[1781031750000,0.504],[1781032070000,0],[1781032390000,0],[1781032714000,0],[1781032982000,0],[1781033302000,0],[1781033560000,0],[1781033881000,0],[1781034212000,1.26],[1781034469000,0],[1781034789000,0],[1781035109000,0],], color: '#EF9856', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1km/h' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-legend' } }; graphs['#chart-wind'] = $.plot('#chart-wind', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Smer vetra', data: [[1780956054000,18.00000000],[1780956182000,77.00000000],[1780956502000,22.00000000],[1780956751000,19.40000000],[1780957078000,22.60000000],[1780957398000,12.50000000],[1780957651000,12.00000000],[1780957974000,12.00000000],[1780958294000,12.00000000],[1780958550000,12.00000000],[1780958870000,12.00000000],[1780959190000,12.00000000],[1780959510000,12.00000000],[1780959751000,12.20000000],[1780960071000,12.00000000],[1780960391000,12.00000000],[1780960711000,12.00000000],[1780960967000,80.60000000],[1780961286000,355.60000000],[1780961607000,357.00000000],[1780961863000,357.00000000],[1780962183000,13.20000000],[1780962503000,11.00000000],[1780962758000,11.40000000],[1780963079000,11.20000000],[1780963399000,11.25000000],[1780963653000,11.20000000],[1780963975000,12.80000000],[1780964295000,13.25000000],[1780964566000,14.40000000],[1780964886000,13.40000000],[1780965206000,13.25000000],[1780965462000,14.00000000],[1780965782000,14.00000000],[1780966102000,13.25000000],[1780966358000,13.00000000],[1780966678000,13.00000000],[1780966998000,13.00000000],[1780967252000,13.00000000],[1780967574000,13.60000000],[1780967894000,13.50000000],[1780968150000,13.00000000],[1780968453000,13.00000000],[1780968775000,13.00000000],[1780969094000,13.50000000],[1780969351000,13.00000000],[1780969670000,13.00000000],[1780969991000,13.00000000],[1780970311000,14.00000000],[1780970568000,13.80000000],[1780970887000,13.20000000],[1780971208000,13.00000000],[1780971463000,13.00000000],[1780971798000,13.25000000],[1780972052000,14.00000000],[1780972374000,14.00000000],[1780972694000,14.00000000],[1780972950000,14.00000000],[1780973270000,14.00000000],[1780973590000,14.00000000],[1780973910000,14.00000000],[1780974166000,14.00000000],[1780974486000,13.80000000],[1780974806000,13.25000000],[1780975062000,13.00000000],[1780975382000,13.00000000],[1780975702000,13.00000000],[1780975952000,13.00000000],[1780976252000,13.60000000],[1780976567000,14.00000000],[1780976886000,14.00000000],[1780977207000,14.00000000],[1780977463000,14.00000000],[1780977782000,13.60000000],[1780978103000,13.00000000],[1780978358000,13.00000000],[1780978679000,12.40000000],[1780978999000,10.50000000],[1780979253000,10.80000000],[1780979575000,16.00000000],[1780979895000,15.50000000],[1780980166000,12.00000000],[1780980486000,8.60000000],[1780980806000,12.25000000],[1780981062000,10.80000000],[1780981382000,9.00000000],[1780981702000,7.25000000],[1780981958000,143.20000000],[1780982278000,74.20000000],[1780982599000,6.50000000],[1780982853000,276.80000000],[1780983175000,2.80000000],[1780983498000,92.50000000],[1780983766000,7.20000000],[1780984087000,74.80000000],[1780984407000,14.50000000],[1780984663000,269.80000000],[1780984984000,18.20000000],[1780985303000,21.00000000],[1780985559000,42.20000000],[1780985880000,150.80000000],[1780986199000,25.75000000],[1780986454000,21.80000000],[1780986775000,37.80000000],[1780987095000,86.75000000],[1780987351000,69.40000000],[1780987671000,42.60000000],[1780987991000,79.80000000],[1780988310000,138.25000000],[1780988568000,54.80000000],[1780988887000,137.60000000],[1780989207000,65.25000000],[1780989462000,121.20000000],[1780989783000,131.60000000],[1780990102000,43.75000000],[1780990358000,44.40000000],[1780990678000,87.20000000],[1780990998000,78.50000000],[1780991254000,72.00000000],[1780991574000,37.00000000],[1780991895000,50.50000000],[1780992151000,81.60000000],[1780992474000,140.80000000],[1780992807000,21.00000000],[1780993062000,125.20000000],[1780993382000,123.20000000],[1780993702000,153.75000000],[1780993958000,69.20000000],[1780994278000,93.00000000],[1780994598000,145.25000000],[1780994852000,121.00000000],[1780995174000,48.00000000],[1780995494000,42.25000000],[1780995750000,110.00000000],[1780996070000,168.60000000],[1780996390000,126.00000000],[1780996710000,114.00000000],[1780996966000,114.00000000],[1780997253000,114.00000000],[1780997574000,114.40000000],[1780997895000,114.00000000],[1780998150000,105.80000000],[1780998470000,97.00000000],[1780998790000,97.00000000],[1780999110000,97.00000000],[1780999366000,282.60000000],[1780999703000,170.75000000],[1780999958000,69.00000000],[1781000279000,231.80000000],[1781000598000,244.25000000],[1781000853000,202.20000000],[1781001191000,99.00000000],[1781001510000,113.50000000],[1781001767000,192.80000000],[1781002102000,23.75000000],[1781002358000,201.20000000],[1781002679000,19.25000000],[1781002950000,51.80000000],[1781003270000,138.20000000],[1781003590000,152.60000000],[1781003911000,144.00000000],[1781004167000,154.40000000],[1781004487000,354.40000000],[1781004806000,34.75000000],[1781005062000,63.40000000],[1781005382000,78.20000000],[1781005703000,193.00000000],[1781005959000,120.20000000],[1781006279000,163.60000000],[1781006598000,113.00000000],[1781006854000,7.20000000],[1781007175000,59.60000000],[1781007494000,51.00000000],[1781007750000,60.40000000],[1781008070000,128.40000000],[1781008390000,179.60000000],[1781008710000,248.00000000],[1781008967000,185.80000000],[1781009287000,194.20000000],[1781009606000,99.50000000],[1781009862000,130.60000000],[1781010182000,22.80000000],[1781010502000,12.50000000],[1781010758000,15.60000000],[1781011078000,12.40000000],[1781011398000,12.50000000],[1781011652000,13.80000000],[1781011973000,23.80000000],[1781012293000,21.50000000],[1781012550000,24.60000000],[1781012869000,18.80000000],[1781013190000,12.80000000],[1781013509000,4.00000000],[1781013766000,116.80000000],[1781014085000,162.60000000],[1781014405000,150.00000000],[1781014652000,178.20000000],[1781014982000,313.60000000],[1781015302000,336.50000000],[1781015558000,288.60000000],[1781015878000,74.80000000],[1781016199000,98.50000000],[1781016454000,145.40000000],[1781016775000,144.60000000],[1781017094000,176.00000000],[1781017351000,95.40000000],[1781017671000,14.80000000],[1781017990000,28.00000000],[1781018310000,96.75000000],[1781018567000,80.20000000],[1781018886000,80.60000000],[1781019206000,23.50000000],[1781019463000,85.00000000],[1781019782000,43.00000000],[1781020102000,16.00000000],[1781020360000,26.40000000],[1781020678000,35.00000000],[1781020998000,18.75000000],[1781021253000,205.60000000],[1781021574000,77.40000000],[1781021894000,245.50000000],[1781022150000,138.20000000],[1781022470000,273.40000000],[1781022790000,255.40000000],[1781023110000,320.25000000],[1781023367000,207.20000000],[1781023686000,153.20000000],[1781024006000,247.50000000],[1781024262000,287.20000000],[1781024582000,214.20000000],[1781024902000,188.00000000],[1781025158000,218.20000000],[1781025478000,213.80000000],[1781025798000,92.75000000],[1781026054000,218.80000000],[1781026374000,152.00000000],[1781026694000,111.25000000],[1781026951000,10.00000000],[1781027270000,89.00000000],[1781027590000,14.20000000],[1781027911000,13.75000000],[1781028166000,216.40000000],[1781028487000,78.40000000],[1781028806000,93.75000000],[1781029062000,10.20000000],[1781029382000,83.20000000],[1781029702000,335.25000000],[1781029958000,69.60000000],[1781030278000,13.00000000],[1781030599000,14.25000000],[1781030854000,75.60000000],[1781031174000,9.20000000],[1781031495000,10.75000000],[1781031750000,15.80000000],[1781032070000,8.60000000],[1781032390000,8.60000000],[1781032714000,10.75000000],[1781032982000,6.40000000],[1781033302000,5.50000000],[1781033560000,13.80000000],[1781033881000,14.80000000],[1781034212000,15.75000000],[1781034469000,2.20000000],[1781034789000,9.00000000],[1781035109000,8.00000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Slnečné žiarenie (W/m2)', data: [[1780956054000,0.00000000],[1780956182000,0.00000000],[1780956502000,0.00000000],[1780956751000,0.00000000],[1780957078000,0.00000000],[1780957398000,0.00000000],[1780957651000,0.00000000],[1780957974000,0.00000000],[1780958294000,0.00000000],[1780958550000,0.00000000],[1780958870000,0.00000000],[1780959190000,0.00000000],[1780959510000,0.00000000],[1780959751000,0.00000000],[1780960071000,0.00000000],[1780960391000,0.00000000],[1780960711000,0.00000000],[1780960967000,0.00000000],[1780961286000,0.00000000],[1780961607000,0.00000000],[1780961863000,0.00000000],[1780962183000,0.00000000],[1780962503000,0.00000000],[1780962758000,0.00000000],[1780963079000,0.00000000],[1780963399000,0.00000000],[1780963653000,0.00000000],[1780963975000,0.00000000],[1780964295000,0.00000000],[1780964566000,0.00000000],[1780964886000,0.00000000],[1780965206000,0.00000000],[1780965462000,0.00000000],[1780965782000,0.00000000],[1780966102000,0.00000000],[1780966358000,0.00000000],[1780966678000,0.00000000],[1780966998000,0.00000000],[1780967252000,0.00000000],[1780967574000,0.00000000],[1780967894000,0.00000000],[1780968150000,0.00000000],[1780968453000,0.00000000],[1780968775000,0.00000000],[1780969094000,0.00000000],[1780969351000,0.00000000],[1780969670000,0.00000000],[1780969991000,0.00000000],[1780970311000,0.00000000],[1780970568000,0.00000000],[1780970887000,0.00000000],[1780971208000,0.00000000],[1780971463000,0.00000000],[1780971798000,0.00000000],[1780972052000,0.60000000],[1780972374000,1.00000000],[1780972694000,1.00000000],[1780972950000,2.00000000],[1780973270000,2.60000000],[1780973590000,4.00000000],[1780973910000,5.50000000],[1780974166000,7.80000000],[1780974486000,10.20000000],[1780974806000,12.00000000],[1780975062000,13.80000000],[1780975382000,16.00000000],[1780975702000,18.00000000],[1780975952000,20.00000000],[1780976252000,22.20000000],[1780976567000,25.00000000],[1780976886000,28.60000000],[1780977207000,32.50000000],[1780977463000,36.80000000],[1780977782000,40.00000000],[1780978103000,44.25000000],[1780978358000,48.60000000],[1780978679000,52.40000000],[1780978999000,53.50000000],[1780979253000,66.40000000],[1780979575000,80.20000000],[1780979895000,97.50000000],[1780980166000,105.80000000],[1780980486000,92.60000000],[1780980806000,76.25000000],[1780981062000,81.60000000],[1780981382000,107.00000000],[1780981702000,107.00000000],[1780981958000,117.00000000],[1780982278000,125.60000000],[1780982599000,93.00000000],[1780982853000,98.00000000],[1780983175000,102.40000000],[1780983498000,96.00000000],[1780983766000,97.00000000],[1780984087000,96.40000000],[1780984407000,94.25000000],[1780984663000,90.00000000],[1780984984000,83.00000000],[1780985303000,75.75000000],[1780985559000,79.80000000],[1780985880000,81.40000000],[1780986199000,79.75000000],[1780986454000,108.60000000],[1780986775000,80.20000000],[1780987095000,97.00000000],[1780987351000,84.80000000],[1780987671000,212.40000000],[1780987991000,243.40000000],[1780988310000,232.00000000],[1780988568000,177.00000000],[1780988887000,272.80000000],[1780989207000,467.25000000],[1780989462000,489.80000000],[1780989783000,476.60000000],[1780990102000,317.50000000],[1780990358000,414.80000000],[1780990678000,542.80000000],[1780990998000,560.00000000],[1780991254000,578.40000000],[1780991574000,604.20000000],[1780991895000,638.25000000],[1780992151000,655.00000000],[1780992474000,713.40000000],[1780992807000,762.00000000],[1780993062000,708.40000000],[1780993382000,523.40000000],[1780993702000,561.00000000],[1780993958000,638.60000000],[1780994278000,565.80000000],[1780994598000,527.00000000],[1780994852000,531.00000000],[1780995174000,528.80000000],[1780995494000,573.50000000],[1780995750000,670.20000000],[1780996070000,585.80000000],[1780996390000,514.00000000],[1780996710000,489.50000000],[1780996966000,455.00000000],[1780997253000,486.40000000],[1780997574000,476.80000000],[1780997895000,498.75000000],[1780998150000,471.40000000],[1780998470000,557.80000000],[1780998790000,574.00000000],[1780999110000,563.00000000],[1780999366000,626.80000000],[1780999703000,812.00000000],[1780999958000,624.60000000],[1781000279000,621.40000000],[1781000598000,419.75000000],[1781000853000,831.00000000],[1781001191000,843.00000000],[1781001510000,828.00000000],[1781001767000,830.00000000],[1781002102000,836.25000000],[1781002358000,545.80000000],[1781002679000,565.25000000],[1781002950000,408.80000000],[1781003270000,629.80000000],[1781003590000,176.20000000],[1781003911000,150.00000000],[1781004167000,162.80000000],[1781004487000,370.40000000],[1781004806000,647.00000000],[1781005062000,257.00000000],[1781005382000,165.40000000],[1781005703000,457.50000000],[1781005959000,835.40000000],[1781006279000,413.20000000],[1781006598000,185.50000000],[1781006854000,163.80000000],[1781007175000,173.80000000],[1781007494000,207.25000000],[1781007750000,759.40000000],[1781008070000,762.20000000],[1781008390000,719.40000000],[1781008710000,511.25000000],[1781008967000,166.80000000],[1781009287000,172.60000000],[1781009606000,189.75000000],[1781009862000,210.60000000],[1781010182000,189.20000000],[1781010502000,227.00000000],[1781010758000,171.80000000],[1781011078000,126.60000000],[1781011398000,111.00000000],[1781011652000,124.80000000],[1781011973000,208.40000000],[1781012293000,219.00000000],[1781012550000,167.80000000],[1781012869000,137.80000000],[1781013190000,102.40000000],[1781013509000,66.75000000],[1781013766000,69.40000000],[1781014085000,51.20000000],[1781014405000,39.25000000],[1781014652000,61.60000000],[1781014982000,81.80000000],[1781015302000,172.00000000],[1781015558000,198.20000000],[1781015878000,206.20000000],[1781016199000,178.75000000],[1781016454000,179.40000000],[1781016775000,196.20000000],[1781017094000,173.75000000],[1781017351000,194.40000000],[1781017671000,170.00000000],[1781017990000,159.20000000],[1781018310000,140.75000000],[1781018567000,134.00000000],[1781018886000,134.20000000],[1781019206000,133.75000000],[1781019463000,132.40000000],[1781019782000,128.40000000],[1781020102000,109.50000000],[1781020360000,90.60000000],[1781020678000,76.40000000],[1781020998000,50.50000000],[1781021253000,24.80000000],[1781021574000,24.60000000],[1781021894000,29.25000000],[1781022150000,27.60000000],[1781022470000,26.60000000],[1781022790000,28.20000000],[1781023110000,32.50000000],[1781023367000,35.40000000],[1781023686000,34.20000000],[1781024006000,33.00000000],[1781024262000,31.40000000],[1781024582000,29.00000000],[1781024902000,27.75000000],[1781025158000,27.60000000],[1781025478000,28.20000000],[1781025798000,29.00000000],[1781026054000,28.80000000],[1781026374000,28.20000000],[1781026694000,27.75000000],[1781026951000,25.60000000],[1781027270000,22.80000000],[1781027590000,18.80000000],[1781027911000,16.00000000],[1781028166000,13.20000000],[1781028487000,10.00000000],[1781028806000,7.75000000],[1781029062000,6.00000000],[1781029382000,4.60000000],[1781029702000,3.00000000],[1781029958000,2.20000000],[1781030278000,1.40000000],[1781030599000,1.00000000],[1781030854000,0.40000000],[1781031174000,0.00000000],[1781031495000,0.00000000],[1781031750000,0.00000000],[1781032070000,0.00000000],[1781032390000,0.00000000],[1781032714000,0.00000000],[1781032982000,0.00000000],[1781033302000,0.00000000],[1781033560000,0.00000000],[1781033881000,0.00000000],[1781034212000,0.00000000],[1781034469000,0.00000000],[1781034789000,0.00000000],[1781035109000,0.00000000],], color: '#ffb92f' } ]; var options = { xaxes: [{ axisLabel: 'solar_radiation', }], 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.1W/m2' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-solar-radiation-legend' } }; graphs['#chart-solar-radiation'] = $.plot('#chart-solar-radiation', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'UV žiarenie', data: [[1780956054000,0.00000000],[1780956182000,0.00000000],[1780956502000,0.00000000],[1780956751000,0.00000000],[1780957078000,0.00000000],[1780957398000,0.00000000],[1780957651000,0.00000000],[1780957974000,0.00000000],[1780958294000,0.00000000],[1780958550000,0.00000000],[1780958870000,0.00000000],[1780959190000,0.00000000],[1780959510000,0.00000000],[1780959751000,0.00000000],[1780960071000,0.00000000],[1780960391000,0.00000000],[1780960711000,0.00000000],[1780960967000,0.00000000],[1780961286000,0.00000000],[1780961607000,0.00000000],[1780961863000,0.00000000],[1780962183000,0.00000000],[1780962503000,0.00000000],[1780962758000,0.00000000],[1780963079000,0.00000000],[1780963399000,0.00000000],[1780963653000,0.00000000],[1780963975000,0.00000000],[1780964295000,0.00000000],[1780964566000,0.00000000],[1780964886000,0.00000000],[1780965206000,0.00000000],[1780965462000,0.00000000],[1780965782000,0.00000000],[1780966102000,0.00000000],[1780966358000,0.00000000],[1780966678000,0.00000000],[1780966998000,0.00000000],[1780967252000,0.00000000],[1780967574000,0.00000000],[1780967894000,0.00000000],[1780968150000,0.00000000],[1780968453000,0.00000000],[1780968775000,0.00000000],[1780969094000,0.00000000],[1780969351000,0.00000000],[1780969670000,0.00000000],[1780969991000,0.00000000],[1780970311000,0.00000000],[1780970568000,0.00000000],[1780970887000,0.00000000],[1780971208000,0.00000000],[1780971463000,0.00000000],[1780971798000,0.00000000],[1780972052000,0.00000000],[1780972374000,0.00000000],[1780972694000,0.00000000],[1780972950000,0.00000000],[1780973270000,0.00000000],[1780973590000,0.00000000],[1780973910000,0.00000000],[1780974166000,0.00000000],[1780974486000,0.00000000],[1780974806000,0.00000000],[1780975062000,0.00000000],[1780975382000,0.00000000],[1780975702000,0.00000000],[1780975952000,0.00000000],[1780976252000,0.00000000],[1780976567000,0.00000000],[1780976886000,0.00000000],[1780977207000,0.00000000],[1780977463000,0.00000000],[1780977782000,0.00000000],[1780978103000,0.00000000],[1780978358000,0.00000000],[1780978679000,0.00000000],[1780978999000,0.00000000],[1780979253000,0.00000000],[1780979575000,0.00000000],[1780979895000,0.00000000],[1780980166000,0.60000000],[1780980486000,0.40000000],[1780980806000,0.00000000],[1780981062000,0.00000000],[1780981382000,0.80000000],[1780981702000,1.00000000],[1780981958000,1.00000000],[1780982278000,1.00000000],[1780982599000,0.00000000],[1780982853000,0.20000000],[1780983175000,0.40000000],[1780983498000,0.00000000],[1780983766000,0.00000000],[1780984087000,0.00000000],[1780984407000,0.00000000],[1780984663000,0.00000000],[1780984984000,0.00000000],[1780985303000,0.00000000],[1780985559000,0.00000000],[1780985880000,0.00000000],[1780986199000,0.00000000],[1780986454000,0.60000000],[1780986775000,0.00000000],[1780987095000,0.25000000],[1780987351000,0.00000000],[1780987671000,1.40000000],[1780987991000,2.00000000],[1780988310000,1.75000000],[1780988568000,1.20000000],[1780988887000,2.20000000],[1780989207000,4.00000000],[1780989462000,4.00000000],[1780989783000,3.80000000],[1780990102000,2.75000000],[1780990358000,3.80000000],[1780990678000,5.00000000],[1780990998000,5.00000000],[1780991254000,5.00000000],[1780991574000,5.20000000],[1780991895000,6.00000000],[1780992151000,5.80000000],[1780992474000,6.60000000],[1780992807000,7.00000000],[1780993062000,6.40000000],[1780993382000,4.40000000],[1780993702000,5.00000000],[1780993958000,5.80000000],[1780994278000,5.00000000],[1780994598000,4.75000000],[1780994852000,4.60000000],[1780995174000,5.00000000],[1780995494000,5.00000000],[1780995750000,6.00000000],[1780996070000,5.20000000],[1780996390000,4.40000000],[1780996710000,4.50000000],[1780996966000,4.00000000],[1780997253000,4.00000000],[1780997574000,4.20000000],[1780997895000,4.25000000],[1780998150000,4.00000000],[1780998470000,4.80000000],[1780998790000,5.00000000],[1780999110000,5.00000000],[1780999366000,5.80000000],[1780999703000,7.50000000],[1780999958000,5.60000000],[1781000279000,5.40000000],[1781000598000,3.75000000],[1781000853000,7.80000000],[1781001191000,8.00000000],[1781001510000,7.50000000],[1781001767000,7.80000000],[1781002102000,8.00000000],[1781002358000,5.00000000],[1781002679000,5.00000000],[1781002950000,3.40000000],[1781003270000,5.60000000],[1781003590000,1.00000000],[1781003911000,1.00000000],[1781004167000,1.00000000],[1781004487000,3.20000000],[1781004806000,6.00000000],[1781005062000,2.00000000],[1781005382000,1.00000000],[1781005703000,4.00000000],[1781005959000,7.60000000],[1781006279000,3.40000000],[1781006598000,1.25000000],[1781006854000,1.00000000],[1781007175000,1.20000000],[1781007494000,1.25000000],[1781007750000,6.80000000],[1781008070000,7.00000000],[1781008390000,6.40000000],[1781008710000,4.50000000],[1781008967000,1.00000000],[1781009287000,1.00000000],[1781009606000,1.00000000],[1781009862000,1.20000000],[1781010182000,1.00000000],[1781010502000,2.00000000],[1781010758000,1.00000000],[1781011078000,1.00000000],[1781011398000,1.00000000],[1781011652000,1.00000000],[1781011973000,1.60000000],[1781012293000,1.50000000],[1781012550000,1.00000000],[1781012869000,1.00000000],[1781013190000,0.60000000],[1781013509000,0.00000000],[1781013766000,0.00000000],[1781014085000,0.00000000],[1781014405000,0.00000000],[1781014652000,0.00000000],[1781014982000,0.00000000],[1781015302000,1.00000000],[1781015558000,1.20000000],[1781015878000,1.60000000],[1781016199000,1.00000000],[1781016454000,1.00000000],[1781016775000,1.20000000],[1781017094000,1.00000000],[1781017351000,1.20000000],[1781017671000,1.20000000],[1781017990000,1.00000000],[1781018310000,1.00000000],[1781018567000,1.00000000],[1781018886000,1.00000000],[1781019206000,1.00000000],[1781019463000,1.00000000],[1781019782000,1.00000000],[1781020102000,1.00000000],[1781020360000,0.00000000],[1781020678000,0.00000000],[1781020998000,0.00000000],[1781021253000,0.00000000],[1781021574000,0.00000000],[1781021894000,0.00000000],[1781022150000,0.00000000],[1781022470000,0.00000000],[1781022790000,0.00000000],[1781023110000,0.00000000],[1781023367000,0.00000000],[1781023686000,0.00000000],[1781024006000,0.00000000],[1781024262000,0.00000000],[1781024582000,0.00000000],[1781024902000,0.00000000],[1781025158000,0.00000000],[1781025478000,0.00000000],[1781025798000,0.00000000],[1781026054000,0.00000000],[1781026374000,0.00000000],[1781026694000,0.00000000],[1781026951000,0.00000000],[1781027270000,0.00000000],[1781027590000,0.00000000],[1781027911000,0.00000000],[1781028166000,0.00000000],[1781028487000,0.00000000],[1781028806000,0.00000000],[1781029062000,0.00000000],[1781029382000,0.00000000],[1781029702000,0.00000000],[1781029958000,0.00000000],[1781030278000,0.00000000],[1781030599000,0.00000000],[1781030854000,0.00000000],[1781031174000,0.00000000],[1781031495000,0.00000000],[1781031750000,0.00000000],[1781032070000,0.00000000],[1781032390000,0.00000000],[1781032714000,0.00000000],[1781032982000,0.00000000],[1781033302000,0.00000000],[1781033560000,0.00000000],[1781033881000,0.00000000],[1781034212000,0.00000000],[1781034469000,0.00000000],[1781034789000,0.00000000],[1781035109000,0.00000000],], color: '#802674' } ]; var options = { xaxes: [{ axisLabel: 'uv', }], 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.0' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-uv-legend' } }; graphs['#chart-uv'] = $.plot('#chart-uv', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Zrážky', data: [[1780956054000,0.00000000],[1780956182000,0.00000000],[1780956502000,0.00000000],[1780956751000,0.00000000],[1780957078000,0.00000000],[1780957398000,0.00000000],[1780957651000,0.00000000],[1780957974000,0.00000000],[1780958294000,0.00000000],[1780958550000,0.00000000],[1780958870000,0.00000000],[1780959190000,0.00000000],[1780959510000,0.00000000],[1780959751000,0.00000000],[1780960071000,0.00000000],[1780960391000,0.00000000],[1780960711000,0.00000000],[1780960967000,0.00000000],[1780961286000,0.00000000],[1780961607000,0.00000000],[1780961863000,0.00000000],[1780962183000,0.00000000],[1780962503000,0.00000000],[1780962758000,0.00000000],[1780963079000,0.00000000],[1780963399000,0.00000000],[1780963653000,0.00000000],[1780963975000,0.00000000],[1780964295000,0.00000000],[1780964566000,0.00000000],[1780964886000,0.00000000],[1780965206000,0.00000000],[1780965462000,0.00000000],[1780965782000,0.00000000],[1780966102000,0.00000000],[1780966358000,0.00000000],[1780966678000,0.00000000],[1780966998000,0.00000000],[1780967252000,0.00000000],[1780967574000,0.00000000],[1780967894000,0.00000000],[1780968150000,0.00000000],[1780968453000,0.00000000],[1780968775000,0.00000000],[1780969094000,0.00000000],[1780969351000,0.00000000],[1780969670000,0.00000000],[1780969991000,0.00000000],[1780970311000,0.00000000],[1780970568000,0.00000000],[1780970887000,0.00000000],[1780971208000,0.00000000],[1780971463000,0.00000000],[1780971798000,0.00000000],[1780972052000,0.00000000],[1780972374000,0.00000000],[1780972694000,0.00000000],[1780972950000,0.00000000],[1780973270000,0.00000000],[1780973590000,0.00000000],[1780973910000,0.00000000],[1780974166000,0.00000000],[1780974486000,0.00000000],[1780974806000,0.00000000],[1780975062000,0.00000000],[1780975382000,0.00000000],[1780975702000,0.00000000],[1780975952000,0.00000000],[1780976252000,0.00000000],[1780976567000,0.00000000],[1780976886000,0.00000000],[1780977207000,0.00000000],[1780977463000,0.00000000],[1780977782000,0.00000000],[1780978103000,0.00000000],[1780978358000,0.00000000],[1780978679000,0.00000000],[1780978999000,0.00000000],[1780979253000,0.00000000],[1780979575000,0.00000000],[1780979895000,0.00000000],[1780980166000,0.00000000],[1780980486000,0.00000000],[1780980806000,0.00000000],[1780981062000,0.00000000],[1780981382000,0.00000000],[1780981702000,0.00000000],[1780981958000,0.00000000],[1780982278000,0.00000000],[1780982599000,0.00000000],[1780982853000,0.00000000],[1780983175000,0.00000000],[1780983498000,0.00000000],[1780983766000,0.00000000],[1780984087000,0.00000000],[1780984407000,0.00000000],[1780984663000,0.00000000],[1780984984000,0.00000000],[1780985303000,0.00000000],[1780985559000,0.00000000],[1780985880000,0.00000000],[1780986199000,0.00000000],[1780986454000,0.00000000],[1780986775000,0.00000000],[1780987095000,0.00000000],[1780987351000,0.00000000],[1780987671000,0.00000000],[1780987991000,0.00000000],[1780988310000,0.00000000],[1780988568000,0.00000000],[1780988887000,0.00000000],[1780989207000,0.00000000],[1780989462000,0.00000000],[1780989783000,0.00000000],[1780990102000,0.00000000],[1780990358000,0.00000000],[1780990678000,0.00000000],[1780990998000,0.00000000],[1780991254000,0.00000000],[1780991574000,0.00000000],[1780991895000,0.00000000],[1780992151000,0.00000000],[1780992474000,0.00000000],[1780992807000,0.00000000],[1780993062000,0.00000000],[1780993382000,0.00000000],[1780993702000,0.00000000],[1780993958000,0.00000000],[1780994278000,0.00000000],[1780994598000,0.00000000],[1780994852000,0.00000000],[1780995174000,0.00000000],[1780995494000,0.00000000],[1780995750000,0.00000000],[1780996070000,0.00000000],[1780996390000,0.00000000],[1780996710000,0.00000000],[1780996966000,0.00000000],[1780997253000,0.00000000],[1780997574000,0.00000000],[1780997895000,0.00000000],[1780998150000,0.00000000],[1780998470000,0.00000000],[1780998790000,0.00000000],[1780999110000,0.00000000],[1780999366000,0.00000000],[1780999703000,0.00000000],[1780999958000,0.00000000],[1781000279000,0.00000000],[1781000598000,0.00000000],[1781000853000,0.00000000],[1781001191000,0.00000000],[1781001510000,0.00000000],[1781001767000,0.00000000],[1781002102000,0.00000000],[1781002358000,0.00000000],[1781002679000,0.00000000],[1781002950000,0.00000000],[1781003270000,0.00000000],[1781003590000,0.00000000],[1781003911000,0.00000000],[1781004167000,0.00000000],[1781004487000,0.00000000],[1781004806000,0.00000000],[1781005062000,0.00000000],[1781005382000,0.00000000],[1781005703000,0.00000000],[1781005959000,0.00000000],[1781006279000,0.00000000],[1781006598000,0.00000000],[1781006854000,0.00000000],[1781007175000,0.00000000],[1781007494000,0.00000000],[1781007750000,0.00000000],[1781008070000,0.00000000],[1781008390000,0.00000000],[1781008710000,0.00000000],[1781008967000,0.00000000],[1781009287000,0.00000000],[1781009606000,0.00000000],[1781009862000,0.00000000],[1781010182000,0.00000000],[1781010502000,0.00000000],[1781010758000,0.00000000],[1781011078000,0.00000000],[1781011398000,0.00000000],[1781011652000,0.00000000],[1781011973000,0.00000000],[1781012293000,0.00000000],[1781012550000,0.00000000],[1781012869000,0.00000000],[1781013190000,0.00000000],[1781013509000,0.00000000],[1781013766000,0.00000000],[1781014085000,0.00000000],[1781014405000,0.00000000],[1781014652000,0.00000000],[1781014982000,0.00000000],[1781015302000,0.00000000],[1781015558000,0.00000000],[1781015878000,0.00000000],[1781016199000,0.00000000],[1781016454000,0.00000000],[1781016775000,0.00000000],[1781017094000,0.00000000],[1781017351000,0.00000000],[1781017671000,0.00000000],[1781017990000,0.00000000],[1781018310000,0.00000000],[1781018567000,0.00000000],[1781018886000,0.00000000],[1781019206000,0.00000000],[1781019463000,0.00000000],[1781019782000,0.00000000],[1781020102000,0.00000000],[1781020360000,0.00000000],[1781020678000,0.00000000],[1781020998000,0.00000000],[1781021253000,0.00000000],[1781021574000,0.00000000],[1781021894000,0.00000000],[1781022150000,0.00000000],[1781022470000,0.00000000],[1781022790000,0.00000000],[1781023110000,0.00000000],[1781023367000,0.00000000],[1781023686000,0.00000000],[1781024006000,0.00000000],[1781024262000,0.00000000],[1781024582000,0.00000000],[1781024902000,0.00000000],[1781025158000,0.00000000],[1781025478000,0.00000000],[1781025798000,0.00000000],[1781026054000,0.00000000],[1781026374000,0.00000000],[1781026694000,0.00000000],[1781026951000,0.00000000],[1781027270000,0.00000000],[1781027590000,0.00000000],[1781027911000,0.00000000],[1781028166000,0.00000000],[1781028487000,0.00000000],[1781028806000,0.00000000],[1781029062000,0.00000000],[1781029382000,0.00000000],[1781029702000,0.00000000],[1781029958000,0.00000000],[1781030278000,0.00000000],[1781030599000,0.00000000],[1781030854000,0.00000000],[1781031174000,0.00000000],[1781031495000,0.00000000],[1781031750000,0.00000000],[1781032070000,0.00000000],[1781032390000,0.00000000],[1781032714000,0.00000000],[1781032982000,0.00000000],[1781033302000,0.00000000],[1781033560000,0.00000000],[1781033881000,0.00000000],[1781034212000,0.00000000],[1781034469000,0.00000000],[1781034789000,0.00000000],[1781035109000,0.00000000],], 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; }