var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [], 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: 'Rýchlosť vetra (km/h)', data: [[1714255220000,0],[1714255411000,0],[1714255667000,0.792],[1714255988000,0],[1714256307000,0],[1714256564000,0],[1714256883000,0],[1714257203000,0],[1714257459000,0],[1714257780000,0],[1714258100000,0],[1714258353000,0.936],[1714258675000,0.144],[1714258995000,1.53],[1714259251000,0.648],[1714259571000,0],[1714259891000,1.296],[1714260211000,0],[1714260467000,0],[1714260787000,1.08],[1714261107000,0.18],[1714261363000,0.504],[1714261683000,0.504],[1714262003000,0.09],[1714262252000,0],[1714262579000,0],[1714262899000,0],[1714263155000,0.792],[1714263475000,0],[1714263795000,1.53],[1714264052000,0.792],[1714264388000,0.576],[1714264707000,0],[1714264963000,0],[1714265299000,1.08],[1714265552000,0],[1714265875000,1.08],[1714266212000,0.45],[1714266468000,0.504],[1714266787000,0],[1714267107000,0.54],[1714267352000,1.008],[1714267667000,1.944],[1714267987000,0],[1714268307000,0],[1714268552000,0.504],[1714268884000,1.296],[1714269204000,0.9],[1714269460000,1.512],[1714269780000,0],[1714270100000,0],[1714270352000,0],[1714270676000,0],[1714270998000,0.63],[1714271252000,0.576],[1714271573000,1.296],[1714271893000,1.008],[1714272212000,1.44],[1714272468000,1.89],[1714272752000,0.936],[1714273077000,0.648],[1714273396000,1.89],[1714273652000,2.88],[1714273971000,3.312],[1714274291000,3.168],[1714274611000,3.42],[1714274867000,2.376],[1714275188000,0.864],[1714275507000,0.9],[1714275763000,0.936],[1714276083000,1.44],[1714276403000,3.96],[1714276659000,3.024],[1714276979000,3.6],[1714277299000,3.78],[1714277556000,3.672],[1714277876000,1.296],[1714278196000,1.89],[1714278452000,3.672],[1714278772000,3.816],[1714279092000,3.744],[1714279412000,2.97],[1714279668000,3.96],[1714279988000,5.256],[1714280309000,3.96],[1714280564000,4.392],[1714280885000,3.312],[1714281204000,4.14],[1714281461000,4.104],[1714281780000,3.888],[1714282100000,2.52],[1714282355000,5.112],[1714282677000,3.96],[1714282995000,4.86],[1714283252000,4.392],[1714283572000,4.032],[1714283892000,6.75],[1714284163000,3.384],[1714284483000,3.24],[1714284803000,2.88],[1714285059000,4.464],[1714285379000,4.248],[1714285699000,6.3],[1714285956000,5.544],[1714286292000,4.536],[1714286612000,2.97],[1714286867000,4.608],[1714287188000,3.888],[1714287508000,3.87],[1714287764000,1.296],[1714288084000,2.808],[1714288404000,0.9],[1714288659000,0.864],[1714288979000,2.232],[1714289299000,2.52],[1714289555000,2.016],[1714289875000,8.712],[1714290195000,8.82],[1714290451000,7.2],[1714290772000,4.032],[1714291091000,5.112],[1714291411000,5.4],[1714291667000,8.424],[1714291987000,6.624],[1714292307000,7.02],[1714292563000,6.84],[1714292883000,9.504],[1714293203000,6.48],[1714293459000,8.064],[1714293779000,6.696],[1714294100000,7.29],[1714294352000,8.496],[1714294675000,9.864],[1714294995000,12.51],[1714295251000,6.84],[1714295571000,12.024],[1714295891000,8.856],[1714296211000,10.44],[1714296467000,5.13],[1714296755000,12.24],[1714297300000,15.48],[1714297364000,13.824],[1714297683000,9.792],[1714298003000,17.73],[1714298252000,18.288],[1714298579000,14.112],[1714298899000,12.96],[1714299154000,10.08],[1714299475000,11.232],[1714299796000,5.31],[1714300051000,13.464],[1714300371000,12.744],[1714300707000,8.64],[1714300963000,9.936],[1714301283000,8.064],[1714301603000,10.26],[1714301859000,16.848],[1714302180000,14.544],[1714302500000,16.74],[1714302752000,13.32],[1714303075000,8.136],[1714303395000,12.6],[1714303651000,11.304],[1714303972000,12.528],[1714304292000,11.52],[1714304611000,11.52],[1714304867000,9.504],[1714305189000,6.84],[1714305507000,9],[1714305763000,7.272],[1714306083000,7.56],[1714306404000,8.37],[1714306660000,11.736],[1714306979000,13.14],[1714307313000,13.59],[1714307572000,15.552],[1714307891000,14.688],[1714308212000,11.34],[1714308468000,12.888],[1714308787000,12.168],[1714309107000,12.69],[1714309363000,12.168],[1714309687000,13.14],[1714309970000,12.168],[1714310290000,17.01],[1714310551000,11.088],[1714310883000,15.696],[1714311204000,14.94],[1714311459000,15.84],[1714311779000,17.712],[1714312099000,10.98],[1714312355000,11.736],[1714312675000,12.6],[1714312997000,13.86],[1714313252000,9.504],[1714313570000,12.24],[1714313890000,16.776],[1714314210000,11.25],[1714314466000,14.4],[1714314786000,12.888],[1714315106000,9.18],[1714315353000,14.904],[1714315698000,10.98],[1714315952000,14.832],[1714316274000,13.824],[1714316610000,8.73],[1714316866000,8.928],[1714317186000,7.848],[1714317506000,7.47],[1714317762000,10.152],[1714318082000,10.224],[1714318402000,9],[1714318658000,8.424],[1714318978000,2.016],[1714319298000,3.6],[1714319552000,3.168],[1714319890000,4.32],[1714320210000,2.43],[1714320466000,1.08],[1714320786000,0],[1714321122000,0.54],[1714321395000,1.35],[1714321651000,2.736],[1714322011000,2.52],[1714322290000,1.584],[1714322610000,3.51],[1714322866000,2.736],[1714323186000,3.528],[1714323506000,2.7],[1714323762000,1.8],[1714324108000,1.98],[1714324370000,2.52],[1714324690000,2.304],[1714325010000,1.62],[1714325266000,2.16],[1714325586000,2.376],[1714325906000,1.8],[1714326162000,1.8],[1714326482000,1.8],[1714326802000,0.81],[1714327052000,1.368],[1714327378000,2.088],[1714327698000,1.62],[1714327953000,3.096],[1714328274000,2.376],[1714328595000,2.16],[1714328850000,1.8],[1714329173000,2.016],[1714329490000,1.44],[1714329810000,2.43],[1714330066000,1.584],[1714330402000,0.63],[1714330658000,1.512],[1714330979000,2.016],[1714331298000,3.96],[1714331553000,1.872],[1714331874000,2.376],[1714332571000,1.919999988],[1714332770000,1.728],[1714333090000,1.728],[1714333410000,0.9],[1714333666000,0.864],[1714333986000,0.288],[1714334306000,0],[1714334578000,0.72],[1714334898000,0],[1714335153000,2.736],[1714335474000,2.808],[1714335794000,2.34],[1714336066000,2.448],[1714336386000,1.224],[1714336706000,0.72],[1714336962000,1.656],[1714337282000,2.88],[1714337602000,2.97],[1714337874000,2.376],[1714338210000,2.61],[1714338466000,1.944],[1714338786000,2.52],[1714339090000,2.88],[1714339410000,0.81],[1714339666000,0],[1714339961000,1.152],[1714340290000,1.512],[1714340610000,0.54],[1714340866000,1.296],[1714341186000,0.72],[1714341506000,2.52],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1714255220000,0],[1714255411000,0],[1714255667000,1.008],[1714255988000,0],[1714256307000,0],[1714256564000,0],[1714256883000,0],[1714257203000,0],[1714257459000,0],[1714257780000,0],[1714258100000,0],[1714258353000,1.008],[1714258675000,0.504],[1714258995000,1.89],[1714259251000,1.008],[1714259571000,0],[1714259891000,1.512],[1714260211000,0],[1714260467000,0],[1714260787000,1.512],[1714261107000,0.63],[1714261363000,0.504],[1714261683000,0.504],[1714262003000,0.63],[1714262252000,0],[1714262579000,0],[1714262899000,0],[1714263155000,1.512],[1714263475000,0],[1714263795000,1.89],[1714264052000,1.008],[1714264388000,1.008],[1714264707000,0],[1714264963000,0],[1714265299000,1.26],[1714265552000,0],[1714265875000,2.016],[1714266212000,1.26],[1714266468000,0.504],[1714266787000,0],[1714267107000,0.63],[1714267352000,1.512],[1714267667000,2.016],[1714267987000,0],[1714268307000,0],[1714268552000,0.504],[1714268884000,2.52],[1714269204000,3.15],[1714269460000,2.52],[1714269780000,0],[1714270100000,0],[1714270352000,0],[1714270676000,0],[1714270998000,0.63],[1714271252000,1.008],[1714271573000,3.024],[1714271893000,2.016],[1714272212000,3.15],[1714272468000,1.89],[1714272752000,1.008],[1714273077000,1.512],[1714273396000,3.78],[1714273652000,4.032],[1714273971000,5.04],[1714274291000,4.032],[1714274611000,4.41],[1714274867000,4.536],[1714275188000,2.016],[1714275507000,1.26],[1714275763000,2.016],[1714276083000,3.024],[1714276403000,5.67],[1714276659000,4.536],[1714276979000,5.04],[1714277299000,6.39],[1714277556000,5.544],[1714277876000,2.52],[1714278196000,3.15],[1714278452000,6.696],[1714278772000,5.04],[1714279092000,5.544],[1714279412000,5.04],[1714279668000,6.048],[1714279988000,7.632],[1714280309000,5.67],[1714280564000,5.616],[1714280885000,6.048],[1714281204000,5.67],[1714281461000,6.552],[1714281780000,6.624],[1714282100000,4.41],[1714282355000,7.56],[1714282677000,5.544],[1714282995000,6.93],[1714283252000,5.544],[1714283572000,6.048],[1714283892000,8.19],[1714284163000,5.04],[1714284483000,5.04],[1714284803000,4.41],[1714285059000,6.048],[1714285379000,6.048],[1714285699000,8.19],[1714285956000,8.568],[1714286292000,7.056],[1714286612000,5.04],[1714286867000,7.056],[1714287188000,5.04],[1714287508000,6.3],[1714287764000,2.52],[1714288084000,5.112],[1714288404000,1.26],[1714288659000,2.016],[1714288979000,4.032],[1714289299000,3.15],[1714289555000,3.024],[1714289875000,10.224],[1714290195000,10.89],[1714290451000,9.216],[1714290772000,5.544],[1714291091000,6.048],[1714291411000,6.93],[1714291667000,10.224],[1714291987000,8.64],[1714292307000,8.82],[1714292563000,8.136],[1714292883000,10.728],[1714293203000,8.28],[1714293459000,9.576],[1714293779000,8.64],[1714294100000,8.91],[1714294352000,10.728],[1714294675000,11.736],[1714294995000,14.76],[1714295251000,9.648],[1714295571000,15.984],[1714295891000,10.8],[1714296211000,13.41],[1714296467000,6.3],[1714296755000,15.93],[1714297300000,20.52],[1714297364000,16.92],[1714297683000,13.752],[1714298003000,22.41],[1714298252000,22.032],[1714298579000,16.992],[1714298899000,16.65],[1714299154000,13.32],[1714299475000,14.832],[1714299796000,9],[1714300051000,16.488],[1714300371000,16.488],[1714300707000,10.17],[1714300963000,12.24],[1714301283000,11.304],[1714301603000,14.13],[1714301859000,19.512],[1714302180000,18],[1714302500000,21.78],[1714302752000,16.416],[1714303075000,10.152],[1714303395000,16.74],[1714303651000,13.824],[1714303972000,17.496],[1714304292000,13.896],[1714304611000,13.5],[1714304867000,13.32],[1714305189000,8.568],[1714305507000,11.52],[1714305763000,10.224],[1714306083000,9.648],[1714306404000,10.17],[1714306660000,15.408],[1714306979000,16.11],[1714307313000,16.65],[1714307572000,17.496],[1714307891000,16.992],[1714308212000,14.85],[1714308468000,15.408],[1714308787000,15.408],[1714309107000,14.76],[1714309363000,14.256],[1714309687000,17.28],[1714309970000,14.904],[1714310290000,19.89],[1714310551000,13.968],[1714310883000,18.504],[1714311204000,18],[1714311459000,19.512],[1714311779000,21.528],[1714312099000,12.87],[1714312355000,16.992],[1714312675000,15.48],[1714312997000,17.37],[1714313252000,13.392],[1714313570000,15.408],[1714313890000,20.52],[1714314210000,14.22],[1714314466000,18.504],[1714314786000,15.48],[1714315106000,12.24],[1714315353000,18],[1714315698000,14.13],[1714315952000,17.424],[1714316274000,15.912],[1714316610000,10.89],[1714316866000,12.312],[1714317186000,10.224],[1714317506000,8.19],[1714317762000,13.392],[1714318082000,12.888],[1714318402000,11.52],[1714318658000,10.224],[1714318978000,3.528],[1714319298000,5.04],[1714319552000,4.032],[1714319890000,6.552],[1714320210000,3.78],[1714320466000,2.016],[1714320786000,0],[1714321122000,1.89],[1714321395000,2.52],[1714321651000,4.032],[1714322011000,3.15],[1714322290000,3.528],[1714322610000,5.04],[1714322866000,3.528],[1714323186000,5.04],[1714323506000,3.78],[1714323762000,3.528],[1714324108000,3.15],[1714324370000,3.024],[1714324690000,3.528],[1714325010000,2.52],[1714325266000,3.528],[1714325586000,3.024],[1714325906000,3.78],[1714326162000,2.52],[1714326482000,3.024],[1714326802000,2.52],[1714327052000,3.024],[1714327378000,3.528],[1714327698000,3.78],[1714327953000,5.544],[1714328274000,3.528],[1714328595000,3.15],[1714328850000,2.016],[1714329173000,3.024],[1714329490000,2.52],[1714329810000,3.78],[1714330066000,3.528],[1714330402000,0.63],[1714330658000,2.52],[1714330979000,3.024],[1714331298000,5.67],[1714331553000,2.52],[1714331874000,3.024],[1714332571000,3.359999988],[1714332770000,3.024],[1714333090000,3.024],[1714333410000,1.26],[1714333666000,1.512],[1714333986000,0.504],[1714334306000,0],[1714334578000,2.52],[1714334898000,0],[1714335153000,4.536],[1714335474000,3.528],[1714335794000,3.15],[1714336066000,3.024],[1714336386000,2.016],[1714336706000,1.89],[1714336962000,3.528],[1714337282000,4.536],[1714337602000,3.78],[1714337874000,3.024],[1714338210000,3.78],[1714338466000,2.52],[1714338786000,3.359999988],[1714339090000,4.032],[1714339410000,1.89],[1714339666000,0],[1714339961000,1.512],[1714340290000,1.512],[1714340610000,0.63],[1714340866000,1.512],[1714341186000,1.512],[1714341506000,2.52],], 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: [[1714255220000,353.00000000],[1714255411000,353.00000000],[1714255667000,318.80000000],[1714255988000,274.60000000],[1714256307000,275.00000000],[1714256564000,272.20000000],[1714256883000,280.80000000],[1714257203000,295.50000000],[1714257459000,291.00000000],[1714257780000,282.60000000],[1714258100000,271.25000000],[1714258353000,279.40000000],[1714258675000,307.20000000],[1714258995000,272.25000000],[1714259251000,273.40000000],[1714259571000,267.00000000],[1714259891000,282.00000000],[1714260211000,296.75000000],[1714260467000,300.60000000],[1714260787000,283.20000000],[1714261107000,285.50000000],[1714261363000,283.00000000],[1714261683000,287.20000000],[1714262003000,290.00000000],[1714262252000,289.60000000],[1714262579000,289.00000000],[1714262899000,292.50000000],[1714263155000,274.00000000],[1714263475000,287.80000000],[1714263795000,294.50000000],[1714264052000,283.80000000],[1714264388000,293.60000000],[1714264707000,308.00000000],[1714264963000,292.20000000],[1714265299000,279.25000000],[1714265552000,286.60000000],[1714265875000,271.00000000],[1714266212000,278.00000000],[1714266468000,290.40000000],[1714266787000,291.00000000],[1714267107000,286.25000000],[1714267352000,285.00000000],[1714267667000,267.80000000],[1714267987000,270.80000000],[1714268307000,270.50000000],[1714268552000,277.40000000],[1714268884000,263.00000000],[1714269204000,191.25000000],[1714269460000,289.60000000],[1714269780000,278.60000000],[1714270100000,292.00000000],[1714270352000,297.20000000],[1714270676000,279.00000000],[1714270998000,279.50000000],[1714271252000,290.00000000],[1714271573000,284.20000000],[1714271893000,322.40000000],[1714272212000,227.75000000],[1714272468000,275.50000000],[1714272752000,297.00000000],[1714273077000,310.40000000],[1714273396000,217.75000000],[1714273652000,173.40000000],[1714273971000,197.20000000],[1714274291000,250.80000000],[1714274611000,223.25000000],[1714274867000,259.20000000],[1714275188000,249.40000000],[1714275507000,290.50000000],[1714275763000,289.80000000],[1714276083000,248.60000000],[1714276403000,174.75000000],[1714276659000,220.60000000],[1714276979000,127.60000000],[1714277299000,96.75000000],[1714277556000,161.20000000],[1714277876000,170.80000000],[1714278196000,245.50000000],[1714278452000,150.00000000],[1714278772000,162.40000000],[1714279092000,175.40000000],[1714279412000,109.25000000],[1714279668000,191.40000000],[1714279988000,232.20000000],[1714280309000,167.75000000],[1714280564000,126.60000000],[1714280885000,243.60000000],[1714281204000,111.00000000],[1714281461000,119.60000000],[1714281780000,125.00000000],[1714282100000,171.50000000],[1714282355000,231.60000000],[1714282677000,175.60000000],[1714282995000,166.25000000],[1714283252000,124.60000000],[1714283572000,217.40000000],[1714283892000,239.00000000],[1714284163000,200.40000000],[1714284483000,256.60000000],[1714284803000,207.75000000],[1714285059000,69.80000000],[1714285379000,98.60000000],[1714285699000,41.50000000],[1714285956000,169.00000000],[1714286292000,147.60000000],[1714286612000,228.50000000],[1714286867000,171.40000000],[1714287188000,124.60000000],[1714287508000,266.25000000],[1714287764000,226.80000000],[1714288084000,201.80000000],[1714288404000,281.50000000],[1714288659000,220.20000000],[1714288979000,216.20000000],[1714289299000,264.00000000],[1714289555000,250.20000000],[1714289875000,193.60000000],[1714290195000,207.25000000],[1714290451000,213.20000000],[1714290772000,233.80000000],[1714291091000,222.00000000],[1714291411000,205.50000000],[1714291667000,193.80000000],[1714291987000,197.80000000],[1714292307000,194.75000000],[1714292563000,194.60000000],[1714292883000,191.40000000],[1714293203000,216.50000000],[1714293459000,195.60000000],[1714293779000,179.60000000],[1714294100000,187.00000000],[1714294352000,181.20000000],[1714294675000,193.00000000],[1714294995000,191.00000000],[1714295251000,197.00000000],[1714295571000,189.60000000],[1714295891000,200.20000000],[1714296211000,174.00000000],[1714296467000,220.25000000],[1714296755000,193.00000000],[1714297300000,190.00000000],[1714297364000,189.60000000],[1714297683000,173.40000000],[1714298003000,177.00000000],[1714298252000,186.00000000],[1714298579000,186.80000000],[1714298899000,195.00000000],[1714299154000,173.20000000],[1714299475000,207.20000000],[1714299796000,178.25000000],[1714300051000,179.60000000],[1714300371000,181.20000000],[1714300707000,198.25000000],[1714300963000,182.60000000],[1714301283000,194.00000000],[1714301603000,190.50000000],[1714301859000,188.80000000],[1714302180000,190.00000000],[1714302500000,180.50000000],[1714302752000,191.60000000],[1714303075000,182.60000000],[1714303395000,184.25000000],[1714303651000,182.00000000],[1714303972000,188.80000000],[1714304292000,174.60000000],[1714304611000,188.75000000],[1714304867000,226.40000000],[1714305189000,154.00000000],[1714305507000,176.00000000],[1714305763000,197.20000000],[1714306083000,208.00000000],[1714306404000,200.75000000],[1714306660000,186.00000000],[1714306979000,186.50000000],[1714307313000,202.25000000],[1714307572000,176.00000000],[1714307891000,187.80000000],[1714308212000,223.25000000],[1714308468000,186.60000000],[1714308787000,181.40000000],[1714309107000,187.25000000],[1714309363000,184.20000000],[1714309687000,180.75000000],[1714309970000,185.00000000],[1714310290000,183.25000000],[1714310551000,189.20000000],[1714310883000,185.20000000],[1714311204000,184.75000000],[1714311459000,195.00000000],[1714311779000,184.80000000],[1714312099000,197.00000000],[1714312355000,200.00000000],[1714312675000,185.00000000],[1714312997000,186.75000000],[1714313252000,196.20000000],[1714313570000,184.00000000],[1714313890000,188.20000000],[1714314210000,190.00000000],[1714314466000,189.60000000],[1714314786000,188.20000000],[1714315106000,196.50000000],[1714315353000,180.60000000],[1714315698000,180.25000000],[1714315952000,180.20000000],[1714316274000,190.80000000],[1714316610000,201.75000000],[1714316866000,167.20000000],[1714317186000,197.00000000],[1714317506000,183.25000000],[1714317762000,172.00000000],[1714318082000,178.80000000],[1714318402000,187.75000000],[1714318658000,189.60000000],[1714318978000,266.60000000],[1714319298000,248.75000000],[1714319552000,228.40000000],[1714319890000,228.80000000],[1714320210000,254.50000000],[1714320466000,302.20000000],[1714320786000,293.50000000],[1714321122000,306.25000000],[1714321395000,255.25000000],[1714321651000,36.00000000],[1714322011000,194.75000000],[1714322290000,204.20000000],[1714322610000,113.00000000],[1714322866000,79.20000000],[1714323186000,167.40000000],[1714323506000,125.50000000],[1714323762000,200.40000000],[1714324108000,248.75000000],[1714324370000,208.00000000],[1714324690000,208.60000000],[1714325010000,320.75000000],[1714325266000,333.00000000],[1714325586000,313.40000000],[1714325906000,249.50000000],[1714326162000,251.80000000],[1714326482000,253.60000000],[1714326802000,258.25000000],[1714327052000,287.40000000],[1714327378000,154.40000000],[1714327698000,241.50000000],[1714327953000,137.60000000],[1714328274000,159.00000000],[1714328595000,202.75000000],[1714328850000,185.60000000],[1714329173000,238.60000000],[1714329490000,195.00000000],[1714329810000,202.75000000],[1714330066000,257.60000000],[1714330402000,270.25000000],[1714330658000,271.60000000],[1714330979000,282.80000000],[1714331298000,67.75000000],[1714331553000,245.40000000],[1714331874000,269.80000000],[1714332571000,190.66666667],[1714332770000,253.20000000],[1714333090000,257.80000000],[1714333410000,300.25000000],[1714333666000,237.80000000],[1714333986000,283.40000000],[1714334306000,272.00000000],[1714334578000,277.80000000],[1714334898000,293.75000000],[1714335153000,221.00000000],[1714335474000,218.40000000],[1714335794000,243.50000000],[1714336066000,213.20000000],[1714336386000,272.00000000],[1714336706000,274.00000000],[1714336962000,197.60000000],[1714337282000,261.40000000],[1714337602000,264.75000000],[1714337874000,259.20000000],[1714338210000,242.75000000],[1714338466000,244.00000000],[1714338786000,245.00000000],[1714339090000,283.00000000],[1714339410000,271.50000000],[1714339666000,293.00000000],[1714339961000,277.00000000],[1714340290000,274.40000000],[1714340610000,286.75000000],[1714340866000,280.20000000],[1714341186000,291.40000000],[1714341506000,247.50000000],], 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: [[1714255220000,0.00000000],[1714255411000,0.00000000],[1714255667000,0.00000000],[1714255988000,0.00000000],[1714256307000,0.00000000],[1714256564000,0.00000000],[1714256883000,0.00000000],[1714257203000,0.00000000],[1714257459000,0.00000000],[1714257780000,0.00000000],[1714258100000,0.00000000],[1714258353000,0.00000000],[1714258675000,0.00000000],[1714258995000,0.00000000],[1714259251000,0.00000000],[1714259571000,0.00000000],[1714259891000,0.00000000],[1714260211000,0.00000000],[1714260467000,0.00000000],[1714260787000,0.00000000],[1714261107000,0.00000000],[1714261363000,0.00000000],[1714261683000,0.00000000],[1714262003000,0.00000000],[1714262252000,0.00000000],[1714262579000,0.00000000],[1714262899000,0.00000000],[1714263155000,0.00000000],[1714263475000,0.00000000],[1714263795000,0.00000000],[1714264052000,0.00000000],[1714264388000,0.00000000],[1714264707000,0.00000000],[1714264963000,0.00000000],[1714265299000,0.00000000],[1714265552000,0.00000000],[1714265875000,0.00000000],[1714266212000,0.00000000],[1714266468000,0.00000000],[1714266787000,0.00000000],[1714267107000,0.00000000],[1714267352000,0.00000000],[1714267667000,0.00000000],[1714267987000,0.00000000],[1714268307000,0.00000000],[1714268552000,0.00000000],[1714268884000,0.00000000],[1714269204000,0.00000000],[1714269460000,0.00000000],[1714269780000,0.00000000],[1714270100000,0.00000000],[1714270352000,0.00000000],[1714270676000,0.00000000],[1714270998000,0.00000000],[1714271252000,0.00000000],[1714271573000,0.00000000],[1714271893000,0.00000000],[1714272212000,0.00000000],[1714272468000,0.00000000],[1714272752000,0.00000000],[1714273077000,0.00000000],[1714273396000,0.00000000],[1714273652000,0.00000000],[1714273971000,0.00000000],[1714274291000,1.00000000],[1714274611000,1.25000000],[1714274867000,2.20000000],[1714275188000,3.60000000],[1714275507000,5.00000000],[1714275763000,6.40000000],[1714276083000,8.40000000],[1714276403000,9.75000000],[1714276659000,11.80000000],[1714276979000,13.80000000],[1714277299000,15.50000000],[1714277556000,17.60000000],[1714277876000,19.40000000],[1714278196000,21.00000000],[1714278452000,21.80000000],[1714278772000,23.20000000],[1714279092000,24.20000000],[1714279412000,25.25000000],[1714279668000,26.20000000],[1714279988000,26.80000000],[1714280309000,27.75000000],[1714280564000,28.60000000],[1714280885000,30.20000000],[1714281204000,31.25000000],[1714281461000,32.40000000],[1714281780000,33.00000000],[1714282100000,34.25000000],[1714282355000,35.40000000],[1714282677000,36.20000000],[1714282995000,89.25000000],[1714283252000,145.20000000],[1714283572000,82.60000000],[1714283892000,53.50000000],[1714284163000,138.60000000],[1714284483000,205.20000000],[1714284803000,265.00000000],[1714285059000,195.00000000],[1714285379000,276.00000000],[1714285699000,222.50000000],[1714285956000,212.40000000],[1714286292000,218.60000000],[1714286612000,223.25000000],[1714286867000,299.20000000],[1714287188000,269.20000000],[1714287508000,329.00000000],[1714287764000,255.60000000],[1714288084000,195.60000000],[1714288404000,170.75000000],[1714288659000,163.80000000],[1714288979000,164.60000000],[1714289299000,135.50000000],[1714289555000,168.60000000],[1714289875000,212.40000000],[1714290195000,240.00000000],[1714290451000,207.20000000],[1714290772000,233.20000000],[1714291091000,290.80000000],[1714291411000,363.75000000],[1714291667000,309.00000000],[1714291987000,204.20000000],[1714292307000,301.50000000],[1714292563000,264.00000000],[1714292883000,311.60000000],[1714293203000,416.00000000],[1714293459000,317.20000000],[1714293779000,309.60000000],[1714294100000,411.50000000],[1714294352000,302.20000000],[1714294675000,402.80000000],[1714294995000,297.25000000],[1714295251000,461.60000000],[1714295571000,576.00000000],[1714295891000,616.20000000],[1714296211000,623.00000000],[1714296467000,588.25000000],[1714296755000,629.75000000],[1714297300000,634.00000000],[1714297364000,627.60000000],[1714297683000,526.60000000],[1714298003000,645.50000000],[1714298252000,554.80000000],[1714298579000,633.40000000],[1714298899000,631.75000000],[1714299154000,623.80000000],[1714299475000,599.00000000],[1714299796000,583.00000000],[1714300051000,598.20000000],[1714300371000,595.40000000],[1714300707000,572.25000000],[1714300963000,549.60000000],[1714301283000,562.40000000],[1714301603000,608.50000000],[1714301859000,631.20000000],[1714302180000,604.60000000],[1714302500000,392.25000000],[1714302752000,369.40000000],[1714303075000,346.60000000],[1714303395000,422.50000000],[1714303651000,381.80000000],[1714303972000,581.60000000],[1714304292000,264.00000000],[1714304611000,239.75000000],[1714304867000,579.00000000],[1714305189000,593.20000000],[1714305507000,283.25000000],[1714305763000,463.20000000],[1714306083000,532.80000000],[1714306404000,524.25000000],[1714306660000,365.40000000],[1714306979000,437.50000000],[1714307313000,440.25000000],[1714307572000,384.00000000],[1714307891000,248.60000000],[1714308212000,215.75000000],[1714308468000,221.40000000],[1714308787000,261.60000000],[1714309107000,270.25000000],[1714309363000,253.00000000],[1714309687000,287.75000000],[1714309970000,358.80000000],[1714310290000,397.25000000],[1714310551000,351.20000000],[1714310883000,379.00000000],[1714311204000,362.25000000],[1714311459000,398.40000000],[1714311779000,378.80000000],[1714312099000,327.50000000],[1714312355000,318.40000000],[1714312675000,286.00000000],[1714312997000,310.50000000],[1714313252000,318.20000000],[1714313570000,166.20000000],[1714313890000,153.00000000],[1714314210000,143.50000000],[1714314466000,150.60000000],[1714314786000,123.40000000],[1714315106000,131.75000000],[1714315353000,112.00000000],[1714315698000,131.25000000],[1714315952000,147.00000000],[1714316274000,129.60000000],[1714316610000,85.75000000],[1714316866000,79.20000000],[1714317186000,77.00000000],[1714317506000,76.75000000],[1714317762000,86.00000000],[1714318082000,77.60000000],[1714318402000,75.75000000],[1714318658000,72.20000000],[1714318978000,67.20000000],[1714319298000,72.75000000],[1714319552000,73.40000000],[1714319890000,71.00000000],[1714320210000,70.75000000],[1714320466000,64.20000000],[1714320786000,58.00000000],[1714321122000,51.50000000],[1714321395000,49.00000000],[1714321651000,47.40000000],[1714322011000,45.25000000],[1714322290000,43.40000000],[1714322610000,41.50000000],[1714322866000,38.60000000],[1714323186000,35.00000000],[1714323506000,30.50000000],[1714323762000,25.80000000],[1714324108000,21.00000000],[1714324370000,17.40000000],[1714324690000,13.60000000],[1714325010000,11.00000000],[1714325266000,8.80000000],[1714325586000,6.60000000],[1714325906000,4.75000000],[1714326162000,3.40000000],[1714326482000,2.20000000],[1714326802000,1.25000000],[1714327052000,1.00000000],[1714327378000,0.60000000],[1714327698000,0.00000000],[1714327953000,0.00000000],[1714328274000,0.00000000],[1714328595000,0.00000000],[1714328850000,0.00000000],[1714329173000,0.00000000],[1714329490000,0.00000000],[1714329810000,0.00000000],[1714330066000,0.00000000],[1714330402000,0.00000000],[1714330658000,0.00000000],[1714330979000,0.00000000],[1714331298000,0.00000000],[1714331553000,0.00000000],[1714331874000,0.00000000],[1714332571000,0.00000000],[1714332770000,0.00000000],[1714333090000,0.00000000],[1714333410000,0.00000000],[1714333666000,0.00000000],[1714333986000,0.00000000],[1714334306000,0.00000000],[1714334578000,0.00000000],[1714334898000,0.00000000],[1714335153000,0.00000000],[1714335474000,0.00000000],[1714335794000,0.00000000],[1714336066000,0.00000000],[1714336386000,0.00000000],[1714336706000,0.00000000],[1714336962000,0.00000000],[1714337282000,0.00000000],[1714337602000,0.00000000],[1714337874000,0.00000000],[1714338210000,0.00000000],[1714338466000,0.00000000],[1714338786000,0.00000000],[1714339090000,0.00000000],[1714339410000,0.00000000],[1714339666000,0.00000000],[1714339961000,0.00000000],[1714340290000,0.00000000],[1714340610000,0.00000000],[1714340866000,0.00000000],[1714341186000,0.00000000],[1714341506000,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: [[1714255220000,0.00000000],[1714255411000,0.00000000],[1714255667000,0.00000000],[1714255988000,0.00000000],[1714256307000,0.00000000],[1714256564000,0.00000000],[1714256883000,0.00000000],[1714257203000,0.00000000],[1714257459000,0.00000000],[1714257780000,0.00000000],[1714258100000,0.00000000],[1714258353000,0.00000000],[1714258675000,0.00000000],[1714258995000,0.00000000],[1714259251000,0.00000000],[1714259571000,0.00000000],[1714259891000,0.00000000],[1714260211000,0.00000000],[1714260467000,0.00000000],[1714260787000,0.00000000],[1714261107000,0.00000000],[1714261363000,0.00000000],[1714261683000,0.00000000],[1714262003000,0.00000000],[1714262252000,0.00000000],[1714262579000,0.00000000],[1714262899000,0.00000000],[1714263155000,0.00000000],[1714263475000,0.00000000],[1714263795000,0.00000000],[1714264052000,0.00000000],[1714264388000,0.00000000],[1714264707000,0.00000000],[1714264963000,0.00000000],[1714265299000,0.00000000],[1714265552000,0.00000000],[1714265875000,0.00000000],[1714266212000,0.00000000],[1714266468000,0.00000000],[1714266787000,0.00000000],[1714267107000,0.00000000],[1714267352000,0.00000000],[1714267667000,0.00000000],[1714267987000,0.00000000],[1714268307000,0.00000000],[1714268552000,0.00000000],[1714268884000,0.00000000],[1714269204000,0.00000000],[1714269460000,0.00000000],[1714269780000,0.00000000],[1714270100000,0.00000000],[1714270352000,0.00000000],[1714270676000,0.00000000],[1714270998000,0.00000000],[1714271252000,0.00000000],[1714271573000,0.00000000],[1714271893000,0.00000000],[1714272212000,0.00000000],[1714272468000,0.00000000],[1714272752000,0.00000000],[1714273077000,0.00000000],[1714273396000,0.00000000],[1714273652000,0.00000000],[1714273971000,0.00000000],[1714274291000,0.00000000],[1714274611000,0.00000000],[1714274867000,0.00000000],[1714275188000,0.00000000],[1714275507000,0.00000000],[1714275763000,0.00000000],[1714276083000,0.00000000],[1714276403000,0.00000000],[1714276659000,0.00000000],[1714276979000,0.00000000],[1714277299000,0.00000000],[1714277556000,0.00000000],[1714277876000,0.00000000],[1714278196000,0.00000000],[1714278452000,0.00000000],[1714278772000,0.00000000],[1714279092000,0.00000000],[1714279412000,0.00000000],[1714279668000,0.00000000],[1714279988000,0.00000000],[1714280309000,0.00000000],[1714280564000,0.00000000],[1714280885000,0.00000000],[1714281204000,0.00000000],[1714281461000,0.00000000],[1714281780000,0.00000000],[1714282100000,0.00000000],[1714282355000,0.00000000],[1714282677000,0.00000000],[1714282995000,0.25000000],[1714283252000,0.80000000],[1714283572000,0.40000000],[1714283892000,0.00000000],[1714284163000,0.80000000],[1714284483000,1.40000000],[1714284803000,2.00000000],[1714285059000,1.40000000],[1714285379000,2.20000000],[1714285699000,1.75000000],[1714285956000,1.60000000],[1714286292000,1.60000000],[1714286612000,1.50000000],[1714286867000,2.40000000],[1714287188000,2.20000000],[1714287508000,2.75000000],[1714287764000,2.00000000],[1714288084000,1.20000000],[1714288404000,1.00000000],[1714288659000,1.00000000],[1714288979000,1.20000000],[1714289299000,1.00000000],[1714289555000,1.00000000],[1714289875000,1.60000000],[1714290195000,1.75000000],[1714290451000,1.20000000],[1714290772000,2.00000000],[1714291091000,2.40000000],[1714291411000,3.00000000],[1714291667000,2.40000000],[1714291987000,1.40000000],[1714292307000,2.25000000],[1714292563000,2.20000000],[1714292883000,2.80000000],[1714293203000,3.25000000],[1714293459000,2.60000000],[1714293779000,2.40000000],[1714294100000,3.25000000],[1714294352000,2.60000000],[1714294675000,3.40000000],[1714294995000,2.25000000],[1714295251000,4.20000000],[1714295571000,5.00000000],[1714295891000,5.60000000],[1714296211000,6.00000000],[1714296467000,5.25000000],[1714296755000,6.00000000],[1714297300000,6.00000000],[1714297364000,5.60000000],[1714297683000,4.60000000],[1714298003000,6.00000000],[1714298252000,5.20000000],[1714298579000,5.80000000],[1714298899000,6.00000000],[1714299154000,5.80000000],[1714299475000,5.40000000],[1714299796000,5.00000000],[1714300051000,5.00000000],[1714300371000,5.20000000],[1714300707000,5.00000000],[1714300963000,4.80000000],[1714301283000,5.00000000],[1714301603000,5.50000000],[1714301859000,6.00000000],[1714302180000,5.40000000],[1714302500000,3.50000000],[1714302752000,3.00000000],[1714303075000,2.80000000],[1714303395000,3.50000000],[1714303651000,3.20000000],[1714303972000,5.00000000],[1714304292000,2.00000000],[1714304611000,1.75000000],[1714304867000,5.20000000],[1714305189000,5.20000000],[1714305507000,2.25000000],[1714305763000,3.80000000],[1714306083000,4.40000000],[1714306404000,4.50000000],[1714306660000,3.00000000],[1714306979000,3.75000000],[1714307313000,3.75000000],[1714307572000,3.00000000],[1714307891000,2.00000000],[1714308212000,1.75000000],[1714308468000,2.00000000],[1714308787000,2.00000000],[1714309107000,2.00000000],[1714309363000,2.00000000],[1714309687000,2.25000000],[1714309970000,3.00000000],[1714310290000,3.25000000],[1714310551000,2.80000000],[1714310883000,3.00000000],[1714311204000,3.00000000],[1714311459000,3.00000000],[1714311779000,3.00000000],[1714312099000,3.00000000],[1714312355000,2.40000000],[1714312675000,2.20000000],[1714312997000,2.75000000],[1714313252000,2.80000000],[1714313570000,1.00000000],[1714313890000,1.00000000],[1714314210000,1.00000000],[1714314466000,1.00000000],[1714314786000,1.00000000],[1714315106000,1.00000000],[1714315353000,1.00000000],[1714315698000,1.00000000],[1714315952000,1.00000000],[1714316274000,0.80000000],[1714316610000,0.00000000],[1714316866000,0.00000000],[1714317186000,0.00000000],[1714317506000,0.00000000],[1714317762000,0.00000000],[1714318082000,0.00000000],[1714318402000,0.00000000],[1714318658000,0.00000000],[1714318978000,0.00000000],[1714319298000,0.00000000],[1714319552000,0.00000000],[1714319890000,0.00000000],[1714320210000,0.00000000],[1714320466000,0.00000000],[1714320786000,0.00000000],[1714321122000,0.00000000],[1714321395000,0.00000000],[1714321651000,0.00000000],[1714322011000,0.00000000],[1714322290000,0.00000000],[1714322610000,0.00000000],[1714322866000,0.00000000],[1714323186000,0.00000000],[1714323506000,0.00000000],[1714323762000,0.00000000],[1714324108000,0.00000000],[1714324370000,0.00000000],[1714324690000,0.00000000],[1714325010000,0.00000000],[1714325266000,0.00000000],[1714325586000,0.00000000],[1714325906000,0.00000000],[1714326162000,0.00000000],[1714326482000,0.00000000],[1714326802000,0.00000000],[1714327052000,0.00000000],[1714327378000,0.00000000],[1714327698000,0.00000000],[1714327953000,0.00000000],[1714328274000,0.00000000],[1714328595000,0.00000000],[1714328850000,0.00000000],[1714329173000,0.00000000],[1714329490000,0.00000000],[1714329810000,0.00000000],[1714330066000,0.00000000],[1714330402000,0.00000000],[1714330658000,0.00000000],[1714330979000,0.00000000],[1714331298000,0.00000000],[1714331553000,0.00000000],[1714331874000,0.00000000],[1714332571000,0.00000000],[1714332770000,0.00000000],[1714333090000,0.00000000],[1714333410000,0.00000000],[1714333666000,0.00000000],[1714333986000,0.00000000],[1714334306000,0.00000000],[1714334578000,0.00000000],[1714334898000,0.00000000],[1714335153000,0.00000000],[1714335474000,0.00000000],[1714335794000,0.00000000],[1714336066000,0.00000000],[1714336386000,0.00000000],[1714336706000,0.00000000],[1714336962000,0.00000000],[1714337282000,0.00000000],[1714337602000,0.00000000],[1714337874000,0.00000000],[1714338210000,0.00000000],[1714338466000,0.00000000],[1714338786000,0.00000000],[1714339090000,0.00000000],[1714339410000,0.00000000],[1714339666000,0.00000000],[1714339961000,0.00000000],[1714340290000,0.00000000],[1714340610000,0.00000000],[1714340866000,0.00000000],[1714341186000,0.00000000],[1714341506000,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: [[1714255220000,0.00000000],[1714255411000,0.00000000],[1714255667000,0.00000000],[1714255988000,0.00000000],[1714256307000,0.00000000],[1714256564000,0.00000000],[1714256883000,0.00000000],[1714257203000,0.00000000],[1714257459000,0.00000000],[1714257780000,0.00000000],[1714258100000,0.00000000],[1714258353000,0.00000000],[1714258675000,0.00000000],[1714258995000,0.00000000],[1714259251000,0.00000000],[1714259571000,0.00000000],[1714259891000,0.00000000],[1714260211000,0.00000000],[1714260467000,0.00000000],[1714260787000,0.00000000],[1714261107000,0.00000000],[1714261363000,0.00000000],[1714261683000,0.00000000],[1714262003000,0.00000000],[1714262252000,0.00000000],[1714262579000,0.00000000],[1714262899000,0.00000000],[1714263155000,0.00000000],[1714263475000,0.00000000],[1714263795000,0.00000000],[1714264052000,0.00000000],[1714264388000,0.00000000],[1714264707000,0.00000000],[1714264963000,0.00000000],[1714265299000,0.00000000],[1714265552000,0.00000000],[1714265875000,0.00000000],[1714266212000,0.00000000],[1714266468000,0.00000000],[1714266787000,0.00000000],[1714267107000,0.00000000],[1714267352000,0.00000000],[1714267667000,0.00000000],[1714267987000,0.00000000],[1714268307000,0.00000000],[1714268552000,0.00000000],[1714268884000,0.00000000],[1714269204000,0.00000000],[1714269460000,0.00000000],[1714269780000,0.00000000],[1714270100000,0.00000000],[1714270352000,0.00000000],[1714270676000,0.00000000],[1714270998000,0.00000000],[1714271252000,0.00000000],[1714271573000,0.00000000],[1714271893000,0.00000000],[1714272212000,0.00000000],[1714272468000,0.00000000],[1714272752000,0.00000000],[1714273077000,0.00000000],[1714273396000,0.00000000],[1714273652000,0.00000000],[1714273971000,0.00000000],[1714274291000,0.00000000],[1714274611000,0.00000000],[1714274867000,0.00000000],[1714275188000,0.00000000],[1714275507000,0.00000000],[1714275763000,0.00000000],[1714276083000,0.00000000],[1714276403000,0.00000000],[1714276659000,0.00000000],[1714276979000,0.00000000],[1714277299000,0.00000000],[1714277556000,0.00000000],[1714277876000,0.00000000],[1714278196000,0.00000000],[1714278452000,0.00000000],[1714278772000,0.00000000],[1714279092000,0.00000000],[1714279412000,0.00000000],[1714279668000,0.00000000],[1714279988000,0.00000000],[1714280309000,0.00000000],[1714280564000,0.00000000],[1714280885000,0.00000000],[1714281204000,0.00000000],[1714281461000,0.00000000],[1714281780000,0.00000000],[1714282100000,0.00000000],[1714282355000,0.00000000],[1714282677000,0.00000000],[1714282995000,0.00000000],[1714283252000,0.00000000],[1714283572000,0.00000000],[1714283892000,0.00000000],[1714284163000,0.00000000],[1714284483000,0.00000000],[1714284803000,0.00000000],[1714285059000,0.00000000],[1714285379000,0.00000000],[1714285699000,0.00000000],[1714285956000,0.00000000],[1714286292000,0.00000000],[1714286612000,0.00000000],[1714286867000,0.00000000],[1714287188000,0.00000000],[1714287508000,0.00000000],[1714287764000,0.00000000],[1714288084000,0.00000000],[1714288404000,0.00000000],[1714288659000,0.00000000],[1714288979000,0.00000000],[1714289299000,0.00000000],[1714289555000,0.00000000],[1714289875000,0.00000000],[1714290195000,0.00000000],[1714290451000,0.00000000],[1714290772000,0.00000000],[1714291091000,0.00000000],[1714291411000,0.00000000],[1714291667000,0.00000000],[1714291987000,0.00000000],[1714292307000,0.00000000],[1714292563000,0.00000000],[1714292883000,0.00000000],[1714293203000,0.00000000],[1714293459000,0.00000000],[1714293779000,0.00000000],[1714294100000,0.00000000],[1714294352000,0.00000000],[1714294675000,0.00000000],[1714294995000,0.00000000],[1714295251000,0.00000000],[1714295571000,0.00000000],[1714295891000,0.00000000],[1714296211000,0.00000000],[1714296467000,0.00000000],[1714296755000,0.00000000],[1714297300000,0.00000000],[1714297364000,0.00000000],[1714297683000,0.00000000],[1714298003000,0.00000000],[1714298252000,0.00000000],[1714298579000,0.00000000],[1714298899000,0.00000000],[1714299154000,0.00000000],[1714299475000,0.00000000],[1714299796000,0.00000000],[1714300051000,0.00000000],[1714300371000,0.00000000],[1714300707000,0.00000000],[1714300963000,0.00000000],[1714301283000,0.00000000],[1714301603000,0.00000000],[1714301859000,0.00000000],[1714302180000,0.00000000],[1714302500000,0.00000000],[1714302752000,0.00000000],[1714303075000,0.00000000],[1714303395000,0.00000000],[1714303651000,0.00000000],[1714303972000,0.00000000],[1714304292000,0.00000000],[1714304611000,0.00000000],[1714304867000,0.00000000],[1714305189000,0.00000000],[1714305507000,0.00000000],[1714305763000,0.00000000],[1714306083000,0.00000000],[1714306404000,0.00000000],[1714306660000,0.00000000],[1714306979000,0.00000000],[1714307313000,0.00000000],[1714307572000,0.00000000],[1714307891000,0.00000000],[1714308212000,0.00000000],[1714308468000,0.00000000],[1714308787000,0.00000000],[1714309107000,0.00000000],[1714309363000,0.00000000],[1714309687000,0.00000000],[1714309970000,0.00000000],[1714310290000,0.00000000],[1714310551000,0.00000000],[1714310883000,0.00000000],[1714311204000,0.00000000],[1714311459000,0.00000000],[1714311779000,0.00000000],[1714312099000,0.00000000],[1714312355000,0.00000000],[1714312675000,0.00000000],[1714312997000,0.00000000],[1714313252000,0.00000000],[1714313570000,0.00000000],[1714313890000,0.00000000],[1714314210000,0.00000000],[1714314466000,0.00000000],[1714314786000,0.00000000],[1714315106000,0.00000000],[1714315353000,0.00000000],[1714315698000,0.00000000],[1714315952000,0.00000000],[1714316274000,0.00000000],[1714316610000,0.00000000],[1714316866000,0.00000000],[1714317186000,0.00000000],[1714317506000,0.00000000],[1714317762000,0.00000000],[1714318082000,0.00000000],[1714318402000,0.00000000],[1714318658000,0.00000000],[1714318978000,0.00000000],[1714319298000,0.00000000],[1714319552000,0.00000000],[1714319890000,0.00000000],[1714320210000,0.00000000],[1714320466000,0.00000000],[1714320786000,0.00000000],[1714321122000,0.00000000],[1714321395000,0.00000000],[1714321651000,0.00000000],[1714322011000,0.00000000],[1714322290000,0.00000000],[1714322610000,0.00000000],[1714322866000,0.00000000],[1714323186000,0.00000000],[1714323506000,0.00000000],[1714323762000,0.00000000],[1714324108000,0.00000000],[1714324370000,0.00000000],[1714324690000,0.00000000],[1714325010000,0.00000000],[1714325266000,0.00000000],[1714325586000,0.00000000],[1714325906000,0.00000000],[1714326162000,0.00000000],[1714326482000,0.00000000],[1714326802000,0.00000000],[1714327052000,0.00000000],[1714327378000,0.00000000],[1714327698000,0.00000000],[1714327953000,0.00000000],[1714328274000,0.00000000],[1714328595000,0.00000000],[1714328850000,0.00000000],[1714329173000,0.00000000],[1714329490000,0.00000000],[1714329810000,0.00000000],[1714330066000,0.00000000],[1714330402000,0.00000000],[1714330658000,0.00000000],[1714330979000,0.00000000],[1714331298000,0.00000000],[1714331553000,0.00000000],[1714331874000,0.00000000],[1714332571000,0.00000000],[1714332770000,0.00000000],[1714333090000,0.00000000],[1714333410000,0.00000000],[1714333666000,0.00000000],[1714333986000,0.00000000],[1714334306000,0.00000000],[1714334578000,0.00000000],[1714334898000,0.00000000],[1714335153000,0.00000000],[1714335474000,0.00000000],[1714335794000,0.00000000],[1714336066000,0.00000000],[1714336386000,0.00000000],[1714336706000,0.00000000],[1714336962000,0.00000000],[1714337282000,0.00000000],[1714337602000,0.00000000],[1714337874000,0.00000000],[1714338210000,0.00000000],[1714338466000,0.00000000],[1714338786000,0.00000000],[1714339090000,0.00000000],[1714339410000,0.00000000],[1714339666000,0.00000000],[1714339961000,0.00000000],[1714340290000,0.00000000],[1714340610000,0.00000000],[1714340866000,0.00000000],[1714341186000,0.00000000],[1714341506000,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; }