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: [[1714168838000,0],[1714168966000,0.504],[1714169286000,0.936],[1714169606000,0],[1714169862000,0],[1714170182000,0],[1714170502000,0],[1714170757000,0],[1714171077000,0],[1714171398000,0],[1714171654000,0],[1714171973000,0],[1714172293000,0],[1714172613000,0],[1714172854000,0],[1714173173000,0],[1714173493000,0],[1714173813000,0],[1714174069000,0],[1714174389000,0],[1714174709000,0],[1714174965000,0],[1714175285000,0],[1714175605000,0],[1714175861000,0],[1714176181000,0],[1714176501000,0],[1714176753000,0],[1714177077000,0],[1714177397000,0],[1714177653000,0.288],[1714177974000,1.296],[1714178294000,0.63],[1714178550000,0],[1714178869000,0],[1714179190000,1.728],[1714179510000,0.72],[1714179766000,0.792],[1714180086000,1.44],[1714180406000,0],[1714180661000,0.504],[1714180998000,0],[1714181254000,0],[1714181574000,0.864],[1714181893000,1.62],[1714182150000,2.304],[1714182470000,0.36],[1714182789000,1.656],[1714183110000,0.18],[1714183381000,0],[1714183701000,0.45],[1714183957000,0],[1714184277000,0],[1714184597000,0.09],[1714184852000,0],[1714185173000,0.504],[1714185493000,0],[1714185812000,0],[1714186069000,0],[1714186389000,0],[1714186710000,0],[1714186966000,0],[1714187286000,0],[1714187606000,0],[1714187861000,0],[1714188181000,0],[1714188501000,0],[1714188757000,0],[1714189077000,0],[1714189398000,0],[1714189654000,0],[1714189975000,0],[1714190294000,0],[1714190550000,0],[1714190869000,0],[1714191189000,0],[1714191510000,0],[1714191765000,0],[1714192085000,2.592],[1714192406000,2.52],[1714192662000,4.392],[1714192982000,5.04],[1714193301000,5.67],[1714193558000,4.248],[1714193877000,5.688],[1714194197000,4.59],[1714194454000,3.816],[1714194774000,4.032],[1714195093000,5.49],[1714195350000,5.328],[1714195669000,2.952],[1714195989000,2.736],[1714196310000,3.51],[1714196566000,3.24],[1714196885000,3.744],[1714197205000,4.05],[1714197461000,4.68],[1714197782000,6.048],[1714198102000,5.4],[1714198352000,5.112],[1714198677000,5.256],[1714199089000,4.920000012],[1714199286000,3.42],[1714199560000,5.688],[1714199880000,3.672],[1714200198000,5.22],[1714200453000,4.464],[1714200773000,2.088],[1714201093000,2.61],[1714201365000,2.304],[1714201714000,1.35],[1714201977000,3.384],[1714202310000,2.61],[1714202565000,2.592],[1714202885000,3.672],[1714203206000,2.07],[1714203509000,2.52],[1714203837000,2.97],[1714204101000,3.69],[1714204361000,3.024],[1714204695000,1.53],[1714204951000,4.32],[1714205255000,2.304],[1714205576000,3.528],[1714205909000,4.32],[1714206165000,5.616],[1714206484000,3.816],[1714206805000,3.06],[1714207110000,4.68],[1714207366000,4.176],[1714207685000,3.480000012],[1714207952000,3.888],[1714208276000,6.696],[1714208596000,3.42],[1714208852000,4.536],[1714209172000,6.48],[1714209492000,5.256],[1714209813000,4.32],[1714210068000,4.752],[1714210388000,4.23],[1714210660000,3.24],[1714210973000,2.304],[1714211301000,3.87],[1714211557000,5.616],[1714211879000,6.696],[1714212197000,1.53],[1714212453000,4.032],[1714212773000,3.312],[1714213092000,2.88],[1714213413000,2.88],[1714213666000,1.008],[1714213989000,1.8],[1714214310000,8.55],[1714214565000,5.904],[1714214886000,7.272],[1714215205000,5.58],[1714215461000,9.576],[1714215781000,5.184],[1714216101000,6.599999988],[1714216350000,10.44],[1714216678000,9.504],[1714217004000,6.48],[1714217269000,6.48],[1714217589000,6.12],[1714217909000,7.92],[1714218181000,7.056],[1714218502000,12.96],[1714218813000,4.68],[1714219077000,6.984],[1714219397000,11.16],[1714219654000,15.192],[1714219973000,8.424],[1714220293000,5.4],[1714220613000,9.63],[1714220869000,7.128],[1714221189000,6.360000012],[1714221452000,7.776],[1714221797000,7.92],[1714222069000,6.84],[1714222388000,9.72],[1714222652000,12.456],[1714222980000,8.712],[1714223300000,7.56],[1714223556000,3.528],[1714223876000,5.832],[1714224212000,2.34],[1714224468000,3.24],[1714224788000,4.68],[1714225061000,8.208],[1714225382000,11.448],[1714225702000,7.92],[1714225957000,3.24],[1714226278000,4.536],[1714226600000,12.24],[1714226872000,8.064],[1714227204000,9.18],[1714227511000,3.42],[1714227765000,3.888],[1714228100000,2.07],[1714228357000,3.096],[1714228677000,4.608],[1714228998000,2.61],[1714229254000,2.52],[1714229573000,3.96],[1714229909000,3.15],[1714230203000,0.09],[1714230469000,3.456],[1714230788000,0.864],[1714231108000,0.36],[1714231364000,1.512],[1714231684000,1.53],[1714231973000,1.8],[1714232268000,3.384],[1714232597000,8.82],[1714232869000,4.14],[1714233156000,5.04],[1714233476000,3.528],[1714233796000,4.23],[1714234052000,2.088],[1714234372000,2.88],[1714234797000,1.44],[1714234981000,1.680000012],[1714235333000,0.63],[1714235604000,1.08],[1714235860000,1.656],[1714236180000,2.088],[1714236500000,2.34],[1714236753000,1.98],[1714237053000,1.44],[1714237399000,1.89],[1714237653000,0.072],[1714238013000,0.72],[1714238276000,0.288],[1714238596000,0],[1714238852000,0],[1714239172000,0],[1714239492000,0],[1714239816000,0],[1714240068000,0],[1714240404000,0],[1714240660000,0],[1714240996000,0],[1714241252000,0],[1714241572000,0],[1714241892000,0],[1714242213000,0.81],[1714242468000,0.576],[1714242788000,0],[1714243092000,0.144],[1714243412000,1.26],[1714243668000,0],[1714243988000,0],[1714244260000,0],[1714244580000,0.144],[1714244900000,0],[1714245156000,0],[1714245476000,0],[1714245796000,0],[1714246056000,0],[1714246388000,0],[1714246708000,0],[1714246954000,0.792],[1714247284000,0],[1714247604000,0],[1714247860000,0],[1714248180000,0.432],[1714248500000,1.08],[1714248753000,0],[1714249075000,0],[1714249396000,0],[1714249651000,0],[1714249971000,0],[1714250291000,0],[1714250611000,1.26],[1714250867000,0],[1714251188000,0.288],[1714251507000,0],[1714251764000,0],[1714252084000,0],[1714252403000,0],[1714252659000,0],[1714252979000,0.72],[1714253299000,1.17],[1714253553000,0.576],[1714253876000,0.432],[1714254195000,0.36],[1714254451000,0.504],[1714254771000,0.432],[1714255091000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1714168838000,0],[1714168966000,0.504],[1714169286000,1.008],[1714169606000,0],[1714169862000,0],[1714170182000,0],[1714170502000,0],[1714170757000,0],[1714171077000,0],[1714171398000,0],[1714171654000,0],[1714171973000,0],[1714172293000,0],[1714172613000,0],[1714172854000,0],[1714173173000,0],[1714173493000,0],[1714173813000,0],[1714174069000,0],[1714174389000,0],[1714174709000,0],[1714174965000,0],[1714175285000,0],[1714175605000,0],[1714175861000,0],[1714176181000,0],[1714176501000,0],[1714176753000,0],[1714177077000,0],[1714177397000,0],[1714177653000,0.504],[1714177974000,2.52],[1714178294000,0.63],[1714178550000,0],[1714178869000,0],[1714179190000,2.52],[1714179510000,1.26],[1714179766000,1.008],[1714180086000,2.52],[1714180406000,0],[1714180661000,1.008],[1714180998000,0],[1714181254000,0],[1714181574000,1.512],[1714181893000,1.89],[1714182150000,3.024],[1714182470000,1.008],[1714182789000,3.024],[1714183110000,0.63],[1714183381000,0],[1714183701000,1.26],[1714183957000,0],[1714184277000,0],[1714184597000,0.63],[1714184852000,0],[1714185173000,0.504],[1714185493000,0],[1714185812000,0],[1714186069000,0],[1714186389000,0],[1714186710000,0],[1714186966000,0],[1714187286000,0],[1714187606000,0],[1714187861000,0],[1714188181000,0],[1714188501000,0],[1714188757000,0],[1714189077000,0],[1714189398000,0],[1714189654000,0],[1714189975000,0],[1714190294000,0],[1714190550000,0],[1714190869000,0],[1714191189000,0],[1714191510000,0],[1714191765000,0],[1714192085000,4.032],[1714192406000,5.04],[1714192662000,6.552],[1714192982000,8.64],[1714193301000,10.17],[1714193558000,6.552],[1714193877000,8.136],[1714194197000,7.56],[1714194454000,5.616],[1714194774000,6.048],[1714195093000,8.91],[1714195350000,7.056],[1714195669000,5.04],[1714195989000,5.04],[1714196310000,4.41],[1714196566000,5.04],[1714196885000,5.544],[1714197205000,6.3],[1714197461000,6.048],[1714197782000,8.064],[1714198102000,6.3],[1714198352000,8.64],[1714198677000,7.128],[1714199089000,7.56],[1714199286000,5.04],[1714199560000,8.64],[1714199880000,5.544],[1714200198000,7.56],[1714200453000,6.624],[1714200773000,3.528],[1714201093000,4.41],[1714201365000,3.024],[1714201714000,2.52],[1714201977000,5.04],[1714202310000,3.78],[1714202565000,3.528],[1714202885000,4.536],[1714203206000,3.78],[1714203509000,4.41],[1714203837000,5.04],[1714204101000,5.67],[1714204361000,3.528],[1714204695000,3.15],[1714204951000,6.3],[1714205255000,3.528],[1714205576000,5.544],[1714205909000,6.93],[1714206165000,8.64],[1714206484000,6.048],[1714206805000,5.67],[1714207110000,7.56],[1714207366000,6.048],[1714207685000,5.04],[1714207952000,6.624],[1714208276000,10.296],[1714208596000,5.04],[1714208852000,7.128],[1714209172000,8.568],[1714209492000,8.064],[1714209813000,5.67],[1714210068000,7.056],[1714210388000,5.67],[1714210660000,3.78],[1714210973000,3.024],[1714211301000,5.67],[1714211557000,8.208],[1714211879000,9.216],[1714212197000,3.78],[1714212453000,6.048],[1714212773000,4.536],[1714213092000,4.536],[1714213413000,3.359999988],[1714213666000,2.016],[1714213989000,3.024],[1714214310000,11.61],[1714214565000,8.712],[1714214886000,10.728],[1714215205000,7.65],[1714215461000,13.176],[1714215781000,6.048],[1714216101000,8.520000012],[1714216350000,13.248],[1714216678000,12.312],[1714217004000,8.19],[1714217269000,9.144],[1714217589000,8.64],[1714217909000,10.26],[1714218181000,8.712],[1714218502000,17.039999988],[1714218813000,5.67],[1714219077000,11.232],[1714219397000,14.76],[1714219654000,18.432],[1714219973000,11.808],[1714220293000,7.56],[1714220613000,11.61],[1714220869000,10.8],[1714221189000,10.199999988],[1714221452000,10.296],[1714221797000,12.15],[1714222069000,9.72],[1714222388000,12.87],[1714222652000,15.336],[1714222980000,10.224],[1714223300000,9.54],[1714223556000,5.04],[1714223876000,7.56],[1714224212000,3.15],[1714224468000,5.112],[1714224788000,6.3],[1714225061000,10.224],[1714225382000,13.464],[1714225702000,10.89],[1714225957000,5.04],[1714226278000,6.624],[1714226600000,14.13],[1714226872000,9.72],[1714227204000,12.24],[1714227511000,4.41],[1714227765000,6.048],[1714228100000,3.15],[1714228357000,5.544],[1714228677000,6.552],[1714228998000,4.41],[1714229254000,4.032],[1714229573000,6.624],[1714229909000,3.78],[1714230203000,0.63],[1714230469000,4.536],[1714230788000,1.512],[1714231108000,0.63],[1714231364000,3.024],[1714231684000,2.52],[1714231973000,3.15],[1714232268000,5.04],[1714232597000,12.24],[1714232869000,6.3],[1714233156000,6.552],[1714233476000,5.544],[1714233796000,6.93],[1714234052000,3.024],[1714234372000,3.528],[1714234797000,2.52],[1714234981000,2.52],[1714235333000,2.52],[1714235604000,1.89],[1714235860000,3.024],[1714236180000,3.024],[1714236500000,3.15],[1714236753000,3.15],[1714237053000,3.024],[1714237399000,2.52],[1714237653000,0.504],[1714238013000,1.26],[1714238276000,0.504],[1714238596000,0],[1714238852000,0],[1714239172000,0],[1714239492000,0],[1714239816000,0],[1714240068000,0],[1714240404000,0],[1714240660000,0],[1714240996000,0],[1714241252000,0],[1714241572000,0],[1714241892000,0],[1714242213000,1.89],[1714242468000,1.512],[1714242788000,0],[1714243092000,1.008],[1714243412000,1.26],[1714243668000,0],[1714243988000,0],[1714244260000,0],[1714244580000,1.008],[1714244900000,0],[1714245156000,0],[1714245476000,0],[1714245796000,0],[1714246056000,0],[1714246388000,0],[1714246708000,0],[1714246954000,1.512],[1714247284000,0],[1714247604000,0],[1714247860000,0],[1714248180000,0.504],[1714248500000,1.89],[1714248753000,0],[1714249075000,0],[1714249396000,0],[1714249651000,0],[1714249971000,0],[1714250291000,0],[1714250611000,1.26],[1714250867000,0],[1714251188000,0.504],[1714251507000,0],[1714251764000,0],[1714252084000,0],[1714252403000,0],[1714252659000,0],[1714252979000,1.512],[1714253299000,2.52],[1714253553000,1.008],[1714253876000,0.504],[1714254195000,0.63],[1714254451000,0.504],[1714254771000,0.504],[1714255091000,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: [[1714168838000,290.00000000],[1714168966000,289.40000000],[1714169286000,285.40000000],[1714169606000,306.75000000],[1714169862000,301.20000000],[1714170182000,289.60000000],[1714170502000,289.75000000],[1714170757000,279.80000000],[1714171077000,282.60000000],[1714171398000,283.00000000],[1714171654000,283.00000000],[1714171973000,282.80000000],[1714172293000,278.20000000],[1714172613000,278.75000000],[1714172854000,280.40000000],[1714173173000,279.60000000],[1714173493000,273.00000000],[1714173813000,272.50000000],[1714174069000,272.80000000],[1714174389000,273.00000000],[1714174709000,273.00000000],[1714174965000,272.80000000],[1714175285000,273.00000000],[1714175605000,273.00000000],[1714175861000,273.00000000],[1714176181000,271.60000000],[1714176501000,271.00000000],[1714176753000,271.00000000],[1714177077000,271.00000000],[1714177397000,266.25000000],[1714177653000,262.20000000],[1714177974000,272.00000000],[1714178294000,317.00000000],[1714178550000,309.00000000],[1714178869000,286.60000000],[1714179190000,274.20000000],[1714179510000,290.00000000],[1714179766000,278.80000000],[1714180086000,280.60000000],[1714180406000,300.00000000],[1714180661000,294.40000000],[1714180998000,287.25000000],[1714181254000,287.40000000],[1714181574000,272.00000000],[1714181893000,304.50000000],[1714182150000,270.20000000],[1714182470000,311.40000000],[1714182789000,295.00000000],[1714183110000,301.75000000],[1714183381000,284.80000000],[1714183701000,285.00000000],[1714183957000,285.00000000],[1714184277000,285.00000000],[1714184597000,285.00000000],[1714184852000,294.80000000],[1714185173000,291.00000000],[1714185493000,283.40000000],[1714185812000,285.00000000],[1714186069000,285.00000000],[1714186389000,276.60000000],[1714186710000,278.75000000],[1714186966000,315.40000000],[1714187286000,297.60000000],[1714187606000,296.00000000],[1714187861000,298.60000000],[1714188181000,297.40000000],[1714188501000,297.50000000],[1714188757000,297.00000000],[1714189077000,297.80000000],[1714189398000,298.00000000],[1714189654000,297.20000000],[1714189975000,298.00000000],[1714190294000,276.50000000],[1714190550000,275.20000000],[1714190869000,264.60000000],[1714191189000,292.60000000],[1714191510000,318.75000000],[1714191765000,246.60000000],[1714192085000,235.00000000],[1714192406000,207.75000000],[1714192662000,115.80000000],[1714192982000,105.80000000],[1714193301000,162.50000000],[1714193558000,151.00000000],[1714193877000,208.60000000],[1714194197000,187.25000000],[1714194454000,242.80000000],[1714194774000,123.60000000],[1714195093000,53.25000000],[1714195350000,78.60000000],[1714195669000,225.00000000],[1714195989000,148.60000000],[1714196310000,170.75000000],[1714196566000,216.40000000],[1714196885000,151.20000000],[1714197205000,78.00000000],[1714197461000,177.60000000],[1714197782000,211.40000000],[1714198102000,160.50000000],[1714198352000,55.00000000],[1714198677000,231.60000000],[1714199089000,62.66666667],[1714199286000,226.00000000],[1714199560000,129.60000000],[1714199880000,139.60000000],[1714200198000,130.00000000],[1714200453000,170.20000000],[1714200773000,282.80000000],[1714201093000,147.75000000],[1714201365000,174.00000000],[1714201714000,225.75000000],[1714201977000,216.20000000],[1714202310000,229.75000000],[1714202565000,267.60000000],[1714202885000,90.20000000],[1714203206000,279.75000000],[1714203509000,199.00000000],[1714203837000,175.25000000],[1714204101000,195.50000000],[1714204361000,223.80000000],[1714204695000,204.75000000],[1714204951000,132.25000000],[1714205255000,211.00000000],[1714205576000,248.60000000],[1714205909000,149.50000000],[1714206165000,170.00000000],[1714206484000,187.80000000],[1714206805000,287.25000000],[1714207110000,113.50000000],[1714207366000,167.20000000],[1714207685000,241.33333333],[1714207952000,119.20000000],[1714208276000,49.40000000],[1714208596000,125.00000000],[1714208852000,140.00000000],[1714209172000,89.40000000],[1714209492000,174.00000000],[1714209813000,154.00000000],[1714210068000,89.00000000],[1714210388000,188.50000000],[1714210660000,73.50000000],[1714210973000,224.40000000],[1714211301000,122.50000000],[1714211557000,48.40000000],[1714211879000,108.40000000],[1714212197000,281.75000000],[1714212453000,226.80000000],[1714212773000,215.80000000],[1714213092000,287.40000000],[1714213413000,245.33333333],[1714213666000,240.20000000],[1714213989000,183.80000000],[1714214310000,202.00000000],[1714214565000,236.20000000],[1714214886000,248.60000000],[1714215205000,211.50000000],[1714215461000,231.20000000],[1714215781000,183.40000000],[1714216101000,204.00000000],[1714216350000,181.40000000],[1714216678000,165.80000000],[1714217004000,176.75000000],[1714217269000,197.40000000],[1714217589000,201.80000000],[1714217909000,182.75000000],[1714218181000,195.60000000],[1714218502000,220.00000000],[1714218813000,263.75000000],[1714219077000,179.40000000],[1714219397000,187.25000000],[1714219654000,183.00000000],[1714219973000,191.00000000],[1714220293000,257.80000000],[1714220613000,201.50000000],[1714220869000,183.20000000],[1714221189000,172.33333333],[1714221452000,197.60000000],[1714221797000,179.75000000],[1714222069000,216.20000000],[1714222388000,169.50000000],[1714222652000,185.40000000],[1714222980000,191.20000000],[1714223300000,184.25000000],[1714223556000,220.80000000],[1714223876000,218.20000000],[1714224212000,253.25000000],[1714224468000,240.60000000],[1714224788000,192.25000000],[1714225061000,192.40000000],[1714225382000,188.00000000],[1714225702000,191.50000000],[1714225957000,219.80000000],[1714226278000,185.00000000],[1714226600000,182.75000000],[1714226872000,200.60000000],[1714227204000,194.75000000],[1714227511000,242.25000000],[1714227765000,252.40000000],[1714228100000,245.75000000],[1714228357000,233.60000000],[1714228677000,211.00000000],[1714228998000,243.50000000],[1714229254000,259.20000000],[1714229573000,234.80000000],[1714229909000,233.50000000],[1714230203000,304.00000000],[1714230469000,234.00000000],[1714230788000,278.60000000],[1714231108000,309.00000000],[1714231364000,282.60000000],[1714231684000,260.50000000],[1714231973000,262.25000000],[1714232268000,185.60000000],[1714232597000,203.50000000],[1714232869000,210.75000000],[1714233156000,206.20000000],[1714233476000,230.40000000],[1714233796000,248.25000000],[1714234052000,266.40000000],[1714234372000,229.60000000],[1714234797000,264.00000000],[1714234981000,266.66666667],[1714235333000,310.50000000],[1714235604000,325.75000000],[1714235860000,190.00000000],[1714236180000,272.00000000],[1714236500000,257.75000000],[1714236753000,264.00000000],[1714237053000,270.60000000],[1714237399000,352.25000000],[1714237653000,353.00000000],[1714238013000,353.25000000],[1714238276000,353.40000000],[1714238596000,355.00000000],[1714238852000,355.00000000],[1714239172000,354.60000000],[1714239492000,354.20000000],[1714239816000,354.00000000],[1714240068000,354.00000000],[1714240404000,354.00000000],[1714240660000,354.00000000],[1714240996000,354.00000000],[1714241252000,354.00000000],[1714241572000,354.00000000],[1714241892000,354.00000000],[1714242213000,353.50000000],[1714242468000,353.00000000],[1714242788000,353.00000000],[1714243092000,353.00000000],[1714243412000,353.00000000],[1714243668000,353.00000000],[1714243988000,353.00000000],[1714244260000,353.00000000],[1714244580000,353.80000000],[1714244900000,354.00000000],[1714245156000,354.00000000],[1714245476000,354.00000000],[1714245796000,354.00000000],[1714246056000,354.00000000],[1714246388000,354.00000000],[1714246708000,354.00000000],[1714246954000,353.20000000],[1714247284000,353.00000000],[1714247604000,353.00000000],[1714247860000,353.20000000],[1714248180000,353.60000000],[1714248500000,353.00000000],[1714248753000,353.00000000],[1714249075000,353.00000000],[1714249396000,353.00000000],[1714249651000,353.00000000],[1714249971000,353.00000000],[1714250291000,353.00000000],[1714250611000,353.00000000],[1714250867000,353.00000000],[1714251188000,353.00000000],[1714251507000,353.00000000],[1714251764000,353.00000000],[1714252084000,353.00000000],[1714252403000,353.00000000],[1714252659000,353.00000000],[1714252979000,353.00000000],[1714253299000,353.00000000],[1714253553000,353.00000000],[1714253876000,353.00000000],[1714254195000,353.00000000],[1714254451000,353.00000000],[1714254771000,353.00000000],[1714255091000,352.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: [[1714168838000,0.00000000],[1714168966000,0.00000000],[1714169286000,0.00000000],[1714169606000,0.00000000],[1714169862000,0.00000000],[1714170182000,0.00000000],[1714170502000,0.00000000],[1714170757000,0.00000000],[1714171077000,0.00000000],[1714171398000,0.00000000],[1714171654000,0.00000000],[1714171973000,0.00000000],[1714172293000,0.00000000],[1714172613000,0.00000000],[1714172854000,0.00000000],[1714173173000,0.00000000],[1714173493000,0.00000000],[1714173813000,0.00000000],[1714174069000,0.00000000],[1714174389000,0.00000000],[1714174709000,0.00000000],[1714174965000,0.00000000],[1714175285000,0.00000000],[1714175605000,0.00000000],[1714175861000,0.00000000],[1714176181000,0.00000000],[1714176501000,0.00000000],[1714176753000,0.00000000],[1714177077000,0.00000000],[1714177397000,0.00000000],[1714177653000,0.00000000],[1714177974000,0.00000000],[1714178294000,0.00000000],[1714178550000,0.00000000],[1714178869000,0.00000000],[1714179190000,0.00000000],[1714179510000,0.00000000],[1714179766000,0.00000000],[1714180086000,0.00000000],[1714180406000,0.00000000],[1714180661000,0.00000000],[1714180998000,0.00000000],[1714181254000,0.00000000],[1714181574000,0.00000000],[1714181893000,0.00000000],[1714182150000,0.00000000],[1714182470000,0.00000000],[1714182789000,0.00000000],[1714183110000,0.00000000],[1714183381000,0.00000000],[1714183701000,0.00000000],[1714183957000,0.00000000],[1714184277000,0.00000000],[1714184597000,0.00000000],[1714184852000,0.00000000],[1714185173000,0.00000000],[1714185493000,0.00000000],[1714185812000,0.00000000],[1714186069000,0.00000000],[1714186389000,0.00000000],[1714186710000,0.00000000],[1714186966000,0.00000000],[1714187286000,0.00000000],[1714187606000,0.00000000],[1714187861000,0.00000000],[1714188181000,0.20000000],[1714188501000,1.00000000],[1714188757000,1.20000000],[1714189077000,2.00000000],[1714189398000,3.25000000],[1714189654000,4.00000000],[1714189975000,4.20000000],[1714190294000,5.75000000],[1714190550000,5.60000000],[1714190869000,7.20000000],[1714191189000,9.20000000],[1714191510000,12.50000000],[1714191765000,12.00000000],[1714192085000,9.40000000],[1714192406000,12.75000000],[1714192662000,17.00000000],[1714192982000,24.20000000],[1714193301000,30.75000000],[1714193558000,31.40000000],[1714193877000,34.00000000],[1714194197000,37.75000000],[1714194454000,35.60000000],[1714194774000,33.40000000],[1714195093000,30.00000000],[1714195350000,34.40000000],[1714195669000,36.60000000],[1714195989000,30.20000000],[1714196310000,34.50000000],[1714196566000,28.80000000],[1714196885000,37.00000000],[1714197205000,57.00000000],[1714197461000,65.20000000],[1714197782000,75.40000000],[1714198102000,83.75000000],[1714198352000,97.40000000],[1714198677000,110.80000000],[1714199089000,116.66666667],[1714199286000,112.75000000],[1714199560000,118.60000000],[1714199880000,134.80000000],[1714200198000,112.50000000],[1714200453000,80.00000000],[1714200773000,36.80000000],[1714201093000,42.25000000],[1714201365000,53.40000000],[1714201714000,104.50000000],[1714201977000,96.80000000],[1714202310000,46.25000000],[1714202565000,89.80000000],[1714202885000,146.80000000],[1714203206000,126.25000000],[1714203509000,111.50000000],[1714203837000,133.50000000],[1714204101000,154.00000000],[1714204361000,128.20000000],[1714204695000,133.25000000],[1714204951000,121.00000000],[1714205255000,142.00000000],[1714205576000,115.20000000],[1714205909000,73.50000000],[1714206165000,119.00000000],[1714206484000,155.20000000],[1714206805000,218.75000000],[1714207110000,182.75000000],[1714207366000,162.00000000],[1714207685000,158.33333333],[1714207952000,305.40000000],[1714208276000,207.80000000],[1714208596000,213.00000000],[1714208852000,232.80000000],[1714209172000,234.00000000],[1714209492000,222.40000000],[1714209813000,237.25000000],[1714210068000,312.80000000],[1714210388000,254.75000000],[1714210660000,212.00000000],[1714210973000,214.60000000],[1714211301000,218.50000000],[1714211557000,223.60000000],[1714211879000,218.80000000],[1714212197000,185.25000000],[1714212453000,163.00000000],[1714212773000,178.80000000],[1714213092000,195.20000000],[1714213413000,324.00000000],[1714213666000,178.80000000],[1714213989000,107.60000000],[1714214310000,87.50000000],[1714214565000,82.00000000],[1714214886000,55.60000000],[1714215205000,69.00000000],[1714215461000,117.80000000],[1714215781000,176.60000000],[1714216101000,185.33333333],[1714216350000,122.00000000],[1714216678000,61.20000000],[1714217004000,57.25000000],[1714217269000,77.60000000],[1714217589000,207.60000000],[1714217909000,280.75000000],[1714218181000,130.00000000],[1714218502000,104.33333333],[1714218813000,119.75000000],[1714219077000,133.80000000],[1714219397000,133.00000000],[1714219654000,81.60000000],[1714219973000,65.80000000],[1714220293000,136.60000000],[1714220613000,156.25000000],[1714220869000,154.60000000],[1714221189000,130.33333333],[1714221452000,105.20000000],[1714221797000,83.00000000],[1714222069000,87.00000000],[1714222388000,72.00000000],[1714222652000,62.60000000],[1714222980000,149.80000000],[1714223300000,315.75000000],[1714223556000,114.00000000],[1714223876000,103.40000000],[1714224212000,176.75000000],[1714224468000,174.00000000],[1714224788000,125.50000000],[1714225061000,155.00000000],[1714225382000,256.80000000],[1714225702000,183.00000000],[1714225957000,104.60000000],[1714226278000,82.40000000],[1714226600000,185.50000000],[1714226872000,231.20000000],[1714227204000,188.50000000],[1714227511000,167.00000000],[1714227765000,186.40000000],[1714228100000,92.50000000],[1714228357000,61.00000000],[1714228677000,113.60000000],[1714228998000,139.25000000],[1714229254000,88.20000000],[1714229573000,72.80000000],[1714229909000,83.50000000],[1714230203000,79.50000000],[1714230469000,64.80000000],[1714230788000,63.80000000],[1714231108000,65.25000000],[1714231364000,69.40000000],[1714231684000,68.75000000],[1714231973000,67.50000000],[1714232268000,67.60000000],[1714232597000,54.00000000],[1714232869000,53.00000000],[1714233156000,55.00000000],[1714233476000,78.20000000],[1714233796000,58.75000000],[1714234052000,43.60000000],[1714234372000,49.80000000],[1714234797000,24.50000000],[1714234981000,33.66666667],[1714235333000,66.00000000],[1714235604000,81.00000000],[1714235860000,68.20000000],[1714236180000,54.20000000],[1714236500000,49.25000000],[1714236753000,45.50000000],[1714237053000,38.40000000],[1714237399000,31.75000000],[1714237653000,23.00000000],[1714238013000,18.75000000],[1714238276000,16.00000000],[1714238596000,15.00000000],[1714238852000,12.00000000],[1714239172000,9.20000000],[1714239492000,6.20000000],[1714239816000,4.50000000],[1714240068000,3.00000000],[1714240404000,1.75000000],[1714240660000,1.00000000],[1714240996000,0.75000000],[1714241252000,0.00000000],[1714241572000,0.00000000],[1714241892000,0.00000000],[1714242213000,0.00000000],[1714242468000,0.00000000],[1714242788000,0.00000000],[1714243092000,0.00000000],[1714243412000,0.00000000],[1714243668000,0.00000000],[1714243988000,0.00000000],[1714244260000,0.00000000],[1714244580000,0.00000000],[1714244900000,0.00000000],[1714245156000,0.00000000],[1714245476000,0.00000000],[1714245796000,0.00000000],[1714246056000,0.00000000],[1714246388000,0.00000000],[1714246708000,0.00000000],[1714246954000,0.00000000],[1714247284000,0.00000000],[1714247604000,0.00000000],[1714247860000,0.00000000],[1714248180000,0.00000000],[1714248500000,0.00000000],[1714248753000,0.00000000],[1714249075000,0.00000000],[1714249396000,0.00000000],[1714249651000,0.00000000],[1714249971000,0.00000000],[1714250291000,0.00000000],[1714250611000,0.00000000],[1714250867000,0.00000000],[1714251188000,0.00000000],[1714251507000,0.00000000],[1714251764000,0.00000000],[1714252084000,0.00000000],[1714252403000,0.00000000],[1714252659000,0.00000000],[1714252979000,0.00000000],[1714253299000,0.00000000],[1714253553000,0.00000000],[1714253876000,0.00000000],[1714254195000,0.00000000],[1714254451000,0.00000000],[1714254771000,0.00000000],[1714255091000,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: [[1714168838000,0.00000000],[1714168966000,0.00000000],[1714169286000,0.00000000],[1714169606000,0.00000000],[1714169862000,0.00000000],[1714170182000,0.00000000],[1714170502000,0.00000000],[1714170757000,0.00000000],[1714171077000,0.00000000],[1714171398000,0.00000000],[1714171654000,0.00000000],[1714171973000,0.00000000],[1714172293000,0.00000000],[1714172613000,0.00000000],[1714172854000,0.00000000],[1714173173000,0.00000000],[1714173493000,0.00000000],[1714173813000,0.00000000],[1714174069000,0.00000000],[1714174389000,0.00000000],[1714174709000,0.00000000],[1714174965000,0.00000000],[1714175285000,0.00000000],[1714175605000,0.00000000],[1714175861000,0.00000000],[1714176181000,0.00000000],[1714176501000,0.00000000],[1714176753000,0.00000000],[1714177077000,0.00000000],[1714177397000,0.00000000],[1714177653000,0.00000000],[1714177974000,0.00000000],[1714178294000,0.00000000],[1714178550000,0.00000000],[1714178869000,0.00000000],[1714179190000,0.00000000],[1714179510000,0.00000000],[1714179766000,0.00000000],[1714180086000,0.00000000],[1714180406000,0.00000000],[1714180661000,0.00000000],[1714180998000,0.00000000],[1714181254000,0.00000000],[1714181574000,0.00000000],[1714181893000,0.00000000],[1714182150000,0.00000000],[1714182470000,0.00000000],[1714182789000,0.00000000],[1714183110000,0.00000000],[1714183381000,0.00000000],[1714183701000,0.00000000],[1714183957000,0.00000000],[1714184277000,0.00000000],[1714184597000,0.00000000],[1714184852000,0.00000000],[1714185173000,0.00000000],[1714185493000,0.00000000],[1714185812000,0.00000000],[1714186069000,0.00000000],[1714186389000,0.00000000],[1714186710000,0.00000000],[1714186966000,0.00000000],[1714187286000,0.00000000],[1714187606000,0.00000000],[1714187861000,0.00000000],[1714188181000,0.00000000],[1714188501000,0.00000000],[1714188757000,0.00000000],[1714189077000,0.00000000],[1714189398000,0.00000000],[1714189654000,0.00000000],[1714189975000,0.00000000],[1714190294000,0.00000000],[1714190550000,0.00000000],[1714190869000,0.00000000],[1714191189000,0.00000000],[1714191510000,0.00000000],[1714191765000,0.00000000],[1714192085000,0.00000000],[1714192406000,0.00000000],[1714192662000,0.00000000],[1714192982000,0.00000000],[1714193301000,0.00000000],[1714193558000,0.00000000],[1714193877000,0.00000000],[1714194197000,0.00000000],[1714194454000,0.00000000],[1714194774000,0.00000000],[1714195093000,0.00000000],[1714195350000,0.00000000],[1714195669000,0.00000000],[1714195989000,0.00000000],[1714196310000,0.00000000],[1714196566000,0.00000000],[1714196885000,0.00000000],[1714197205000,0.00000000],[1714197461000,0.00000000],[1714197782000,0.00000000],[1714198102000,0.00000000],[1714198352000,0.00000000],[1714198677000,1.00000000],[1714199089000,1.00000000],[1714199286000,1.00000000],[1714199560000,1.00000000],[1714199880000,1.00000000],[1714200198000,1.00000000],[1714200453000,0.00000000],[1714200773000,0.00000000],[1714201093000,0.00000000],[1714201365000,0.00000000],[1714201714000,0.50000000],[1714201977000,0.40000000],[1714202310000,0.00000000],[1714202565000,0.40000000],[1714202885000,1.00000000],[1714203206000,1.00000000],[1714203509000,1.00000000],[1714203837000,1.00000000],[1714204101000,1.00000000],[1714204361000,1.00000000],[1714204695000,1.00000000],[1714204951000,1.00000000],[1714205255000,1.00000000],[1714205576000,0.80000000],[1714205909000,0.00000000],[1714206165000,0.80000000],[1714206484000,1.00000000],[1714206805000,1.50000000],[1714207110000,1.00000000],[1714207366000,1.00000000],[1714207685000,1.00000000],[1714207952000,2.80000000],[1714208276000,1.60000000],[1714208596000,2.00000000],[1714208852000,2.00000000],[1714209172000,2.00000000],[1714209492000,1.80000000],[1714209813000,1.75000000],[1714210068000,2.60000000],[1714210388000,2.00000000],[1714210660000,2.00000000],[1714210973000,1.80000000],[1714211301000,2.00000000],[1714211557000,2.00000000],[1714211879000,1.80000000],[1714212197000,1.00000000],[1714212453000,1.00000000],[1714212773000,1.00000000],[1714213092000,1.20000000],[1714213413000,2.66666667],[1714213666000,1.40000000],[1714213989000,0.60000000],[1714214310000,0.00000000],[1714214565000,0.00000000],[1714214886000,0.00000000],[1714215205000,0.00000000],[1714215461000,0.80000000],[1714215781000,1.20000000],[1714216101000,1.00000000],[1714216350000,0.60000000],[1714216678000,0.00000000],[1714217004000,0.00000000],[1714217269000,0.20000000],[1714217589000,1.60000000],[1714217909000,2.25000000],[1714218181000,1.00000000],[1714218502000,0.66666667],[1714218813000,1.00000000],[1714219077000,1.00000000],[1714219397000,1.00000000],[1714219654000,0.20000000],[1714219973000,0.00000000],[1714220293000,0.80000000],[1714220613000,1.00000000],[1714220869000,1.00000000],[1714221189000,1.00000000],[1714221452000,0.80000000],[1714221797000,0.00000000],[1714222069000,0.00000000],[1714222388000,0.00000000],[1714222652000,0.00000000],[1714222980000,1.00000000],[1714223300000,2.50000000],[1714223556000,0.60000000],[1714223876000,0.40000000],[1714224212000,1.25000000],[1714224468000,1.00000000],[1714224788000,1.00000000],[1714225061000,1.00000000],[1714225382000,2.00000000],[1714225702000,1.25000000],[1714225957000,0.20000000],[1714226278000,0.00000000],[1714226600000,1.25000000],[1714226872000,1.80000000],[1714227204000,1.25000000],[1714227511000,1.00000000],[1714227765000,1.00000000],[1714228100000,0.25000000],[1714228357000,0.00000000],[1714228677000,0.60000000],[1714228998000,1.00000000],[1714229254000,0.20000000],[1714229573000,0.00000000],[1714229909000,0.00000000],[1714230203000,0.00000000],[1714230469000,0.00000000],[1714230788000,0.00000000],[1714231108000,0.00000000],[1714231364000,0.00000000],[1714231684000,0.00000000],[1714231973000,0.00000000],[1714232268000,0.00000000],[1714232597000,0.00000000],[1714232869000,0.00000000],[1714233156000,0.00000000],[1714233476000,0.00000000],[1714233796000,0.00000000],[1714234052000,0.00000000],[1714234372000,0.00000000],[1714234797000,0.00000000],[1714234981000,0.00000000],[1714235333000,0.00000000],[1714235604000,0.00000000],[1714235860000,0.00000000],[1714236180000,0.00000000],[1714236500000,0.00000000],[1714236753000,0.00000000],[1714237053000,0.00000000],[1714237399000,0.00000000],[1714237653000,0.00000000],[1714238013000,0.00000000],[1714238276000,0.00000000],[1714238596000,0.00000000],[1714238852000,0.00000000],[1714239172000,0.00000000],[1714239492000,0.00000000],[1714239816000,0.00000000],[1714240068000,0.00000000],[1714240404000,0.00000000],[1714240660000,0.00000000],[1714240996000,0.00000000],[1714241252000,0.00000000],[1714241572000,0.00000000],[1714241892000,0.00000000],[1714242213000,0.00000000],[1714242468000,0.00000000],[1714242788000,0.00000000],[1714243092000,0.00000000],[1714243412000,0.00000000],[1714243668000,0.00000000],[1714243988000,0.00000000],[1714244260000,0.00000000],[1714244580000,0.00000000],[1714244900000,0.00000000],[1714245156000,0.00000000],[1714245476000,0.00000000],[1714245796000,0.00000000],[1714246056000,0.00000000],[1714246388000,0.00000000],[1714246708000,0.00000000],[1714246954000,0.00000000],[1714247284000,0.00000000],[1714247604000,0.00000000],[1714247860000,0.00000000],[1714248180000,0.00000000],[1714248500000,0.00000000],[1714248753000,0.00000000],[1714249075000,0.00000000],[1714249396000,0.00000000],[1714249651000,0.00000000],[1714249971000,0.00000000],[1714250291000,0.00000000],[1714250611000,0.00000000],[1714250867000,0.00000000],[1714251188000,0.00000000],[1714251507000,0.00000000],[1714251764000,0.00000000],[1714252084000,0.00000000],[1714252403000,0.00000000],[1714252659000,0.00000000],[1714252979000,0.00000000],[1714253299000,0.00000000],[1714253553000,0.00000000],[1714253876000,0.00000000],[1714254195000,0.00000000],[1714254451000,0.00000000],[1714254771000,0.00000000],[1714255091000,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: [[1714168838000,0.00000000],[1714168966000,0.00000000],[1714169286000,0.00000000],[1714169606000,0.00000000],[1714169862000,0.00000000],[1714170182000,0.00000000],[1714170502000,0.00000000],[1714170757000,0.00000000],[1714171077000,0.00000000],[1714171398000,0.00000000],[1714171654000,0.00000000],[1714171973000,0.00000000],[1714172293000,0.00000000],[1714172613000,0.00000000],[1714172854000,0.00000000],[1714173173000,0.00000000],[1714173493000,0.00000000],[1714173813000,0.00000000],[1714174069000,0.00000000],[1714174389000,0.00000000],[1714174709000,0.00000000],[1714174965000,0.00000000],[1714175285000,0.00000000],[1714175605000,0.00000000],[1714175861000,0.00000000],[1714176181000,0.00000000],[1714176501000,0.00000000],[1714176753000,0.00000000],[1714177077000,0.00000000],[1714177397000,0.00000000],[1714177653000,0.00000000],[1714177974000,0.00000000],[1714178294000,0.00000000],[1714178550000,0.00000000],[1714178869000,0.00000000],[1714179190000,0.00000000],[1714179510000,0.00000000],[1714179766000,0.00000000],[1714180086000,0.00000000],[1714180406000,0.00000000],[1714180661000,0.00000000],[1714180998000,0.00000000],[1714181254000,0.00000000],[1714181574000,0.00000000],[1714181893000,0.00000000],[1714182150000,0.00000000],[1714182470000,0.00000000],[1714182789000,0.00000000],[1714183110000,0.00000000],[1714183381000,0.00000000],[1714183701000,0.00000000],[1714183957000,0.00000000],[1714184277000,0.00000000],[1714184597000,0.00000000],[1714184852000,0.00000000],[1714185173000,0.00000000],[1714185493000,0.00000000],[1714185812000,0.00000000],[1714186069000,0.00000000],[1714186389000,0.00000000],[1714186710000,0.00000000],[1714186966000,0.00000000],[1714187286000,0.00000000],[1714187606000,0.00000000],[1714187861000,0.00000000],[1714188181000,0.00000000],[1714188501000,0.00000000],[1714188757000,0.00000000],[1714189077000,0.00000000],[1714189398000,0.00000000],[1714189654000,0.00000000],[1714189975000,0.00000000],[1714190294000,0.00000000],[1714190550000,0.00000000],[1714190869000,0.00000000],[1714191189000,0.00000000],[1714191510000,0.00000000],[1714191765000,0.00000000],[1714192085000,0.00000000],[1714192406000,0.00000000],[1714192662000,0.00000000],[1714192982000,0.00000000],[1714193301000,0.00000000],[1714193558000,0.00000000],[1714193877000,0.00000000],[1714194197000,0.00000000],[1714194454000,0.00000000],[1714194774000,0.00000000],[1714195093000,0.00000000],[1714195350000,0.00000000],[1714195669000,0.00000000],[1714195989000,0.00000000],[1714196310000,0.00000000],[1714196566000,0.00000000],[1714196885000,0.00000000],[1714197205000,0.00000000],[1714197461000,0.00000000],[1714197782000,0.00000000],[1714198102000,0.00000000],[1714198352000,0.00000000],[1714198677000,0.00000000],[1714199089000,0.00000000],[1714199286000,0.00000000],[1714199560000,0.00000000],[1714199880000,0.00000000],[1714200198000,0.00000000],[1714200453000,0.00000000],[1714200773000,0.00000000],[1714201093000,0.00000000],[1714201365000,0.00000000],[1714201714000,0.00000000],[1714201977000,0.00000000],[1714202310000,0.00000000],[1714202565000,0.00000000],[1714202885000,0.00000000],[1714203206000,0.00000000],[1714203509000,0.00000000],[1714203837000,0.00000000],[1714204101000,0.00000000],[1714204361000,0.00000000],[1714204695000,0.00000000],[1714204951000,0.00000000],[1714205255000,0.00000000],[1714205576000,0.00000000],[1714205909000,0.00000000],[1714206165000,0.00000000],[1714206484000,0.00000000],[1714206805000,0.00000000],[1714207110000,0.00000000],[1714207366000,0.00000000],[1714207685000,0.00000000],[1714207952000,0.00000000],[1714208276000,0.00000000],[1714208596000,0.00000000],[1714208852000,0.00000000],[1714209172000,0.00000000],[1714209492000,0.00000000],[1714209813000,0.00000000],[1714210068000,0.00000000],[1714210388000,0.00000000],[1714210660000,0.00000000],[1714210973000,0.00000000],[1714211301000,0.00000000],[1714211557000,0.00000000],[1714211879000,0.00000000],[1714212197000,0.00000000],[1714212453000,0.00000000],[1714212773000,0.00000000],[1714213092000,0.00000000],[1714213413000,0.00000000],[1714213666000,0.00000000],[1714213989000,0.00000000],[1714214310000,0.00000000],[1714214565000,0.00000000],[1714214886000,0.00000000],[1714215205000,0.00000000],[1714215461000,0.00000000],[1714215781000,0.00000000],[1714216101000,0.00000000],[1714216350000,0.00000000],[1714216678000,0.00000000],[1714217004000,0.00000000],[1714217269000,0.00000000],[1714217589000,0.00000000],[1714217909000,0.00000000],[1714218181000,0.00000000],[1714218502000,0.00000000],[1714218813000,0.00000000],[1714219077000,0.00000000],[1714219397000,0.00000000],[1714219654000,0.00000000],[1714219973000,0.00000000],[1714220293000,0.00000000],[1714220613000,0.00000000],[1714220869000,0.00000000],[1714221189000,0.00000000],[1714221452000,0.00000000],[1714221797000,0.00000000],[1714222069000,0.00000000],[1714222388000,0.00000000],[1714222652000,0.00000000],[1714222980000,0.00000000],[1714223300000,0.00000000],[1714223556000,0.00000000],[1714223876000,0.00000000],[1714224212000,0.00000000],[1714224468000,0.00000000],[1714224788000,0.00000000],[1714225061000,0.00000000],[1714225382000,0.00000000],[1714225702000,0.00000000],[1714225957000,0.00000000],[1714226278000,0.00000000],[1714226600000,0.00000000],[1714226872000,0.00000000],[1714227204000,0.00000000],[1714227511000,0.00000000],[1714227765000,0.00000000],[1714228100000,0.00000000],[1714228357000,0.00000000],[1714228677000,0.00000000],[1714228998000,0.00000000],[1714229254000,0.00000000],[1714229573000,0.00000000],[1714229909000,0.00000000],[1714230203000,0.00000000],[1714230469000,0.00000000],[1714230788000,0.00000000],[1714231108000,0.00000000],[1714231364000,0.00000000],[1714231684000,0.00000000],[1714231973000,0.00000000],[1714232268000,0.00000000],[1714232597000,0.00000000],[1714232869000,0.00000000],[1714233156000,0.00000000],[1714233476000,0.00000000],[1714233796000,0.00000000],[1714234052000,0.00000000],[1714234372000,0.00000000],[1714234797000,0.00000000],[1714234981000,0.00000000],[1714235333000,0.00000000],[1714235604000,0.00000000],[1714235860000,0.00000000],[1714236180000,0.00000000],[1714236500000,0.00000000],[1714236753000,0.00000000],[1714237053000,0.00000000],[1714237399000,0.00000000],[1714237653000,0.00000000],[1714238013000,0.00000000],[1714238276000,0.00000000],[1714238596000,0.00000000],[1714238852000,0.00000000],[1714239172000,0.00000000],[1714239492000,0.00000000],[1714239816000,0.00000000],[1714240068000,0.00000000],[1714240404000,0.00000000],[1714240660000,0.00000000],[1714240996000,0.00000000],[1714241252000,0.00000000],[1714241572000,0.00000000],[1714241892000,0.00000000],[1714242213000,0.00000000],[1714242468000,0.00000000],[1714242788000,0.00000000],[1714243092000,0.00000000],[1714243412000,0.00000000],[1714243668000,0.00000000],[1714243988000,0.00000000],[1714244260000,0.00000000],[1714244580000,0.00000000],[1714244900000,0.00000000],[1714245156000,0.00000000],[1714245476000,0.00000000],[1714245796000,0.00000000],[1714246056000,0.00000000],[1714246388000,0.00000000],[1714246708000,0.00000000],[1714246954000,0.00000000],[1714247284000,0.00000000],[1714247604000,0.00000000],[1714247860000,0.00000000],[1714248180000,0.00000000],[1714248500000,0.00000000],[1714248753000,0.00000000],[1714249075000,0.00000000],[1714249396000,0.00000000],[1714249651000,0.00000000],[1714249971000,0.00000000],[1714250291000,0.00000000],[1714250611000,0.00000000],[1714250867000,0.00000000],[1714251188000,0.00000000],[1714251507000,0.00000000],[1714251764000,0.00000000],[1714252084000,0.00000000],[1714252403000,0.00000000],[1714252659000,0.00000000],[1714252979000,0.00000000],[1714253299000,0.00000000],[1714253553000,0.00000000],[1714253876000,0.00000000],[1714254195000,0.00000000],[1714254451000,0.00000000],[1714254771000,0.00000000],[1714255091000,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; }