var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1546210801000,4.46666667],[1546210981000,4.40000000],[1546211281000,4.38000000],[1546211581000,4.42000000],[1546211881000,4.36000000],[1546212181000,4.32000000],[1546212481000,4.38000000],[1546212781000,4.32000000],[1546213081000,4.30000000],[1546213381000,4.34000000],[1546213681000,4.26000000],[1546213981000,4.40000000],[1546214282000,4.28000000],[1546214581000,4.38000000],[1546214881000,4.34000000],[1546215181000,4.34000000],[1546215481000,4.22000000],[1546215781000,4.20000000],[1546216081000,4.20000000],[1546216381000,4.26000000],[1546216681000,4.16000000],[1546216981000,4.12000000],[1546217281000,4.02000000],[1546217581000,4.12000000],[1546217881000,4.16000000],[1546218181000,4.08000000],[1546218481000,4.00000000],[1546218781000,3.98000000],[1546219081000,4.02000000],[1546219381000,4.08000000],[1546219681000,4.12000000],[1546219981000,4.22000000],[1546220281000,4.14000000],[1546220581000,4.28000000],[1546220881000,4.36000000],[1546221181000,4.40000000],[1546221481000,4.40000000],[1546221781000,4.42000000],[1546222081000,4.40000000],[1546222381000,4.44000000],[1546222681000,4.48000000],[1546222981000,4.50000000],[1546223281000,4.50000000],[1546223581000,4.50000000],[1546223881000,4.40000000],[1546224181000,4.52000000],[1546224481000,4.50000000],[1546224781000,4.50000000],[1546225081000,4.36000000],[1546225381000,4.30000000],[1546225681000,4.30000000],[1546225981000,4.30000000],[1546226281000,4.36000000],[1546226581000,4.30000000],[1546226881000,4.20000000],[1546227181000,4.18000000],[1546227481000,4.20000000],[1546227781000,4.20000000],[1546228081000,4.26000000],[1546228381000,4.20000000],[1546228681000,4.22000000],[1546228981000,4.18000000],[1546229281000,4.14000000],[1546229581000,4.18000000],[1546229881000,4.22000000],[1546230181000,4.40000000],[1546230481000,4.26000000],[1546230781000,4.20000000],[1546231081000,4.04000000],[1546231381000,4.00000000],[1546231681000,4.00000000],[1546231981000,4.00000000],[1546232281000,3.92000000],[1546232581000,3.94000000],[1546232881000,3.88000000],[1546233181000,4.02000000],[1546233481000,3.96000000],[1546233781000,3.94000000],[1546234081000,3.92000000],[1546234381000,3.90000000],[1546234681000,4.00000000],[1546234982000,3.90000000],[1546235281000,3.80000000],[1546235581000,3.62000000],[1546235881000,3.46000000],[1546236181000,3.40000000],[1546236481000,3.46000000],[1546236781000,3.46000000],[1546237081000,3.50000000],[1546237381000,3.58000000],[1546237681000,3.70000000],[1546237981000,3.78000000],[1546238282000,3.74000000],[1546238581000,3.70000000],[1546238881000,3.68000000],[1546239181000,3.60000000],[1546239481000,3.70000000],[1546239781000,3.74000000],[1546240081000,3.82000000],[1546240381000,3.80000000],[1546240681000,3.84000000],[1546240981000,3.88000000],[1546241281000,4.02000000],[1546241581000,4.22000000],[1546241881000,4.40000000],[1546242181000,4.62000000],[1546242481000,5.12000000],[1546242781000,5.16000000],[1546243081000,5.34000000],[1546243381000,5.64000000],[1546243681000,5.78000000],[1546243981000,5.78000000],[1546244281000,5.68000000],[1546244581000,5.86000000],[1546244881000,6.08000000],[1546245181000,6.34000000],[1546245481000,6.30000000],[1546245781000,6.04000000],[1546246081000,6.02000000],[1546246381000,5.62000000],[1546246681000,5.60000000],[1546246981000,5.88000000],[1546247281000,6.44000000],[1546247581000,5.86000000],[1546247881000,5.62000000],[1546248181000,6.30000000],[1546248481000,6.50000000],[1546248781000,6.78000000],[1546249081000,7.08000000],[1546249381000,7.18000000],[1546249681000,6.66000000],[1546249981000,6.52000000],[1546250281000,7.22000000],[1546250581000,7.74000000],[1546250881000,7.56000000],[1546251181000,7.44000000],[1546251481000,7.66000000],[1546251781000,7.26000000],[1546252081000,7.28000000],[1546252381000,7.42000000],[1546252681000,7.80000000],[1546252981000,7.32000000],[1546253281000,7.20000000],[1546253581000,7.46000000],[1546253881000,8.14000000],[1546254181000,7.48000000],[1546254481000,6.66000000],[1546254781000,6.64000000],[1546255081000,6.30000000],[1546255381000,7.00000000],[1546255681000,7.46000000],[1546255981000,7.22000000],[1546256281000,6.58000000],[1546256581000,6.30000000],[1546256881000,6.12000000],[1546257181000,6.60000000],[1546257481000,6.38000000],[1546257781000,6.18000000],[1546258081000,6.28000000],[1546258381000,6.18000000],[1546258681000,6.02000000],[1546258981000,5.90000000],[1546259281000,5.78000000],[1546259581000,5.66000000],[1546259881000,5.58000000],[1546260181000,5.60000000],[1546260481000,5.52000000],[1546260781000,5.42000000],[1546261081000,5.50000000],[1546261381000,5.84000000],[1546261681000,5.32000000],[1546261981000,5.20000000],[1546262281000,5.88000000],[1546262581000,6.46000000],[1546262881000,6.66000000],[1546263181000,6.10000000],[1546263481000,6.16000000],[1546263781000,6.42000000],[1546264081000,6.24000000],[1546264381000,6.36000000],[1546264681000,6.38000000],[1546264981000,5.88000000],[1546265281000,5.54000000],[1546265581000,5.40000000],[1546265881000,5.28000000],[1546266181000,5.30000000],[1546266481000,5.32000000],[1546266781000,5.30000000],[1546267081000,5.30000000],[1546267381000,5.18000000],[1546267681000,5.02000000],[1546267981000,4.88000000],[1546268281000,4.94000000],[1546268581000,4.90000000],[1546268881000,4.80000000],[1546269181000,4.84000000],[1546269481000,4.84000000],[1546269781000,4.80000000],[1546270081000,4.76000000],[1546270381000,4.66000000],[1546270681000,4.50000000],[1546270981000,4.30000000],[1546271281000,4.12000000],[1546271581000,4.02000000],[1546271881000,3.92000000],[1546272181000,3.80000000],[1546272481000,3.80000000],[1546272781000,3.74000000],[1546273081000,3.70000000],[1546273381000,3.66000000],[1546273681000,3.48000000],[1546273981000,3.42000000],[1546274281000,3.50000000],[1546274581000,3.50000000],[1546274881000,3.50000000],[1546275181000,3.36000000],[1546275481000,3.28000000],[1546275781000,3.34000000],[1546276081000,3.34000000],[1546276381000,3.40000000],[1546276681000,3.38000000],[1546276981000,3.22000000],[1546277281000,3.04000000],[1546277581000,2.78000000],[1546277881000,2.34000000],[1546278181000,1.88000000],[1546278481000,1.52000000],[1546278781000,1.22000000],[1546279081000,0.98000000],[1546279381000,0.80000000],[1546279681000,0.62000000],[1546279981000,0.56000000],[1546280281000,0.46000000],[1546280581000,0.32000000],[1546280881000,0.12000000],[1546281181000,-0.10000000],[1546281481000,-0.22000000],[1546281781000,-0.04000000],[1546282081000,0.24000000],[1546282381000,0.56000000],[1546282681000,1.18000000],[1546282981000,1.16000000],[1546283281000,1.06000000],[1546283581000,1.12000000],[1546283881000,1.16000000],[1546284181000,1.54000000],[1546284481000,1.54000000],[1546284781000,1.56000000],[1546285081000,1.44000000],[1546285381000,1.22000000],[1546285681000,1.24000000],[1546285981000,1.04000000],[1546286281000,1.10000000],[1546286581000,1.16000000],[1546286881000,0.88000000],[1546287181000,0.64000000],[1546287481000,0.48000000],[1546287781000,0.30000000],[1546288081000,0.02000000],[1546288381000,-0.14000000],[1546288681000,-0.30000000],[1546288981000,-0.36000000],[1546289281000,-0.44000000],[1546289581000,-0.54000000],[1546289881000,-0.56000000],[1546290181000,-0.60000000],[1546290481000,-0.44000000],[1546290781000,-0.48000000],[1546291081000,-0.40000000],[1546291381000,-0.56000000],[1546291681000,-0.70000000],[1546291981000,-0.46000000],[1546292281000,-0.04000000],[1546292581000,0.08000000],[1546292881000,0.16000000],[1546293181000,0.12000000],[1546293481000,-0.04000000],[1546293781000,-0.16000000],[1546294081000,-0.34000000],[1546294381000,-0.40000000],[1546294681000,-0.36000000],[1546294981000,-0.26000000],[1546295281000,-0.44000000],[1546295581000,-0.44000000],[1546295881000,-0.26000000],[1546296181000,-0.30000000],[1546296481000,-0.46000000],[1546296781000,-0.54000000],[1546297081000,-0.60000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1546210801000,1.7],[1546210981000,1.7],[1546211281000,1.7],[1546211581000,1.7],[1546211881000,1.6],[1546212181000,1.6],[1546212481000,1.6],[1546212781000,1.5],[1546213081000,1.6],[1546213381000,1.6],[1546213681000,1.5],[1546213981000,1.6],[1546214282000,1.6],[1546214581000,1.5],[1546214881000,1.5],[1546215181000,1.6],[1546215481000,1.6],[1546215781000,1.6],[1546216081000,1.7],[1546216381000,1.7],[1546216681000,1.5],[1546216981000,1.5],[1546217281000,1.5],[1546217581000,1.5],[1546217881000,1.5],[1546218181000,1.4],[1546218481000,1.3],[1546218781000,1.3],[1546219081000,1.2],[1546219381000,1.2],[1546219981000,1.1],[1546220281000,1.1],[1546220581000,1],[1546220881000,1],[1546221181000,1.1],[1546221481000,1.1],[1546221781000,1],[1546222081000,1],[1546222381000,1],[1546222681000,1],[1546222981000,1],[1546223281000,1],[1546223581000,1],[1546223881000,0.9],[1546224181000,0.9],[1546224481000,0.7],[1546224781000,0.8],[1546225081000,0.9],[1546225381000,0.8],[1546225681000,0.9],[1546225981000,0.8],[1546226281000,0.8],[1546226581000,0.8],[1546226881000,0.9],[1546227181000,0.9],[1546227481000,0.9],[1546227781000,0.8],[1546228081000,0.8],[1546228381000,0.8],[1546228681000,0.7],[1546228981000,0.9],[1546229281000,0.7],[1546229581000,0.8],[1546229881000,0.8],[1546230181000,0.8],[1546230481000,0.8],[1546230781000,0.7],[1546231081000,0.7],[1546231381000,0.7],[1546231681000,0.7],[1546231981000,0.7],[1546232281000,0.7],[1546232581000,0.7],[1546232881000,0.7],[1546233181000,0.6],[1546233481000,0.6],[1546233781000,0.7],[1546234081000,0.6],[1546234381000,0.6],[1546234681000,0.7],[1546234982000,0.7],[1546235281000,0.6],[1546235581000,0.6],[1546235881000,0.5],[1546236181000,0.5],[1546236481000,0.6],[1546236781000,0.6],[1546237081000,0.6],[1546237381000,0.6],[1546237681000,0.7],[1546237981000,0.7],[1546238282000,0.7],[1546238581000,0.8],[1546238881000,0.9],[1546239181000,0.9],[1546239481000,0.8],[1546239781000,0.8],[1546240081000,0.8],[1546240381000,0.9],[1546240681000,0.9],[1546240981000,0.9],[1546241281000,0.9],[1546241581000,0.8],[1546241881000,0.7],[1546242181000,0.8],[1546242481000,0.9],[1546242781000,1],[1546243081000,1],[1546243381000,0.9],[1546243681000,0.9],[1546243981000,0.9],[1546244281000,0.7],[1546244581000,0.8],[1546244881000,0.8],[1546245181000,0.8],[1546245481000,0.8],[1546245781000,0.6],[1546246081000,0.4],[1546246381000,0.5],[1546246681000,0.3],[1546246981000,0.5],[1546247281000,0.6],[1546247581000,0.4],[1546247881000,0.4],[1546248181000,0.5],[1546248481000,0.5],[1546248781000,0.4],[1546249081000,0.7],[1546249381000,0.8],[1546249681000,0.7],[1546249981000,0.7],[1546250281000,0.8],[1546250581000,0.8],[1546250881000,0.7],[1546251181000,0.6],[1546251481000,0.7],[1546251781000,0.4],[1546252081000,0.3],[1546252381000,0.5],[1546252681000,0.4],[1546252981000,0.3],[1546253281000,-0],[1546253581000,0.3],[1546253881000,0.6],[1546254181000,0],[1546254481000,-0.5],[1546254781000,-0.4],[1546255081000,-0.6],[1546255381000,-0.6],[1546255681000,-0.4],[1546255981000,-0.3],[1546256281000,-0.3],[1546256581000,-0.7],[1546256881000,-0.9],[1546257181000,-0.7],[1546257481000,-0.7],[1546257781000,-0.9],[1546258081000,-0.9],[1546258381000,-0.7],[1546258681000,-0.9],[1546258981000,-1.1],[1546259281000,-0.9],[1546259581000,-0.9],[1546259881000,-1.1],[1546260181000,-1.3],[1546260481000,-0.9],[1546260781000,-1],[1546261081000,-1.1],[1546261381000,-1],[1546261681000,-0.8],[1546261981000,-1],[1546262281000,-1],[1546262581000,-1],[1546262881000,-0.8],[1546263181000,-0.7],[1546263481000,-0.7],[1546263781000,-0.6],[1546264081000,-0.6],[1546264381000,-0.9],[1546264681000,-0.8],[1546264981000,-0.9],[1546265281000,-1],[1546265581000,-0.8],[1546265881000,-0.9],[1546266181000,-0.9],[1546266481000,-0.8],[1546266781000,-0.8],[1546267081000,-0.7],[1546267381000,-0.7],[1546267681000,-0.6],[1546267981000,-0.7],[1546268281000,-0.6],[1546268581000,-0.6],[1546268881000,-0.6],[1546269181000,-0.7],[1546269481000,-0.7],[1546269781000,-0.6],[1546270081000,-0.6],[1546270381000,-0.6],[1546270681000,-0.8],[1546270981000,-0.8],[1546271281000,-0.8],[1546271581000,-0.8],[1546271881000,-0.7],[1546272181000,-0.7],[1546272481000,-0.6],[1546272781000,-0.6],[1546273081000,-0.6],[1546273381000,-0.4],[1546273681000,-0.5],[1546273981000,-0.8],[1546274281000,-0.8],[1546274581000,-0.7],[1546274881000,-0.5],[1546275181000,-0.6],[1546275481000,-0.8],[1546275781000,-0.8],[1546276081000,-0.6],[1546276381000,-0.5],[1546276681000,-0.5],[1546276981000,-0.5],[1546277281000,-0.5],[1546277581000,-0.5],[1546277881000,-0.6],[1546278181000,-0.7],[1546278481000,-0.9],[1546278781000,-1.1],[1546279081000,-1.2],[1546279381000,-1.3],[1546279681000,-1.3],[1546279981000,-1.3],[1546280281000,-1.4],[1546280581000,-1.5],[1546280881000,-1.6],[1546281181000,-1.8],[1546281481000,-1.8],[1546281781000,-1.6],[1546282081000,-1.5],[1546282381000,-1.3],[1546282681000,-1.1],[1546282981000,-1.3],[1546283281000,-1.3],[1546283581000,-1.2],[1546283881000,-1.2],[1546284181000,-1.2],[1546284481000,-1.3],[1546284781000,-1.3],[1546285081000,-1.4],[1546285381000,-1.4],[1546285681000,-1.3],[1546285981000,-1.4],[1546286281000,-1.4],[1546286581000,-1.4],[1546286881000,-1.5],[1546287181000,-1.6],[1546287481000,-1.6],[1546287781000,-1.7],[1546288081000,-1.8],[1546288381000,-1.9],[1546288681000,-1.9],[1546288981000,-1.9],[1546289281000,-2],[1546289581000,-1.9],[1546289881000,-2],[1546290181000,-1.9],[1546290481000,-1.7],[1546290781000,-1.9],[1546291081000,-1.8],[1546291381000,-2.1],[1546291681000,-2.2],[1546291981000,-1.7],[1546292281000,-1.5],[1546292581000,-1.5],[1546292881000,-1.5],[1546293181000,-1.5],[1546293481000,-1.7],[1546293781000,-1.8],[1546294081000,-1.8],[1546294381000,-1.8],[1546294681000,-1.7],[1546294981000,-1.7],[1546295281000,-1.8],[1546295581000,-1.7],[1546295881000,-1.7],[1546296181000,-1.9],[1546296481000,-2],[1546296781000,-2],[1546297081000,-2],], 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: [[1546210801000,82.60000000],[1546210981000,82.88000000],[1546211281000,82.82000000],[1546211581000,82.62000000],[1546211881000,82.68000000],[1546212181000,82.74000000],[1546212481000,82.44000000],[1546212781000,82.34000000],[1546213081000,82.68000000],[1546213381000,82.48000000],[1546213681000,82.56000000],[1546213981000,82.00000000],[1546214282000,82.70000000],[1546214581000,81.82000000],[1546214881000,82.24000000],[1546215181000,82.40000000],[1546215481000,83.22000000],[1546215781000,83.58000000],[1546216081000,83.76000000],[1546216381000,83.42000000],[1546216681000,83.28000000],[1546216981000,83.52000000],[1546217281000,84.04000000],[1546217581000,83.18000000],[1546217881000,83.08000000],[1546218181000,82.98000000],[1546218481000,83.00000000],[1546218781000,82.64000000],[1546219081000,82.00000000],[1546219381000,81.70000000],[1546219682000,80.80000000],[1546219981000,80.38000000],[1546220281000,80.56000000],[1546220581000,79.34000000],[1546220881000,79.30000000],[1546221181000,79.12000000],[1546221481000,79.26000000],[1546221781000,78.84000000],[1546222081000,78.78000000],[1546222381000,78.60000000],[1546222681000,78.32000000],[1546222981000,78.22000000],[1546223281000,78.00000000],[1546223581000,78.04000000],[1546223881000,78.36000000],[1546224181000,77.58000000],[1546224481000,76.82000000],[1546224781000,77.22000000],[1546225081000,78.20000000],[1546225381000,78.52000000],[1546225681000,78.54000000],[1546225981000,78.02000000],[1546226281000,77.88000000],[1546226581000,78.48000000],[1546226881000,79.08000000],[1546227181000,79.54000000],[1546227481000,79.18000000],[1546227781000,78.70000000],[1546228081000,78.52000000],[1546228381000,78.62000000],[1546228681000,78.32000000],[1546228981000,79.18000000],[1546229281000,78.50000000],[1546229581000,78.78000000],[1546229881000,78.40000000],[1546230181000,77.44000000],[1546230481000,78.40000000],[1546230781000,78.38000000],[1546231081000,79.34000000],[1546231381000,79.52000000],[1546231681000,79.34000000],[1546231981000,79.60000000],[1546232281000,79.84000000],[1546232581000,79.64000000],[1546232881000,79.74000000],[1546233181000,78.50000000],[1546233481000,79.06000000],[1546233781000,79.40000000],[1546234081000,79.20000000],[1546234381000,79.52000000],[1546234681000,79.48000000],[1546234982000,79.86000000],[1546235281000,80.02000000],[1546235581000,80.90000000],[1546235881000,81.42000000],[1546236181000,81.56000000],[1546236481000,81.62000000],[1546236781000,81.88000000],[1546237081000,81.54000000],[1546237381000,81.24000000],[1546237681000,80.82000000],[1546237981000,80.42000000],[1546238282000,80.86000000],[1546238581000,81.34000000],[1546238881000,82.06000000],[1546239181000,82.60000000],[1546239481000,81.84000000],[1546239781000,81.50000000],[1546240081000,80.86000000],[1546240381000,81.52000000],[1546240681000,81.46000000],[1546240981000,81.10000000],[1546241281000,80.50000000],[1546241581000,78.64000000],[1546241881000,77.36000000],[1546242181000,76.32000000],[1546242481000,74.72000000],[1546242781000,74.72000000],[1546243081000,73.76000000],[1546243381000,72.08000000],[1546243681000,71.24000000],[1546243981000,71.18000000],[1546244281000,70.80000000],[1546244581000,70.08000000],[1546244881000,68.98000000],[1546245181000,67.76000000],[1546245481000,68.12000000],[1546245781000,68.58000000],[1546246081000,67.50000000],[1546246381000,69.76000000],[1546246681000,69.26000000],[1546246981000,68.92000000],[1546247281000,66.66000000],[1546247581000,68.40000000],[1546247881000,69.36000000],[1546248181000,66.86000000],[1546248481000,65.88000000],[1546248781000,64.04000000],[1546249081000,64.30000000],[1546249381000,64.42000000],[1546249681000,66.18000000],[1546249981000,66.72000000],[1546250281000,64.12000000],[1546250581000,61.90000000],[1546250881000,62.26000000],[1546251181000,62.40000000],[1546251481000,61.92000000],[1546251781000,62.18000000],[1546252081000,61.52000000],[1546252381000,61.86000000],[1546252681000,59.98000000],[1546252981000,61.16000000],[1546253281000,60.46000000],[1546253581000,60.64000000],[1546253881000,59.32000000],[1546254181000,59.42000000],[1546254481000,60.66000000],[1546254781000,61.04000000],[1546255081000,61.64000000],[1546255381000,58.88000000],[1546255681000,58.00000000],[1546255981000,59.30000000],[1546256281000,61.78000000],[1546256581000,61.20000000],[1546256881000,61.04000000],[1546257181000,59.90000000],[1546257481000,60.72000000],[1546257781000,60.78000000],[1546258081000,60.46000000],[1546258381000,61.72000000],[1546258681000,61.36000000],[1546258981000,61.30000000],[1546259281000,62.34000000],[1546259581000,62.92000000],[1546259881000,62.70000000],[1546260181000,61.62000000],[1546260481000,63.78000000],[1546260781000,63.76000000],[1546261081000,62.72000000],[1546261381000,61.96000000],[1546261681000,65.06000000],[1546261981000,64.56000000],[1546262281000,61.88000000],[1546262581000,59.40000000],[1546262881000,59.28000000],[1546263181000,62.14000000],[1546263481000,61.94000000],[1546263781000,61.38000000],[1546264081000,61.94000000],[1546264381000,60.30000000],[1546264681000,60.58000000],[1546264981000,62.26000000],[1546265281000,63.32000000],[1546265581000,64.46000000],[1546265881000,64.50000000],[1546266181000,64.62000000],[1546266481000,65.12000000],[1546266781000,65.22000000],[1546267081000,65.36000000],[1546267381000,66.32000000],[1546267681000,67.48000000],[1546267981000,67.40000000],[1546268281000,67.64000000],[1546268581000,67.88000000],[1546268881000,68.48000000],[1546269181000,67.72000000],[1546269481000,67.46000000],[1546269781000,68.24000000],[1546270081000,68.44000000],[1546270381000,68.86000000],[1546270681000,68.62000000],[1546270981000,69.60000000],[1546271281000,70.86000000],[1546271581000,71.28000000],[1546271881000,72.02000000],[1546272181000,72.78000000],[1546272481000,73.24000000],[1546272781000,73.70000000],[1546273081000,74.04000000],[1546273381000,74.84000000],[1546273681000,75.32000000],[1546273981000,74.38000000],[1546274281000,73.92000000],[1546274581000,74.10000000],[1546274881000,75.22000000],[1546275181000,75.72000000],[1546275481000,75.12000000],[1546275781000,74.62000000],[1546276081000,75.90000000],[1546276381000,75.94000000],[1546276681000,76.08000000],[1546276981000,77.06000000],[1546277281000,77.72000000],[1546277581000,79.50000000],[1546277881000,81.20000000],[1546278181000,83.18000000],[1546278481000,84.18000000],[1546278781000,84.70000000],[1546279081000,85.62000000],[1546279381000,86.20000000],[1546279681000,86.84000000],[1546279981000,87.52000000],[1546280281000,87.44000000],[1546280581000,87.48000000],[1546280881000,88.06000000],[1546281181000,88.54000000],[1546281481000,89.12000000],[1546281781000,89.22000000],[1546282081000,88.50000000],[1546282381000,87.48000000],[1546282681000,84.82000000],[1546282981000,83.76000000],[1546283281000,84.62000000],[1546283581000,84.68000000],[1546283881000,84.30000000],[1546284181000,82.42000000],[1546284481000,81.80000000],[1546284781000,81.50000000],[1546285081000,81.70000000],[1546285381000,82.90000000],[1546285681000,83.12000000],[1546285981000,83.84000000],[1546286281000,83.34000000],[1546286581000,82.96000000],[1546286881000,84.22000000],[1546287181000,84.92000000],[1546287481000,86.02000000],[1546287781000,86.40000000],[1546288081000,87.50000000],[1546288381000,88.28000000],[1546288681000,89.04000000],[1546288981000,89.46000000],[1546289281000,89.60000000],[1546289581000,90.46000000],[1546289881000,90.40000000],[1546290181000,91.14000000],[1546290481000,91.06000000],[1546290781000,90.34000000],[1546291081000,90.26000000],[1546291381000,89.62000000],[1546291681000,89.96000000],[1546291981000,91.38000000],[1546292281000,90.08000000],[1546292581000,89.18000000],[1546292881000,88.96000000],[1546293181000,88.84000000],[1546293481000,88.96000000],[1546293781000,88.96000000],[1546294081000,89.84000000],[1546294381000,90.62000000],[1546294681000,90.70000000],[1546294981000,90.34000000],[1546295281000,90.62000000],[1546295581000,91.02000000],[1546295881000,89.88000000],[1546296181000,89.26000000],[1546296481000,89.32000000],[1546296781000,89.78000000],[1546297081000,90.20000000],], 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: [[1546210801000,1024.7],[1546210981000,1024.8],[1546211281000,1024.8],[1546211581000,1024.9],[1546211881000,1025],[1546212181000,1025],[1546212481000,1025.1],[1546212781000,1025.2],[1546213081000,1025.2],[1546213381000,1025.1],[1546213681000,1025.1],[1546213981000,1025.2],[1546214282000,1025.3],[1546214581000,1025.3],[1546214881000,1025.3],[1546215181000,1025.3],[1546215481000,1025.4],[1546215781000,1025.4],[1546216081000,1025.3],[1546216381000,1025.3],[1546216681000,1025.3],[1546216981000,1025.3],[1546217281000,1025.4],[1546217581000,1025.5],[1546217881000,1025.6],[1546218181000,1025.7],[1546218481000,1025.7],[1546218781000,1025.9],[1546219081000,1025.9],[1546219381000,1025.9],[1546219981000,1026.1],[1546220281000,1026.3],[1546220581000,1026.3],[1546220881000,1026.3],[1546221181000,1026.4],[1546221481000,1026.5],[1546221781000,1026.5],[1546222081000,1026.5],[1546222381000,1026.6],[1546222681000,1026.6],[1546222981000,1026.6],[1546223281000,1026.6],[1546223581000,1026.6],[1546223881000,1026.6],[1546224181000,1026.5],[1546224481000,1026.5],[1546224781000,1026.5],[1546225081000,1026.4],[1546225381000,1026.4],[1546225681000,1026.5],[1546225981000,1026.4],[1546226281000,1026.4],[1546226581000,1026.3],[1546226881000,1026.3],[1546227181000,1026.3],[1546227481000,1026.3],[1546227781000,1026.4],[1546228081000,1026.4],[1546228381000,1026.4],[1546228681000,1026.4],[1546228981000,1026.4],[1546229281000,1026.6],[1546229581000,1026.7],[1546229881000,1026.7],[1546230181000,1026.7],[1546230481000,1026.8],[1546230781000,1026.8],[1546231081000,1027],[1546231381000,1027.1],[1546231681000,1027.2],[1546231981000,1027.3],[1546232281000,1027.3],[1546232581000,1027.4],[1546232881000,1027.6],[1546233181000,1027.7],[1546233481000,1027.8],[1546233781000,1027.9],[1546234081000,1027.9],[1546234381000,1027.9],[1546234681000,1028],[1546234982000,1028],[1546235281000,1028.1],[1546235581000,1028],[1546235881000,1028.1],[1546236181000,1028.1],[1546236481000,1028.1],[1546236781000,1028.2],[1546237081000,1028.3],[1546237381000,1028.3],[1546237681000,1028.3],[1546237981000,1028.3],[1546238282000,1028.4],[1546238581000,1028.5],[1546238881000,1028.6],[1546239181000,1028.7],[1546239481000,1028.7],[1546239781000,1028.8],[1546240081000,1028.9],[1546240381000,1028.9],[1546240681000,1028.9],[1546240981000,1029],[1546241281000,1028.9],[1546241581000,1028.9],[1546241881000,1028.8],[1546242181000,1028.8],[1546242481000,1028.7],[1546242781000,1028.7],[1546243081000,1028.8],[1546243381000,1028.8],[1546243681000,1028.9],[1546243981000,1028.9],[1546244281000,1029],[1546244581000,1029.1],[1546244881000,1029.2],[1546245181000,1029.2],[1546245481000,1029.3],[1546245781000,1029.3],[1546246081000,1029.4],[1546246381000,1029.5],[1546246681000,1029.4],[1546246981000,1029.4],[1546247281000,1029.4],[1546247581000,1029.4],[1546247881000,1029.4],[1546248181000,1029.4],[1546248481000,1029.4],[1546248781000,1029.4],[1546249081000,1029.4],[1546249381000,1029.4],[1546249681000,1029.4],[1546249981000,1029.4],[1546250281000,1029.4],[1546250581000,1029.3],[1546250881000,1029.3],[1546251181000,1029.2],[1546251481000,1029.2],[1546251781000,1029.2],[1546252081000,1029.2],[1546252381000,1029.1],[1546252681000,1029.1],[1546252981000,1029.1],[1546253281000,1029.1],[1546253581000,1029],[1546253881000,1028.9],[1546254181000,1028.8],[1546254481000,1028.9],[1546254781000,1028.8],[1546255081000,1028.8],[1546255381000,1028.7],[1546255681000,1028.6],[1546255981000,1028.7],[1546256281000,1028.7],[1546256581000,1028.8],[1546256881000,1028.8],[1546257181000,1028.8],[1546257481000,1028.8],[1546257781000,1028.9],[1546258081000,1029],[1546258381000,1029],[1546258681000,1029.1],[1546258981000,1029.1],[1546259281000,1029.1],[1546259581000,1029.1],[1546259881000,1029.2],[1546260181000,1029.2],[1546260481000,1029.2],[1546260781000,1029.3],[1546261081000,1029.2],[1546261381000,1029.3],[1546261681000,1029.3],[1546261981000,1029.4],[1546262281000,1029.4],[1546262581000,1029.4],[1546262881000,1029.4],[1546263181000,1029.5],[1546263481000,1029.6],[1546263781000,1029.6],[1546264081000,1029.6],[1546264381000,1029.6],[1546264681000,1029.7],[1546264981000,1029.8],[1546265281000,1029.8],[1546265581000,1030],[1546265881000,1030],[1546266181000,1030.1],[1546266481000,1030.1],[1546266781000,1030.2],[1546267081000,1030.2],[1546267381000,1030.3],[1546267681000,1030.3],[1546267981000,1030.4],[1546268281000,1030.4],[1546268581000,1030.4],[1546268881000,1030.5],[1546269181000,1030.5],[1546269481000,1030.6],[1546269781000,1030.7],[1546270081000,1030.7],[1546270381000,1030.7],[1546270681000,1030.8],[1546270981000,1030.9],[1546271281000,1030.9],[1546271581000,1030.9],[1546271881000,1030.9],[1546272181000,1030.9],[1546272481000,1031],[1546272781000,1031],[1546273081000,1031],[1546273381000,1031],[1546273681000,1031],[1546273981000,1031.1],[1546274281000,1031],[1546274581000,1031.1],[1546274881000,1031.1],[1546275181000,1031.2],[1546275481000,1031.3],[1546275781000,1031.3],[1546276081000,1031.4],[1546276381000,1031.4],[1546276681000,1031.4],[1546276981000,1031.4],[1546277281000,1031.4],[1546277581000,1031.5],[1546277881000,1031.6],[1546278181000,1031.7],[1546278481000,1031.7],[1546278781000,1031.7],[1546279081000,1031.7],[1546279381000,1031.7],[1546279681000,1031.7],[1546279981000,1031.7],[1546280281000,1031.8],[1546280581000,1031.8],[1546280881000,1031.8],[1546281181000,1031.8],[1546281481000,1031.8],[1546281781000,1031.7],[1546282081000,1031.7],[1546282381000,1031.7],[1546282681000,1031.7],[1546282981000,1031.8],[1546283281000,1031.8],[1546283581000,1031.8],[1546283881000,1031.9],[1546284181000,1031.9],[1546284481000,1032],[1546284781000,1032],[1546285081000,1032],[1546285381000,1032],[1546285681000,1031.9],[1546285981000,1031.8],[1546286281000,1031.8],[1546286581000,1031.9],[1546286881000,1031.9],[1546287181000,1031.9],[1546287481000,1031.9],[1546287781000,1031.9],[1546288081000,1031.9],[1546288381000,1032],[1546288681000,1031.9],[1546288981000,1032],[1546289281000,1032],[1546289581000,1032],[1546289881000,1032],[1546290181000,1032],[1546290481000,1032.1],[1546290781000,1032.2],[1546291081000,1032.2],[1546291381000,1032.4],[1546291681000,1032.5],[1546291981000,1032.4],[1546292281000,1032.4],[1546292581000,1032.3],[1546292881000,1032.3],[1546293181000,1032.3],[1546293481000,1032.3],[1546293781000,1032.4],[1546294081000,1032.5],[1546294381000,1032.4],[1546294681000,1032.4],[1546294981000,1032.3],[1546295281000,1032.4],[1546295581000,1032.4],[1546295881000,1032.5],[1546296181000,1032.5],[1546296481000,1032.4],[1546296781000,1032.4],[1546297081000,1032.4],], 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: [[1546210801000,29.88],[1546210982000,27.216],[1546211281000,27.936],[1546211581000,27.432],[1546211881000,21.96],[1546212181000,25.2],[1546212481000,23.472],[1546212781000,24.552],[1546213081000,25.416],[1546213441000,24.03],[1546213681000,26.424],[1546213981000,28.656],[1546214281000,23.76],[1546214581000,28.656],[1546214881000,25.2],[1546215181000,26.712],[1546215481000,22.752],[1546215781000,24.984],[1546216081000,25.344],[1546216381000,24.84],[1546216681000,24.984],[1546216981000,24.624],[1546217281000,23.472],[1546217581000,28.368],[1546217881000,27],[1546218181000,24.768],[1546218481000,21.96],[1546218781000,21.6],[1546219081000,23.616],[1546219381000,21.024],[1546219681000,22.464],[1546219981000,16.344],[1546220281000,15.624],[1546220581000,16.704],[1546220881000,21.528],[1546221181000,18.576],[1546221481000,16.488],[1546221781000,18.576],[1546222081000,16.56],[1546222381000,13.464],[1546222682000,15.408],[1546222981000,15.768],[1546223281000,20.952],[1546223581000,14.904],[1546223881000,21.672],[1546224181000,23.328],[1546224481000,22.536],[1546224781000,18.864],[1546225081000,16.776],[1546225381000,20.664],[1546225681000,20.016],[1546225981000,18.504],[1546226281000,18.792],[1546226581000,21.24],[1546226882000,20.592],[1546227181000,19.512],[1546227481000,22.176],[1546227781000,22.68],[1546228081000,28.584],[1546228381000,22.752],[1546228681000,25.992],[1546228981000,22.032],[1546229281000,23.256],[1546229581000,19.584],[1546229881000,23.112],[1546230181000,24.264],[1546230481000,12.312],[1546230781000,17.136],[1546231082000,15.48],[1546231381000,14.472],[1546231681000,18.648],[1546231981000,17.424],[1546232281000,17.496],[1546232581000,13.536],[1546232881000,13.896],[1546233181000,12.528],[1546233481000,18.216],[1546233781000,19.656],[1546234081000,15.408],[1546234381000,15.912],[1546234681000,21.384],[1546234981000,20.088],[1546235281000,17.928],[1546235581000,13.536],[1546235881000,15.696],[1546236181000,16.416],[1546236481000,21.096],[1546236781000,19.872],[1546237081000,22.104],[1546237381000,23.832],[1546237681000,26.352],[1546237981000,24.552],[1546238281000,23.832],[1546238581000,23.4],[1546238881000,23.04],[1546239181000,20.952],[1546239481000,23.256],[1546239782000,19.44],[1546240081000,19.728],[1546240381000,19.872],[1546240681000,21.096],[1546240981000,22.032],[1546241281000,21.888],[1546241581000,21.528],[1546241881000,23.04],[1546242181000,20.016],[1546242481000,18.36],[1546242781000,19.152],[1546243081000,16.488],[1546243381000,15.048],[1546243681000,16.2],[1546243981000,12.312],[1546244281000,9.288],[1546244581000,9.576],[1546244881000,16.56],[1546245181000,16.128],[1546245481000,15.336],[1546245781000,17.712],[1546246081000,14.544],[1546246381000,19.584],[1546246681000,13.752],[1546246981000,11.592],[1546247281000,16.776],[1546247581000,15.84],[1546247881000,17.856],[1546248181000,19.152],[1546248481000,19.944],[1546248781000,17.28],[1546249081000,19.872],[1546249381000,20.52],[1546249681000,20.232],[1546249981000,22.176],[1546250281000,19.8],[1546250582000,14.4],[1546250881000,16.344],[1546251181000,22.824],[1546251481000,19.008],[1546251781000,24.192],[1546252081000,23.904],[1546252381000,16.344],[1546252681000,21.888],[1546252981000,23.616],[1546253281000,27.144],[1546253581000,19.512],[1546253881000,17.136],[1546254181000,21.456],[1546254481000,27],[1546254781000,22.32],[1546255081000,27.648],[1546255381000,24.768],[1546255681000,23.4],[1546255981000,19.728],[1546256281000,19.296],[1546256581000,27.72],[1546256881000,22.536],[1546257181000,22.752],[1546257481000,18.792],[1546257781000,18.36],[1546258081000,19.296],[1546258381000,17.64],[1546258681000,19.512],[1546258981000,17.064],[1546259281000,19.584],[1546259581000,20.736],[1546259881000,20.736],[1546260181000,24.696],[1546260481000,18.144],[1546260781000,19.368],[1546261081000,28.512],[1546261381000,20.952],[1546261681000,27.576],[1546261981000,26.136],[1546262281000,27.432],[1546262581000,28.728],[1546262882000,21.312],[1546263181000,19.584],[1546263481000,18.864],[1546263781000,16.632],[1546264081000,20.52],[1546264381000,25.2],[1546264681000,20.376],[1546264981000,24.048],[1546265281000,20.016],[1546265581000,16.056],[1546265881000,15.912],[1546266181000,15.336],[1546266481000,13.104],[1546266781000,15.48],[1546267081000,16.056],[1546267381000,15.048],[1546267681000,12.672],[1546267981000,14.976],[1546268281000,13.752],[1546268581000,11.232],[1546268881000,11.952],[1546269181000,9.216],[1546269481000,8.568],[1546269781000,9.576],[1546270081000,6.264],[1546270381000,3.384],[1546270681000,0.504],[1546270981000,0],[1546271281000,0.36],[1546271581000,1.728],[1546271881000,0],[1546272181000,0],[1546272481000,0],[1546272781000,2.88],[1546273081000,4.968],[1546273381000,7.344],[1546273681000,5.616],[1546273981000,7.632],[1546274281000,7.632],[1546274581000,7.776],[1546274881000,5.4],[1546275181000,1.584],[1546275481000,4.392],[1546275781000,3.888],[1546276081000,4.824],[1546276381000,5.4],[1546276681000,4.032],[1546276981000,5.4],[1546277281000,4.32],[1546277581000,5.832],[1546277881000,4.608],[1546278181000,4.032],[1546278481000,2.448],[1546278781000,1.152],[1546279081000,3.816],[1546279381000,3.528],[1546279681000,3.456],[1546279981000,3.456],[1546280281000,4.68],[1546280581000,3.96],[1546280881000,5.616],[1546281181000,9.216],[1546281481000,10.152],[1546281781000,10.368],[1546282081000,13.608],[1546282381000,11.304],[1546282681000,6.84],[1546282981000,4.608],[1546283281000,10.296],[1546283581000,13.608],[1546283881000,16.272],[1546284181000,13.536],[1546284482000,10.728],[1546284781000,4.824],[1546285081000,1.296],[1546285381000,5.4],[1546285681000,5.184],[1546285981000,9.576],[1546286281000,4.176],[1546286581000,5.904],[1546286881000,6.696],[1546287181000,5.976],[1546287481000,4.968],[1546287781000,5.4],[1546288081000,2.808],[1546288381000,3.96],[1546288681000,1.584],[1546288981000,2.664],[1546289281000,3.096],[1546289581000,4.968],[1546289881000,1.584],[1546290181000,5.904],[1546290481000,7.632],[1546290781000,6.48],[1546291081000,6.336],[1546291381000,4.752],[1546291681000,6.12],[1546291981000,12.6],[1546292281000,9.288],[1546292581000,5.904],[1546292881000,4.392],[1546293181000,4.176],[1546293481000,4.464],[1546293781000,4.032],[1546294081000,7.92],[1546294381000,8.28],[1546294681000,8.208],[1546294981000,4.968],[1546295281000,5.328],[1546295581000,7.488],[1546295881000,1.296],[1546296181000,0.792],[1546296481000,0.072],[1546296781000,0],[1546297081000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1546210801000,54.598799988],[1546210982000,50.21208],[1546211281000,52.10496],[1546211581000,50.44608],[1546211881000,39.92112],[1546212181000,45.8712],[1546212481000,42.26184],[1546212781000,44.77752],[1546213081000,46.30392],[1546213441000,43.3917],[1546213681000,48.6432],[1546213981000,51.68232],[1546214281000,44.5536],[1546214581000,51.4404],[1546214881000,45.77904],[1546215181000,48.61584],[1546215481000,41.29344],[1546215781000,44.75952],[1546216081000,46.72368],[1546216381000,45.45648],[1546216681000,47.0196],[1546216981000,45.10008],[1546217281000,43.56],[1546217581000,52.596],[1546217881000,49.30776],[1546218181000,44.55936],[1546218481000,39.53304],[1546218781000,39.19248],[1546219081000,43.20504],[1546219381000,37.46592],[1546219681000,40.41864],[1546219981000,28.09368],[1546220281000,27.738],[1546220581000,28.746],[1546220881000,38.72304],[1546221181000,32.06232],[1546221481000,28.25208],[1546221781000,33.5016],[1546222081000,28.99944],[1546222381000,23.4036],[1546222682000,26.4636],[1546222981000,27.14904],[1546223281000,37.37448],[1546223581000,25.57656],[1546223881000,39.37032],[1546224181000,42.00696],[1546224481000,40.17168],[1546224781000,32.94216],[1546225081000,29.79864],[1546225381000,36.76608],[1546225681000,35.18064],[1546225981000,31.94712],[1546226281000,32.55912],[1546226581000,37.77264],[1546226882000,36.97848],[1546227181000,34.90056],[1546227481000,40.02192],[1546227781000,39.33936],[1546228081000,51.54696],[1546228381000,40.40568],[1546228681000,45.9144],[1546228981000,39.37464],[1546229281000,41.0832],[1546229581000,35.2044],[1546229881000,40.24656],[1546230181000,42.89544],[1546230481000,20.89296],[1546230781000,30.40056],[1546231082000,26.60616],[1546231381000,24.41736],[1546231681000,32.18184],[1546231981000,30.10968],[1546232281000,30.8052],[1546232581000,22.86216],[1546232881000,23.70888],[1546233181000,20.65464],[1546233481000,31.71024],[1546233781000,33.89544],[1546234081000,26.5932],[1546234381000,27.3744],[1546234681000,38.11824],[1546234981000,35.568],[1546235281000,31.73976],[1546235581000,22.90752],[1546235881000,27.0648],[1546236181000,28.12176],[1546236481000,37.4724],[1546236781000,34.91928],[1546237081000,39.04416],[1546237381000,42.42024],[1546237681000,46.35504],[1546237981000,44.5608],[1546238281000,42.10848],[1546238581000,41.70312],[1546238881000,41.5044],[1546239181000,37.82376],[1546239481000,41.87952],[1546239782000,33.98472],[1546240081000,35.1072],[1546240381000,36.15336],[1546240681000,37.64952],[1546240981000,38.73528],[1546241281000,39.28392],[1546241581000,38.09016],[1546241881000,42.09264],[1546242181000,35.59824],[1546242481000,32.7996],[1546242781000,33.28992],[1546243081000,29.5164],[1546243381000,26.33976],[1546243681000,28.1592],[1546243981000,21.3876],[1546244281000,15.76944],[1546244581000,15.24888],[1546244881000,28.88784],[1546245181000,26.8956],[1546245481000,25.40232],[1546245781000,30.59208],[1546246081000,24.14592],[1546246381000,32.72184],[1546246681000,23.06592],[1546246981000,19.22472],[1546247281000,28.57608],[1546247581000,27.27072],[1546247881000,30.28104],[1546248181000,33.25392],[1546248481000,33.94152],[1546248781000,29.11104],[1546249081000,34.41744],[1546249381000,36.32544],[1546249681000,35.50176],[1546249981000,39.34584],[1546250281000,34.74],[1546250582000,24.68808],[1546250881000,28.2312],[1546251181000,40.51368],[1546251481000,33.22296],[1546251781000,43.19784],[1546252081000,41.81472],[1546252381000,27.62064],[1546252681000,38.754],[1546252981000,42.50664],[1546253281000,48.00024],[1546253581000,33.91488],[1546253881000,30.33792],[1546254181000,38.05344],[1546254481000,47.96352],[1546254781000,40.03704],[1546255081000,48.22992],[1546255381000,43.50744],[1546255681000,41.24016],[1546255981000,34.19064],[1546256281000,33.2172],[1546256581000,49.94928],[1546256881000,39.2508],[1546257181000,38.98512],[1546257481000,31.84416],[1546257781000,31.49352],[1546258081000,34.00488],[1546258381000,30.52152],[1546258681000,33.4188],[1546258981000,29.27304],[1546259281000,34.66152],[1546259581000,36.06336],[1546259881000,36.58464],[1546260181000,42.7572],[1546260481000,31.67856],[1546260781000,33.3792],[1546261081000,50.44104],[1546261381000,37.30248],[1546261681000,49.19688],[1546261981000,46.27224],[1546262281000,49.32144],[1546262581000,51.49944],[1546262882000,36.98136],[1546263181000,33.83136],[1546263481000,32.54616],[1546263781000,28.36656],[1546264081000,36.53208],[1546264381000,44.77608],[1546264681000,34.95528],[1546264981000,41.85504],[1546265281000,34.98192],[1546265581000,27.32472],[1546265881000,26.9028],[1546266181000,26.01792],[1546266481000,21.312],[1546266781000,25.90056],[1546267081000,27.12168],[1546267381000,25.668],[1546267681000,21.09456],[1546267981000,25.34904],[1546268281000,23.29704],[1546268581000,18.53352],[1546268881000,19.99656],[1546269181000,14.93496],[1546269481000,13.92192],[1546269781000,15.93432],[1546270081000,9.72144],[1546270381000,5.25456],[1546270681000,0.88344],[1546270981000,0],[1546271281000,0.55728],[1546271581000,2.6388],[1546271881000,0],[1546272181000,0],[1546272481000,0.04896],[1546272781000,4.59648],[1546273081000,7.98408],[1546273381000,11.73384],[1546273681000,9.09072],[1546273981000,12.64824],[1546274281000,12.27096],[1546274581000,12.924],[1546274881000,8.68536],[1546275181000,2.50992],[1546275481000,6.86376],[1546275781000,6.0156],[1546276081000,7.60536],[1546276381000,8.46648],[1546276681000,6.49296],[1546276981000,8.50248],[1546277281000,6.81408],[1546277581000,9.2376],[1546277881000,7.37712],[1546278181000,6.54552],[1546278481000,3.8412],[1546278781000,1.81872],[1546279081000,5.85576],[1546279381000,5.33808],[1546279681000,5.32872],[1546279981000,5.23368],[1546280281000,7.30872],[1546280581000,6.2784],[1546280881000,8.87904],[1546281181000,15.21504],[1546281481000,16.99344],[1546281781000,17.24688],[1546282081000,22.73184],[1546282381000,18.59544],[1546282681000,10.97496],[1546282981000,7.30224],[1546283281000,16.66656],[1546283581000,21.39336],[1546283881000,26.18136],[1546284181000,22.24512],[1546284482000,16.7832],[1546284781000,7.4592],[1546285081000,1.872],[1546285381000,8.4096],[1546285681000,8.12952],[1546285981000,14.71176],[1546286281000,6.52752],[1546286581000,9.14112],[1546286881000,9.99864],[1546287181000,9.39528],[1546287481000,7.57224],[1546287781000,8.43912],[1546288081000,4.4028],[1546288381000,6.12],[1546288681000,2.45664],[1546288981000,4.03776],[1546289281000,4.71096],[1546289581000,7.76376],[1546289881000,2.36304],[1546290181000,9.15624],[1546290481000,11.90088],[1546290781000,10.42632],[1546291081000,9.70776],[1546291381000,7.24104],[1546291681000,9.40536],[1546291981000,19.98504],[1546292281000,14.51952],[1546292581000,9.15192],[1546292881000,6.912],[1546293181000,6.49584],[1546293481000,6.81768],[1546293781000,6.44832],[1546294081000,12.85416],[1546294381000,13.66776],[1546294681000,13.43808],[1546294981000,7.72776],[1546295281000,8.44344],[1546295581000,12.03984],[1546295881000,2.0124],[1546296181000,1.21608],[1546296481000,0.09144],[1546296781000,0],[1546297081000,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: [[1546210801000,190.20000000],[1546210982000,201.28000000],[1546211281000,198.02000000],[1546211581000,214.78000000],[1546211881000,189.42000000],[1546212181000,198.82000000],[1546212481000,203.32000000],[1546212781000,201.28000000],[1546213081000,177.54000000],[1546213441000,231.15000000],[1546213681000,233.60000000],[1546213981000,189.82000000],[1546214281000,197.58000000],[1546214581000,230.74000000],[1546214881000,240.54000000],[1546215181000,191.44000000],[1546215481000,197.20000000],[1546215781000,223.36000000],[1546216081000,207.80000000],[1546216381000,198.02000000],[1546216681000,207.82000000],[1546216981000,223.36000000],[1546217281000,168.96000000],[1546217581000,189.82000000],[1546217881000,199.62000000],[1546218181000,135.42000000],[1546218481000,144.82000000],[1546218781000,175.50000000],[1546219081000,139.10000000],[1546219381000,145.64000000],[1546219681000,110.46000000],[1546219981000,114.96000000],[1546220281000,122.34000000],[1546220581000,105.96000000],[1546220881000,167.32000000],[1546221181000,149.72000000],[1546221481000,141.14000000],[1546221781000,145.62000000],[1546222081000,191.88000000],[1546222381000,99.40000000],[1546222682000,88.36000000],[1546222981000,73.22000000],[1546223281000,158.32000000],[1546223581000,144.80000000],[1546223881000,177.14000000],[1546224181000,159.56000000],[1546224481000,146.46000000],[1546224781000,175.92000000],[1546225081000,114.96000000],[1546225381000,168.98000000],[1546225681000,149.32000000],[1546225981000,144.84000000],[1546226281000,128.06000000],[1546226581000,188.20000000],[1546226882000,119.88000000],[1546227181000,96.54000000],[1546227481000,144.00000000],[1546227781000,87.14000000],[1546228081000,110.86000000],[1546228381000,88.76000000],[1546228681000,108.00000000],[1546228981000,89.20000000],[1546229281000,107.58000000],[1546229581000,119.86000000],[1546229881000,67.90000000],[1546230181000,70.36000000],[1546230481000,113.74000000],[1546230781000,121.10000000],[1546231082000,92.44000000],[1546231381000,93.68000000],[1546231681000,119.06000000],[1546231981000,85.50000000],[1546232281000,52.36000000],[1546232581000,59.34000000],[1546232881000,79.38000000],[1546233181000,44.60000000],[1546233481000,99.00000000],[1546233781000,143.20000000],[1546234081000,131.72000000],[1546234381000,145.22000000],[1546234681000,121.90000000],[1546234981000,145.62000000],[1546235281000,163.22000000],[1546235581000,110.04000000],[1546235881000,207.42000000],[1546236181000,211.50000000],[1546236481000,171.80000000],[1546236781000,120.26000000],[1546237081000,150.94000000],[1546237381000,211.50000000],[1546237681000,222.54000000],[1546237981000,167.74000000],[1546238281000,204.96000000],[1546238581000,207.00000000],[1546238881000,195.96000000],[1546239181000,223.78000000],[1546239481000,153.00000000],[1546239782000,194.32000000],[1546240081000,166.90000000],[1546240381000,130.88000000],[1546240681000,184.90000000],[1546240981000,176.32000000],[1546241281000,182.44000000],[1546241581000,198.80000000],[1546241881000,255.26000000],[1546242181000,210.28000000],[1546242481000,244.64000000],[1546242781000,217.64000000],[1546243081000,191.46000000],[1546243381000,170.16000000],[1546243681000,207.80000000],[1546243981000,103.50000000],[1546244281000,113.72000000],[1546244581000,37.22000000],[1546244881000,59.30000000],[1546245181000,48.66000000],[1546245481000,40.92000000],[1546245781000,104.74000000],[1546246081000,43.76000000],[1546246381000,33.14000000],[1546246681000,62.60000000],[1546246981000,56.06000000],[1546247281000,67.92000000],[1546247581000,72.02000000],[1546247881000,75.28000000],[1546248181000,72.82000000],[1546248481000,63.42000000],[1546248781000,61.34000000],[1546249081000,75.68000000],[1546249381000,81.80000000],[1546249681000,11.04000000],[1546249981000,17.58000000],[1546250281000,23.74000000],[1546250582000,15.96000000],[1546250881000,9.00000000],[1546251181000,38.88000000],[1546251481000,70.36000000],[1546251781000,42.54000000],[1546252081000,101.06000000],[1546252381000,60.54000000],[1546252681000,53.60000000],[1546252981000,40.50000000],[1546253281000,58.08000000],[1546253581000,44.60000000],[1546253881000,101.88000000],[1546254181000,49.10000000],[1546254481000,48.68000000],[1546254781000,62.60000000],[1546255081000,48.28000000],[1546255381000,44.18000000],[1546255681000,43.40000000],[1546255981000,36.80000000],[1546256281000,38.44000000],[1546256581000,29.46000000],[1546256881000,27.42000000],[1546257181000,87.54000000],[1546257481000,72.02000000],[1546257781000,48.70000000],[1546258081000,43.78000000],[1546258381000,41.34000000],[1546258681000,47.86000000],[1546258981000,82.22000000],[1546259281000,51.98000000],[1546259581000,129.70000000],[1546259881000,40.50000000],[1546260181000,69.98000000],[1546260481000,128.06000000],[1546260781000,45.80000000],[1546261081000,52.38000000],[1546261381000,87.14000000],[1546261681000,91.22000000],[1546261981000,115.34000000],[1546262281000,80.60000000],[1546262581000,85.08000000],[1546262882000,44.58000000],[1546263181000,45.82000000],[1546263481000,70.76000000],[1546263781000,46.64000000],[1546264081000,62.18000000],[1546264381000,68.32000000],[1546264681000,36.84000000],[1546264981000,78.96000000],[1546265281000,45.02000000],[1546265581000,52.76000000],[1546265881000,40.50000000],[1546266181000,49.48000000],[1546266481000,47.86000000],[1546266781000,40.52000000],[1546267081000,45.38000000],[1546267381000,56.48000000],[1546267681000,58.88000000],[1546267981000,95.32000000],[1546268281000,81.84000000],[1546268581000,83.06000000],[1546268881000,94.12000000],[1546269181000,136.20000000],[1546269481000,146.04000000],[1546269781000,49.90000000],[1546270081000,11.86000000],[1546270381000,12.28000000],[1546270681000,0.00000000],[1546270981000,0.00000000],[1546271281000,59.72000000],[1546271581000,270.00000000],[1546271881000,270.00000000],[1546272181000,270.00000000],[1546272481000,270.00000000],[1546272781000,270.00000000],[1546273081000,274.08000000],[1546273381000,273.26000000],[1546273681000,281.48000000],[1546273981000,214.76000000],[1546274281000,239.72000000],[1546274581000,259.80000000],[1546274881000,257.30000000],[1546275181000,260.20000000],[1546275481000,124.78000000],[1546275781000,105.12000000],[1546276081000,107.18000000],[1546276381000,83.88000000],[1546276681000,67.48000000],[1546276981000,75.68000000],[1546277281000,58.10000000],[1546277581000,32.32000000],[1546277881000,165.26000000],[1546278181000,254.04000000],[1546278481000,63.42000000],[1546278781000,113.72000000],[1546279081000,290.46000000],[1546279381000,270.00000000],[1546279681000,300.28000000],[1546279981000,277.78000000],[1546280281000,272.04000000],[1546280581000,273.28000000],[1546280881000,278.60000000],[1546281181000,276.56000000],[1546281481000,206.60000000],[1546281781000,127.22000000],[1546282081000,100.22000000],[1546282381000,42.94000000],[1546282681000,39.68000000],[1546282981000,103.08000000],[1546283281000,141.52000000],[1546283581000,142.36000000],[1546283881000,141.54000000],[1546284181000,132.52000000],[1546284482000,139.50000000],[1546284781000,231.54000000],[1546285081000,168.54000000],[1546285381000,168.94000000],[1546285681000,201.26000000],[1546285981000,183.28000000],[1546286281000,231.14000000],[1546286581000,245.88000000],[1546286881000,194.32000000],[1546287181000,224.18000000],[1546287481000,214.78000000],[1546287781000,266.32000000],[1546288081000,298.24000000],[1546288381000,284.34000000],[1546288681000,239.34000000],[1546288981000,255.26000000],[1546289281000,126.40000000],[1546289581000,148.50000000],[1546289881000,167.34000000],[1546290181000,216.82000000],[1546290481000,188.58000000],[1546290781000,202.90000000],[1546291081000,182.46000000],[1546291381000,159.96000000],[1546291681000,144.00000000],[1546291981000,165.28000000],[1546292281000,183.26000000],[1546292581000,175.90000000],[1546292881000,185.34000000],[1546293181000,183.68000000],[1546293481000,193.08000000],[1546293781000,292.92000000],[1546294081000,285.96000000],[1546294381000,252.42000000],[1546294681000,219.26000000],[1546294981000,28.62000000],[1546295281000,99.42000000],[1546295581000,141.96000000],[1546295881000,135.00000000],[1546296181000,135.00000000],[1546296481000,135.00000000],[1546296781000,135.00000000],[1546297081000,135.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: 'Zrážky', data: [[1546256221000,0.27940000],[1546276741000,0.83820000],], 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; }