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: [[1715292045000,1.44],[1715292172000,1.728],[1715292493000,1.728],[1715292813000,2.25],[1715293069000,1.8],[1715293388000,3.312],[1715293708000,1.62],[1715293965000,1.872],[1715294284000,2.088],[1715294604000,1.98],[1715294860000,3.312],[1715295180000,1.320000012],[1715295477000,1.62],[1715296133000,1.62],[1715296396000,0.36],[1715296652000,0],[1715296956000,0],[1715297276000,0],[1715297596000,0],[1715297852000,0],[1715298152000,0],[1715298460000,0],[1715298796000,0],[1715299052000,0],[1715299372000,0],[1715299692000,0],[1715300012000,0],[1715300268000,0],[1715300588000,0],[1715300908000,0],[1715301164000,0],[1715301484000,0],[1715301804000,0],[1715302060000,0],[1715302380000,0],[1715304172000,0],[1715304492000,0],[1715304812000,0],[1715305068000,0],[1715305388000,0],[1715305708000,0.09],[1715305964000,0],[1715306284000,0],[1715306604000,0],[1715306852000,0],[1715307180000,2.088],[1715307500000,0.72],[1715307752000,1.728],[1715308076000,2.376],[1715308396000,1.53],[1715308652000,0.648],[1715308972000,1.296],[1715309292000,0.288],[1715309612000,2.07],[1715309868000,1.44],[1715310188000,0.576],[1715310508000,1.35],[1715310764000,0.576],[1715311084000,0],[1715311404000,0],[1715311652000,0],[1715311980000,0],[1715312252000,0],[1715312572000,0],[1715312891000,0],[1715313211000,0],[1715313468000,0],[1715313787000,0],[1715314108000,0],[1715314352000,0],[1715314684000,0],[1715315004000,0],[1715315252000,0],[1715315584000,0],[1715315852000,0],[1715316171000,0],[1715316982000,0],[1715317052000,0],[1715317372000,0],[1715317709000,0],[1715317964000,0],[1715318284000,0],[1715318604000,0],[1715318860000,0],[1715319180000,0],[1715319500000,0],[1715319756000,1.8],[1715320184000,4.079999988],[1715320379000,2.232],[1715320700000,3.51],[1715320956000,4.608],[1715321292000,3.384],[1715321612000,3.06],[1715321868000,2.376],[1715322188000,3.312],[1715322509000,3.6],[1715322764000,3.024],[1715323084000,4.14],[1715323353000,3.168],[1715323675000,4.464],[1715323995000,2.34],[1715324251000,4.392],[1715324571000,3.6],[1715324891000,2.448],[1715325211000,0.45],[1715325468000,2.952],[1715325788000,2.592],[1715326108000,2.79],[1715326364000,3.672],[1715326685000,1.296],[1715327004000,1.8],[1715327260000,1.944],[1715327580000,1.512],[1715327900000,1.53],[1715328156000,2.808],[1715328476000,0.936],[1715328796000,3.33],[1715329052000,1.008],[1715329372000,1.44],[1715329692000,1.872],[1715330012000,0.09],[1715330268000,1.584],[1715330588000,1.656],[1715330908000,3.42],[1715331164000,2.952],[1715331483000,1.944],[1715331803000,1.71],[1715332052000,1.08],[1715332363000,1.008],[1715332683000,1.08],[1715333003000,1.17],[1715333252000,1.296],[1715333563000,1.512],[1715333883000,2.448],[1715334203000,2.7],[1715334459000,1.44],[1715334779000,2.016],[1715335100000,0.54],[1715335353000,6.336],[1715335676000,4.608],[1715335996000,4.95],[1715336252000,3.528],[1715336572000,3.456],[1715336892000,0.72],[1715337213000,3.33],[1715337467000,5.112],[1715337788000,5.904],[1715338108000,4.14],[1715338363000,5.904],[1715338684000,7.65],[1715338953000,9.144],[1715339275000,6.696],[1715339611000,3.87],[1715339867000,4.896],[1715340187000,6.336],[1715340507000,9.9],[1715340752000,8.64],[1715341067000,4.104],[1715341387000,5.328],[1715341707000,8.28],[1715341963000,9.576],[1715342283000,7.776],[1715342603000,8.82],[1715342852000,12.672],[1715343164000,7.848],[1715343483000,7.632],[1715343804000,7.65],[1715344059000,8.856],[1715344380000,3.528],[1715344705000,3.06],[1715344972000,3.6],[1715345291000,6.12],[1715345613000,10.26],[1715345867000,8.064],[1715346187000,5.184],[1715346507000,6.57],[1715346764000,3.672],[1715347085000,4.464],[1715347403000,0.99],[1715347660000,5.112],[1715347980000,2.232],[1715348299000,4.86],[1715348554000,7.344],[1715348875000,8.064],[1715349195000,7.74],[1715349451000,5.112],[1715349771000,5.4],[1715350091000,5.616],[1715350411000,8.19],[1715350667000,4.248],[1715350987000,3.312],[1715351307000,6.3],[1715351563000,11.232],[1715351884000,6.264],[1715352203000,7.65],[1715352478000,7.272],[1715352795000,8.73],[1715353052000,4.608],[1715353372000,5.616],[1715353691000,3.816],[1715354011000,10.08],[1715354267000,4.968],[1715354587000,4.896],[1715354909000,5.94],[1715355163000,3.24],[1715355484000,3.24],[1715355804000,7.080000012],[1715356052000,4.968],[1715356378000,4.896],[1715356699000,5.4],[1715356952000,2.808],[1715357274000,2.232],[1715357594000,1.71],[1715357850000,2.232],[1715358154000,2.52],[1715358475000,3.024],[1715358810000,2.16],[1715359067000,0.504],[1715359387000,1.8],[1715359707000,1.17],[1715360012000,0.45],[1715360266000,0],[1715360586000,0],[1715360906000,0],[1715361179000,0],[1715361498000,0],[1715361753000,0],[1715362074000,0],[1715362501000,0],[1715362698000,0],[1715362952000,0],[1715363253000,1.008],[1715363562000,0],[1715363899000,0],[1715364152000,0],[1715364474000,0],[1715364794000,0.09],[1715365050000,0.144],[1715365370000,0.072],[1715365691000,2.52],[1715366011000,2.16],[1715366267000,3.528],[1715366811000,2.16],[1715366875000,1.71],[1715367179000,2.16],[1715367508000,2.79],[1715367771000,2.304],[1715368091000,3.96],[1715368362000,2.016],[1715368683000,2.232],[1715369007000,3.33],[1715369275000,1.224],[1715369595000,0],[1715369897000,0],[1715370153000,3.816],[1715370479000,0.504],[1715370810000,0.36],[1715371088000,1.559999988],[1715371371000,0.504],[1715371691000,1.296],[1715372011000,3.33],[1715372267000,2.016],[1715372612000,0.600000012],[1715372913000,2.07],[1715373179000,0.792],[1715373506000,0],[1715373771000,0.936],[1715374091000,2.304],[1715374411000,2.7],[1715374667000,0.600000012],[1715375028000,0],[1715375290000,0.792],[1715375610000,0.63],[1715375866000,0.72],[1715376202000,0.99],[1715376458000,2.592],[1715376778000,2.16],[1715377316000,0],[1715377386000,0],[1715377707000,1.44],[1715377995000,3.6],[1715378250000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1715292045000,2.52],[1715292172000,2.52],[1715292493000,3.528],[1715292813000,2.52],[1715293069000,3.024],[1715293388000,5.04],[1715293708000,2.52],[1715293965000,4.032],[1715294284000,3.024],[1715294604000,3.78],[1715294860000,4.536],[1715295180000,2.52],[1715295477000,3.78],[1715296133000,3.15],[1715296396000,1.26],[1715296652000,0],[1715296956000,0],[1715297276000,0],[1715297596000,0],[1715297852000,0],[1715298152000,0],[1715298460000,0],[1715298796000,0],[1715299052000,0],[1715299372000,0],[1715299692000,0],[1715300012000,0],[1715300268000,0],[1715300588000,0],[1715300908000,0],[1715301164000,0],[1715301484000,0],[1715301804000,0],[1715302060000,0],[1715302380000,0],[1715304172000,0],[1715304492000,0],[1715304812000,0],[1715305068000,0],[1715305388000,0],[1715305708000,0.63],[1715305964000,0],[1715306284000,0],[1715306604000,0],[1715306852000,0],[1715307180000,3.528],[1715307500000,1.26],[1715307752000,2.016],[1715308076000,3.024],[1715308396000,2.52],[1715308652000,1.512],[1715308972000,2.016],[1715309292000,0.504],[1715309612000,3.15],[1715309868000,2.52],[1715310188000,1.008],[1715310508000,2.52],[1715310764000,1.008],[1715311084000,0],[1715311404000,0],[1715311652000,0],[1715311980000,0],[1715312252000,0],[1715312572000,0],[1715312891000,0],[1715313211000,0],[1715313468000,0],[1715313787000,0],[1715314108000,0],[1715314352000,0],[1715314684000,0],[1715315004000,0],[1715315252000,0],[1715315584000,0],[1715315852000,0],[1715316171000,0],[1715316982000,0],[1715317052000,0],[1715317372000,0],[1715317709000,0],[1715317964000,0],[1715318284000,0],[1715318604000,0],[1715318860000,0],[1715319180000,0],[1715319500000,0],[1715319756000,3.024],[1715320184000,6.720000012],[1715320379000,4.536],[1715320700000,5.67],[1715320956000,6.552],[1715321292000,5.616],[1715321612000,5.04],[1715321868000,4.032],[1715322188000,4.032],[1715322509000,5.67],[1715322764000,5.544],[1715323084000,5.67],[1715323353000,5.544],[1715323675000,6.048],[1715323995000,3.78],[1715324251000,6.552],[1715324571000,5.04],[1715324891000,4.536],[1715325211000,1.26],[1715325468000,4.536],[1715325788000,4.032],[1715326108000,3.78],[1715326364000,5.544],[1715326685000,2.52],[1715327004000,3.78],[1715327260000,3.024],[1715327580000,2.016],[1715327900000,2.52],[1715328156000,3.528],[1715328476000,2.016],[1715328796000,5.04],[1715329052000,1.008],[1715329372000,2.016],[1715329692000,3.528],[1715330012000,0.63],[1715330268000,2.52],[1715330588000,2.52],[1715330908000,4.41],[1715331164000,4.536],[1715331483000,3.528],[1715331803000,2.52],[1715332052000,2.016],[1715332363000,1.512],[1715332683000,1.512],[1715333003000,1.26],[1715333252000,2.52],[1715333563000,3.024],[1715333883000,3.024],[1715334203000,3.78],[1715334459000,2.52],[1715334779000,3.024],[1715335100000,1.26],[1715335353000,8.136],[1715335676000,6.048],[1715335996000,6.3],[1715336252000,5.04],[1715336572000,5.04],[1715336892000,2.016],[1715337213000,3.78],[1715337467000,7.056],[1715337788000,8.136],[1715338108000,6.3],[1715338363000,7.56],[1715338684000,8.91],[1715338953000,10.224],[1715339275000,8.136],[1715339611000,6.3],[1715339867000,6.048],[1715340187000,7.56],[1715340507000,12.96],[1715340752000,10.224],[1715341067000,5.04],[1715341387000,6.552],[1715341707000,11.43],[1715341963000,13.896],[1715342283000,9.648],[1715342603000,10.89],[1715342852000,14.832],[1715343164000,10.152],[1715343483000,9.648],[1715343804000,8.91],[1715344059000,11.736],[1715344380000,5.544],[1715344705000,5.04],[1715344972000,4.032],[1715345291000,7.056],[1715345613000,12.87],[1715345867000,9.648],[1715346187000,7.056],[1715346507000,8.37],[1715346764000,4.536],[1715347085000,5.544],[1715347403000,2.52],[1715347660000,6.552],[1715347980000,3.528],[1715348299000,5.67],[1715348554000,10.152],[1715348875000,9.648],[1715349195000,8.91],[1715349451000,6.048],[1715349771000,6.552],[1715350091000,7.056],[1715350411000,10.17],[1715350667000,5.544],[1715350987000,5.04],[1715351307000,7.56],[1715351563000,13.824],[1715351884000,8.136],[1715352203000,10.17],[1715352478000,9.216],[1715352795000,9.45],[1715353052000,5.544],[1715353372000,7.56],[1715353691000,5.544],[1715354011000,12.15],[1715354267000,6.048],[1715354587000,6.624],[1715354909000,8.28],[1715355163000,4.032],[1715355484000,4.536],[1715355804000,10.199999988],[1715356052000,6.048],[1715356378000,6.048],[1715356699000,6.3],[1715356952000,3.528],[1715357274000,3.024],[1715357594000,2.52],[1715357850000,3.024],[1715358154000,3.024],[1715358475000,4.032],[1715358810000,3.15],[1715359067000,1.008],[1715359387000,2.52],[1715359707000,1.89],[1715360012000,1.89],[1715360266000,0],[1715360586000,0],[1715360906000,0],[1715361179000,0],[1715361498000,0],[1715361753000,0],[1715362074000,0],[1715362501000,0],[1715362698000,0],[1715362952000,0],[1715363253000,1.512],[1715363562000,0],[1715363899000,0],[1715364152000,0],[1715364474000,0],[1715364794000,0.63],[1715365050000,0.504],[1715365370000,0.504],[1715365691000,3.528],[1715366011000,3.15],[1715366267000,5.04],[1715366811000,2.52],[1715366875000,2.52],[1715367179000,2.52],[1715367508000,4.41],[1715367771000,3.024],[1715368091000,5.04],[1715368362000,3.024],[1715368683000,2.52],[1715369007000,4.41],[1715369275000,1.512],[1715369595000,0],[1715369897000,0],[1715370153000,4.536],[1715370479000,0.504],[1715370810000,2.52],[1715371088000,2.52],[1715371371000,0.504],[1715371691000,2.016],[1715372011000,4.41],[1715372267000,3.024],[1715372612000,1.680000012],[1715372913000,3.15],[1715373179000,1.512],[1715373506000,0],[1715373771000,1.512],[1715374091000,3.024],[1715374411000,3.15],[1715374667000,1.680000012],[1715375028000,0],[1715375290000,1.008],[1715375610000,0.63],[1715375866000,1.512],[1715376202000,1.26],[1715376458000,3.024],[1715376778000,2.52],[1715377316000,0],[1715377386000,0],[1715377707000,2.52],[1715377995000,5.04],[1715378250000,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: [[1715292045000,207.00000000],[1715292172000,225.80000000],[1715292493000,260.40000000],[1715292813000,282.00000000],[1715293069000,254.80000000],[1715293388000,216.40000000],[1715293708000,212.75000000],[1715293965000,179.40000000],[1715294284000,226.80000000],[1715294604000,115.75000000],[1715294860000,196.20000000],[1715295180000,289.00000000],[1715295477000,206.00000000],[1715296133000,288.25000000],[1715296396000,260.50000000],[1715296652000,307.60000000],[1715296956000,311.00000000],[1715297276000,309.40000000],[1715297596000,312.00000000],[1715297852000,313.00000000],[1715298152000,312.40000000],[1715298460000,312.00000000],[1715298796000,313.75000000],[1715299052000,317.00000000],[1715299372000,317.00000000],[1715299692000,316.20000000],[1715300012000,317.00000000],[1715300268000,317.00000000],[1715300588000,317.00000000],[1715300908000,317.00000000],[1715301164000,317.00000000],[1715301484000,316.80000000],[1715301804000,316.00000000],[1715302060000,316.00000000],[1715302380000,316.00000000],[1715304172000,316.00000000],[1715304492000,316.00000000],[1715304812000,316.00000000],[1715305068000,281.20000000],[1715305388000,277.60000000],[1715305708000,293.50000000],[1715305964000,295.80000000],[1715306284000,281.60000000],[1715306604000,285.50000000],[1715306852000,268.40000000],[1715307180000,276.60000000],[1715307500000,274.50000000],[1715307752000,277.40000000],[1715308076000,270.00000000],[1715308396000,276.75000000],[1715308652000,274.00000000],[1715308972000,277.20000000],[1715309292000,284.60000000],[1715309612000,276.25000000],[1715309868000,277.40000000],[1715310188000,288.80000000],[1715310508000,276.25000000],[1715310764000,273.60000000],[1715311084000,284.80000000],[1715311404000,285.25000000],[1715311652000,280.80000000],[1715311980000,275.50000000],[1715312252000,274.00000000],[1715312572000,273.40000000],[1715312891000,274.80000000],[1715313211000,271.00000000],[1715313468000,277.40000000],[1715313787000,274.20000000],[1715314108000,259.75000000],[1715314352000,277.40000000],[1715314684000,269.80000000],[1715315004000,267.25000000],[1715315252000,273.60000000],[1715315584000,269.50000000],[1715315852000,268.80000000],[1715316171000,268.33333333],[1715316982000,258.00000000],[1715317052000,258.40000000],[1715317372000,256.80000000],[1715317709000,268.50000000],[1715317964000,276.00000000],[1715318284000,276.40000000],[1715318604000,280.00000000],[1715318860000,263.40000000],[1715319180000,262.00000000],[1715319500000,285.75000000],[1715319756000,210.80000000],[1715320184000,146.00000000],[1715320379000,221.80000000],[1715320700000,77.25000000],[1715320956000,136.80000000],[1715321292000,121.20000000],[1715321612000,126.00000000],[1715321868000,261.60000000],[1715322188000,72.60000000],[1715322509000,163.25000000],[1715322764000,163.60000000],[1715323084000,248.00000000],[1715323353000,92.80000000],[1715323675000,144.40000000],[1715323995000,242.50000000],[1715324251000,148.80000000],[1715324571000,110.00000000],[1715324891000,150.40000000],[1715325211000,298.25000000],[1715325468000,256.80000000],[1715325788000,250.20000000],[1715326108000,131.50000000],[1715326364000,158.00000000],[1715326685000,251.40000000],[1715327004000,225.00000000],[1715327260000,247.00000000],[1715327580000,273.80000000],[1715327900000,241.75000000],[1715328156000,241.20000000],[1715328476000,242.60000000],[1715328796000,206.25000000],[1715329052000,298.60000000],[1715329372000,293.80000000],[1715329692000,238.40000000],[1715330012000,290.50000000],[1715330268000,270.40000000],[1715330588000,250.60000000],[1715330908000,191.50000000],[1715331164000,195.40000000],[1715331483000,239.60000000],[1715331803000,170.25000000],[1715332052000,263.40000000],[1715332363000,303.80000000],[1715332683000,282.00000000],[1715333003000,270.75000000],[1715333252000,275.00000000],[1715333563000,277.40000000],[1715333883000,228.60000000],[1715334203000,306.75000000],[1715334459000,294.80000000],[1715334779000,199.40000000],[1715335100000,229.75000000],[1715335353000,222.00000000],[1715335676000,257.80000000],[1715335996000,253.00000000],[1715336252000,249.20000000],[1715336572000,268.40000000],[1715336892000,290.40000000],[1715337213000,239.50000000],[1715337467000,268.00000000],[1715337788000,278.00000000],[1715338108000,258.75000000],[1715338363000,241.40000000],[1715338684000,214.00000000],[1715338953000,197.40000000],[1715339275000,208.80000000],[1715339611000,220.75000000],[1715339867000,268.60000000],[1715340187000,216.00000000],[1715340507000,206.75000000],[1715340752000,208.60000000],[1715341067000,245.80000000],[1715341387000,239.60000000],[1715341707000,211.75000000],[1715341963000,268.00000000],[1715342283000,228.80000000],[1715342603000,212.75000000],[1715342852000,244.20000000],[1715343164000,193.60000000],[1715343483000,222.60000000],[1715343804000,232.00000000],[1715344059000,247.60000000],[1715344380000,281.60000000],[1715344705000,243.50000000],[1715344972000,258.00000000],[1715345291000,244.80000000],[1715345613000,231.00000000],[1715345867000,230.20000000],[1715346187000,261.20000000],[1715346507000,260.25000000],[1715346764000,293.40000000],[1715347085000,271.40000000],[1715347403000,278.75000000],[1715347660000,271.40000000],[1715347980000,279.60000000],[1715348299000,265.50000000],[1715348554000,247.20000000],[1715348875000,240.40000000],[1715349195000,233.25000000],[1715349451000,242.00000000],[1715349771000,268.80000000],[1715350091000,252.00000000],[1715350411000,241.25000000],[1715350667000,264.20000000],[1715350987000,283.60000000],[1715351307000,257.25000000],[1715351563000,232.20000000],[1715351884000,275.40000000],[1715352203000,244.50000000],[1715352478000,247.40000000],[1715352795000,258.00000000],[1715353052000,263.40000000],[1715353372000,274.00000000],[1715353691000,272.40000000],[1715354011000,239.25000000],[1715354267000,255.00000000],[1715354587000,265.60000000],[1715354909000,262.00000000],[1715355163000,276.60000000],[1715355484000,268.80000000],[1715355804000,240.66666667],[1715356052000,255.60000000],[1715356378000,273.80000000],[1715356699000,250.25000000],[1715356952000,295.00000000],[1715357274000,290.80000000],[1715357594000,275.00000000],[1715357850000,276.80000000],[1715358154000,279.80000000],[1715358475000,281.80000000],[1715358810000,287.25000000],[1715359067000,293.60000000],[1715359387000,275.00000000],[1715359707000,276.75000000],[1715360012000,272.25000000],[1715360266000,297.00000000],[1715360586000,295.60000000],[1715360906000,298.00000000],[1715361179000,298.00000000],[1715361498000,297.75000000],[1715361753000,297.20000000],[1715362074000,297.60000000],[1715362501000,298.00000000],[1715362698000,298.00000000],[1715362952000,299.60000000],[1715363253000,303.20000000],[1715363562000,306.40000000],[1715363899000,312.66666667],[1715364152000,307.80000000],[1715364474000,310.60000000],[1715364794000,310.00000000],[1715365050000,322.20000000],[1715365370000,324.00000000],[1715365691000,332.00000000],[1715366011000,332.25000000],[1715366267000,335.00000000],[1715366811000,327.00000000],[1715366875000,319.50000000],[1715367179000,322.00000000],[1715367508000,330.00000000],[1715367771000,332.00000000],[1715368091000,338.00000000],[1715368362000,326.40000000],[1715368683000,314.20000000],[1715369007000,330.00000000],[1715369275000,274.20000000],[1715369595000,245.50000000],[1715369897000,260.50000000],[1715370153000,245.80000000],[1715370479000,295.40000000],[1715370810000,277.00000000],[1715371088000,301.00000000],[1715371371000,297.40000000],[1715371691000,279.40000000],[1715372011000,230.75000000],[1715372267000,261.80000000],[1715372612000,289.33333333],[1715372913000,266.25000000],[1715373179000,264.00000000],[1715373506000,271.75000000],[1715373771000,273.80000000],[1715374091000,263.00000000],[1715374411000,252.75000000],[1715374667000,273.33333333],[1715375028000,286.00000000],[1715375290000,272.80000000],[1715375610000,266.00000000],[1715375866000,276.20000000],[1715376202000,274.25000000],[1715376458000,252.00000000],[1715376778000,247.66666667],[1715377316000,275.00000000],[1715377386000,285.80000000],[1715377707000,168.25000000],[1715377995000,192.50000000],[1715378250000,301.33333333],], 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: [[1715292045000,0.00000000],[1715292172000,0.00000000],[1715292493000,0.00000000],[1715292813000,0.00000000],[1715293069000,0.00000000],[1715293388000,0.00000000],[1715293708000,0.00000000],[1715293965000,0.00000000],[1715294284000,0.00000000],[1715294604000,0.00000000],[1715294860000,0.00000000],[1715295180000,0.00000000],[1715295477000,0.00000000],[1715296133000,0.00000000],[1715296396000,0.00000000],[1715296652000,0.00000000],[1715296956000,0.00000000],[1715297276000,0.00000000],[1715297596000,0.00000000],[1715297852000,0.00000000],[1715298152000,0.00000000],[1715298460000,0.00000000],[1715298796000,0.00000000],[1715299052000,0.00000000],[1715299372000,0.00000000],[1715299692000,0.00000000],[1715300012000,0.00000000],[1715300268000,0.00000000],[1715300588000,0.00000000],[1715300908000,0.00000000],[1715301164000,0.00000000],[1715301484000,0.00000000],[1715301804000,0.00000000],[1715302060000,0.00000000],[1715302380000,0.00000000],[1715304172000,0.00000000],[1715304492000,0.00000000],[1715304812000,0.00000000],[1715305068000,0.00000000],[1715305388000,0.00000000],[1715305708000,0.00000000],[1715305964000,0.00000000],[1715306284000,0.00000000],[1715306604000,0.00000000],[1715306852000,0.00000000],[1715307180000,0.00000000],[1715307500000,0.00000000],[1715307752000,0.00000000],[1715308076000,0.00000000],[1715308396000,0.00000000],[1715308652000,0.00000000],[1715308972000,0.00000000],[1715309292000,0.00000000],[1715309612000,0.00000000],[1715309868000,1.00000000],[1715310188000,1.20000000],[1715310508000,2.00000000],[1715310764000,3.20000000],[1715311084000,4.60000000],[1715311404000,6.50000000],[1715311652000,8.20000000],[1715311980000,10.00000000],[1715312252000,12.00000000],[1715312572000,14.20000000],[1715312891000,16.20000000],[1715313211000,18.25000000],[1715313468000,24.00000000],[1715313787000,34.00000000],[1715314108000,37.75000000],[1715314352000,26.20000000],[1715314684000,25.80000000],[1715315004000,27.00000000],[1715315252000,28.20000000],[1715315584000,29.25000000],[1715315852000,30.20000000],[1715316171000,31.00000000],[1715316982000,33.00000000],[1715317052000,33.40000000],[1715317372000,34.00000000],[1715317709000,35.00000000],[1715317964000,35.60000000],[1715318284000,36.00000000],[1715318604000,36.75000000],[1715318860000,37.00000000],[1715319180000,38.00000000],[1715319500000,38.25000000],[1715319756000,39.20000000],[1715320184000,43.00000000],[1715320379000,64.20000000],[1715320700000,91.00000000],[1715320956000,82.40000000],[1715321292000,102.20000000],[1715321612000,101.75000000],[1715321868000,128.00000000],[1715322188000,181.40000000],[1715322509000,105.00000000],[1715322764000,90.00000000],[1715323084000,166.50000000],[1715323353000,145.60000000],[1715323675000,276.20000000],[1715323995000,335.00000000],[1715324251000,392.60000000],[1715324571000,354.60000000],[1715324891000,281.00000000],[1715325211000,313.75000000],[1715325468000,381.20000000],[1715325788000,454.00000000],[1715326108000,465.25000000],[1715326364000,475.60000000],[1715326685000,486.40000000],[1715327004000,495.25000000],[1715327260000,505.00000000],[1715327580000,514.40000000],[1715327900000,522.50000000],[1715328156000,530.20000000],[1715328476000,540.40000000],[1715328796000,550.75000000],[1715329052000,559.40000000],[1715329372000,567.80000000],[1715329692000,577.80000000],[1715330012000,586.25000000],[1715330268000,596.00000000],[1715330588000,602.80000000],[1715330908000,612.00000000],[1715331164000,619.00000000],[1715331483000,626.40000000],[1715331803000,633.00000000],[1715332052000,636.20000000],[1715332363000,643.00000000],[1715332683000,649.40000000],[1715333003000,654.00000000],[1715333252000,619.60000000],[1715333563000,664.20000000],[1715333883000,670.60000000],[1715334203000,675.00000000],[1715334459000,564.00000000],[1715334779000,678.40000000],[1715335100000,683.50000000],[1715335353000,695.20000000],[1715335676000,698.60000000],[1715335996000,698.25000000],[1715336252000,699.00000000],[1715336572000,709.80000000],[1715336892000,701.00000000],[1715337213000,698.75000000],[1715337467000,696.80000000],[1715337788000,701.80000000],[1715338108000,705.25000000],[1715338363000,698.00000000],[1715338684000,692.25000000],[1715338953000,693.60000000],[1715339275000,696.60000000],[1715339611000,684.50000000],[1715339867000,678.20000000],[1715340187000,672.40000000],[1715340507000,665.25000000],[1715340752000,653.60000000],[1715341067000,649.40000000],[1715341387000,642.60000000],[1715341707000,648.00000000],[1715341963000,653.00000000],[1715342283000,643.20000000],[1715342603000,637.75000000],[1715342852000,615.00000000],[1715343164000,626.60000000],[1715343483000,661.60000000],[1715343804000,624.00000000],[1715344059000,420.40000000],[1715344380000,185.40000000],[1715344705000,191.25000000],[1715344972000,517.20000000],[1715345291000,330.80000000],[1715345613000,201.50000000],[1715345867000,429.40000000],[1715346187000,179.20000000],[1715346507000,198.50000000],[1715346764000,237.60000000],[1715347085000,176.40000000],[1715347403000,290.50000000],[1715347660000,293.40000000],[1715347980000,245.80000000],[1715348299000,345.50000000],[1715348554000,393.80000000],[1715348875000,364.60000000],[1715349195000,398.00000000],[1715349451000,409.20000000],[1715349771000,401.00000000],[1715350091000,377.00000000],[1715350411000,333.25000000],[1715350667000,227.00000000],[1715350987000,206.00000000],[1715351307000,184.75000000],[1715351563000,185.40000000],[1715351884000,161.80000000],[1715352203000,150.25000000],[1715352478000,145.80000000],[1715352795000,133.75000000],[1715353052000,121.20000000],[1715353372000,113.20000000],[1715353691000,106.40000000],[1715354011000,100.00000000],[1715354267000,99.20000000],[1715354587000,102.80000000],[1715354909000,103.25000000],[1715355163000,97.40000000],[1715355484000,113.60000000],[1715355804000,123.66666667],[1715356052000,124.00000000],[1715356378000,132.40000000],[1715356699000,128.25000000],[1715356952000,110.00000000],[1715357274000,95.00000000],[1715357594000,81.50000000],[1715357850000,75.40000000],[1715358154000,73.40000000],[1715358475000,72.60000000],[1715358810000,75.00000000],[1715359067000,69.60000000],[1715359387000,58.60000000],[1715359707000,50.50000000],[1715360012000,45.75000000],[1715360266000,41.00000000],[1715360586000,36.00000000],[1715360906000,31.50000000],[1715361179000,28.25000000],[1715361498000,25.00000000],[1715361753000,22.60000000],[1715362074000,19.80000000],[1715362501000,16.00000000],[1715362698000,13.25000000],[1715362952000,10.00000000],[1715363253000,6.80000000],[1715363562000,5.00000000],[1715363899000,3.66666667],[1715364152000,2.80000000],[1715364474000,2.00000000],[1715364794000,1.00000000],[1715365050000,1.00000000],[1715365370000,0.20000000],[1715365691000,0.00000000],[1715366011000,0.00000000],[1715366267000,0.00000000],[1715366811000,0.00000000],[1715366875000,0.00000000],[1715367179000,0.00000000],[1715367508000,0.00000000],[1715367771000,0.00000000],[1715368091000,0.00000000],[1715368362000,0.00000000],[1715368683000,0.00000000],[1715369007000,0.00000000],[1715369275000,0.00000000],[1715369595000,0.00000000],[1715369897000,0.00000000],[1715370153000,0.00000000],[1715370479000,0.00000000],[1715370810000,0.00000000],[1715371088000,0.00000000],[1715371371000,0.00000000],[1715371691000,0.00000000],[1715372011000,0.00000000],[1715372267000,0.00000000],[1715372612000,0.00000000],[1715372913000,0.00000000],[1715373179000,0.00000000],[1715373506000,0.00000000],[1715373771000,0.00000000],[1715374091000,0.00000000],[1715374411000,0.00000000],[1715374667000,0.00000000],[1715375028000,0.00000000],[1715375290000,0.00000000],[1715375610000,0.00000000],[1715375866000,0.00000000],[1715376202000,0.00000000],[1715376458000,0.00000000],[1715376778000,0.00000000],[1715377316000,0.00000000],[1715377386000,0.00000000],[1715377707000,0.00000000],[1715377995000,0.00000000],[1715378250000,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: [[1715292045000,0.00000000],[1715292172000,0.00000000],[1715292493000,0.00000000],[1715292813000,0.00000000],[1715293069000,0.00000000],[1715293388000,0.00000000],[1715293708000,0.00000000],[1715293965000,0.00000000],[1715294284000,0.00000000],[1715294604000,0.00000000],[1715294860000,0.00000000],[1715295180000,0.00000000],[1715295477000,0.00000000],[1715296133000,0.00000000],[1715296396000,0.00000000],[1715296652000,0.00000000],[1715296956000,0.00000000],[1715297276000,0.00000000],[1715297596000,0.00000000],[1715297852000,0.00000000],[1715298152000,0.00000000],[1715298460000,0.00000000],[1715298796000,0.00000000],[1715299052000,0.00000000],[1715299372000,0.00000000],[1715299692000,0.00000000],[1715300012000,0.00000000],[1715300268000,0.00000000],[1715300588000,0.00000000],[1715300908000,0.00000000],[1715301164000,0.00000000],[1715301484000,0.00000000],[1715301804000,0.00000000],[1715302060000,0.00000000],[1715302380000,0.00000000],[1715304172000,0.00000000],[1715304492000,0.00000000],[1715304812000,0.00000000],[1715305068000,0.00000000],[1715305388000,0.00000000],[1715305708000,0.00000000],[1715305964000,0.00000000],[1715306284000,0.00000000],[1715306604000,0.00000000],[1715306852000,0.00000000],[1715307180000,0.00000000],[1715307500000,0.00000000],[1715307752000,0.00000000],[1715308076000,0.00000000],[1715308396000,0.00000000],[1715308652000,0.00000000],[1715308972000,0.00000000],[1715309292000,0.00000000],[1715309612000,0.00000000],[1715309868000,0.00000000],[1715310188000,0.00000000],[1715310508000,0.00000000],[1715310764000,0.00000000],[1715311084000,0.00000000],[1715311404000,0.00000000],[1715311652000,0.00000000],[1715311980000,0.00000000],[1715312252000,0.00000000],[1715312572000,0.00000000],[1715312891000,0.00000000],[1715313211000,0.00000000],[1715313468000,0.00000000],[1715313787000,0.00000000],[1715314108000,0.00000000],[1715314352000,0.00000000],[1715314684000,0.00000000],[1715315004000,0.00000000],[1715315252000,0.00000000],[1715315584000,0.00000000],[1715315852000,0.00000000],[1715316171000,0.00000000],[1715316982000,0.00000000],[1715317052000,0.00000000],[1715317372000,0.00000000],[1715317709000,0.00000000],[1715317964000,0.00000000],[1715318284000,0.00000000],[1715318604000,0.00000000],[1715318860000,0.00000000],[1715319180000,0.00000000],[1715319500000,0.00000000],[1715319756000,0.00000000],[1715320184000,0.00000000],[1715320379000,0.00000000],[1715320700000,0.25000000],[1715320956000,0.20000000],[1715321292000,0.60000000],[1715321612000,0.50000000],[1715321868000,0.80000000],[1715322188000,1.40000000],[1715322509000,0.75000000],[1715322764000,0.40000000],[1715323084000,1.00000000],[1715323353000,0.80000000],[1715323675000,2.00000000],[1715323995000,2.75000000],[1715324251000,3.00000000],[1715324571000,3.00000000],[1715324891000,2.60000000],[1715325211000,2.50000000],[1715325468000,3.40000000],[1715325788000,4.00000000],[1715326108000,4.00000000],[1715326364000,4.00000000],[1715326685000,4.00000000],[1715327004000,4.00000000],[1715327260000,4.00000000],[1715327580000,4.60000000],[1715327900000,5.00000000],[1715328156000,5.00000000],[1715328476000,5.00000000],[1715328796000,5.00000000],[1715329052000,5.00000000],[1715329372000,5.00000000],[1715329692000,5.00000000],[1715330012000,5.00000000],[1715330268000,5.00000000],[1715330588000,5.00000000],[1715330908000,5.00000000],[1715331164000,6.00000000],[1715331483000,6.00000000],[1715331803000,6.00000000],[1715332052000,6.00000000],[1715332363000,6.00000000],[1715332683000,6.00000000],[1715333003000,6.00000000],[1715333252000,5.60000000],[1715333563000,6.00000000],[1715333883000,6.00000000],[1715334203000,6.00000000],[1715334459000,5.00000000],[1715334779000,6.00000000],[1715335100000,6.00000000],[1715335353000,6.00000000],[1715335676000,6.00000000],[1715335996000,6.00000000],[1715336252000,6.00000000],[1715336572000,6.00000000],[1715336892000,6.00000000],[1715337213000,6.00000000],[1715337467000,6.00000000],[1715337788000,6.00000000],[1715338108000,6.00000000],[1715338363000,6.00000000],[1715338684000,6.00000000],[1715338953000,6.00000000],[1715339275000,6.00000000],[1715339611000,6.00000000],[1715339867000,6.00000000],[1715340187000,6.00000000],[1715340507000,6.00000000],[1715340752000,6.00000000],[1715341067000,6.00000000],[1715341387000,6.00000000],[1715341707000,6.00000000],[1715341963000,6.00000000],[1715342283000,6.00000000],[1715342603000,6.00000000],[1715342852000,5.40000000],[1715343164000,6.00000000],[1715343483000,6.00000000],[1715343804000,5.50000000],[1715344059000,3.40000000],[1715344380000,1.00000000],[1715344705000,1.25000000],[1715344972000,4.40000000],[1715345291000,2.60000000],[1715345613000,1.25000000],[1715345867000,3.80000000],[1715346187000,1.00000000],[1715346507000,1.00000000],[1715346764000,1.80000000],[1715347085000,1.00000000],[1715347403000,2.50000000],[1715347660000,2.40000000],[1715347980000,1.80000000],[1715348299000,2.75000000],[1715348554000,3.40000000],[1715348875000,3.00000000],[1715349195000,3.25000000],[1715349451000,3.60000000],[1715349771000,3.40000000],[1715350091000,3.00000000],[1715350411000,2.75000000],[1715350667000,1.60000000],[1715350987000,1.40000000],[1715351307000,1.25000000],[1715351563000,1.20000000],[1715351884000,1.20000000],[1715352203000,1.00000000],[1715352478000,1.00000000],[1715352795000,1.00000000],[1715353052000,1.00000000],[1715353372000,1.00000000],[1715353691000,1.00000000],[1715354011000,0.00000000],[1715354267000,0.00000000],[1715354587000,0.60000000],[1715354909000,0.50000000],[1715355163000,0.00000000],[1715355484000,1.00000000],[1715355804000,1.00000000],[1715356052000,1.00000000],[1715356378000,1.00000000],[1715356699000,1.00000000],[1715356952000,0.80000000],[1715357274000,0.00000000],[1715357594000,0.00000000],[1715357850000,0.00000000],[1715358154000,0.00000000],[1715358475000,0.00000000],[1715358810000,0.00000000],[1715359067000,0.00000000],[1715359387000,0.00000000],[1715359707000,0.00000000],[1715360012000,0.00000000],[1715360266000,0.00000000],[1715360586000,0.00000000],[1715360906000,0.00000000],[1715361179000,0.00000000],[1715361498000,0.00000000],[1715361753000,0.00000000],[1715362074000,0.00000000],[1715362501000,0.00000000],[1715362698000,0.00000000],[1715362952000,0.00000000],[1715363253000,0.00000000],[1715363562000,0.00000000],[1715363899000,0.00000000],[1715364152000,0.00000000],[1715364474000,0.00000000],[1715364794000,0.00000000],[1715365050000,0.00000000],[1715365370000,0.00000000],[1715365691000,0.00000000],[1715366011000,0.00000000],[1715366267000,0.00000000],[1715366811000,0.00000000],[1715366875000,0.00000000],[1715367179000,0.00000000],[1715367508000,0.00000000],[1715367771000,0.00000000],[1715368091000,0.00000000],[1715368362000,0.00000000],[1715368683000,0.00000000],[1715369007000,0.00000000],[1715369275000,0.00000000],[1715369595000,0.00000000],[1715369897000,0.00000000],[1715370153000,0.00000000],[1715370479000,0.00000000],[1715370810000,0.00000000],[1715371088000,0.00000000],[1715371371000,0.00000000],[1715371691000,0.00000000],[1715372011000,0.00000000],[1715372267000,0.00000000],[1715372612000,0.00000000],[1715372913000,0.00000000],[1715373179000,0.00000000],[1715373506000,0.00000000],[1715373771000,0.00000000],[1715374091000,0.00000000],[1715374411000,0.00000000],[1715374667000,0.00000000],[1715375028000,0.00000000],[1715375290000,0.00000000],[1715375610000,0.00000000],[1715375866000,0.00000000],[1715376202000,0.00000000],[1715376458000,0.00000000],[1715376778000,0.00000000],[1715377316000,0.00000000],[1715377386000,0.00000000],[1715377707000,0.00000000],[1715377995000,0.00000000],[1715378250000,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: [[1715292045000,0.00000000],[1715292172000,0.00000000],[1715292493000,0.00000000],[1715292813000,0.00000000],[1715293069000,0.00000000],[1715293388000,0.00000000],[1715293708000,0.00000000],[1715293965000,0.00000000],[1715294284000,0.00000000],[1715294604000,0.00000000],[1715294860000,0.00000000],[1715295180000,0.00000000],[1715295477000,0.00000000],[1715296133000,0.00000000],[1715296396000,0.00000000],[1715296652000,0.00000000],[1715296956000,0.00000000],[1715297276000,0.00000000],[1715297596000,0.00000000],[1715297852000,0.00000000],[1715298152000,0.00000000],[1715298460000,0.00000000],[1715298796000,0.00000000],[1715299052000,0.00000000],[1715299372000,0.00000000],[1715299692000,0.00000000],[1715300012000,0.00000000],[1715300268000,0.00000000],[1715300588000,0.00000000],[1715300908000,0.00000000],[1715301164000,0.00000000],[1715301484000,0.00000000],[1715301804000,0.00000000],[1715302060000,0.00000000],[1715302380000,0.00000000],[1715304172000,0.00000000],[1715304492000,0.00000000],[1715304812000,0.00000000],[1715305068000,0.00000000],[1715305388000,0.00000000],[1715305708000,0.00000000],[1715305964000,0.00000000],[1715306284000,0.00000000],[1715306604000,0.00000000],[1715306852000,0.00000000],[1715307180000,0.00000000],[1715307500000,0.00000000],[1715307752000,0.00000000],[1715308076000,0.00000000],[1715308396000,0.00000000],[1715308652000,0.00000000],[1715308972000,0.00000000],[1715309292000,0.00000000],[1715309612000,0.00000000],[1715309868000,0.00000000],[1715310188000,0.00000000],[1715310508000,0.00000000],[1715310764000,0.00000000],[1715311084000,0.00000000],[1715311404000,0.00000000],[1715311652000,0.00000000],[1715311980000,0.00000000],[1715312252000,0.00000000],[1715312572000,0.00000000],[1715312891000,0.00000000],[1715313211000,0.00000000],[1715313468000,0.00000000],[1715313787000,0.00000000],[1715314108000,0.00000000],[1715314352000,0.00000000],[1715314684000,0.00000000],[1715315004000,0.00000000],[1715315252000,0.00000000],[1715315584000,0.00000000],[1715315852000,0.00000000],[1715316171000,0.00000000],[1715316982000,0.00000000],[1715317052000,0.00000000],[1715317372000,0.00000000],[1715317709000,0.00000000],[1715317964000,0.00000000],[1715318284000,0.00000000],[1715318604000,0.00000000],[1715318860000,0.00000000],[1715319180000,0.00000000],[1715319500000,0.00000000],[1715319756000,0.00000000],[1715320184000,0.00000000],[1715320379000,0.00000000],[1715320700000,0.00000000],[1715320956000,0.00000000],[1715321292000,0.00000000],[1715321612000,0.00000000],[1715321868000,0.00000000],[1715322188000,0.00000000],[1715322509000,0.00000000],[1715322764000,0.00000000],[1715323084000,0.00000000],[1715323353000,0.00000000],[1715323675000,0.00000000],[1715323995000,0.00000000],[1715324251000,0.00000000],[1715324571000,0.00000000],[1715324891000,0.00000000],[1715325211000,0.00000000],[1715325468000,0.00000000],[1715325788000,0.00000000],[1715326108000,0.00000000],[1715326364000,0.00000000],[1715326685000,0.00000000],[1715327004000,0.00000000],[1715327260000,0.00000000],[1715327580000,0.00000000],[1715327900000,0.00000000],[1715328156000,0.00000000],[1715328476000,0.00000000],[1715328796000,0.00000000],[1715329052000,0.00000000],[1715329372000,0.00000000],[1715329692000,0.00000000],[1715330012000,0.00000000],[1715330268000,0.00000000],[1715330588000,0.00000000],[1715330908000,0.00000000],[1715331164000,0.00000000],[1715331483000,0.00000000],[1715331803000,0.00000000],[1715332052000,0.00000000],[1715332363000,0.00000000],[1715332683000,0.00000000],[1715333003000,0.00000000],[1715333252000,0.00000000],[1715333563000,0.00000000],[1715333883000,0.00000000],[1715334203000,0.00000000],[1715334459000,0.00000000],[1715334779000,0.00000000],[1715335100000,0.00000000],[1715335353000,0.00000000],[1715335676000,0.00000000],[1715335996000,0.00000000],[1715336252000,0.00000000],[1715336572000,0.00000000],[1715336892000,0.00000000],[1715337213000,0.00000000],[1715337467000,0.00000000],[1715337788000,0.00000000],[1715338108000,0.00000000],[1715338363000,0.00000000],[1715338684000,0.00000000],[1715338953000,0.00000000],[1715339275000,0.00000000],[1715339611000,0.00000000],[1715339867000,0.00000000],[1715340187000,0.00000000],[1715340507000,0.00000000],[1715340752000,0.00000000],[1715341067000,0.00000000],[1715341387000,0.00000000],[1715341707000,0.00000000],[1715341963000,0.00000000],[1715342283000,0.00000000],[1715342603000,0.00000000],[1715342852000,0.00000000],[1715343164000,0.00000000],[1715343483000,0.00000000],[1715343804000,0.00000000],[1715344059000,0.00000000],[1715344380000,0.00000000],[1715344705000,0.00000000],[1715344972000,0.00000000],[1715345291000,0.00000000],[1715345613000,0.00000000],[1715345867000,0.00000000],[1715346187000,0.00000000],[1715346507000,0.00000000],[1715346764000,0.00000000],[1715347085000,0.00000000],[1715347403000,0.00000000],[1715347660000,0.00000000],[1715347980000,0.00000000],[1715348299000,0.00000000],[1715348554000,0.00000000],[1715348875000,0.00000000],[1715349195000,0.00000000],[1715349451000,0.00000000],[1715349771000,0.00000000],[1715350091000,0.00000000],[1715350411000,0.00000000],[1715350667000,0.00000000],[1715350987000,0.00000000],[1715351307000,0.00000000],[1715351563000,0.00000000],[1715351884000,0.00000000],[1715352203000,0.00000000],[1715352478000,0.00000000],[1715352795000,0.00000000],[1715353052000,0.00000000],[1715353372000,0.00000000],[1715353691000,0.00000000],[1715354011000,0.00000000],[1715354267000,0.00000000],[1715354587000,0.00000000],[1715354909000,0.00000000],[1715355163000,0.00000000],[1715355484000,0.00000000],[1715355804000,0.00000000],[1715356052000,0.00000000],[1715356378000,0.00000000],[1715356699000,0.00000000],[1715356952000,0.00000000],[1715357274000,0.00000000],[1715357594000,0.00000000],[1715357850000,0.00000000],[1715358154000,0.00000000],[1715358475000,0.00000000],[1715358810000,0.00000000],[1715359067000,0.00000000],[1715359387000,0.00000000],[1715359707000,0.00000000],[1715360012000,0.00000000],[1715360266000,0.00000000],[1715360586000,0.00000000],[1715360906000,0.00000000],[1715361179000,0.00000000],[1715361498000,0.00000000],[1715361753000,0.00000000],[1715362074000,0.00000000],[1715362501000,0.00000000],[1715362698000,0.00000000],[1715362952000,0.00000000],[1715363253000,0.00000000],[1715363562000,0.00000000],[1715363899000,0.00000000],[1715364152000,0.00000000],[1715364474000,0.00000000],[1715364794000,0.00000000],[1715365050000,0.00000000],[1715365370000,0.00000000],[1715365691000,0.00000000],[1715366011000,0.00000000],[1715366267000,0.00000000],[1715366811000,0.00000000],[1715366875000,0.00000000],[1715367179000,0.00000000],[1715367508000,0.00000000],[1715367771000,0.00000000],[1715368091000,0.00000000],[1715368362000,0.00000000],[1715368683000,0.00000000],[1715369007000,0.00000000],[1715369275000,0.00000000],[1715369595000,0.00000000],[1715369897000,0.00000000],[1715370153000,0.00000000],[1715370479000,0.00000000],[1715370810000,0.00000000],[1715371088000,0.00000000],[1715371371000,0.00000000],[1715371691000,0.00000000],[1715372011000,0.00000000],[1715372267000,0.00000000],[1715372612000,0.00000000],[1715372913000,0.00000000],[1715373179000,0.00000000],[1715373506000,0.00000000],[1715373771000,0.00000000],[1715374091000,0.00000000],[1715374411000,0.00000000],[1715374667000,0.00000000],[1715375028000,0.00000000],[1715375290000,0.00000000],[1715375610000,0.00000000],[1715375866000,0.00000000],[1715376202000,0.00000000],[1715376458000,0.00000000],[1715376778000,0.00000000],[1715377316000,0.00000000],[1715377386000,0.00000000],[1715377707000,0.00000000],[1715377995000,0.00000000],[1715378250000,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; }