var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1622981510000,22.40000000],[1622981575000,22.30000000],[1622981894000,22.37500000],[1622982151000,22.32000000],[1622982471000,22.14000000],[1622982790000,22.22000000],[1622983110000,23.02500000],[1622983366000,24.14000000],[1622983686000,24.14000000],[1622984006000,23.70000000],[1622984262000,23.30000000],[1622984582000,23.20000000],[1622984904000,23.07500000],[1622985159000,22.98000000],[1622985478000,23.08000000],[1622985798000,23.05000000],[1622986053000,23.10000000],[1622986375000,23.18000000],[1622986694000,23.37500000],[1622986950000,23.32000000],[1622987270000,23.58000000],[1622987590000,24.54000000],[1622987910000,24.92500000],[1622988167000,24.96000000],[1622988487000,25.28000000],[1622988806000,25.67500000],[1622989063000,25.86000000],[1622989383000,25.60000000],[1622989702000,25.40000000],[1622989958000,25.52000000],[1622990278000,24.50000000],[1622990598000,24.20000000],[1622990852000,24.16000000],[1622991174000,24.14000000],[1622991500000,24.05000000],[1622991766000,23.80000000],[1622992086000,23.86000000],[1622992406000,23.92500000],[1622992662000,23.90000000],[1622992982000,24.00000000],[1622993302000,23.72500000],[1622993558000,23.30000000],[1622993879000,22.60000000],[1622994198000,22.25000000],[1622994452000,22.02000000],[1622994775000,22.02000000],[1622995094000,22.07500000],[1622995367000,22.08000000],[1622995687000,22.12000000],[1622996006000,21.97500000],[1622996262000,21.84000000],[1622996583000,21.58000000],[1622996903000,21.50000000],[1622997158000,21.48000000],[1622997478000,21.40000000],[1622997798000,21.40000000],[1622998052000,21.40000000],[1622998374000,21.48000000],[1622998694000,21.52500000],[1622998950000,21.60000000],[1622999270000,21.60000000],[1622999592000,21.60000000],[1622999910000,21.70000000],[1623000167000,21.62000000],[1623000486000,21.60000000],[1623000806000,21.60000000],[1623001062000,21.62000000],[1623001382000,21.64000000],[1623001703000,21.50000000],[1623001958000,21.38000000],[1623002278000,21.22000000],[1623002598000,21.17500000],[1623002853000,21.02000000],[1623003174000,20.86000000],[1623003494000,20.80000000],[1623003750000,20.68000000],[1623004070000,20.54000000],[1623004390000,20.42000000],[1623004711000,20.35000000],[1623004966000,20.30000000],[1623005286000,20.20000000],[1623005608000,20.10000000],[1623005852000,20.06000000],[1623006166000,19.92000000],[1623006486000,19.78000000],[1623006806000,19.62500000],[1623007062000,19.58000000],[1623007382000,19.48000000],[1623007702000,19.30000000],[1623007952000,19.22000000],[1623008278000,19.10000000],[1623008598000,19.20000000],[1623008852000,19.26000000],[1623009174000,18.94000000],[1623009494000,18.75000000],[1623009750000,18.84000000],[1623010070000,18.80000000],[1623010391000,18.68000000],[1623010710000,18.60000000],[1623010966000,18.50000000],[1623011286000,18.52000000],[1623011606000,18.52500000],[1623011852000,18.28000000],[1623012153000,18.48000000],[1623012486000,18.14000000],[1623012806000,18.32500000],[1623013052000,18.22000000],[1623013367000,18.22000000],[1623013687000,18.30000000],[1623014007000,18.40000000],[1623014263000,18.46000000],[1623014584000,18.38000000],[1623014903000,18.35000000],[1623015159000,18.34000000],[1623015479000,18.36000000],[1623015799000,18.22500000],[1623016053000,18.38000000],[1623016374000,18.62000000],[1623016695000,18.80000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1622981510000,18.2],[1622981575000,17.6],[1622981894000,17.7],[1622982151000,17.7],[1622982471000,18.2],[1622982790000,18.2],[1622983110000,18.4],[1622983366000,18.7],[1622983686000,18.4],[1622984006000,17.9],[1622984262000,17.8],[1622984582000,17.5],[1622984904000,17.6],[1622985159000,17.8],[1622985478000,17.3],[1622985798000,17.3],[1622986053000,17.3],[1622986375000,17.6],[1622986694000,16.9],[1622986950000,17],[1622987270000,17.2],[1622987590000,17.5],[1622987910000,17.3],[1622988167000,16.9],[1622988487000,16.9],[1622988806000,17.1],[1622989063000,16.4],[1622989383000,16.4],[1622989702000,16.9],[1622989958000,16.9],[1622990278000,16.5],[1622990598000,16.6],[1622990852000,16.7],[1622991174000,16.7],[1622991500000,16.7],[1622991766000,16.4],[1622992086000,16.3],[1622992406000,15.9],[1622992662000,16],[1622992982000,16.4],[1622993302000,17],[1622993558000,17.2],[1622993879000,16.8],[1622994198000,15.7],[1622994452000,15.4],[1622994775000,15.4],[1622995094000,14.9],[1622995367000,15.2],[1622995687000,15.2],[1622996006000,15.3],[1622996262000,15.3],[1622996583000,15.2],[1622996903000,15],[1622997158000,15.1],[1622997478000,15.1],[1622997798000,15],[1622998052000,15],[1622998374000,15.1],[1622998694000,14.9],[1622998950000,14.9],[1622999270000,14.9],[1622999592000,14.9],[1622999910000,15],[1623000167000,15.1],[1623000486000,15],[1623000806000,15.1],[1623001062000,15],[1623001382000,15.1],[1623001703000,15.1],[1623001958000,15.3],[1623002278000,15.4],[1623002598000,15.5],[1623002853000,15.5],[1623003174000,15.4],[1623003494000,15.4],[1623003750000,15.4],[1623004070000,15.3],[1623004390000,15.3],[1623004711000,15.2],[1623004966000,15.2],[1623005286000,15.2],[1623005608000,15.2],[1623005852000,15.1],[1623006166000,15.1],[1623006486000,15.1],[1623006806000,15],[1623007062000,15.1],[1623007382000,15.1],[1623007702000,14.9],[1623007952000,15.1],[1623008278000,14.9],[1623008598000,14.9],[1623008852000,15],[1623009174000,15],[1623009494000,15],[1623009750000,14.9],[1623010070000,15.1],[1623010391000,14.9],[1623010710000,14.9],[1623010966000,15],[1623011286000,14.8],[1623011606000,14.9],[1623011852000,14.7],[1623012153000,14.9],[1623012486000,14.6],[1623012806000,14.7],[1623013052000,14.7],[1623013367000,14.7],[1623013687000,14.8],[1623014007000,14.7],[1623014263000,14.7],[1623014584000,14.8],[1623014903000,14.6],[1623015159000,14.7],[1623015479000,14.7],[1623015799000,14.7],[1623016053000,14.6],[1623016374000,14.4],[1623016695000,14.5],], 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: 'Vlhkosť (%)', data: [[1622981510000,77.00000000],[1622981575000,74.80000000],[1622981894000,75.00000000],[1622982151000,75.40000000],[1622982471000,78.60000000],[1622982790000,78.00000000],[1622983110000,75.50000000],[1622983366000,71.80000000],[1622983686000,70.40000000],[1622984006000,70.25000000],[1622984262000,71.40000000],[1622984582000,70.20000000],[1622984904000,71.50000000],[1622985159000,72.60000000],[1622985478000,70.20000000],[1622985798000,70.25000000],[1622986053000,69.80000000],[1622986375000,70.80000000],[1622986694000,67.25000000],[1622986950000,67.80000000],[1622987270000,67.60000000],[1622987590000,64.80000000],[1622987910000,62.50000000],[1622988167000,61.00000000],[1622988487000,60.00000000],[1622988806000,59.00000000],[1622989063000,56.00000000],[1622989383000,57.00000000],[1622989702000,59.25000000],[1622989958000,59.00000000],[1622990278000,61.20000000],[1622990598000,62.75000000],[1622990852000,63.20000000],[1622991174000,63.40000000],[1622991500000,63.50000000],[1622991766000,63.40000000],[1622992086000,62.80000000],[1622992406000,60.75000000],[1622992662000,61.40000000],[1622992982000,62.60000000],[1622993302000,66.00000000],[1622993558000,68.60000000],[1622993879000,70.00000000],[1622994198000,66.75000000],[1622994452000,66.20000000],[1622994775000,66.20000000],[1622995094000,64.00000000],[1622995367000,65.00000000],[1622995687000,64.80000000],[1622996006000,66.00000000],[1622996262000,66.40000000],[1622996583000,67.20000000],[1622996903000,66.75000000],[1622997158000,67.20000000],[1622997478000,67.40000000],[1622997798000,67.25000000],[1622998052000,67.20000000],[1622998374000,67.00000000],[1622998694000,66.00000000],[1622998950000,65.80000000],[1622999270000,65.60000000],[1622999592000,65.80000000],[1622999910000,66.00000000],[1623000167000,66.40000000],[1623000486000,66.20000000],[1623000806000,66.75000000],[1623001062000,66.20000000],[1623001382000,66.40000000],[1623001703000,67.25000000],[1623001958000,68.40000000],[1623002278000,69.40000000],[1623002598000,70.25000000],[1623002853000,71.00000000],[1623003174000,71.20000000],[1623003494000,71.25000000],[1623003750000,72.00000000],[1623004070000,72.00000000],[1623004390000,72.60000000],[1623004711000,72.25000000],[1623004966000,72.60000000],[1623005286000,73.20000000],[1623005608000,73.50000000],[1623005852000,73.40000000],[1623006166000,74.00000000],[1623006486000,74.40000000],[1623006806000,75.00000000],[1623007062000,75.40000000],[1623007382000,76.00000000],[1623007702000,76.00000000],[1623007952000,77.00000000],[1623008278000,77.00000000],[1623008598000,76.50000000],[1623008852000,76.60000000],[1623009174000,78.20000000],[1623009494000,79.00000000],[1623009750000,78.20000000],[1623010070000,79.00000000],[1623010391000,79.00000000],[1623010710000,79.25000000],[1623010966000,80.00000000],[1623011286000,79.20000000],[1623011606000,79.75000000],[1623011852000,80.00000000],[1623012153000,79.60000000],[1623012486000,80.20000000],[1623012806000,79.50000000],[1623013052000,80.20000000],[1623013367000,80.00000000],[1623013687000,80.00000000],[1623014007000,79.00000000],[1623014263000,78.80000000],[1623014584000,79.60000000],[1623014903000,79.00000000],[1623015159000,79.40000000],[1623015479000,79.20000000],[1623015799000,80.00000000],[1623016053000,79.00000000],[1623016374000,76.80000000],[1623016695000,76.00000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], 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%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1622982471000,1017.3],[1622982790000,1017.2],[1622983110000,1017.2],[1622983366000,1017.2],[1622983686000,1017.2],[1622984006000,1017.2],[1622984262000,1017.2],[1622984582000,1017.3],[1622984904000,1017.3],[1622985159000,1017.2],[1622985478000,1017.2],[1622985798000,1017.2],[1622986053000,1017.3],[1622986375000,1017.3],[1622986694000,1017.2],[1622986950000,1017.2],[1622987270000,1017.1],[1622987590000,1017.1],[1622987910000,1017.1],[1622988167000,1017],[1622988487000,1017],[1622988806000,1016.8],[1622989063000,1016.9],[1622989383000,1016.9],[1622989702000,1016.8],[1622989958000,1016.9],[1622990278000,1016.8],[1622990598000,1016.9],[1622990852000,1017],[1622991174000,1016.9],[1622991500000,1016.9],[1622991766000,1017],[1622992086000,1016.9],[1622992406000,1016.8],[1622992662000,1016.8],[1622992982000,1016.7],[1622993302000,1016.8],[1622993558000,1016.9],[1622993879000,1017],[1622994198000,1016.9],[1622994452000,1016.8],[1622994775000,1016.7],[1622995094000,1016.5],[1622995367000,1016.6],[1622995687000,1016.7],[1622996006000,1016.6],[1622996262000,1016.5],[1622996583000,1016.5],[1622996903000,1016.6],[1622997158000,1016.5],[1622997478000,1016.4],[1622997798000,1016.4],[1622998052000,1016.5],[1622998374000,1016.4],[1622998694000,1016.5],[1622998950000,1016.4],[1622999270000,1016.4],[1622999592000,1016.4],[1622999910000,1016.5],[1623000167000,1016.4],[1623000486000,1016.5],[1623000806000,1016.4],[1623001062000,1016.5],[1623001382000,1016.5],[1623001703000,1016.5],[1623001958000,1016.6],[1623002278000,1016.6],[1623002598000,1016.6],[1623002853000,1016.5],[1623003174000,1016.7],[1623003494000,1016.7],[1623003750000,1016.8],[1623004070000,1016.9],[1623004390000,1016.8],[1623004711000,1017],[1623004966000,1017],[1623005286000,1017],[1623005608000,1017.1],[1623005852000,1017.3],[1623006166000,1017.3],[1623006486000,1017.3],[1623006806000,1017.4],[1623007062000,1017.5],[1623007382000,1017.4],[1623007702000,1017.6],[1623007952000,1017.5],[1623008278000,1017.8],[1623008598000,1017.9],[1623008852000,1018],[1623009174000,1018],[1623009494000,1018],[1623009750000,1018.1],[1623010070000,1018.1],[1623010391000,1018.2],[1623010710000,1018.1],[1623010966000,1018.1],[1623011286000,1018.2],[1623011606000,1018.1],[1623011852000,1018.1],[1623012153000,1018.1],[1623012486000,1018.1],[1623012806000,1018],[1623013052000,1018],[1623013367000,1018.1],[1623013687000,1018.1],[1623014007000,1018.2],[1623014263000,1018.1],[1623014584000,1018.2],[1623014903000,1018.2],[1623015159000,1018.1],[1623015479000,1018.1],[1623015799000,1018],[1623016053000,1018.2],[1623016374000,1018.1],[1623016695000,1018],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], 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.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1622930401000,3.840000012],[1622930581000,0.576],[1622930881000,0],[1622931181000,0],[1622931481000,1.224],[1622931781000,3.816],[1622932081000,4.104],[1622932381000,6.624],[1622932681000,5.328],[1622932981000,4.608],[1622933281000,3.96],[1622933581000,3.384],[1622933881000,1.44],[1622934181000,0.144],[1622934481000,3.6],[1622934781000,4.032],[1622935081000,5.976],[1622935381000,2.88],[1622935681000,4.248],[1622935981000,4.176],[1622936281000,0.504],[1622936581000,0],[1622936881000,3.528],[1622937181000,3.96],[1622937481000,6.336],[1622937781000,2.736],[1622938081000,1.296],[1622938381000,3.024],[1622938681000,0.144],[1622938981000,1.8],[1622939281000,0],[1622939581000,0.504],[1622939881000,0],[1622940181000,0],[1622940481000,0.504],[1622940781000,3.096],[1622941081000,3.96],[1622941381000,3.24],[1622941681000,3.744],[1622941981000,3.168],[1622942281000,0.936],[1622942581000,0.144],[1622942881000,0],[1622943181000,0],[1622943481000,0],[1622943781000,0.648],[1622944081000,0],[1622944381000,0.72],[1622944681000,0.072],[1622944981000,0.288],[1622945281000,0],[1622945581000,0],[1622945881000,0],[1622946181000,0],[1622946481000,0],[1622946781000,0],[1622947081000,0.72],[1622947381000,0.144],[1622947681000,0],[1622947981000,0.936],[1622948281000,0.36],[1622948581000,0.072],[1622948881000,0.216],[1622949181000,0.72],[1622949481000,2.376],[1622949781000,0.792],[1622950081000,1.296],[1622950381000,0.504],[1622950681000,1.44],[1622950981000,0.576],[1622951281000,0.72],[1622951581000,3.456],[1622951881000,7.632],[1622952181000,6.408],[1622952481000,7.632],[1622952781000,9.36],[1622953081000,8.64],[1622953381000,9.648],[1622953681000,11.736],[1622953981000,6.048],[1622954281000,4.464],[1622954581000,3.456],[1622954881000,1.8],[1622955181000,0.648],[1622955481000,2.592],[1622955781000,1.872],[1622956081000,1.8],[1622956381000,1.368],[1622956681000,2.304],[1622956981000,1.368],[1622957281000,1.872],[1622957581000,5.904],[1622957881000,8.712],[1622958181000,6.48],[1622958481000,6.768],[1622958781000,8.208],[1622959081000,10.944],[1622959381000,7.344],[1622959681000,6.552],[1622959981000,3.384],[1622960281000,4.32],[1622960581000,5.04],[1622960881000,5.04],[1622961181000,2.952],[1622961481000,6.912],[1622961781000,3.96],[1622962081000,3.6],[1622962381000,2.52],[1622962681000,1.8],[1622962981000,2.376],[1622963281000,3.24],[1622963581000,1.152],[1622963881000,2.088],[1622964181000,6.264],[1622964481000,8.784],[1622964781000,11.376],[1622965081000,9.792],[1622965381000,6.264],[1622965681000,6.84],[1622965981000,4.032],[1622966281000,6.624],[1622966581000,2.52],[1622966881000,2.88],[1622967181000,2.592],[1622967481000,3.6],[1622967781000,5.04],[1622968081000,3.744],[1622968381000,6.336],[1622968681000,6.552],[1622968981000,6.192],[1622969281000,3.744],[1622969581000,4.032],[1622969881000,6.192],[1622970181000,8.064],[1622970481000,3.168],[1622970781000,4.608],[1622971081000,4.176],[1622971381000,4.536],[1622971681000,2.88],[1622971981000,4.968],[1622972281000,3.24],[1622972581000,5.832],[1622972881000,9],[1622973181000,5.976],[1622973481000,7.704],[1622973781000,7.488],[1622974081000,11.304],[1622974381000,8.352],[1622974681000,11.808],[1622974981000,6.912],[1622975281000,7.56],[1622975581000,8.496],[1622975881000,4.248],[1622976181000,5.904],[1622976481000,7.2],[1622976781000,6.552],[1622977081000,7.056],[1622977381000,6.984],[1622977681000,4.392],[1622977981000,10.368],[1622978281000,11.232],[1622978581000,10.944],[1622978881000,8.208],[1622979181000,8.424],[1622979481000,9],[1622979781000,6.624],[1622980081000,14.256],[1622980381000,12.96],[1622980681000,15.624],[1622980981000,11.592],[1622981281000,8.520000012],[1622981575000,6.264],[1622981881000,5.199999984],[1622982151000,5.184],[1622982471000,4.428],[1622982781000,4.284],[1622983081000,6.800000004],[1622983366000,5.508],[1622983681000,5.076],[1622983981000,7.239999996],[1622984262000,5.58],[1622984581000,4.752],[1622984881000,5.320000008],[1622985159000,4.716],[1622985478000,5.04],[1622985781000,4.479999984],[1622986053000,5.04],[1622986375000,4.14],[1622986681000,5.280000012],[1622986950000,5.94],[1622987270000,4.824],[1622987581000,4.284],[1622987881000,5.360000004],[1622988167000,7.632],[1622988481000,7.344],[1622988781000,9.159999984],[1622989063000,7.596],[1622989381000,6.192],[1622989681000,6.680000016],[1622989958000,6.876],[1622990278000,8.784],[1622990581000,6.320000016],[1622990852000,6.264],[1622991174000,3.132],[1622991481000,10.8],[1622991766000,8.568],[1622992081000,5.544],[1622992381000,7.639999992],[1622992662000,6.372],[1622992981000,5.472],[1622993281000,5.879999988],[1622993558000,3.816],[1622993879000,3.312],[1622994181000,6.519999996],[1622994452000,6.804],[1622994775000,5.652],[1622995081000,5.799999996],[1622995367000,3.456],[1622995681000,3.816],[1622995981000,7.319999988],[1622996262000,6.984],[1622996581000,4.572],[1622996881000,6.000000012],[1622997158000,4.428],[1622997478000,4.716],[1622997781000,6.040000008],[1622998052000,6.192],[1622998374000,4.86],[1622998681000,7.400000016],[1622998950000,5.472],[1622999270000,7.02],[1622999581000,6.768],[1622999881000,5.919999984],[1623000167000,5.58],[1623000481000,6.12],[1623000781000,7.400000016],[1623001062000,6.66],[1623001381000,8.604],[1623001681000,9.200000016],[1623001958000,7.92],[1623002278000,8.64],[1623002581000,8.799999984],[1623002853000,8.1],[1623003174000,7.848],[1623003481000,10.320000012],[1623003750000,9.72],[1623004070000,9.756],[1623004381000,8.82],[1623004681000,12.840000012],[1623004966000,9.468],[1623005281000,9.648],[1623005581000,13.439999988],[1623005852000,11.592],[1623006166000,10.512],[1623006481000,9.612],[1623006781000,11.199999996],[1623007062000,10.368],[1623007381000,10.404],[1623007681000,10.680000012],[1623007952000,5.148],[1623008278000,4.464],[1623008581000,2.720000016],[1623008852000,2.304],[1623009174000,2.628],[1623009481000,3.96],[1623009750000,2.844],[1623010070000,2.988],[1623010381000,4.392],[1623010681000,3.840000012],[1623010966000,3.168],[1623011281000,1.908],[1623011581000,1.199999988],[1623011852000,2.664],[1623012153000,1.332],[1623012481000,2.34],[1623012781000,1.839999996],[1623013052000,3.348],[1623013367000,7.344],[1623013681000,6.048],[1623013981000,2.720000016],[1623014263000,2.952],[1623014581000,4.716],[1623014881000,4.079999988],[1623015159000,3.528],[1623015479000,3.672],[1623015781000,2.720000016],[1623016053000,2.556],[1623016374000,5.94],[1623016681000,3.6],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1622930401000,6.046800012],[1622930581000,0.90936],[1622930881000,0],[1622931181000,0],[1622931481000,1.92024],[1622931781000,6.0984],[1622932081000,6.5196],[1622932381000,10.24344],[1622932681000,8.85456],[1622932981000,7.26552],[1622933281000,6.28416],[1622933581000,5.2236],[1622933881000,2.18016],[1622934181000,0.23184],[1622934481000,5.4648],[1622934781000,6.07968],[1622935081000,9.252],[1622935381000,4.26744],[1622935681000,6.57504],[1622935981000,6.27768],[1622936281000,0.6624],[1622936581000,0],[1622936881000,5.36184],[1622937181000,6.14736],[1622937481000,9.9108],[1622937781000,4.2444],[1622938081000,2.02032],[1622938381000,4.554],[1622938681000,0.20088],[1622938981000,2.75184],[1622939281000,0],[1622939581000,0.70056],[1622939881000,0],[1622940181000,0],[1622940481000,0.7128],[1622940781000,4.62672],[1622941081000,6.02208],[1622941381000,4.88952],[1622941681000,5.79456],[1622941981000,4.90248],[1622942281000,1.5408],[1622942581000,0.29016],[1622942881000,0],[1622943181000,0],[1622943481000,0],[1622943781000,0.98208],[1622944081000,0],[1622944381000,1.0908],[1622944681000,0.0756],[1622944981000,0.54936],[1622945281000,0],[1622945581000,0],[1622945881000,0],[1622946181000,0],[1622946481000,0],[1622946781000,0],[1622947081000,1.134],[1622947381000,0.28872],[1622947681000,0],[1622947981000,1.45944],[1622948281000,0.56736],[1622948581000,0.12456],[1622948881000,0.32256],[1622949181000,1.1016],[1622949481000,3.58128],[1622949781000,1.24704],[1622950081000,1.96704],[1622950381000,0.7632],[1622950681000,2.21688],[1622950981000,0.9072],[1622951281000,1.09872],[1622951581000,5.3784],[1622951881000,12.11328],[1622952181000,11.01888],[1622952481000,12.54816],[1622952781000,15.24528],[1622953081000,14.02272],[1622953381000,15.57288],[1622953681000,19.1268],[1622953981000,9.31032],[1622954281000,7.02072],[1622954581000,5.32224],[1622954881000,2.69136],[1622955181000,0.96552],[1622955481000,3.9024],[1622955781000,2.95056],[1622956081000,3.2544],[1622956381000,2.22984],[1622956681000,3.93696],[1622956981000,2.40264],[1622957281000,3.1392],[1622957581000,9.78048],[1622957881000,14.2992],[1622958181000,10.29888],[1622958481000,12.33792],[1622958781000,13.6152],[1622959081000,16.93512],[1622959381000,11.73816],[1622959681000,10.10664],[1622959981000,5.23944],[1622960281000,6.78168],[1622960581000,7.83072],[1622960881000,7.8012],[1622961181000,4.56192],[1622961481000,10.944],[1622961781000,5.90976],[1622962081000,5.55912],[1622962381000,3.93624],[1622962681000,2.76048],[1622962981000,3.55752],[1622963281000,4.98384],[1622963581000,1.88424],[1622963881000,3.15864],[1622964181000,9.97272],[1622964481000,14.54184],[1622964781000,18.8964],[1622965081000,15.59736],[1622965381000,9.58896],[1622965681000,10.88928],[1622965981000,6.26688],[1622966281000,10.20456],[1622966581000,3.71592],[1622966881000,4.482],[1622967181000,3.9816],[1622967481000,5.49864],[1622967781000,7.89984],[1622968081000,5.71752],[1622968381000,10.15848],[1622968681000,10.17144],[1622968981000,9.50904],[1622969281000,5.67864],[1622969581000,6.26976],[1622969881000,9.846],[1622970181000,12.74688],[1622970481000,4.80816],[1622970781000,7.0848],[1622971081000,6.65856],[1622971381000,6.8868],[1622971681000,4.64616],[1622971981000,7.74],[1622972281000,4.86792],[1622972581000,9.02664],[1622972881000,13.8636],[1622973181000,9.41688],[1622973481000,12.00816],[1622973781000,11.31336],[1622974081000,17.83944],[1622974381000,13.08528],[1622974681000,18.84816],[1622974981000,11.05416],[1622975281000,12.2292],[1622975581000,13.40136],[1622975881000,6.52464],[1622976181000,9.15552],[1622976481000,11.42568],[1622976781000,10.17288],[1622977081000,10.95336],[1622977381000,11.15064],[1622977681000,6.696],[1622977981000,16.31592],[1622978281000,18.46152],[1622978581000,17.78112],[1622978881000,13.2588],[1622979181000,13.59144],[1622979481000,14.52096],[1622979781000,10.79784],[1622980081000,23.57352],[1622980381000,21.62808],[1622980681000,25.94664],[1622980981000,19.33848],[1622981281000,14.014199988],[1622981575000,10.59876],[1622981881000,8.544399984],[1622982151000,8.43444],[1622982471000,7.09092],[1622982781000,6.99552],[1622983081000,11.219600016],[1622983366000,8.89344],[1622983681000,8.30736],[1622983981000,12.040800012],[1622984262000,8.72388],[1622984581000,7.49736],[1622984881000,8.652399984],[1622985159000,7.70148],[1622985478000,8.118],[1622985781000,7.337999988],[1622986053000,8.22096],[1622986375000,6.62832],[1622986681000,8.657200008],[1622986950000,9.7866],[1622987270000,7.76232],[1622987581000,6.83928],[1622987881000,8.725200012],[1622988167000,12.7458],[1622988481000,12.18888],[1622988781000,14.909600016],[1622989063000,12.81312],[1622989381000,10.4634],[1622989681000,10.587200004],[1622989958000,11.32164],[1622990278000,14.40756],[1622990581000,10.0116],[1622990852000,10.29708],[1622991174000,5.08176],[1622991481000,17.829200016],[1622991766000,13.9968],[1622992081000,9.19008],[1622992381000,12.5604],[1622992662000,10.57716],[1622992981000,8.97372],[1622993281000,9.868799988],[1622993558000,6.12252],[1622993879000,5.18832],[1622994181000,10.544799996],[1622994452000,11.0502],[1622994775000,9.2664],[1622995081000,9.291999996],[1622995367000,5.9382],[1622995681000,6.05268],[1622995981000,12.133599984],[1622996262000,11.2896],[1622996581000,7.63956],[1622996881000,10.148799996],[1622997158000,7.17084],[1622997478000,7.54668],[1622997781000,9.856400004],[1622998052000,10.08792],[1622998374000,7.71372],[1622998681000,11.906399988],[1622998950000,8.6814],[1622999270000,11.63448],[1622999581000,10.872],[1622999881000,9.790400016],[1623000167000,8.9262],[1623000481000,10.07604],[1623000781000,12.389199984],[1623001062000,11.21508],[1623001381000,14.46624],[1623001681000,15.618399984],[1623001958000,13.73328],[1623002278000,14.67504],[1623002581000,14.741600004],[1623002853000,13.60152],[1623003174000,13.19832],[1623003481000,17.561599992],[1623003750000,16.587],[1623004070000,17.3196],[1623004381000,15.06816],[1623004681000,22.190799996],[1623004966000,16.34148],[1623005281000,16.758],[1623005581000,23.567600016],[1623005852000,20.0934],[1623006166000,18.22032],[1623006481000,16.34328],[1623006781000,18.988800012],[1623007062000,17.42652],[1623007381000,17.87112],[1623007681000,18.330800004],[1623007952000,8.4834],[1623008278000,7.32132],[1623008581000,4.154000004],[1623008852000,3.66552],[1623009174000,4.1184],[1623009481000,6.075200016],[1623009750000,4.65156],[1623010070000,4.48524],[1623010381000,6.73956],[1623010681000,5.929999992],[1623010966000,5.27004],[1623011281000,3.0312],[1623011581000,1.887999984],[1623011852000,4.09896],[1623012153000,2.13192],[1623012481000,3.66372],[1623012781000,2.821200012],[1623013052000,5.6808],[1623013367000,12.45924],[1623013681000,10.0908],[1623013981000,4.351600008],[1623014263000,4.57812],[1623014581000,7.21908],[1623014881000,6.167999988],[1623015159000,5.32188],[1623015479000,5.6178],[1623015781000,4.281199992],[1623016053000,3.94056],[1623016374000,9.4986],[1623016681000,5.5458],], 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: [[1622930401000,180.00000000],[1622930581000,135.00000000],[1622930881000,135.00000000],[1622931181000,135.00000000],[1622931481000,118.64000000],[1622931781000,49.90000000],[1622932081000,74.06000000],[1622932381000,299.46000000],[1622932681000,297.40000000],[1622932981000,87.54000000],[1622933281000,18.02000000],[1622933581000,11.46000000],[1622933881000,14.72000000],[1622934181000,80.18000000],[1622934481000,230.32000000],[1622934781000,311.72000000],[1622935081000,293.32000000],[1622935381000,198.42000000],[1622935681000,214.38000000],[1622935981000,260.58000000],[1622936281000,191.46000000],[1622936581000,197.18000000],[1622936881000,259.36000000],[1622937181000,261.00000000],[1622937481000,269.58000000],[1622937781000,240.16000000],[1622938081000,243.82000000],[1622938381000,159.56000000],[1622938681000,128.04000000],[1622938981000,31.08000000],[1622939281000,45.00000000],[1622939581000,9.40000000],[1622939881000,0.00000000],[1622940181000,0.00000000],[1622940481000,9.82000000],[1622940781000,27.80000000],[1622941081000,40.10000000],[1622941381000,38.44000000],[1622941681000,30.68000000],[1622941981000,31.50000000],[1622942281000,9.82000000],[1622942581000,0.00000000],[1622942881000,92.46000000],[1622943181000,19.64000000],[1622943481000,74.88000000],[1622943781000,38.88000000],[1622944081000,19.64000000],[1622944381000,37.62000000],[1622944681000,31.50000000],[1622944981000,202.94000000],[1622945281000,86.32000000],[1622945581000,280.64000000],[1622945881000,315.00000000],[1622946181000,303.54000000],[1622946481000,16.36000000],[1622946781000,0.00000000],[1622947081000,24.52000000],[1622947381000,118.66000000],[1622947681000,248.32000000],[1622947981000,259.36000000],[1622948281000,270.00000000],[1622948581000,255.68000000],[1622948881000,235.64000000],[1622949181000,234.02000000],[1622949481000,240.54000000],[1622949781000,253.64000000],[1622950081000,240.14000000],[1622950381000,228.68000000],[1622950681000,226.24000000],[1622950981000,232.78000000],[1622951281000,281.46000000],[1622951581000,247.94000000],[1622951881000,245.46000000],[1622952181000,254.46000000],[1622952481000,228.28000000],[1622952781000,225.82000000],[1622953081000,221.32000000],[1622953381000,228.28000000],[1622953681000,236.04000000],[1622953981000,255.28000000],[1622954281000,308.48000000],[1622954581000,222.98000000],[1622954881000,73.66000000],[1622955181000,9.00000000],[1622955481000,41.32000000],[1622955781000,54.44000000],[1622956081000,50.72000000],[1622956381000,25.78000000],[1622956681000,224.18000000],[1622956981000,300.28000000],[1622957281000,114.54000000],[1622957581000,214.76000000],[1622957881000,240.14000000],[1622958181000,260.18000000],[1622958481000,249.94000000],[1622958781000,258.96000000],[1622959081000,225.00000000],[1622959381000,201.70000000],[1622959681000,234.00000000],[1622959981000,182.44000000],[1622960281000,219.28000000],[1622960581000,217.66000000],[1622960881000,90.82000000],[1622961181000,106.36000000],[1622961481000,22.52000000],[1622961781000,61.38000000],[1622962081000,45.40000000],[1622962381000,38.86000000],[1622962681000,81.82000000],[1622962981000,101.46000000],[1622963281000,158.72000000],[1622963581000,101.04000000],[1622963881000,163.24000000],[1622964181000,188.60000000],[1622964481000,210.68000000],[1622964781000,253.22000000],[1622965081000,252.40000000],[1622965381000,210.70000000],[1622965681000,222.96000000],[1622965981000,135.02000000],[1622966281000,31.90000000],[1622966581000,78.14000000],[1622966881000,80.20000000],[1622967181000,157.52000000],[1622967481000,63.42000000],[1622967781000,55.64000000],[1622968081000,83.04000000],[1622968381000,111.26000000],[1622968681000,139.90000000],[1622968981000,32.72000000],[1622969281000,72.82000000],[1622969581000,69.56000000],[1622969881000,146.86000000],[1622970181000,162.42000000],[1622970481000,134.60000000],[1622970781000,39.66000000],[1622971081000,31.92000000],[1622971381000,28.64000000],[1622971681000,108.00000000],[1622971981000,116.20000000],[1622972281000,167.30000000],[1622972581000,193.10000000],[1622972881000,160.78000000],[1622973181000,174.28000000],[1622973481000,197.16000000],[1622973781000,223.78000000],[1622974081000,259.78000000],[1622974381000,257.74000000],[1622974681000,267.96000000],[1622974981000,240.96000000],[1622975281000,238.08000000],[1622975581000,207.42000000],[1622975881000,182.86000000],[1622976181000,182.86000000],[1622976481000,232.78000000],[1622976781000,221.32000000],[1622977081000,168.12000000],[1622977381000,154.24000000],[1622977681000,215.58000000],[1622977981000,187.36000000],[1622978281000,212.32000000],[1622978581000,236.06000000],[1622978881000,241.76000000],[1622979181000,222.54000000],[1622979481000,242.60000000],[1622979781000,204.14000000],[1622980081000,242.20000000],[1622980381000,242.18000000],[1622980681000,240.12000000],[1622980981000,248.74000000],[1622981281000,199.93333333],[1622981575000,281.93000000],[1622981881000,240.88888889],[1622982151000,268.33000000],[1622982471000,280.61000000],[1622982781000,275.63000000],[1622983081000,238.16666667],[1622983366000,285.55000000],[1622983681000,246.98000000],[1622983981000,284.86666667],[1622984262000,263.08000000],[1622984581000,284.17000000],[1622984881000,287.97777778],[1622985159000,279.78000000],[1622985478000,288.20000000],[1622985781000,278.53333333],[1622986053000,267.23000000],[1622986375000,227.87000000],[1622986681000,289.96666667],[1622986950000,252.99000000],[1622987270000,253.42000000],[1622987581000,250.03000000],[1622987881000,251.35555556],[1622988167000,280.57000000],[1622988481000,282.85000000],[1622988781000,280.33333333],[1622989063000,281.61000000],[1622989381000,275.38000000],[1622989681000,260.46666667],[1622989958000,216.17000000],[1622990278000,284.26000000],[1622990581000,285.43333333],[1622990852000,270.22000000],[1622991174000,281.60000000],[1622991481000,284.08888889],[1622991766000,274.15000000],[1622992081000,221.62000000],[1622992381000,228.34444444],[1622992662000,254.47000000],[1622992981000,264.02000000],[1622993281000,213.43333333],[1622993558000,190.70000000],[1622993879000,197.26000000],[1622994181000,293.17777778],[1622994452000,294.60000000],[1622994775000,300.85000000],[1622995081000,285.00000000],[1622995367000,251.04000000],[1622995681000,272.38000000],[1622995981000,285.93333333],[1622996262000,275.83000000],[1622996581000,215.76000000],[1622996881000,244.57777778],[1622997158000,262.89000000],[1622997478000,264.40000000],[1622997781000,291.97777778],[1622998052000,268.91000000],[1622998374000,296.84000000],[1622998681000,290.18888889],[1622998950000,301.08000000],[1622999270000,285.47000000],[1622999581000,244.77000000],[1622999881000,254.67777778],[1623000167000,286.94000000],[1623000481000,280.42000000],[1623000781000,299.78888889],[1623001062000,268.57000000],[1623001381000,296.50000000],[1623001681000,278.63333333],[1623001958000,254.04000000],[1623002278000,240.71000000],[1623002581000,272.66666667],[1623002853000,273.59000000],[1623003174000,275.73000000],[1623003481000,282.17777778],[1623003750000,276.58000000],[1623004070000,279.88000000],[1623004381000,218.41000000],[1623004681000,281.21111111],[1623004966000,276.89000000],[1623005281000,271.80000000],[1623005581000,281.85555556],[1623005852000,286.17000000],[1623006166000,279.32000000],[1623006481000,255.49000000],[1623006781000,258.33333333],[1623007062000,271.95000000],[1623007381000,228.58000000],[1623007681000,257.46666667],[1623007952000,111.10000000],[1623008278000,128.79000000],[1623008581000,115.45555556],[1623008852000,126.59000000],[1623009174000,121.49000000],[1623009481000,140.77777778],[1623009750000,208.31000000],[1623010070000,220.09000000],[1623010381000,191.25000000],[1623010681000,181.15555556],[1623010966000,126.26000000],[1623011281000,115.98000000],[1623011581000,129.22222222],[1623011852000,146.46000000],[1623012153000,174.38000000],[1623012481000,92.54000000],[1623012781000,159.63333333],[1623013052000,191.97000000],[1623013367000,146.17000000],[1623013681000,145.58000000],[1623013981000,108.27777778],[1623014263000,130.70000000],[1623014581000,156.58000000],[1623014881000,160.15555556],[1623015159000,175.34000000],[1623015479000,166.84000000],[1623015781000,160.01111111],[1623016053000,225.60000000],[1623016374000,250.35000000],[1623016681000,307.10000000],], 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: 'Zrážky', data: [[1622981510000,0.12000000],[1622981575000,0.12000000],[1622982301000,0.27940000],[1622994966000,1.80000000],[1622995094000,1.80000000],[1622995367000,1.80000000],[1623003174000,0.50800000],[1623003494000,0.50800000],[1623003750000,0.50800000],[1623004070000,0.50800000],[1623004390000,0.50800000],[1623004711000,0.50800000],[1623004966000,0.50800000],[1623005286000,0.50800000],[1623005608000,0.50800000],[1623005852000,0.50800000],[1623006166000,0.50800000],[1623006486000,0.50800000],[1623006806000,0.50800000],[1623007062000,0.50800000],[1623007382000,0.50800000],[1623007702000,0.50800000],[1623007952000,0.50800000],[1623008278000,0.50800000],[1623008598000,0.50800000],[1623008852000,0.50800000],[1623009174000,0.50800000],[1623009494000,0.50800000],[1623009750000,0.50800000],[1623010070000,0.50800000],[1623010391000,0.50800000],[1623010710000,0.50800000],[1623010966000,0.50800000],[1623011286000,0.50800000],[1623011606000,0.50800000],[1623011852000,0.50800000],[1623012153000,0.50800000],[1623012486000,0.50800000],[1623012806000,0.50800000],[1623013052000,0.50800000],[1623013367000,0.50800000],[1623013687000,0.50800000],[1623014007000,0.50800000],[1623014263000,0.50800000],[1623014584000,0.50800000],[1623014903000,0.50800000],[1623015159000,0.50800000],[1623015479000,0.50800000],[1623015799000,0.50800000],[1623016053000,0.50800000],[1623016374000,0.50800000],[1623016695000,0.50800000],], 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; }