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: [[1719612094000,0],[1719612167000,0],[1719612471000,0],[1719612791000,0],[1719613111000,0],[1719613367000,0],[1719614029000,0],[1719614438000,0],[1719614583000,0],[1719614903000,0],[1719615159000,0],[1719615479000,0],[1719615799000,0],[1719616938000,0],[1719616998000,0],[1719617252000,0],[1719617574000,0],[1719617894000,1.26],[1719618150000,0.576],[1719618513000,0],[1719619415000,0],[1719619671000,0.072],[1719619991000,0.072],[1719620311000,1.89],[1719620567000,0],[1719620903000,0],[1719621159000,0.600000012],[1719621716000,0],[1719621986000,0],[1719622053000,0],[1719622375000,0],[1719622695000,0],[1719622951000,0],[1719623270000,0],[1719623550000,0],[1719624216000,0],[1719624470000,0],[1719624790000,0],[1719625110000,0],[1719625366000,0],[1719625686000,0],[1719626006000,0],[1719626250000,0],[1719626642000,0],[1719626903000,0],[1719627159000,0],[1719627479000,0],[1719627799000,0],[1719628052000,0],[1719628375000,0],[1719628916000,0],[1719628982000,0],[1719629302000,0],[1719629558000,0],[1719629878000,1.008],[1719630198000,0],[1719630452000,0],[1719630774000,0],[1719631094000,0],[1719631350000,0],[1719631687000,0],[1719631991000,0],[1719632367000,0],[1719632567000,0],[1719632887000,0.288],[1719633207000,0],[1719633463000,0],[1719633752000,0],[1719634086000,0],[1719634355000,0],[1719634680000,0],[1719634999000,0],[1719635252000,0],[1719635575000,0],[1719635895000,0],[1719636151000,0],[1719636470000,0],[1719636806000,0],[1719637062000,0],[1719637383000,0],[1719637702000,0],[1719637958000,0.864],[1719638278000,1.08],[1719638575000,1.008],[1719638902000,2.34],[1719639158000,3.096],[1719639478000,0.576],[1719639798000,0.54],[1719640052000,0.072],[1719640374000,1.152],[1719640694000,1.44],[1719640950000,0.504],[1719641270000,0.144],[1719641590000,2.232],[1719641910000,0.72],[1719642166000,1.584],[1719642486000,0.936],[1719642806000,2.07],[1719643062000,0.576],[1719643382000,0.648],[1719643702000,3.51],[1719643953000,3.384],[1719644278000,2.808],[1719644598000,0.99],[1719644852000,2.304],[1719645190000,3.672],[1719645510000,2.88],[1719645753000,3.6],[1719646070000,2.304],[1719646390000,1.008],[1719646710000,2.16],[1719646952000,0.864],[1719647270000,3.096],[1719647591000,1.44],[1719647910000,2.25],[1719648166000,2.088],[1719648501000,2.97],[1719648757000,4.32],[1719649079000,2.16],[1719649427000,3.87],[1719649685000,4.536],[1719650005000,3.78],[1719650262000,4.32],[1719650581000,1.53],[1719650886000,3.168],[1719651207000,3.15],[1719651462000,3.024],[1719651782000,1.584],[1719652102000,2.16],[1719652358000,3.96],[1719652679000,2.304],[1719652998000,5.31],[1719653253000,3.096],[1719653574000,3.168],[1719653894000,2.52],[1719654150000,5.4],[1719654470000,4.536],[1719654790000,5.616],[1719655111000,5.04],[1719655366000,1.584],[1719655685000,2.592],[1719656005000,3.42],[1719656261000,6.624],[1719656581000,2.664],[1719656901000,3.6],[1719657157000,1.44],[1719657477000,6.984],[1719657797000,8.01],[1719658052000,3.384],[1719658357000,2.88],[1719658678000,3.312],[1719659012000,2.43],[1719659269000,4.248],[1719659590000,3.672],[1719659909000,3.6],[1719660165000,2.52],[1719660485000,1.8],[1719660805000,3.69],[1719661062000,3.384],[1719661383000,3.33],[1719661653000,4.968],[1719661974000,4.536],[1719662310000,5.76],[1719662568000,6.768],[1719662885000,5.04],[1719663206000,3.6],[1719663461000,2.952],[1719663781000,5.94],[1719664052000,4.68],[1719664373000,1.152],[1719664709000,2.34],[1719664965000,3.168],[1719665285000,5.4],[1719665605000,5.4],[1719665852000,2.664],[1719666165000,1.008],[1719666485000,3.6],[1719666805000,2.61],[1719667053000,3.24],[1719667381000,3.672],[1719667701000,3.42],[1719667953000,2.088],[1719668277000,2.376],[1719668597000,1.62],[1719668852000,1.872],[1719669173000,2.016],[1719669495000,4.608],[1719669812000,6.66],[1719670069000,1.656],[1719670405000,1.8],[1719670661000,1.944],[1719670981000,2.088],[1719671301000,1.53],[1719671552000,2.448],[1719671861000,3.024],[1719672181000,1.224],[1719672501000,1.8],[1719672753000,1.008],[1719673077000,2.592],[1719673397000,1.62],[1719673653000,4.464],[1719673973000,1.872],[1719674293000,1.512],[1719674612000,2.16],[1719674869000,0.432],[1719675189000,0.72],[1719675509000,1.53],[1719675765000,2.448],[1719676085000,2.592],[1719676413000,2.7],[1719676677000,1.512],[1719676997000,1.98],[1719677253000,2.448],[1719677575000,1.152],[1719677895000,1.26],[1719678150000,2.16],[1719678470000,0.936],[1719678790000,2.016],[1719679110000,2.52],[1719679366000,0.648],[1719679686000,2.088],[1719680006000,0.36],[1719680262000,0],[1719680582000,0],[1719680901000,0],[1719681152000,0],[1719681461000,0],[1719681781000,0],[1719682101000,0],[1719682352000,0.072],[1719682652000,0],[1719682981000,0.072],[1719683301000,0.09],[1719683557000,1.512],[1719683877000,0.432],[1719684197000,0],[1719684454000,0.072],[1719684773000,0.144],[1719685093000,0.288],[1719685414000,0.18],[1719685669000,0.864],[1719685989000,1.008],[1719686310000,0.09],[1719686565000,0.432],[1719686885000,0.576],[1719687205000,0.9],[1719687461000,0.072],[1719687781000,0],[1719688101000,0.54],[1719688358000,0.36],[1719688677000,0.504],[1719688997000,0.9],[1719689253000,0.72],[1719689557000,0],[1719689877000,0],[1719690198000,0],[1719690453000,0],[1719690757000,0],[1719691077000,0],[1719691397000,0],[1719691654000,0],[1719692005000,0],[1719692261000,0],[1719692581000,0],[1719692901000,1.98],[1719693153000,1.512],[1719693477000,0.54],[1719693781000,0.72],[1719694120000,0.72],[1719694373000,0],[1719694692000,0],[1719695013000,0],[1719695253000,0],[1719695573000,0],[1719695893000,0],[1719696213000,0],[1719696469000,0],[1719696753000,0],[1719697093000,0],[1719697413000,1.98],[1719697669000,0],[1719697989000,0],[1719698309000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1719612094000,0],[1719612167000,0],[1719612471000,0],[1719612791000,0],[1719613111000,0],[1719613367000,0],[1719614029000,0],[1719614438000,0],[1719614583000,0],[1719614903000,0],[1719615159000,0],[1719615479000,0],[1719615799000,0],[1719616938000,0],[1719616998000,0],[1719617252000,0],[1719617574000,0],[1719617894000,1.26],[1719618150000,1.008],[1719618513000,0],[1719619415000,0],[1719619671000,0.504],[1719619991000,0.504],[1719620311000,2.52],[1719620567000,0],[1719620903000,0],[1719621159000,1.680000012],[1719621716000,0],[1719621986000,0],[1719622053000,0],[1719622375000,0],[1719622695000,0],[1719622951000,0],[1719623270000,0],[1719623550000,0],[1719624216000,0],[1719624470000,0],[1719624790000,0],[1719625110000,0],[1719625366000,0],[1719625686000,0],[1719626006000,0],[1719626250000,0],[1719626642000,0],[1719626903000,0],[1719627159000,0],[1719627479000,0],[1719627799000,0],[1719628052000,0],[1719628375000,0],[1719628916000,0],[1719628982000,0],[1719629302000,0],[1719629558000,0],[1719629878000,1.512],[1719630198000,0],[1719630452000,0],[1719630774000,0],[1719631094000,0],[1719631350000,0],[1719631687000,0],[1719631991000,0],[1719632367000,0],[1719632567000,0],[1719632887000,0.504],[1719633207000,0],[1719633463000,0],[1719633752000,0],[1719634086000,0],[1719634355000,0],[1719634680000,0],[1719634999000,0],[1719635252000,0],[1719635575000,0],[1719635895000,0],[1719636151000,0],[1719636470000,0],[1719636806000,0],[1719637062000,0],[1719637383000,0],[1719637702000,0],[1719637958000,1.512],[1719638278000,3.359999988],[1719638575000,1.512],[1719638902000,3.78],[1719639158000,4.032],[1719639478000,1.512],[1719639798000,0.63],[1719640052000,0.504],[1719640374000,2.016],[1719640694000,2.52],[1719640950000,1.008],[1719641270000,0.504],[1719641590000,3.024],[1719641910000,1.26],[1719642166000,3.024],[1719642486000,2.016],[1719642806000,3.15],[1719643062000,1.008],[1719643382000,1.512],[1719643702000,4.41],[1719643953000,4.536],[1719644278000,4.032],[1719644598000,1.89],[1719644852000,3.528],[1719645190000,5.04],[1719645510000,3.78],[1719645753000,5.544],[1719646070000,3.528],[1719646390000,2.52],[1719646710000,3.15],[1719646952000,1.008],[1719647270000,4.032],[1719647591000,2.016],[1719647910000,3.15],[1719648166000,3.024],[1719648501000,4.41],[1719648757000,5.879999988],[1719649079000,3.024],[1719649427000,5.04],[1719649685000,5.544],[1719650005000,5.67],[1719650262000,6.552],[1719650581000,1.89],[1719650886000,4.536],[1719651207000,4.41],[1719651462000,5.04],[1719651782000,2.52],[1719652102000,2.52],[1719652358000,5.544],[1719652679000,4.032],[1719652998000,7.02],[1719653253000,3.528],[1719653574000,4.536],[1719653894000,3.15],[1719654150000,6.552],[1719654470000,6.048],[1719654790000,7.56],[1719655111000,5.67],[1719655366000,2.016],[1719655685000,3.528],[1719656005000,5.04],[1719656261000,7.56],[1719656581000,4.032],[1719656901000,3.78],[1719657157000,2.016],[1719657477000,9.72],[1719657797000,10.17],[1719658052000,5.04],[1719658357000,4.032],[1719658678000,4.536],[1719659012000,4.41],[1719659269000,6.048],[1719659590000,5.04],[1719659909000,4.41],[1719660165000,4.032],[1719660485000,2.52],[1719660805000,5.04],[1719661062000,4.032],[1719661383000,4.41],[1719661653000,6.552],[1719661974000,6.048],[1719662310000,6.93],[1719662568000,8.64],[1719662885000,6.12],[1719663206000,5.67],[1719663461000,3.528],[1719663781000,7.56],[1719664052000,6.048],[1719664373000,2.016],[1719664709000,3.15],[1719664965000,4.536],[1719665285000,6.048],[1719665605000,7.56],[1719665852000,3.528],[1719666165000,1.512],[1719666485000,5.04],[1719666805000,3.15],[1719667053000,4.536],[1719667381000,5.04],[1719667701000,4.41],[1719667953000,4.032],[1719668277000,3.024],[1719668597000,2.52],[1719668852000,2.52],[1719669173000,3.528],[1719669495000,5.04],[1719669812000,8.28],[1719670069000,2.52],[1719670405000,3.15],[1719670661000,2.52],[1719670981000,3.024],[1719671301000,2.52],[1719671552000,4.032],[1719671861000,3.528],[1719672181000,2.016],[1719672501000,3.15],[1719672753000,2.016],[1719673077000,3.528],[1719673397000,2.52],[1719673653000,5.04],[1719673973000,3.024],[1719674293000,2.016],[1719674612000,3.78],[1719674869000,1.512],[1719675189000,1.512],[1719675509000,1.89],[1719675765000,3.024],[1719676085000,4.032],[1719676413000,3.15],[1719676677000,2.016],[1719676997000,3.15],[1719677253000,3.024],[1719677575000,2.016],[1719677895000,1.26],[1719678150000,2.52],[1719678470000,1.512],[1719678790000,3.024],[1719679110000,3.15],[1719679366000,2.016],[1719679686000,3.024],[1719680006000,0.63],[1719680262000,0],[1719680582000,0],[1719680901000,0],[1719681152000,0],[1719681461000,0],[1719681781000,0],[1719682101000,0],[1719682352000,0.504],[1719682652000,0],[1719682981000,0.504],[1719683301000,0.63],[1719683557000,1.512],[1719683877000,0.504],[1719684197000,0],[1719684454000,0.504],[1719684773000,1.008],[1719685093000,0.504],[1719685414000,0.63],[1719685669000,2.016],[1719685989000,1.512],[1719686310000,0.63],[1719686565000,0.504],[1719686885000,1.008],[1719687205000,1.26],[1719687461000,0.504],[1719687781000,0],[1719688101000,0.63],[1719688358000,1.008],[1719688677000,0.504],[1719688997000,1.26],[1719689253000,1.26],[1719689557000,0],[1719689877000,0],[1719690198000,0],[1719690453000,0],[1719690757000,0],[1719691077000,0],[1719691397000,0],[1719691654000,0],[1719692005000,0],[1719692261000,0],[1719692581000,0],[1719692901000,2.52],[1719693153000,2.016],[1719693477000,0.63],[1719693781000,1.26],[1719694120000,1.26],[1719694373000,0],[1719694692000,0],[1719695013000,0],[1719695253000,0],[1719695573000,0],[1719695893000,0],[1719696213000,0],[1719696469000,0],[1719696753000,0],[1719697093000,0],[1719697413000,2.52],[1719697669000,0],[1719697989000,0],[1719698309000,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: [[1719612094000,300.00000000],[1719612167000,292.66666667],[1719612471000,303.80000000],[1719612791000,324.60000000],[1719613111000,311.00000000],[1719613367000,311.00000000],[1719614029000,311.00000000],[1719614438000,293.50000000],[1719614583000,296.60000000],[1719614903000,295.50000000],[1719615159000,301.20000000],[1719615479000,305.80000000],[1719615799000,303.50000000],[1719616938000,294.00000000],[1719616998000,298.25000000],[1719617252000,296.20000000],[1719617574000,293.40000000],[1719617894000,281.50000000],[1719618150000,290.60000000],[1719618513000,298.00000000],[1719619415000,298.25000000],[1719619671000,277.60000000],[1719619991000,318.80000000],[1719620311000,318.50000000],[1719620567000,301.80000000],[1719620903000,274.75000000],[1719621159000,305.33333333],[1719621716000,286.00000000],[1719621986000,292.00000000],[1719622053000,298.60000000],[1719622375000,298.20000000],[1719622695000,304.00000000],[1719622951000,305.20000000],[1719623270000,291.75000000],[1719623550000,299.60000000],[1719624216000,302.00000000],[1719624470000,297.40000000],[1719624790000,293.60000000],[1719625110000,284.75000000],[1719625366000,297.00000000],[1719625686000,296.60000000],[1719626006000,302.50000000],[1719626250000,301.00000000],[1719626642000,283.00000000],[1719626903000,274.50000000],[1719627159000,285.60000000],[1719627479000,296.40000000],[1719627799000,297.00000000],[1719628052000,299.00000000],[1719628375000,293.00000000],[1719628916000,301.00000000],[1719628982000,303.20000000],[1719629302000,302.00000000],[1719629558000,298.40000000],[1719629878000,276.60000000],[1719630198000,293.25000000],[1719630452000,299.20000000],[1719630774000,292.80000000],[1719631094000,299.00000000],[1719631350000,304.75000000],[1719631687000,298.00000000],[1719631991000,300.20000000],[1719632367000,299.33333333],[1719632567000,301.80000000],[1719632887000,312.40000000],[1719633207000,312.00000000],[1719633463000,312.00000000],[1719633752000,312.00000000],[1719634086000,312.00000000],[1719634355000,312.00000000],[1719634680000,307.60000000],[1719634999000,291.50000000],[1719635252000,285.80000000],[1719635575000,291.80000000],[1719635895000,293.25000000],[1719636151000,283.00000000],[1719636470000,259.40000000],[1719636806000,251.00000000],[1719637062000,252.60000000],[1719637383000,253.00000000],[1719637702000,249.50000000],[1719637958000,320.60000000],[1719638278000,143.00000000],[1719638575000,261.00000000],[1719638902000,42.00000000],[1719639158000,215.20000000],[1719639478000,262.20000000],[1719639798000,292.00000000],[1719640052000,298.20000000],[1719640374000,226.60000000],[1719640694000,164.50000000],[1719640950000,261.20000000],[1719641270000,252.60000000],[1719641590000,97.00000000],[1719641910000,314.25000000],[1719642166000,153.60000000],[1719642486000,329.80000000],[1719642806000,157.25000000],[1719643062000,300.20000000],[1719643382000,303.80000000],[1719643702000,242.25000000],[1719643953000,83.60000000],[1719644278000,78.00000000],[1719644598000,234.75000000],[1719644852000,139.60000000],[1719645190000,132.40000000],[1719645510000,155.00000000],[1719645753000,201.00000000],[1719646070000,207.00000000],[1719646390000,231.20000000],[1719646710000,226.50000000],[1719646952000,320.20000000],[1719647270000,80.40000000],[1719647591000,250.20000000],[1719647910000,249.25000000],[1719648166000,258.60000000],[1719648501000,244.50000000],[1719648757000,170.33333333],[1719649079000,208.20000000],[1719649427000,233.50000000],[1719649685000,244.80000000],[1719650005000,262.00000000],[1719650262000,225.80000000],[1719650581000,289.50000000],[1719650886000,257.40000000],[1719651207000,239.25000000],[1719651462000,192.80000000],[1719651782000,125.00000000],[1719652102000,265.50000000],[1719652358000,211.80000000],[1719652679000,178.00000000],[1719652998000,216.75000000],[1719653253000,264.20000000],[1719653574000,211.20000000],[1719653894000,264.00000000],[1719654150000,257.40000000],[1719654470000,238.00000000],[1719654790000,195.00000000],[1719655111000,211.00000000],[1719655366000,260.60000000],[1719655685000,272.80000000],[1719656005000,254.50000000],[1719656261000,213.00000000],[1719656581000,273.20000000],[1719656901000,241.00000000],[1719657157000,220.60000000],[1719657477000,220.00000000],[1719657797000,203.00000000],[1719658052000,196.80000000],[1719658357000,248.20000000],[1719658678000,242.60000000],[1719659012000,257.00000000],[1719659269000,239.40000000],[1719659590000,238.60000000],[1719659909000,259.00000000],[1719660165000,289.20000000],[1719660485000,282.00000000],[1719660805000,147.50000000],[1719661062000,255.60000000],[1719661383000,265.25000000],[1719661653000,93.20000000],[1719661974000,221.80000000],[1719662310000,258.25000000],[1719662568000,261.40000000],[1719662885000,278.20000000],[1719663206000,263.00000000],[1719663461000,260.40000000],[1719663781000,268.50000000],[1719664052000,305.60000000],[1719664373000,300.80000000],[1719664709000,286.25000000],[1719664965000,258.20000000],[1719665285000,260.60000000],[1719665605000,261.00000000],[1719665852000,248.80000000],[1719666165000,289.20000000],[1719666485000,234.60000000],[1719666805000,305.50000000],[1719667053000,276.60000000],[1719667381000,299.40000000],[1719667701000,272.50000000],[1719667953000,261.40000000],[1719668277000,270.80000000],[1719668597000,296.50000000],[1719668852000,270.20000000],[1719669173000,263.40000000],[1719669495000,210.00000000],[1719669812000,233.25000000],[1719670069000,261.20000000],[1719670405000,270.25000000],[1719670661000,271.80000000],[1719670981000,270.00000000],[1719671301000,279.50000000],[1719671552000,274.00000000],[1719671861000,251.00000000],[1719672181000,275.00000000],[1719672501000,265.00000000],[1719672753000,280.40000000],[1719673077000,252.80000000],[1719673397000,279.50000000],[1719673653000,240.80000000],[1719673973000,256.20000000],[1719674293000,280.20000000],[1719674612000,266.25000000],[1719674869000,273.60000000],[1719675189000,286.00000000],[1719675509000,284.50000000],[1719675765000,249.20000000],[1719676085000,258.20000000],[1719676413000,257.00000000],[1719676677000,271.60000000],[1719676997000,261.50000000],[1719677253000,227.00000000],[1719677575000,266.80000000],[1719677895000,285.50000000],[1719678150000,266.60000000],[1719678470000,277.00000000],[1719678790000,247.40000000],[1719679110000,254.00000000],[1719679366000,269.60000000],[1719679686000,242.80000000],[1719680006000,293.25000000],[1719680262000,292.00000000],[1719680582000,303.40000000],[1719680901000,300.50000000],[1719681152000,302.40000000],[1719681461000,303.20000000],[1719681781000,303.80000000],[1719682101000,301.25000000],[1719682352000,298.60000000],[1719682652000,302.40000000],[1719682981000,294.00000000],[1719683301000,291.00000000],[1719683557000,281.60000000],[1719683877000,288.20000000],[1719684197000,297.00000000],[1719684454000,289.60000000],[1719684773000,287.60000000],[1719685093000,289.80000000],[1719685414000,302.50000000],[1719685669000,282.00000000],[1719685989000,282.00000000],[1719686310000,293.00000000],[1719686565000,292.20000000],[1719686885000,286.20000000],[1719687205000,281.25000000],[1719687461000,284.20000000],[1719687781000,286.40000000],[1719688101000,282.75000000],[1719688358000,281.80000000],[1719688677000,288.00000000],[1719688997000,283.75000000],[1719689253000,280.50000000],[1719689557000,280.40000000],[1719689877000,286.60000000],[1719690198000,284.00000000],[1719690453000,287.00000000],[1719690757000,283.80000000],[1719691077000,303.00000000],[1719691397000,281.50000000],[1719691654000,289.00000000],[1719692005000,286.75000000],[1719692261000,274.20000000],[1719692581000,283.80000000],[1719692901000,268.25000000],[1719693153000,285.80000000],[1719693477000,291.50000000],[1719693781000,298.00000000],[1719694120000,303.00000000],[1719694373000,311.20000000],[1719694692000,292.00000000],[1719695013000,270.75000000],[1719695253000,299.20000000],[1719695573000,288.40000000],[1719695893000,283.80000000],[1719696213000,290.75000000],[1719696469000,290.00000000],[1719696753000,282.50000000],[1719697093000,288.80000000],[1719697413000,286.25000000],[1719697669000,309.20000000],[1719697989000,311.00000000],[1719698309000,297.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: [[1719612094000,0.00000000],[1719612167000,0.00000000],[1719612471000,0.00000000],[1719612791000,0.00000000],[1719613111000,0.00000000],[1719613367000,0.00000000],[1719614029000,0.00000000],[1719614438000,0.00000000],[1719614583000,0.00000000],[1719614903000,0.00000000],[1719615159000,0.00000000],[1719615479000,0.00000000],[1719615799000,0.00000000],[1719616938000,0.00000000],[1719616998000,0.00000000],[1719617252000,0.00000000],[1719617574000,0.00000000],[1719617894000,0.00000000],[1719618150000,0.00000000],[1719618513000,0.00000000],[1719619415000,0.00000000],[1719619671000,0.00000000],[1719619991000,0.00000000],[1719620311000,0.00000000],[1719620567000,0.00000000],[1719620903000,0.00000000],[1719621159000,0.00000000],[1719621716000,0.00000000],[1719621986000,0.00000000],[1719622053000,0.00000000],[1719622375000,0.00000000],[1719622695000,0.00000000],[1719622951000,0.00000000],[1719623270000,0.00000000],[1719623550000,0.00000000],[1719624216000,0.00000000],[1719624470000,0.00000000],[1719624790000,0.00000000],[1719625110000,0.00000000],[1719625366000,0.00000000],[1719625686000,0.00000000],[1719626006000,0.00000000],[1719626250000,0.00000000],[1719626642000,0.00000000],[1719626903000,0.00000000],[1719627159000,0.00000000],[1719627479000,0.00000000],[1719627799000,0.00000000],[1719628052000,0.40000000],[1719628375000,1.00000000],[1719628916000,2.00000000],[1719628982000,2.80000000],[1719629302000,3.75000000],[1719629558000,5.00000000],[1719629878000,6.80000000],[1719630198000,8.50000000],[1719630452000,10.20000000],[1719630774000,12.60000000],[1719631094000,14.25000000],[1719631350000,16.00000000],[1719631687000,17.50000000],[1719631991000,18.60000000],[1719632367000,20.66666667],[1719632567000,22.40000000],[1719632887000,24.80000000],[1719633207000,26.75000000],[1719633463000,32.50000000],[1719633752000,40.60000000],[1719634086000,46.00000000],[1719634355000,49.80000000],[1719634680000,56.80000000],[1719634999000,65.50000000],[1719635252000,71.40000000],[1719635575000,79.00000000],[1719635895000,65.50000000],[1719636151000,45.60000000],[1719636470000,46.80000000],[1719636806000,48.00000000],[1719637062000,48.80000000],[1719637383000,50.40000000],[1719637702000,51.75000000],[1719637958000,53.40000000],[1719638278000,54.66666667],[1719638575000,56.00000000],[1719638902000,57.00000000],[1719639158000,57.00000000],[1719639478000,55.60000000],[1719639798000,55.00000000],[1719640052000,58.00000000],[1719640374000,60.40000000],[1719640694000,62.50000000],[1719640950000,64.20000000],[1719641270000,65.60000000],[1719641590000,65.20000000],[1719641910000,71.75000000],[1719642166000,225.20000000],[1719642486000,283.40000000],[1719642806000,300.50000000],[1719643062000,310.80000000],[1719643382000,320.60000000],[1719643702000,334.75000000],[1719643953000,344.60000000],[1719644278000,357.60000000],[1719644598000,370.75000000],[1719644852000,375.40000000],[1719645190000,390.40000000],[1719645510000,402.00000000],[1719645753000,406.60000000],[1719646070000,435.20000000],[1719646390000,376.00000000],[1719646710000,310.50000000],[1719646952000,393.40000000],[1719647270000,456.00000000],[1719647591000,474.80000000],[1719647910000,487.50000000],[1719648166000,499.80000000],[1719648501000,509.75000000],[1719648757000,514.00000000],[1719649079000,526.60000000],[1719649427000,525.50000000],[1719649685000,545.00000000],[1719650005000,553.75000000],[1719650262000,564.00000000],[1719650581000,571.00000000],[1719650886000,581.00000000],[1719651207000,589.00000000],[1719651462000,598.40000000],[1719651782000,609.60000000],[1719652102000,619.25000000],[1719652358000,629.60000000],[1719652679000,634.60000000],[1719652998000,643.25000000],[1719653253000,656.60000000],[1719653574000,660.80000000],[1719653894000,636.75000000],[1719654150000,698.60000000],[1719654470000,374.00000000],[1719654790000,181.60000000],[1719655111000,666.50000000],[1719655366000,711.80000000],[1719655685000,708.80000000],[1719656005000,721.50000000],[1719656261000,716.80000000],[1719656581000,718.20000000],[1719656901000,724.50000000],[1719657157000,731.80000000],[1719657477000,728.20000000],[1719657797000,739.25000000],[1719658052000,742.40000000],[1719658357000,731.60000000],[1719658678000,731.80000000],[1719659012000,734.50000000],[1719659269000,725.60000000],[1719659590000,719.80000000],[1719659909000,714.50000000],[1719660165000,709.00000000],[1719660485000,701.20000000],[1719660805000,699.25000000],[1719661062000,695.20000000],[1719661383000,702.75000000],[1719661653000,694.80000000],[1719661974000,694.00000000],[1719662310000,687.50000000],[1719662568000,683.80000000],[1719662885000,673.40000000],[1719663206000,671.25000000],[1719663461000,661.60000000],[1719663781000,645.00000000],[1719664052000,636.20000000],[1719664373000,624.80000000],[1719664709000,620.25000000],[1719664965000,613.40000000],[1719665285000,601.00000000],[1719665605000,590.50000000],[1719665852000,580.00000000],[1719666165000,571.60000000],[1719666485000,558.80000000],[1719666805000,548.75000000],[1719667053000,538.20000000],[1719667381000,527.00000000],[1719667701000,518.00000000],[1719667953000,509.00000000],[1719668277000,496.00000000],[1719668597000,477.75000000],[1719668852000,470.00000000],[1719669173000,462.00000000],[1719669495000,454.40000000],[1719669812000,438.50000000],[1719670069000,425.00000000],[1719670405000,416.25000000],[1719670661000,399.80000000],[1719670981000,390.80000000],[1719671301000,303.50000000],[1719671552000,212.20000000],[1719671861000,186.40000000],[1719672181000,188.00000000],[1719672501000,77.25000000],[1719672753000,89.20000000],[1719673077000,73.40000000],[1719673397000,83.00000000],[1719673653000,62.60000000],[1719673973000,94.80000000],[1719674293000,100.80000000],[1719674612000,64.25000000],[1719674869000,174.60000000],[1719675189000,159.60000000],[1719675509000,156.50000000],[1719675765000,102.20000000],[1719676085000,188.80000000],[1719676413000,191.75000000],[1719676677000,179.40000000],[1719676997000,172.25000000],[1719677253000,163.60000000],[1719677575000,154.40000000],[1719677895000,137.50000000],[1719678150000,133.60000000],[1719678470000,123.80000000],[1719678790000,117.20000000],[1719679110000,95.25000000],[1719679366000,94.80000000],[1719679686000,91.60000000],[1719680006000,63.25000000],[1719680262000,40.20000000],[1719680582000,37.40000000],[1719680901000,36.75000000],[1719681152000,37.00000000],[1719681461000,34.60000000],[1719681781000,36.00000000],[1719682101000,34.00000000],[1719682352000,29.20000000],[1719682652000,27.00000000],[1719682981000,25.80000000],[1719683301000,23.75000000],[1719683557000,20.80000000],[1719683877000,18.60000000],[1719684197000,16.50000000],[1719684454000,14.80000000],[1719684773000,12.80000000],[1719685093000,10.60000000],[1719685414000,8.50000000],[1719685669000,6.40000000],[1719685989000,4.80000000],[1719686310000,3.75000000],[1719686565000,2.80000000],[1719686885000,1.80000000],[1719687205000,1.00000000],[1719687461000,1.00000000],[1719687781000,0.20000000],[1719688101000,0.00000000],[1719688358000,0.00000000],[1719688677000,0.00000000],[1719688997000,0.00000000],[1719689253000,0.00000000],[1719689557000,0.00000000],[1719689877000,0.00000000],[1719690198000,0.00000000],[1719690453000,0.00000000],[1719690757000,0.00000000],[1719691077000,0.00000000],[1719691397000,0.00000000],[1719691654000,0.00000000],[1719692005000,0.00000000],[1719692261000,0.00000000],[1719692581000,0.00000000],[1719692901000,0.00000000],[1719693153000,0.00000000],[1719693477000,0.00000000],[1719693781000,0.00000000],[1719694120000,0.00000000],[1719694373000,0.00000000],[1719694692000,0.00000000],[1719695013000,0.00000000],[1719695253000,0.00000000],[1719695573000,0.00000000],[1719695893000,0.00000000],[1719696213000,0.00000000],[1719696469000,0.00000000],[1719696753000,0.00000000],[1719697093000,0.00000000],[1719697413000,0.00000000],[1719697669000,0.00000000],[1719697989000,0.00000000],[1719698309000,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: [[1719612094000,0.00000000],[1719612167000,0.00000000],[1719612471000,0.00000000],[1719612791000,0.00000000],[1719613111000,0.00000000],[1719613367000,0.00000000],[1719614029000,0.00000000],[1719614438000,0.00000000],[1719614583000,0.00000000],[1719614903000,0.00000000],[1719615159000,0.00000000],[1719615479000,0.00000000],[1719615799000,0.00000000],[1719616938000,0.00000000],[1719616998000,0.00000000],[1719617252000,0.00000000],[1719617574000,0.00000000],[1719617894000,0.00000000],[1719618150000,0.00000000],[1719618513000,0.00000000],[1719619415000,0.00000000],[1719619671000,0.00000000],[1719619991000,0.00000000],[1719620311000,0.00000000],[1719620567000,0.00000000],[1719620903000,0.00000000],[1719621159000,0.00000000],[1719621716000,0.00000000],[1719621986000,0.00000000],[1719622053000,0.00000000],[1719622375000,0.00000000],[1719622695000,0.00000000],[1719622951000,0.00000000],[1719623270000,0.00000000],[1719623550000,0.00000000],[1719624216000,0.00000000],[1719624470000,0.00000000],[1719624790000,0.00000000],[1719625110000,0.00000000],[1719625366000,0.00000000],[1719625686000,0.00000000],[1719626006000,0.00000000],[1719626250000,0.00000000],[1719626642000,0.00000000],[1719626903000,0.00000000],[1719627159000,0.00000000],[1719627479000,0.00000000],[1719627799000,0.00000000],[1719628052000,0.00000000],[1719628375000,0.00000000],[1719628916000,0.00000000],[1719628982000,0.00000000],[1719629302000,0.00000000],[1719629558000,0.00000000],[1719629878000,0.00000000],[1719630198000,0.00000000],[1719630452000,0.00000000],[1719630774000,0.00000000],[1719631094000,0.00000000],[1719631350000,0.00000000],[1719631687000,0.00000000],[1719631991000,0.00000000],[1719632367000,0.00000000],[1719632567000,0.00000000],[1719632887000,0.00000000],[1719633207000,0.00000000],[1719633463000,0.00000000],[1719633752000,0.00000000],[1719634086000,0.00000000],[1719634355000,0.00000000],[1719634680000,0.00000000],[1719634999000,0.00000000],[1719635252000,0.00000000],[1719635575000,0.00000000],[1719635895000,0.00000000],[1719636151000,0.00000000],[1719636470000,0.00000000],[1719636806000,0.00000000],[1719637062000,0.00000000],[1719637383000,0.00000000],[1719637702000,0.00000000],[1719637958000,0.00000000],[1719638278000,0.00000000],[1719638575000,0.00000000],[1719638902000,0.00000000],[1719639158000,0.00000000],[1719639478000,0.00000000],[1719639798000,0.00000000],[1719640052000,0.00000000],[1719640374000,0.00000000],[1719640694000,0.00000000],[1719640950000,0.00000000],[1719641270000,0.00000000],[1719641590000,0.00000000],[1719641910000,0.00000000],[1719642166000,1.60000000],[1719642486000,2.00000000],[1719642806000,2.00000000],[1719643062000,3.00000000],[1719643382000,3.00000000],[1719643702000,3.00000000],[1719643953000,3.00000000],[1719644278000,3.00000000],[1719644598000,3.00000000],[1719644852000,3.00000000],[1719645190000,3.00000000],[1719645510000,3.00000000],[1719645753000,3.40000000],[1719646070000,4.00000000],[1719646390000,3.20000000],[1719646710000,2.50000000],[1719646952000,3.20000000],[1719647270000,4.00000000],[1719647591000,4.00000000],[1719647910000,4.00000000],[1719648166000,4.00000000],[1719648501000,4.00000000],[1719648757000,4.66666667],[1719649079000,5.00000000],[1719649427000,5.00000000],[1719649685000,5.00000000],[1719650005000,5.00000000],[1719650262000,5.00000000],[1719650581000,5.00000000],[1719650886000,5.00000000],[1719651207000,5.00000000],[1719651462000,5.00000000],[1719651782000,5.20000000],[1719652102000,5.75000000],[1719652358000,6.00000000],[1719652679000,6.00000000],[1719652998000,6.00000000],[1719653253000,6.00000000],[1719653574000,6.00000000],[1719653894000,5.75000000],[1719654150000,6.00000000],[1719654470000,3.20000000],[1719654790000,1.20000000],[1719655111000,5.75000000],[1719655366000,6.00000000],[1719655685000,6.00000000],[1719656005000,6.75000000],[1719656261000,6.20000000],[1719656581000,6.60000000],[1719656901000,7.00000000],[1719657157000,7.00000000],[1719657477000,7.00000000],[1719657797000,7.00000000],[1719658052000,7.00000000],[1719658357000,7.00000000],[1719658678000,7.00000000],[1719659012000,7.00000000],[1719659269000,7.00000000],[1719659590000,6.40000000],[1719659909000,6.00000000],[1719660165000,6.00000000],[1719660485000,6.00000000],[1719660805000,6.00000000],[1719661062000,6.00000000],[1719661383000,6.00000000],[1719661653000,6.00000000],[1719661974000,6.00000000],[1719662310000,6.00000000],[1719662568000,6.00000000],[1719662885000,6.00000000],[1719663206000,6.00000000],[1719663461000,6.00000000],[1719663781000,6.00000000],[1719664052000,6.00000000],[1719664373000,6.00000000],[1719664709000,6.00000000],[1719664965000,5.20000000],[1719665285000,5.00000000],[1719665605000,5.00000000],[1719665852000,5.00000000],[1719666165000,5.00000000],[1719666485000,5.00000000],[1719666805000,5.00000000],[1719667053000,5.00000000],[1719667381000,5.00000000],[1719667701000,5.00000000],[1719667953000,4.20000000],[1719668277000,4.00000000],[1719668597000,4.00000000],[1719668852000,4.00000000],[1719669173000,4.00000000],[1719669495000,4.00000000],[1719669812000,4.00000000],[1719670069000,4.00000000],[1719670405000,4.00000000],[1719670661000,3.00000000],[1719670981000,3.00000000],[1719671301000,2.25000000],[1719671552000,1.80000000],[1719671861000,1.40000000],[1719672181000,1.40000000],[1719672501000,0.25000000],[1719672753000,0.20000000],[1719673077000,0.00000000],[1719673397000,0.25000000],[1719673653000,0.00000000],[1719673973000,0.40000000],[1719674293000,0.40000000],[1719674612000,0.00000000],[1719674869000,1.20000000],[1719675189000,1.20000000],[1719675509000,1.00000000],[1719675765000,0.20000000],[1719676085000,1.00000000],[1719676413000,1.00000000],[1719676677000,1.00000000],[1719676997000,1.00000000],[1719677253000,1.00000000],[1719677575000,1.00000000],[1719677895000,1.00000000],[1719678150000,1.00000000],[1719678470000,1.00000000],[1719678790000,1.00000000],[1719679110000,0.25000000],[1719679366000,0.00000000],[1719679686000,0.00000000],[1719680006000,0.00000000],[1719680262000,0.00000000],[1719680582000,0.00000000],[1719680901000,0.00000000],[1719681152000,0.00000000],[1719681461000,0.00000000],[1719681781000,0.00000000],[1719682101000,0.00000000],[1719682352000,0.00000000],[1719682652000,0.00000000],[1719682981000,0.00000000],[1719683301000,0.00000000],[1719683557000,0.00000000],[1719683877000,0.00000000],[1719684197000,0.00000000],[1719684454000,0.00000000],[1719684773000,0.00000000],[1719685093000,0.00000000],[1719685414000,0.00000000],[1719685669000,0.00000000],[1719685989000,0.00000000],[1719686310000,0.00000000],[1719686565000,0.00000000],[1719686885000,0.00000000],[1719687205000,0.00000000],[1719687461000,0.00000000],[1719687781000,0.00000000],[1719688101000,0.00000000],[1719688358000,0.00000000],[1719688677000,0.00000000],[1719688997000,0.00000000],[1719689253000,0.00000000],[1719689557000,0.00000000],[1719689877000,0.00000000],[1719690198000,0.00000000],[1719690453000,0.00000000],[1719690757000,0.00000000],[1719691077000,0.00000000],[1719691397000,0.00000000],[1719691654000,0.00000000],[1719692005000,0.00000000],[1719692261000,0.00000000],[1719692581000,0.00000000],[1719692901000,0.00000000],[1719693153000,0.00000000],[1719693477000,0.00000000],[1719693781000,0.00000000],[1719694120000,0.00000000],[1719694373000,0.00000000],[1719694692000,0.00000000],[1719695013000,0.00000000],[1719695253000,0.00000000],[1719695573000,0.00000000],[1719695893000,0.00000000],[1719696213000,0.00000000],[1719696469000,0.00000000],[1719696753000,0.00000000],[1719697093000,0.00000000],[1719697413000,0.00000000],[1719697669000,0.00000000],[1719697989000,0.00000000],[1719698309000,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: [[1719612094000,0.00000000],[1719612167000,0.00000000],[1719612471000,0.00000000],[1719612791000,0.00000000],[1719613111000,0.00000000],[1719613367000,0.00000000],[1719614029000,0.00000000],[1719614438000,0.00000000],[1719614583000,0.00000000],[1719614903000,0.00000000],[1719615159000,0.00000000],[1719615479000,0.00000000],[1719615799000,0.00000000],[1719616938000,0.00000000],[1719616998000,0.00000000],[1719617252000,0.00000000],[1719617574000,0.00000000],[1719617894000,0.00000000],[1719618150000,0.00000000],[1719618513000,0.00000000],[1719619415000,0.00000000],[1719619671000,0.00000000],[1719619991000,0.00000000],[1719620311000,0.00000000],[1719620567000,0.00000000],[1719620903000,0.00000000],[1719621159000,0.00000000],[1719621716000,0.00000000],[1719621986000,0.00000000],[1719622053000,0.00000000],[1719622375000,0.00000000],[1719622695000,0.00000000],[1719622951000,0.00000000],[1719623270000,0.00000000],[1719623550000,0.00000000],[1719624216000,0.00000000],[1719624470000,0.00000000],[1719624790000,0.00000000],[1719625110000,0.00000000],[1719625366000,0.00000000],[1719625686000,0.00000000],[1719626006000,0.00000000],[1719626250000,0.00000000],[1719626642000,0.00000000],[1719626903000,0.00000000],[1719627159000,0.00000000],[1719627479000,0.00000000],[1719627799000,0.00000000],[1719628052000,0.00000000],[1719628375000,0.00000000],[1719628916000,0.00000000],[1719628982000,0.00000000],[1719629302000,0.00000000],[1719629558000,0.00000000],[1719629878000,0.00000000],[1719630198000,0.00000000],[1719630452000,0.00000000],[1719630774000,0.00000000],[1719631094000,0.00000000],[1719631350000,0.00000000],[1719631687000,0.00000000],[1719631991000,0.00000000],[1719632367000,0.00000000],[1719632567000,0.00000000],[1719632887000,0.00000000],[1719633207000,0.00000000],[1719633463000,0.00000000],[1719633752000,0.00000000],[1719634086000,0.00000000],[1719634355000,0.00000000],[1719634680000,0.00000000],[1719634999000,0.00000000],[1719635252000,0.00000000],[1719635575000,0.00000000],[1719635895000,0.00000000],[1719636151000,0.00000000],[1719636470000,0.00000000],[1719636806000,0.00000000],[1719637062000,0.00000000],[1719637383000,0.00000000],[1719637702000,0.00000000],[1719637958000,0.00000000],[1719638278000,0.00000000],[1719638575000,0.00000000],[1719638902000,0.00000000],[1719639158000,0.00000000],[1719639478000,0.00000000],[1719639798000,0.00000000],[1719640052000,0.00000000],[1719640374000,0.00000000],[1719640694000,0.00000000],[1719640950000,0.00000000],[1719641270000,0.00000000],[1719641590000,0.00000000],[1719641910000,0.00000000],[1719642166000,0.00000000],[1719642486000,0.00000000],[1719642806000,0.00000000],[1719643062000,0.00000000],[1719643382000,0.00000000],[1719643702000,0.00000000],[1719643953000,0.00000000],[1719644278000,0.00000000],[1719644598000,0.00000000],[1719644852000,0.00000000],[1719645190000,0.00000000],[1719645510000,0.00000000],[1719645753000,0.00000000],[1719646070000,0.00000000],[1719646390000,0.00000000],[1719646710000,0.00000000],[1719646952000,0.00000000],[1719647270000,0.00000000],[1719647591000,0.00000000],[1719647910000,0.00000000],[1719648166000,0.00000000],[1719648501000,0.00000000],[1719648757000,0.00000000],[1719649079000,0.00000000],[1719649427000,0.00000000],[1719649685000,0.00000000],[1719650005000,0.00000000],[1719650262000,0.00000000],[1719650581000,0.00000000],[1719650886000,0.00000000],[1719651207000,0.00000000],[1719651462000,0.00000000],[1719651782000,0.00000000],[1719652102000,0.00000000],[1719652358000,0.00000000],[1719652679000,0.00000000],[1719652998000,0.00000000],[1719653253000,0.00000000],[1719653574000,0.00000000],[1719653894000,0.00000000],[1719654150000,0.00000000],[1719654470000,0.00000000],[1719654790000,0.00000000],[1719655111000,0.00000000],[1719655366000,0.00000000],[1719655685000,0.00000000],[1719656005000,0.00000000],[1719656261000,0.00000000],[1719656581000,0.00000000],[1719656901000,0.00000000],[1719657157000,0.00000000],[1719657477000,0.00000000],[1719657797000,0.00000000],[1719658052000,0.00000000],[1719658357000,0.00000000],[1719658678000,0.00000000],[1719659012000,0.00000000],[1719659269000,0.00000000],[1719659590000,0.00000000],[1719659909000,0.00000000],[1719660165000,0.00000000],[1719660485000,0.00000000],[1719660805000,0.00000000],[1719661062000,0.00000000],[1719661383000,0.00000000],[1719661653000,0.00000000],[1719661974000,0.00000000],[1719662310000,0.00000000],[1719662568000,0.00000000],[1719662885000,0.00000000],[1719663206000,0.00000000],[1719663461000,0.00000000],[1719663781000,0.00000000],[1719664052000,0.00000000],[1719664373000,0.00000000],[1719664709000,0.00000000],[1719664965000,0.00000000],[1719665285000,0.00000000],[1719665605000,0.00000000],[1719665852000,0.00000000],[1719666165000,0.00000000],[1719666485000,0.00000000],[1719666805000,0.00000000],[1719667053000,0.00000000],[1719667381000,0.00000000],[1719667701000,0.00000000],[1719667953000,0.00000000],[1719668277000,0.00000000],[1719668597000,0.00000000],[1719668852000,0.00000000],[1719669173000,0.00000000],[1719669495000,0.00000000],[1719669812000,0.00000000],[1719670069000,0.00000000],[1719670405000,0.00000000],[1719670661000,0.00000000],[1719670981000,0.00000000],[1719671301000,0.00000000],[1719671552000,0.00000000],[1719671861000,0.00000000],[1719672181000,0.00000000],[1719672501000,0.00000000],[1719672753000,0.00000000],[1719673077000,0.00000000],[1719673397000,0.00000000],[1719673653000,0.00000000],[1719673973000,0.00000000],[1719674293000,0.00000000],[1719674612000,0.00000000],[1719674869000,0.00000000],[1719675189000,0.00000000],[1719675509000,0.00000000],[1719675765000,0.00000000],[1719676085000,0.00000000],[1719676413000,0.00000000],[1719676677000,0.00000000],[1719676997000,0.00000000],[1719677253000,0.00000000],[1719677575000,0.00000000],[1719677895000,0.00000000],[1719678150000,0.00000000],[1719678470000,0.00000000],[1719678790000,0.00000000],[1719679110000,0.00000000],[1719679366000,0.00000000],[1719679686000,0.00000000],[1719680006000,0.00000000],[1719680262000,0.00000000],[1719680582000,0.00000000],[1719680901000,0.00000000],[1719681152000,0.00000000],[1719681461000,0.00000000],[1719681781000,0.00000000],[1719682101000,0.00000000],[1719682352000,0.00000000],[1719682652000,0.00000000],[1719682981000,0.00000000],[1719683301000,0.00000000],[1719683557000,0.00000000],[1719683877000,0.00000000],[1719684197000,0.00000000],[1719684454000,0.00000000],[1719684773000,0.00000000],[1719685093000,0.00000000],[1719685414000,0.00000000],[1719685669000,0.00000000],[1719685989000,0.00000000],[1719686310000,0.00000000],[1719686565000,0.00000000],[1719686885000,0.00000000],[1719687205000,0.00000000],[1719687461000,0.00000000],[1719687781000,0.00000000],[1719688101000,0.00000000],[1719688358000,0.00000000],[1719688677000,0.00000000],[1719688997000,0.00000000],[1719689253000,0.00000000],[1719689557000,0.00000000],[1719689877000,0.00000000],[1719690198000,0.00000000],[1719690453000,0.00000000],[1719690757000,0.00000000],[1719691077000,0.00000000],[1719691397000,0.00000000],[1719691654000,0.00000000],[1719692005000,0.00000000],[1719692261000,0.00000000],[1719692581000,0.00000000],[1719692901000,0.00000000],[1719693153000,0.00000000],[1719693477000,0.00000000],[1719693781000,0.00000000],[1719694120000,0.00000000],[1719694373000,0.00000000],[1719694692000,0.00000000],[1719695013000,0.00000000],[1719695253000,0.00000000],[1719695573000,0.00000000],[1719695893000,0.00000000],[1719696213000,0.00000000],[1719696469000,0.00000000],[1719696753000,0.00000000],[1719697093000,0.00000000],[1719697413000,0.00000000],[1719697669000,0.00000000],[1719697989000,0.00000000],[1719698309000,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; }