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: [[1715378443000,0.18],[1715378571000,1.008],[1715378892000,0.288],[1715379211000,1.89],[1715379484000,0.36],[1715379753000,0.072],[1715380074000,0.072],[1715380400000,1.62],[1715380667000,0.144],[1715380987000,0],[1715381307000,0],[1715381563000,0],[1715381883000,0],[1715383413000,1.89],[1715383674000,2.304],[1715383995000,1.71],[1715384251000,1.08],[1715384570000,2.736],[1715384890000,1.512],[1715385210000,2.07],[1715385466000,3.168],[1715385786000,2.232],[1715386106000,2.34],[1715386362000,2.448],[1715386683000,2.16],[1715387002000,2.25],[1715387258000,1.872],[1715387578000,2.304],[1715387898000,3.06],[1715388152000,2.736],[1715388474000,2.304],[1715388794000,2.25],[1715389050000,4.392],[1715389370000,4.176],[1715389690000,2.448],[1715390010000,2.61],[1715390266000,3.312],[1715390586000,2.88],[1715390906000,4.14],[1715391162000,3.096],[1715391482000,3.384],[1715391802000,2.07],[1715392058000,2.088],[1715392378000,1.368],[1715392698000,2.61],[1715392953000,3.384],[1715393275000,1.944],[1715393595000,2.43],[1715393851000,3.168],[1715394170000,2.736],[1715394490000,3.168],[1715394810000,3.87],[1715395066000,3.024],[1715395386000,2.808],[1715395706000,1.53],[1715395962000,1.656],[1715396283000,1.872],[1715396602000,2.16],[1715396858000,2.52],[1715397178000,2.376],[1715397499000,2.34],[1715397770000,1.728],[1715398090000,2.448],[1715398410000,1.17],[1715398652000,1.44],[1715398970000,0.792],[1715399289000,0.936],[1715399610000,2.43],[1715399867000,1.584],[1715400186000,0.288],[1715400506000,0.81],[1715400762000,2.448],[1715401082000,1.512],[1715401402000,3.24],[1715401658000,1.944],[1715401978000,3.384],[1715402300000,4.14],[1715402553000,3.6],[1715402874000,3.384],[1715403209000,5.31],[1715403465000,3.096],[1715403786000,4.176],[1715404106000,3.42],[1715404362000,3.528],[1715404737000,3.24],[1715405128000,3.78],[1715405259000,2.88],[1715405578000,2.79],[1715405850000,5.112],[1715406202000,4.68],[1715406458000,3.168],[1715406778000,5.04],[1715407098000,3.51],[1715407353000,4.968],[1715407674000,2.808],[1715408018000,3.15],[1715408282000,3.168],[1715408602000,2.79],[1715408853000,2.232],[1715409162000,3.744],[1715409482000,1.656],[1715409802000,0.72],[1715410058000,1.8],[1715410380000,4.176],[1715410698000,2.79],[1715410953000,2.52],[1715411275000,4.104],[1715411594000,2.97],[1715411850000,3.384],[1715412170000,3.456],[1715412491000,3.6],[1715412810000,2.7],[1715413066000,3.528],[1715413386000,5.112],[1715413706000,2.07],[1715413962000,2.736],[1715414282000,2.088],[1715414602000,5.94],[1715414858000,3.528],[1715415178000,3.672],[1715415498000,1.08],[1715415754000,2.592],[1715416075000,2.808],[1715416394000,1.53],[1715416665000,1.224],[1715416985000,1.296],[1715417305000,1.89],[1715417561000,2.664],[1715417881000,2.016],[1715418202000,6.84],[1715418453000,1.944],[1715418777000,2.592],[1715419097000,2.43],[1715419353000,4.824],[1715419673000,2.808],[1715419993000,2.16],[1715420313000,2.07],[1715420569000,4.608],[1715420889000,4.968],[1715421209000,6.12],[1715421465000,2.376],[1715421785000,3.456],[1715422105000,6.48],[1715422361000,4.752],[1715422681000,4.32],[1715423001000,0.63],[1715423257000,2.736],[1715423577000,2.088],[1715423897000,5.31],[1715424152000,2.232],[1715424473000,3.528],[1715424793000,1.512],[1715425112000,0.9],[1715425385000,6.12],[1715425706000,7.92],[1715425962000,3.168],[1715426385000,4.920000012],[1715426586000,0.72],[1715426864000,0.504],[1715427193000,1.224],[1715427513000,1.89],[1715427769000,1.512],[1715428089000,0],[1715428409000,0.72],[1715428665000,3.096],[1715428985000,2.43],[1715429269000,2.16],[1715429610000,1.53],[1715429865000,0.72],[1715430185000,1.8],[1715430537000,2.639999988],[1715430802000,0.99],[1715431066000,2.88],[1715431386000,1.62],[1715431657000,0.81],[1715431993000,1.89],[1715432297000,0],[1715432554000,0.240000012],[1715433062000,0],[1715433193000,0.99],[1715433466000,0.864],[1715433785000,1.944],[1715434105000,1.98],[1715434362000,1.584],[1715434681000,0.36],[1715434985000,2.16],[1715435262000,1.512],[1715435707000,0.119999988],[1715435914000,2.52],[1715436167000,1.224],[1715436489000,1.872],[1715436810000,3.51],[1715437065000,5.184],[1715437385000,4.68],[1715437651000,3.33],[1715437994000,2.7],[1715438314000,4.200000012],[1715438685000,4.079999988],[1715439176000,3.06],[1715439529000,2.999999988],[1715439903000,3.719999988],[1715440106000,5.76],[1715440361000,5.616],[1715440698000,5.76],[1715440957000,7.56],[1715441366000,5.76],[1715441598000,4.95],[1715441866000,4.608],[1715442201000,2.79],[1715442462000,2.52],[1715442813000,2.52],[1715443065000,0.144],[1715443385000,0],[1715443847000,4.68],[1715443979000,9.479999988],[1715444297000,5.49],[1715444553000,6.75],[1715444871000,4.248],[1715445193000,2.664],[1715445516000,2.88],[1715445784000,2.304],[1715446104000,1.08],[1715446353000,0],[1715446680000,0],[1715447162000,1.26],[1715447289000,1.728],[1715447611000,0],[1715447865000,0.144],[1715448193000,0],[1715448475000,0],[1715448794000,0.072],[1715449114000,0.09],[1715449369000,0],[1715449689000,0],[1715449956000,0],[1715450281000,0],[1715450569000,0],[1715450901000,0.72],[1715451153000,1.08],[1715451480000,1.44],[1715451800000,2.7],[1715452057000,1.512],[1715452377000,1.008],[1715452697000,1.35],[1715452953000,2.52],[1715453273000,2.16],[1715453593000,1.08],[1715453853000,2.016],[1715454184000,4.032],[1715454504000,3.96],[1715454868000,6.000000012],[1715455053000,9.216],[1715455384000,6.3],[1715455657000,6.84],[1715455977000,5.22],[1715456280000,6.048],[1715456600000,3.69],[1715456853000,7.704],[1715457176000,4.824],[1715457496000,3.69],[1715457753000,1.44],[1715458072000,1.584],[1715458392000,3.06],[1715458666000,1.944],[1715458984000,3.42],[1715459289000,3.87],[1715459609000,2.34],[1715459865000,2.736],[1715460185000,4.14],[1715460454000,4.176],[1715460777000,6.192],[1715461097000,3.06],[1715461353000,1.44],[1715461673000,0.576],[1715462008000,0.99],[1715462264000,1.728],[1715462584000,0],[1715462857000,0.072],[1715463193000,0],[1715463563000,0],[1715463820000,0],[1715464091000,0],[1715464360000,0],[1715464680000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1715378443000,1.26],[1715378571000,1.512],[1715378892000,0.504],[1715379211000,2.52],[1715379484000,0.63],[1715379753000,0.504],[1715380074000,0.504],[1715380400000,1.89],[1715380667000,0.504],[1715380987000,0],[1715381307000,0],[1715381563000,0],[1715381883000,0],[1715383413000,3.15],[1715383674000,3.528],[1715383995000,1.89],[1715384251000,1.512],[1715384570000,4.032],[1715384890000,2.52],[1715385210000,2.52],[1715385466000,5.544],[1715385786000,4.536],[1715386106000,3.15],[1715386362000,3.528],[1715386683000,3.024],[1715387002000,3.78],[1715387258000,3.024],[1715387578000,3.528],[1715387898000,5.04],[1715388152000,4.536],[1715388474000,4.536],[1715388794000,3.78],[1715389050000,6.048],[1715389370000,6.12],[1715389690000,4.536],[1715390010000,4.41],[1715390266000,5.04],[1715390586000,4.536],[1715390906000,7.02],[1715391162000,5.544],[1715391482000,4.536],[1715391802000,3.15],[1715392058000,3.024],[1715392378000,3.024],[1715392698000,3.78],[1715392953000,4.536],[1715393275000,3.024],[1715393595000,3.78],[1715393851000,4.536],[1715394170000,5.04],[1715394490000,4.032],[1715394810000,5.04],[1715395066000,4.032],[1715395386000,5.616],[1715395706000,3.15],[1715395962000,2.52],[1715396283000,3.024],[1715396602000,3.15],[1715396858000,4.032],[1715397178000,3.024],[1715397499000,3.78],[1715397770000,2.52],[1715398090000,2.52],[1715398410000,1.89],[1715398652000,2.52],[1715398970000,2.016],[1715399289000,1.512],[1715399610000,2.52],[1715399867000,2.016],[1715400186000,1.008],[1715400506000,1.89],[1715400762000,3.024],[1715401082000,2.52],[1715401402000,5.04],[1715401658000,2.52],[1715401978000,5.544],[1715402300000,5.04],[1715402553000,5.544],[1715402874000,5.616],[1715403209000,6.93],[1715403465000,4.536],[1715403786000,5.544],[1715404106000,6.39],[1715404362000,5.04],[1715404737000,4.200000012],[1715405128000,3.78],[1715405259000,4.032],[1715405578000,3.78],[1715405850000,7.632],[1715406202000,7.56],[1715406458000,5.04],[1715406778000,7.56],[1715407098000,5.04],[1715407353000,7.2],[1715407674000,4.032],[1715408018000,3.78],[1715408282000,5.544],[1715408602000,4.41],[1715408853000,3.024],[1715409162000,6.048],[1715409482000,3.024],[1715409802000,1.26],[1715410058000,3.024],[1715410380000,6.048],[1715410698000,4.41],[1715410953000,4.032],[1715411275000,6.048],[1715411594000,4.41],[1715411850000,5.544],[1715412170000,5.544],[1715412491000,5.544],[1715412810000,4.41],[1715413066000,5.04],[1715413386000,7.704],[1715413706000,3.78],[1715413962000,5.544],[1715414282000,3.024],[1715414602000,8.28],[1715414858000,5.04],[1715415178000,5.544],[1715415498000,1.89],[1715415754000,3.024],[1715416075000,4.032],[1715416394000,2.52],[1715416665000,2.52],[1715416985000,2.016],[1715417305000,3.78],[1715417561000,4.536],[1715417881000,3.528],[1715418202000,7.56],[1715418453000,2.52],[1715418777000,3.528],[1715419097000,3.78],[1715419353000,6.552],[1715419673000,4.032],[1715419993000,3.528],[1715420313000,3.15],[1715420569000,6.048],[1715420889000,6.552],[1715421209000,7.65],[1715421465000,4.032],[1715421785000,4.536],[1715422105000,8.28],[1715422361000,6.048],[1715422681000,5.544],[1715423001000,1.26],[1715423257000,4.032],[1715423577000,3.024],[1715423897000,7.02],[1715424152000,3.528],[1715424473000,4.536],[1715424793000,2.016],[1715425112000,2.52],[1715425385000,7.56],[1715425706000,10.89],[1715425962000,5.04],[1715426385000,5.879999988],[1715426586000,1.26],[1715426864000,0.504],[1715427193000,2.52],[1715427513000,3.15],[1715427769000,2.016],[1715428089000,0],[1715428409000,1.89],[1715428665000,4.032],[1715428985000,3.15],[1715429269000,3.528],[1715429610000,3.15],[1715429865000,1.008],[1715430185000,1.89],[1715430537000,4.200000012],[1715430802000,1.26],[1715431066000,4.536],[1715431386000,3.15],[1715431657000,1.89],[1715431993000,2.52],[1715432297000,0],[1715432554000,1.680000012],[1715433062000,0],[1715433193000,1.89],[1715433466000,2.52],[1715433785000,3.024],[1715434105000,3.15],[1715434362000,2.52],[1715434681000,0.63],[1715434985000,2.52],[1715435262000,3.024],[1715435707000,0.839999988],[1715435914000,2.52],[1715436167000,3.024],[1715436489000,2.52],[1715436810000,4.41],[1715437065000,7.056],[1715437385000,6.720000012],[1715437651000,4.41],[1715437994000,3.78],[1715438314000,5.04],[1715438685000,5.879999988],[1715439176000,5.04],[1715439529000,4.200000012],[1715439903000,5.04],[1715440106000,6.3],[1715440361000,7.056],[1715440698000,6.93],[1715440957000,10.26],[1715441366000,7.56],[1715441598000,6.3],[1715441866000,5.544],[1715442201000,3.15],[1715442462000,3.78],[1715442813000,3.15],[1715443065000,0.504],[1715443385000,0],[1715443847000,7.56],[1715443979000,13.68],[1715444297000,8.28],[1715444553000,12.15],[1715444871000,6.048],[1715445193000,5.04],[1715445516000,3.78],[1715445784000,4.032],[1715446104000,1.89],[1715446353000,0],[1715446680000,0],[1715447162000,1.26],[1715447289000,3.024],[1715447611000,0],[1715447865000,1.008],[1715448193000,0],[1715448475000,0],[1715448794000,0.504],[1715449114000,0.63],[1715449369000,0],[1715449689000,0],[1715449956000,0],[1715450281000,0],[1715450569000,0],[1715450901000,0.839999988],[1715451153000,1.512],[1715451480000,2.52],[1715451800000,3.78],[1715452057000,2.016],[1715452377000,1.008],[1715452697000,2.52],[1715452953000,3.024],[1715453273000,3.528],[1715453593000,2.52],[1715453853000,2.52],[1715454184000,5.544],[1715454504000,5.13],[1715454868000,7.56],[1715455053000,11.736],[1715455384000,9.54],[1715455657000,9.144],[1715455977000,7.56],[1715456280000,8.712],[1715456600000,6.3],[1715456853000,11.736],[1715457176000,7.632],[1715457496000,5.13],[1715457753000,2.52],[1715458072000,3.024],[1715458392000,4.41],[1715458666000,3.528],[1715458984000,5.04],[1715459289000,6.93],[1715459609000,3.15],[1715459865000,4.536],[1715460185000,5.67],[1715460454000,6.12],[1715460777000,9.72],[1715461097000,4.41],[1715461353000,2.016],[1715461673000,1.512],[1715462008000,2.52],[1715462264000,2.016],[1715462584000,0],[1715462857000,0.504],[1715463193000,0],[1715463563000,0],[1715463820000,0],[1715464091000,0],[1715464360000,0],[1715464680000,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: [[1715378443000,241.50000000],[1715378571000,278.80000000],[1715378892000,286.80000000],[1715379211000,273.75000000],[1715379484000,282.50000000],[1715379753000,291.20000000],[1715380074000,295.20000000],[1715380400000,270.75000000],[1715380667000,264.20000000],[1715380987000,301.60000000],[1715381307000,280.75000000],[1715381563000,286.60000000],[1715381883000,270.00000000],[1715383413000,207.75000000],[1715383674000,260.80000000],[1715383995000,237.00000000],[1715384251000,290.40000000],[1715384570000,178.40000000],[1715384890000,215.80000000],[1715385210000,256.50000000],[1715385466000,183.20000000],[1715385786000,176.20000000],[1715386106000,109.25000000],[1715386362000,220.80000000],[1715386683000,133.20000000],[1715387002000,111.50000000],[1715387258000,235.00000000],[1715387578000,164.40000000],[1715387898000,46.75000000],[1715388152000,210.80000000],[1715388474000,124.20000000],[1715388794000,247.00000000],[1715389050000,212.60000000],[1715389370000,147.80000000],[1715389690000,234.00000000],[1715390010000,225.25000000],[1715390266000,252.20000000],[1715390586000,330.00000000],[1715390906000,168.00000000],[1715391162000,166.20000000],[1715391482000,221.60000000],[1715391802000,248.25000000],[1715392058000,244.80000000],[1715392378000,98.40000000],[1715392698000,157.75000000],[1715392953000,258.60000000],[1715393275000,189.60000000],[1715393595000,181.00000000],[1715393851000,193.40000000],[1715394170000,156.80000000],[1715394490000,156.80000000],[1715394810000,89.25000000],[1715395066000,219.00000000],[1715395386000,174.40000000],[1715395706000,233.25000000],[1715395962000,266.20000000],[1715396283000,256.00000000],[1715396602000,211.50000000],[1715396858000,252.00000000],[1715397178000,246.60000000],[1715397499000,245.50000000],[1715397770000,278.60000000],[1715398090000,248.40000000],[1715398410000,277.25000000],[1715398652000,267.80000000],[1715398970000,244.60000000],[1715399289000,287.80000000],[1715399610000,275.50000000],[1715399867000,264.40000000],[1715400186000,264.00000000],[1715400506000,234.75000000],[1715400762000,225.60000000],[1715401082000,186.40000000],[1715401402000,177.75000000],[1715401658000,266.60000000],[1715401978000,116.40000000],[1715402300000,213.75000000],[1715402553000,146.20000000],[1715402874000,150.80000000],[1715403209000,179.00000000],[1715403465000,149.00000000],[1715403786000,181.60000000],[1715404106000,189.25000000],[1715404362000,139.60000000],[1715404737000,70.00000000],[1715405128000,83.00000000],[1715405259000,144.00000000],[1715405578000,171.00000000],[1715405850000,151.60000000],[1715406202000,67.75000000],[1715406458000,210.20000000],[1715406778000,104.60000000],[1715407098000,144.00000000],[1715407353000,159.80000000],[1715407674000,104.80000000],[1715408018000,237.50000000],[1715408282000,170.00000000],[1715408602000,195.50000000],[1715408853000,246.80000000],[1715409162000,192.40000000],[1715409482000,222.60000000],[1715409802000,275.25000000],[1715410058000,177.20000000],[1715410380000,186.20000000],[1715410698000,165.50000000],[1715410953000,274.00000000],[1715411275000,174.40000000],[1715411594000,129.75000000],[1715411850000,112.40000000],[1715412170000,244.00000000],[1715412491000,148.20000000],[1715412810000,144.00000000],[1715413066000,157.40000000],[1715413386000,168.00000000],[1715413706000,106.25000000],[1715413962000,145.60000000],[1715414282000,180.20000000],[1715414602000,201.25000000],[1715414858000,141.20000000],[1715415178000,98.80000000],[1715415498000,269.25000000],[1715415754000,215.80000000],[1715416075000,269.00000000],[1715416394000,299.00000000],[1715416665000,272.20000000],[1715416985000,256.80000000],[1715417305000,235.75000000],[1715417561000,190.80000000],[1715417881000,237.00000000],[1715418202000,195.50000000],[1715418453000,284.60000000],[1715418777000,275.80000000],[1715419097000,248.00000000],[1715419353000,204.60000000],[1715419673000,263.20000000],[1715419993000,253.20000000],[1715420313000,326.75000000],[1715420569000,237.00000000],[1715420889000,270.00000000],[1715421209000,215.00000000],[1715421465000,216.00000000],[1715421785000,263.00000000],[1715422105000,258.25000000],[1715422361000,243.80000000],[1715422681000,273.40000000],[1715423001000,312.75000000],[1715423257000,318.20000000],[1715423577000,293.80000000],[1715423897000,260.50000000],[1715424152000,267.40000000],[1715424473000,276.40000000],[1715424793000,259.60000000],[1715425112000,269.75000000],[1715425385000,250.80000000],[1715425706000,245.50000000],[1715425962000,259.60000000],[1715426385000,249.66666667],[1715426586000,292.00000000],[1715426864000,297.00000000],[1715427193000,282.00000000],[1715427513000,310.75000000],[1715427769000,307.80000000],[1715428089000,252.80000000],[1715428409000,321.75000000],[1715428665000,264.00000000],[1715428985000,244.00000000],[1715429269000,295.40000000],[1715429610000,238.25000000],[1715429865000,302.80000000],[1715430185000,290.00000000],[1715430537000,334.33333333],[1715430802000,295.00000000],[1715431066000,310.00000000],[1715431386000,224.50000000],[1715431657000,300.75000000],[1715431993000,305.00000000],[1715432297000,299.33333333],[1715432554000,295.66666667],[1715433062000,324.00000000],[1715433193000,274.00000000],[1715433466000,314.20000000],[1715433785000,300.60000000],[1715434105000,282.50000000],[1715434362000,281.20000000],[1715434681000,290.00000000],[1715434985000,286.00000000],[1715435262000,274.20000000],[1715435707000,284.00000000],[1715435914000,277.00000000],[1715436167000,286.60000000],[1715436489000,293.80000000],[1715436810000,255.50000000],[1715437065000,259.60000000],[1715437385000,266.33333333],[1715437651000,269.75000000],[1715437994000,288.25000000],[1715438314000,269.66666667],[1715438685000,191.66666667],[1715439176000,270.00000000],[1715439529000,287.00000000],[1715439903000,271.66666667],[1715440106000,262.00000000],[1715440361000,244.20000000],[1715440698000,252.75000000],[1715440957000,237.00000000],[1715441366000,259.00000000],[1715441598000,249.75000000],[1715441866000,258.00000000],[1715442201000,272.75000000],[1715442462000,265.00000000],[1715442813000,261.00000000],[1715443065000,282.20000000],[1715443385000,283.00000000],[1715443847000,332.50000000],[1715443979000,35.33333333],[1715444297000,160.75000000],[1715444553000,193.50000000],[1715444871000,193.80000000],[1715445193000,114.40000000],[1715445516000,84.00000000],[1715445784000,165.20000000],[1715446104000,245.25000000],[1715446353000,309.40000000],[1715446680000,309.00000000],[1715447162000,291.50000000],[1715447289000,274.60000000],[1715447611000,290.75000000],[1715447865000,324.00000000],[1715448193000,311.00000000],[1715448475000,306.40000000],[1715448794000,297.60000000],[1715449114000,289.50000000],[1715449369000,289.20000000],[1715449689000,290.00000000],[1715449956000,289.60000000],[1715450281000,290.00000000],[1715450569000,290.00000000],[1715450901000,313.33333333],[1715451153000,325.00000000],[1715451480000,322.60000000],[1715451800000,323.25000000],[1715452057000,321.00000000],[1715452377000,281.20000000],[1715452697000,284.75000000],[1715452953000,238.00000000],[1715453273000,262.80000000],[1715453593000,315.50000000],[1715453853000,236.40000000],[1715454184000,136.00000000],[1715454504000,162.25000000],[1715454868000,145.33333333],[1715455053000,128.60000000],[1715455384000,222.00000000],[1715455657000,95.60000000],[1715455977000,184.00000000],[1715456280000,138.00000000],[1715456600000,191.50000000],[1715456853000,164.80000000],[1715457176000,155.20000000],[1715457496000,128.75000000],[1715457753000,258.60000000],[1715458072000,204.00000000],[1715458392000,335.50000000],[1715458666000,209.20000000],[1715458984000,95.50000000],[1715459289000,193.50000000],[1715459609000,168.50000000],[1715459865000,136.00000000],[1715460185000,177.25000000],[1715460454000,182.00000000],[1715460777000,168.60000000],[1715461097000,250.50000000],[1715461353000,276.80000000],[1715461673000,287.00000000],[1715462008000,243.50000000],[1715462264000,330.80000000],[1715462584000,331.00000000],[1715462857000,301.20000000],[1715463193000,296.00000000],[1715463563000,324.00000000],[1715463820000,320.50000000],[1715464091000,320.25000000],[1715464360000,314.40000000],[1715464680000,306.00000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Slnečné žiarenie (W/m2)', data: [[1715378443000,0.00000000],[1715378571000,0.00000000],[1715378892000,0.00000000],[1715379211000,0.00000000],[1715379484000,0.00000000],[1715379753000,0.00000000],[1715380074000,0.00000000],[1715380400000,0.00000000],[1715380667000,0.00000000],[1715380987000,0.00000000],[1715381307000,0.00000000],[1715381563000,0.00000000],[1715381883000,0.00000000],[1715383413000,0.00000000],[1715383674000,0.00000000],[1715383995000,0.00000000],[1715384251000,0.00000000],[1715384570000,0.00000000],[1715384890000,0.00000000],[1715385210000,0.00000000],[1715385466000,0.00000000],[1715385786000,0.00000000],[1715386106000,0.00000000],[1715386362000,0.00000000],[1715386683000,0.00000000],[1715387002000,0.00000000],[1715387258000,0.00000000],[1715387578000,0.00000000],[1715387898000,0.00000000],[1715388152000,0.00000000],[1715388474000,0.00000000],[1715388794000,0.00000000],[1715389050000,0.00000000],[1715389370000,0.00000000],[1715389690000,0.00000000],[1715390010000,0.00000000],[1715390266000,0.00000000],[1715390586000,0.00000000],[1715390906000,0.00000000],[1715391162000,0.00000000],[1715391482000,0.00000000],[1715391802000,0.00000000],[1715392058000,0.00000000],[1715392378000,0.00000000],[1715392698000,0.00000000],[1715392953000,0.00000000],[1715393275000,0.00000000],[1715393595000,0.00000000],[1715393851000,0.00000000],[1715394170000,0.00000000],[1715394490000,0.00000000],[1715394810000,0.00000000],[1715395066000,0.00000000],[1715395386000,0.00000000],[1715395706000,0.00000000],[1715395962000,0.20000000],[1715396283000,1.00000000],[1715396602000,1.00000000],[1715396858000,2.00000000],[1715397178000,3.20000000],[1715397499000,4.50000000],[1715397770000,6.40000000],[1715398090000,8.40000000],[1715398410000,10.50000000],[1715398652000,12.80000000],[1715398970000,15.00000000],[1715399289000,17.20000000],[1715399610000,19.50000000],[1715399867000,24.40000000],[1715400186000,35.20000000],[1715400506000,40.00000000],[1715400762000,31.40000000],[1715401082000,30.80000000],[1715401402000,32.00000000],[1715401658000,32.00000000],[1715401978000,32.80000000],[1715402300000,33.50000000],[1715402553000,34.40000000],[1715402874000,36.20000000],[1715403209000,37.50000000],[1715403465000,38.80000000],[1715403786000,39.80000000],[1715404106000,40.00000000],[1715404362000,40.60000000],[1715404737000,41.00000000],[1715405128000,42.00000000],[1715405259000,42.60000000],[1715405578000,43.25000000],[1715405850000,44.00000000],[1715406202000,45.00000000],[1715406458000,45.60000000],[1715406778000,53.00000000],[1715407098000,83.50000000],[1715407353000,74.00000000],[1715407674000,71.60000000],[1715408018000,76.50000000],[1715408282000,98.80000000],[1715408602000,221.25000000],[1715408853000,108.40000000],[1715409162000,72.40000000],[1715409482000,137.80000000],[1715409802000,131.00000000],[1715410058000,231.00000000],[1715410380000,330.60000000],[1715410698000,391.50000000],[1715410953000,364.60000000],[1715411275000,304.80000000],[1715411594000,349.25000000],[1715411850000,379.40000000],[1715412170000,444.80000000],[1715412491000,457.20000000],[1715412810000,462.25000000],[1715413066000,471.20000000],[1715413386000,486.80000000],[1715413706000,493.25000000],[1715413962000,507.40000000],[1715414282000,518.00000000],[1715414602000,522.00000000],[1715414858000,539.60000000],[1715415178000,560.40000000],[1715415498000,466.00000000],[1715415754000,308.60000000],[1715416075000,330.40000000],[1715416394000,319.50000000],[1715416665000,429.40000000],[1715416985000,420.00000000],[1715417305000,486.50000000],[1715417561000,559.20000000],[1715417881000,426.80000000],[1715418202000,560.50000000],[1715418453000,576.40000000],[1715418777000,596.20000000],[1715419097000,627.50000000],[1715419353000,641.20000000],[1715419673000,605.40000000],[1715419993000,641.20000000],[1715420313000,691.25000000],[1715420569000,688.20000000],[1715420889000,502.60000000],[1715421209000,667.75000000],[1715421465000,684.20000000],[1715421785000,760.80000000],[1715422105000,745.00000000],[1715422361000,558.20000000],[1715422681000,211.60000000],[1715423001000,129.00000000],[1715423257000,114.40000000],[1715423577000,148.60000000],[1715423897000,210.75000000],[1715424152000,287.60000000],[1715424473000,262.40000000],[1715424793000,291.40000000],[1715425112000,544.75000000],[1715425385000,679.80000000],[1715425706000,568.25000000],[1715425962000,168.40000000],[1715426385000,97.00000000],[1715426586000,70.75000000],[1715426864000,50.00000000],[1715427193000,37.40000000],[1715427513000,32.25000000],[1715427769000,34.20000000],[1715428089000,45.00000000],[1715428409000,59.25000000],[1715428665000,77.20000000],[1715428985000,108.50000000],[1715429269000,164.40000000],[1715429610000,224.75000000],[1715429865000,259.20000000],[1715430185000,245.25000000],[1715430537000,202.66666667],[1715430802000,174.75000000],[1715431066000,156.60000000],[1715431386000,150.50000000],[1715431657000,164.75000000],[1715431993000,172.00000000],[1715432297000,174.00000000],[1715432554000,175.00000000],[1715433062000,160.50000000],[1715433193000,162.75000000],[1715433466000,158.40000000],[1715433785000,148.60000000],[1715434105000,142.50000000],[1715434362000,149.00000000],[1715434681000,152.50000000],[1715434985000,149.00000000],[1715435262000,168.40000000],[1715435707000,182.66666667],[1715435914000,195.00000000],[1715436167000,200.80000000],[1715436489000,190.60000000],[1715436810000,223.75000000],[1715437065000,227.60000000],[1715437385000,203.66666667],[1715437651000,192.25000000],[1715437994000,207.75000000],[1715438314000,204.66666667],[1715438685000,191.33333333],[1715439176000,153.50000000],[1715439529000,133.33333333],[1715439903000,133.33333333],[1715440106000,132.50000000],[1715440361000,128.20000000],[1715440698000,138.25000000],[1715440957000,137.50000000],[1715441366000,119.00000000],[1715441598000,111.25000000],[1715441866000,100.60000000],[1715442201000,80.00000000],[1715442462000,68.50000000],[1715442813000,56.75000000],[1715443065000,45.20000000],[1715443385000,34.00000000],[1715443847000,25.00000000],[1715443979000,26.00000000],[1715444297000,24.50000000],[1715444553000,24.75000000],[1715444871000,22.00000000],[1715445193000,15.40000000],[1715445516000,10.75000000],[1715445784000,10.80000000],[1715446104000,16.00000000],[1715446353000,21.80000000],[1715446680000,23.25000000],[1715447162000,21.00000000],[1715447289000,18.80000000],[1715447611000,16.25000000],[1715447865000,17.20000000],[1715448193000,17.25000000],[1715448475000,12.40000000],[1715448794000,8.20000000],[1715449114000,8.00000000],[1715449369000,8.40000000],[1715449689000,9.00000000],[1715449956000,7.80000000],[1715450281000,5.25000000],[1715450569000,3.40000000],[1715450901000,2.33333333],[1715451153000,1.40000000],[1715451480000,1.00000000],[1715451800000,0.25000000],[1715452057000,0.00000000],[1715452377000,0.00000000],[1715452697000,0.00000000],[1715452953000,0.00000000],[1715453273000,0.00000000],[1715453593000,0.00000000],[1715453853000,0.00000000],[1715454184000,0.00000000],[1715454504000,0.00000000],[1715454868000,0.00000000],[1715455053000,0.00000000],[1715455384000,0.00000000],[1715455657000,0.00000000],[1715455977000,0.00000000],[1715456280000,0.00000000],[1715456600000,0.00000000],[1715456853000,0.00000000],[1715457176000,0.00000000],[1715457496000,0.00000000],[1715457753000,0.00000000],[1715458072000,0.00000000],[1715458392000,0.00000000],[1715458666000,0.00000000],[1715458984000,0.00000000],[1715459289000,0.00000000],[1715459609000,0.00000000],[1715459865000,0.00000000],[1715460185000,0.00000000],[1715460454000,0.00000000],[1715460777000,0.00000000],[1715461097000,0.00000000],[1715461353000,0.00000000],[1715461673000,0.00000000],[1715462008000,0.00000000],[1715462264000,0.00000000],[1715462584000,0.00000000],[1715462857000,0.00000000],[1715463193000,0.00000000],[1715463563000,0.00000000],[1715463820000,0.00000000],[1715464091000,0.00000000],[1715464360000,0.00000000],[1715464680000,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: [[1715378443000,0.00000000],[1715378571000,0.00000000],[1715378892000,0.00000000],[1715379211000,0.00000000],[1715379484000,0.00000000],[1715379753000,0.00000000],[1715380074000,0.00000000],[1715380400000,0.00000000],[1715380667000,0.00000000],[1715380987000,0.00000000],[1715381307000,0.00000000],[1715381563000,0.00000000],[1715381883000,0.00000000],[1715383413000,0.00000000],[1715383674000,0.00000000],[1715383995000,0.00000000],[1715384251000,0.00000000],[1715384570000,0.00000000],[1715384890000,0.00000000],[1715385210000,0.00000000],[1715385466000,0.00000000],[1715385786000,0.00000000],[1715386106000,0.00000000],[1715386362000,0.00000000],[1715386683000,0.00000000],[1715387002000,0.00000000],[1715387258000,0.00000000],[1715387578000,0.00000000],[1715387898000,0.00000000],[1715388152000,0.00000000],[1715388474000,0.00000000],[1715388794000,0.00000000],[1715389050000,0.00000000],[1715389370000,0.00000000],[1715389690000,0.00000000],[1715390010000,0.00000000],[1715390266000,0.00000000],[1715390586000,0.00000000],[1715390906000,0.00000000],[1715391162000,0.00000000],[1715391482000,0.00000000],[1715391802000,0.00000000],[1715392058000,0.00000000],[1715392378000,0.00000000],[1715392698000,0.00000000],[1715392953000,0.00000000],[1715393275000,0.00000000],[1715393595000,0.00000000],[1715393851000,0.00000000],[1715394170000,0.00000000],[1715394490000,0.00000000],[1715394810000,0.00000000],[1715395066000,0.00000000],[1715395386000,0.00000000],[1715395706000,0.00000000],[1715395962000,0.00000000],[1715396283000,0.00000000],[1715396602000,0.00000000],[1715396858000,0.00000000],[1715397178000,0.00000000],[1715397499000,0.00000000],[1715397770000,0.00000000],[1715398090000,0.00000000],[1715398410000,0.00000000],[1715398652000,0.00000000],[1715398970000,0.00000000],[1715399289000,0.00000000],[1715399610000,0.00000000],[1715399867000,0.00000000],[1715400186000,0.00000000],[1715400506000,0.00000000],[1715400762000,0.00000000],[1715401082000,0.00000000],[1715401402000,0.00000000],[1715401658000,0.00000000],[1715401978000,0.00000000],[1715402300000,0.00000000],[1715402553000,0.00000000],[1715402874000,0.00000000],[1715403209000,0.00000000],[1715403465000,0.00000000],[1715403786000,0.00000000],[1715404106000,0.00000000],[1715404362000,0.00000000],[1715404737000,0.00000000],[1715405128000,0.00000000],[1715405259000,0.00000000],[1715405578000,0.00000000],[1715405850000,0.00000000],[1715406202000,0.00000000],[1715406458000,0.00000000],[1715406778000,0.00000000],[1715407098000,0.25000000],[1715407353000,0.00000000],[1715407674000,0.00000000],[1715408018000,0.00000000],[1715408282000,0.20000000],[1715408602000,1.50000000],[1715408853000,0.40000000],[1715409162000,0.00000000],[1715409482000,0.80000000],[1715409802000,0.75000000],[1715410058000,1.60000000],[1715410380000,2.80000000],[1715410698000,3.00000000],[1715410953000,3.00000000],[1715411275000,2.20000000],[1715411594000,2.75000000],[1715411850000,3.40000000],[1715412170000,4.00000000],[1715412491000,4.00000000],[1715412810000,4.00000000],[1715413066000,4.00000000],[1715413386000,4.00000000],[1715413706000,4.00000000],[1715413962000,4.20000000],[1715414282000,5.00000000],[1715414602000,4.75000000],[1715414858000,5.00000000],[1715415178000,5.00000000],[1715415498000,4.00000000],[1715415754000,2.40000000],[1715416075000,2.80000000],[1715416394000,2.50000000],[1715416665000,3.60000000],[1715416985000,3.60000000],[1715417305000,4.50000000],[1715417561000,5.00000000],[1715417881000,3.60000000],[1715418202000,5.00000000],[1715418453000,5.00000000],[1715418777000,5.00000000],[1715419097000,6.00000000],[1715419353000,6.00000000],[1715419673000,5.60000000],[1715419993000,6.00000000],[1715420313000,6.00000000],[1715420569000,6.00000000],[1715420889000,4.60000000],[1715421209000,6.00000000],[1715421465000,6.20000000],[1715421785000,7.00000000],[1715422105000,6.75000000],[1715422361000,4.80000000],[1715422681000,1.60000000],[1715423001000,1.00000000],[1715423257000,1.00000000],[1715423577000,1.00000000],[1715423897000,1.50000000],[1715424152000,2.20000000],[1715424473000,2.00000000],[1715424793000,2.40000000],[1715425112000,4.50000000],[1715425385000,6.20000000],[1715425706000,5.00000000],[1715425962000,1.20000000],[1715426385000,0.33333333],[1715426586000,0.00000000],[1715426864000,0.00000000],[1715427193000,0.00000000],[1715427513000,0.00000000],[1715427769000,0.00000000],[1715428089000,0.00000000],[1715428409000,0.00000000],[1715428665000,0.00000000],[1715428985000,0.75000000],[1715429269000,1.00000000],[1715429610000,2.00000000],[1715429865000,2.00000000],[1715430185000,2.00000000],[1715430537000,1.33333333],[1715430802000,1.00000000],[1715431066000,1.00000000],[1715431386000,1.00000000],[1715431657000,1.00000000],[1715431993000,1.00000000],[1715432297000,1.00000000],[1715432554000,1.00000000],[1715433062000,1.00000000],[1715433193000,1.00000000],[1715433466000,1.00000000],[1715433785000,1.00000000],[1715434105000,1.00000000],[1715434362000,1.00000000],[1715434681000,1.00000000],[1715434985000,1.00000000],[1715435262000,1.00000000],[1715435707000,1.00000000],[1715435914000,1.00000000],[1715436167000,1.00000000],[1715436489000,1.00000000],[1715436810000,1.75000000],[1715437065000,2.00000000],[1715437385000,1.00000000],[1715437651000,1.00000000],[1715437994000,1.75000000],[1715438314000,1.66666667],[1715438685000,1.00000000],[1715439176000,1.00000000],[1715439529000,1.00000000],[1715439903000,1.00000000],[1715440106000,1.00000000],[1715440361000,1.00000000],[1715440698000,1.00000000],[1715440957000,1.00000000],[1715441366000,1.00000000],[1715441598000,1.00000000],[1715441866000,0.40000000],[1715442201000,0.00000000],[1715442462000,0.00000000],[1715442813000,0.00000000],[1715443065000,0.00000000],[1715443385000,0.00000000],[1715443847000,0.00000000],[1715443979000,0.00000000],[1715444297000,0.00000000],[1715444553000,0.00000000],[1715444871000,0.00000000],[1715445193000,0.00000000],[1715445516000,0.00000000],[1715445784000,0.00000000],[1715446104000,0.00000000],[1715446353000,0.00000000],[1715446680000,0.00000000],[1715447162000,0.00000000],[1715447289000,0.00000000],[1715447611000,0.00000000],[1715447865000,0.00000000],[1715448193000,0.00000000],[1715448475000,0.00000000],[1715448794000,0.00000000],[1715449114000,0.00000000],[1715449369000,0.00000000],[1715449689000,0.00000000],[1715449956000,0.00000000],[1715450281000,0.00000000],[1715450569000,0.00000000],[1715450901000,0.00000000],[1715451153000,0.00000000],[1715451480000,0.00000000],[1715451800000,0.00000000],[1715452057000,0.00000000],[1715452377000,0.00000000],[1715452697000,0.00000000],[1715452953000,0.00000000],[1715453273000,0.00000000],[1715453593000,0.00000000],[1715453853000,0.00000000],[1715454184000,0.00000000],[1715454504000,0.00000000],[1715454868000,0.00000000],[1715455053000,0.00000000],[1715455384000,0.00000000],[1715455657000,0.00000000],[1715455977000,0.00000000],[1715456280000,0.00000000],[1715456600000,0.00000000],[1715456853000,0.00000000],[1715457176000,0.00000000],[1715457496000,0.00000000],[1715457753000,0.00000000],[1715458072000,0.00000000],[1715458392000,0.00000000],[1715458666000,0.00000000],[1715458984000,0.00000000],[1715459289000,0.00000000],[1715459609000,0.00000000],[1715459865000,0.00000000],[1715460185000,0.00000000],[1715460454000,0.00000000],[1715460777000,0.00000000],[1715461097000,0.00000000],[1715461353000,0.00000000],[1715461673000,0.00000000],[1715462008000,0.00000000],[1715462264000,0.00000000],[1715462584000,0.00000000],[1715462857000,0.00000000],[1715463193000,0.00000000],[1715463563000,0.00000000],[1715463820000,0.00000000],[1715464091000,0.00000000],[1715464360000,0.00000000],[1715464680000,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: [[1715378443000,0.00000000],[1715378571000,0.00000000],[1715378892000,0.00000000],[1715379211000,0.00000000],[1715379484000,0.00000000],[1715379753000,0.00000000],[1715380074000,0.00000000],[1715380400000,0.00000000],[1715380667000,0.00000000],[1715380987000,0.00000000],[1715381307000,0.00000000],[1715381563000,0.00000000],[1715381883000,0.00000000],[1715383413000,0.00000000],[1715383674000,0.00000000],[1715383995000,0.00000000],[1715384251000,0.00000000],[1715384570000,0.00000000],[1715384890000,0.00000000],[1715385210000,0.00000000],[1715385466000,0.00000000],[1715385786000,0.00000000],[1715386106000,0.00000000],[1715386362000,0.00000000],[1715386683000,0.00000000],[1715387002000,0.00000000],[1715387258000,0.00000000],[1715387578000,0.00000000],[1715387898000,0.00000000],[1715388152000,0.00000000],[1715388474000,0.00000000],[1715388794000,0.00000000],[1715389050000,0.00000000],[1715389370000,0.00000000],[1715389690000,0.00000000],[1715390010000,0.00000000],[1715390266000,0.00000000],[1715390586000,0.00000000],[1715390906000,0.00000000],[1715391162000,0.00000000],[1715391482000,0.00000000],[1715391802000,0.00000000],[1715392058000,0.00000000],[1715392378000,0.00000000],[1715392698000,0.00000000],[1715392953000,0.00000000],[1715393275000,0.00000000],[1715393595000,0.00000000],[1715393851000,0.00000000],[1715394170000,0.00000000],[1715394490000,0.00000000],[1715394810000,0.00000000],[1715395066000,0.00000000],[1715395386000,0.00000000],[1715395706000,0.00000000],[1715395962000,0.00000000],[1715396283000,0.00000000],[1715396602000,0.00000000],[1715396858000,0.00000000],[1715397178000,0.00000000],[1715397499000,0.00000000],[1715397770000,0.00000000],[1715398090000,0.00000000],[1715398410000,0.00000000],[1715398652000,0.00000000],[1715398970000,0.00000000],[1715399289000,0.00000000],[1715399610000,0.00000000],[1715399867000,0.00000000],[1715400186000,0.00000000],[1715400506000,0.00000000],[1715400762000,0.00000000],[1715401082000,0.00000000],[1715401402000,0.00000000],[1715401658000,0.00000000],[1715401978000,0.00000000],[1715402300000,0.00000000],[1715402553000,0.00000000],[1715402874000,0.00000000],[1715403209000,0.00000000],[1715403465000,0.00000000],[1715403786000,0.00000000],[1715404106000,0.00000000],[1715404362000,0.00000000],[1715404737000,0.00000000],[1715405128000,0.00000000],[1715405259000,0.00000000],[1715405578000,0.00000000],[1715405850000,0.00000000],[1715406202000,0.00000000],[1715406458000,0.00000000],[1715406778000,0.00000000],[1715407098000,0.00000000],[1715407353000,0.00000000],[1715407674000,0.00000000],[1715408018000,0.00000000],[1715408282000,0.00000000],[1715408602000,0.00000000],[1715408853000,0.00000000],[1715409162000,0.00000000],[1715409482000,0.00000000],[1715409802000,0.00000000],[1715410058000,0.00000000],[1715410380000,0.00000000],[1715410698000,0.00000000],[1715410953000,0.00000000],[1715411275000,0.00000000],[1715411594000,0.00000000],[1715411850000,0.00000000],[1715412170000,0.00000000],[1715412491000,0.00000000],[1715412810000,0.00000000],[1715413066000,0.00000000],[1715413386000,0.00000000],[1715413706000,0.00000000],[1715413962000,0.00000000],[1715414282000,0.00000000],[1715414602000,0.00000000],[1715414858000,0.00000000],[1715415178000,0.00000000],[1715415498000,0.00000000],[1715415754000,0.00000000],[1715416075000,0.00000000],[1715416394000,0.00000000],[1715416665000,0.00000000],[1715416985000,0.00000000],[1715417305000,0.00000000],[1715417561000,0.00000000],[1715417881000,0.00000000],[1715418202000,0.00000000],[1715418453000,0.00000000],[1715418777000,0.00000000],[1715419097000,0.00000000],[1715419353000,0.00000000],[1715419673000,0.00000000],[1715419993000,0.00000000],[1715420313000,0.00000000],[1715420569000,0.00000000],[1715420889000,0.00000000],[1715421209000,0.00000000],[1715421465000,0.00000000],[1715421785000,0.00000000],[1715422105000,0.00000000],[1715422361000,0.00000000],[1715422681000,0.00000000],[1715423001000,0.00000000],[1715423257000,0.00000000],[1715423577000,0.00000000],[1715423897000,0.00000000],[1715424152000,0.00000000],[1715424473000,0.00000000],[1715424793000,0.00000000],[1715425112000,0.00000000],[1715425385000,0.00000000],[1715425706000,0.00000000],[1715425962000,0.00000000],[1715426385000,0.00000000],[1715426586000,0.00000000],[1715426864000,0.00000000],[1715427193000,0.00000000],[1715427513000,0.00000000],[1715427769000,0.00000000],[1715428089000,0.00000000],[1715428409000,0.00000000],[1715428665000,0.00000000],[1715428985000,0.00000000],[1715429269000,0.00000000],[1715429610000,0.00000000],[1715429865000,0.00000000],[1715430185000,0.00000000],[1715430537000,0.00000000],[1715430802000,0.00000000],[1715431066000,0.00000000],[1715431386000,0.00000000],[1715431657000,0.00000000],[1715431993000,0.00000000],[1715432297000,0.00000000],[1715432554000,0.00000000],[1715433062000,0.00000000],[1715433193000,0.00000000],[1715433466000,0.00000000],[1715433785000,0.00000000],[1715434105000,0.00000000],[1715434362000,0.00000000],[1715434681000,0.00000000],[1715434985000,0.00000000],[1715435262000,0.00000000],[1715435707000,0.00000000],[1715435914000,0.00000000],[1715436167000,0.00000000],[1715436489000,0.00000000],[1715436810000,0.00000000],[1715437065000,0.00000000],[1715437385000,0.00000000],[1715437651000,0.00000000],[1715437994000,0.00000000],[1715438314000,0.00000000],[1715438685000,0.00000000],[1715439176000,0.00000000],[1715439529000,0.00000000],[1715439903000,0.00000000],[1715440106000,0.00000000],[1715440361000,0.00000000],[1715440698000,0.00000000],[1715440957000,0.00000000],[1715441366000,0.00000000],[1715441598000,0.00000000],[1715441866000,0.00000000],[1715442201000,0.00000000],[1715442462000,0.00000000],[1715442813000,0.00000000],[1715443065000,0.00000000],[1715443385000,0.00000000],[1715443847000,0.00000000],[1715443979000,0.00000000],[1715444297000,0.00000000],[1715444553000,0.00000000],[1715444871000,0.00000000],[1715445193000,0.00000000],[1715445516000,0.00000000],[1715445784000,0.00000000],[1715446104000,0.00000000],[1715446353000,0.00000000],[1715446680000,0.00000000],[1715447162000,0.00000000],[1715447289000,0.00000000],[1715447611000,0.00000000],[1715447865000,0.00000000],[1715448193000,0.00000000],[1715448475000,0.00000000],[1715448794000,0.00000000],[1715449114000,0.00000000],[1715449369000,0.00000000],[1715449689000,0.00000000],[1715449956000,0.00000000],[1715450281000,0.00000000],[1715450569000,0.00000000],[1715450901000,0.00000000],[1715451153000,0.00000000],[1715451480000,0.00000000],[1715451800000,0.00000000],[1715452057000,0.00000000],[1715452377000,0.00000000],[1715452697000,0.00000000],[1715452953000,0.00000000],[1715453273000,0.00000000],[1715453593000,0.00000000],[1715453853000,0.00000000],[1715454184000,0.00000000],[1715454504000,0.00000000],[1715454868000,0.00000000],[1715455053000,0.00000000],[1715455384000,0.00000000],[1715455657000,0.00000000],[1715455977000,0.00000000],[1715456280000,0.00000000],[1715456600000,0.00000000],[1715456853000,0.00000000],[1715457176000,0.00000000],[1715457496000,0.00000000],[1715457753000,0.00000000],[1715458072000,0.00000000],[1715458392000,0.00000000],[1715458666000,0.00000000],[1715458984000,0.00000000],[1715459289000,0.00000000],[1715459609000,0.00000000],[1715459865000,0.00000000],[1715460185000,0.00000000],[1715460454000,0.00000000],[1715460777000,0.00000000],[1715461097000,0.00000000],[1715461353000,0.00000000],[1715461673000,0.00000000],[1715462008000,0.00000000],[1715462264000,0.00000000],[1715462584000,0.00000000],[1715462857000,0.00000000],[1715463193000,0.00000000],[1715463563000,0.00000000],[1715463820000,0.00000000],[1715464091000,0.00000000],[1715464360000,0.00000000],[1715464680000,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; }