var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1581980401000,7.20000000],[1581980581000,7.14000000],[1581980881000,7.14000000],[1581981181000,7.24000000],[1581981481000,7.38000000],[1581981781000,7.26000000],[1581982081000,7.18000000],[1581982381000,7.10000000],[1581982681000,7.12000000],[1581982981000,7.10000000],[1581983281000,7.10000000],[1581983581000,7.22000000],[1581983881000,7.56000000],[1581984181000,7.86000000],[1581984481000,8.08000000],[1581984781000,8.34000000],[1581985081000,8.42000000],[1581985381000,8.54000000],[1581985681000,8.62000000],[1581985981000,8.58000000],[1581986281000,8.58000000],[1581986581000,8.64000000],[1581986881000,8.74000000],[1581987181000,8.80000000],[1581987481000,8.68000000],[1581987781000,8.56000000],[1581988081000,8.32000000],[1581988381000,8.24000000],[1581988681000,8.20000000],[1581988981000,8.14000000],[1581989281000,8.28000000],[1581989581000,8.38000000],[1581989881000,8.28000000],[1581990181000,8.14000000],[1581990481000,8.08000000],[1581990781000,8.02000000],[1581991081000,8.24000000],[1581991381000,8.36000000],[1581991681000,8.68000000],[1581991981000,8.68000000],[1581992281000,8.54000000],[1581992581000,8.54000000],[1581992881000,8.58000000],[1581993181000,8.50000000],[1581993481000,8.40000000],[1581993781000,8.32000000],[1581994081000,8.30000000],[1581994381000,8.36000000],[1581994681000,8.60000000],[1581994981000,8.54000000],[1581995281000,8.40000000],[1581995581000,8.40000000],[1581995881000,8.50000000],[1581996181000,8.46000000],[1581996481000,8.38000000],[1581996781000,8.28000000],[1581997081000,8.24000000],[1581997381000,8.08000000],[1581997681000,8.00000000],[1581997981000,7.92000000],[1581998281000,7.90000000],[1581998581000,8.14000000],[1581998881000,8.48000000],[1581999181000,8.70000000],[1581999481000,8.52000000],[1581999781000,8.62000000],[1582000081000,8.60000000],[1582000381000,8.70000000],[1582000681000,8.54000000],[1582000981000,8.56000000],[1582001281000,8.70000000],[1582001581000,8.60000000],[1582001881000,8.60000000],[1582002181000,8.66000000],[1582002481000,8.44000000],[1582002781000,8.32000000],[1582003081000,8.24000000],[1582003381000,8.20000000],[1582003681000,8.04000000],[1582003981000,8.00000000],[1582004281000,8.00000000],[1582004581000,7.92000000],[1582004881000,7.86000000],[1582005181000,7.80000000],[1582005481000,7.74000000],[1582005781000,7.78000000],[1582006081000,7.70000000],[1582006381000,7.70000000],[1582006681000,7.78000000],[1582006981000,7.86000000],[1582007281000,7.90000000],[1582007581000,7.88000000],[1582007881000,7.86000000],[1582008181000,7.90000000],[1582008481000,8.00000000],[1582008781000,8.08000000],[1582009081000,8.10000000],[1582009381000,8.22000000],[1582009681000,8.32000000],[1582009981000,8.40000000],[1582010281000,8.56000000],[1582010581000,8.62000000],[1582010881000,8.70000000],[1582011181000,8.94000000],[1582011481000,9.00000000],[1582011781000,9.16000000],[1582012081000,9.22000000],[1582012381000,9.28000000],[1582012681000,9.20000000],[1582012981000,9.38000000],[1582013281000,9.70000000],[1582013581000,9.68000000],[1582013881000,9.72000000],[1582014181000,9.66000000],[1582014481000,9.54000000],[1582014781000,9.84000000],[1582015081000,9.86000000],[1582015381000,9.94000000],[1582015681000,10.10000000],[1582015981000,9.90000000],[1582016281000,9.64000000],[1582016581000,10.36000000],[1582016881000,10.20000000],[1582017181000,10.16000000],[1582017481000,10.08000000],[1582017781000,10.36000000],[1582018081000,10.66000000],[1582018381000,10.78000000],[1582018681000,10.60000000],[1582018981000,11.06000000],[1582019281000,11.30000000],[1582019581000,11.00000000],[1582019881000,10.98000000],[1582020181000,10.70000000],[1582020481000,10.58000000],[1582020781000,10.32000000],[1582021081000,10.54000000],[1582021381000,11.04000000],[1582021681000,11.06000000],[1582021981000,11.16000000],[1582022281000,11.80000000],[1582022581000,11.72000000],[1582022881000,11.50000000],[1582023181000,11.34000000],[1582023481000,11.32000000],[1582023781000,11.36000000],[1582024081000,10.98000000],[1582024381000,10.88000000],[1582024681000,10.78000000],[1582024981000,10.64000000],[1582025281000,11.84000000],[1582025581000,12.84000000],[1582025881000,12.84000000],[1582026181000,12.68000000],[1582026481000,12.90000000],[1582026781000,13.00000000],[1582027081000,13.04000000],[1582027381000,12.94000000],[1582027681000,12.92000000],[1582027981000,12.36000000],[1582028281000,12.20000000],[1582028581000,12.76000000],[1582028881000,12.52000000],[1582029181000,12.20000000],[1582029481000,12.02000000],[1582029781000,11.64000000],[1582030081000,12.46000000],[1582030381000,12.66000000],[1582030681000,12.38000000],[1582030981000,12.44000000],[1582031281000,12.60000000],[1582031581000,12.82000000],[1582031881000,12.96000000],[1582032181000,13.30000000],[1582032481000,13.62000000],[1582032781000,13.34000000],[1582033081000,13.52000000],[1582033393000,13.30000000],[1582033681000,12.92000000],[1582033981000,11.88000000],[1582034281000,11.88000000],[1582034590000,11.26000000],[1582034881000,10.98000000],[1582035181000,10.78000000],[1582035481000,11.06000000],[1582035781000,12.06000000],[1582036081000,12.28000000],[1582036381000,12.36000000],[1582036681000,12.58000000],[1582036981000,12.54000000],[1582037281000,12.28000000],[1582037581000,11.96000000],[1582037881000,11.86000000],[1582038181000,11.66000000],[1582038481000,11.30000000],[1582038781000,11.04000000],[1582039091000,10.84000000],[1582039393000,10.40000000],[1582039681000,10.22000000],[1582039981000,10.02000000],[1582040281000,9.72000000],[1582040581000,9.62000000],[1582040882000,9.50000000],[1582041181000,9.46000000],[1582041481000,9.38000000],[1582041781000,9.26000000],[1582042081000,9.04000000],[1582042381000,8.92000000],[1582042693000,8.76000000],[1582042981000,9.02000000],[1582043281000,8.94000000],[1582043581000,8.86000000],[1582043881000,8.64000000],[1582044181000,8.72000000],[1582044481000,8.54000000],[1582044802000,8.74000000],[1582045090000,8.74000000],[1582045381000,8.56000000],[1582045681000,8.48000000],[1582045990000,8.30000000],[1582046281000,8.44000000],[1582046581000,8.44000000],[1582046890000,8.30000000],[1582047181000,8.16000000],[1582047502000,8.04000000],[1582047781000,7.84000000],[1582048081000,7.70000000],[1582048381000,7.68000000],[1582048681000,7.88000000],[1582048981000,7.66000000],[1582049281000,7.36000000],[1582049581000,7.22000000],[1582049881000,7.08000000],[1582050181000,6.94000000],[1582050481000,6.70000000],[1582050781000,6.64000000],[1582051081000,6.96000000],[1582051381000,7.16000000],[1582051681000,7.22000000],[1582051981000,7.50000000],[1582052281000,7.36000000],[1582052581000,7.30000000],[1582052881000,7.52000000],[1582053181000,7.54000000],[1582053481000,7.30000000],[1582053781000,7.12000000],[1582054081000,6.94000000],[1582054381000,7.14000000],[1582054681000,7.16000000],[1582054981000,7.02000000],[1582055281000,7.06000000],[1582055581000,6.78000000],[1582055881000,6.42000000],[1582056181000,6.12000000],[1582056481000,5.66000000],[1582056781000,5.54000000],[1582057081000,5.50000000],[1582057381000,5.86000000],[1582057681000,5.98000000],[1582057981000,6.08000000],[1582058281000,6.32000000],[1582058581000,6.22000000],[1582058881000,5.74000000],[1582059181000,5.08000000],[1582059481000,5.30000000],[1582059781000,5.48000000],[1582060081000,5.08000000],[1582060381000,4.58000000],[1582060681000,4.36000000],[1582060981000,3.92000000],[1582061281000,3.62000000],[1582061581000,3.30000000],[1582061881000,3.02000000],[1582062181000,2.74000000],[1582062481000,2.52000000],[1582062781000,2.24000000],[1582063082000,1.92000000],[1582063381000,1.68000000],[1582063681000,1.62000000],[1582063981000,1.72000000],[1582064281000,1.76000000],[1582064581000,1.46000000],[1582064881000,1.36000000],[1582065181000,1.78000000],[1582065481000,2.06000000],[1582065781000,2.12000000],[1582066081000,2.10000000],[1582066381000,2.06000000],[1582066681000,1.90000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1581980401000,7.2],[1581980581000,7.1],[1581980881000,7.1],[1581981181000,7.2],[1581981481000,7.4],[1581981781000,7.3],[1581982081000,7.2],[1581982381000,7.1],[1581982681000,7.1],[1581982981000,7.1],[1581983281000,7.1],[1581983581000,7.2],[1581983881000,7.5],[1581984181000,7.5],[1581984481000,7.4],[1581984781000,7.4],[1581985381000,7.2],[1581985681000,7.3],[1581985981000,7.4],[1581986281000,7.5],[1581986581000,7.5],[1581986881000,7.7],[1581987181000,8.1],[1581987481000,8.6],[1581987781000,8.6],[1581988081000,8.3],[1581988381000,8.2],[1581988681000,8.2],[1581988981000,8.1],[1581989281000,8.3],[1581989581000,8.4],[1581989881000,8.3],[1581990181000,8.1],[1581990481000,8.1],[1581990781000,8],[1581991081000,8.2],[1581991381000,8.4],[1581991681000,8.7],[1581991981000,8.7],[1581992281000,8.5],[1581992581000,8.5],[1581992881000,8.6],[1581993181000,8.5],[1581993481000,8.4],[1581993781000,8.3],[1581994081000,8.3],[1581994381000,8.4],[1581994681000,8.6],[1581994981000,8.5],[1581995281000,8.4],[1581995581000,8.4],[1581995881000,8.5],[1581996181000,8.5],[1581996481000,8.4],[1581996781000,8.3],[1581997081000,8.2],[1581997381000,8.1],[1581997681000,8],[1581997981000,7.9],[1581998281000,7.9],[1581998581000,8.1],[1581998881000,8.5],[1581999181000,8.7],[1581999481000,8.5],[1581999781000,8.6],[1582000081000,8.6],[1582000381000,8.7],[1582000681000,8.5],[1582000981000,8.6],[1582001281000,8.7],[1582001581000,8.6],[1582001881000,8.6],[1582002181000,8.7],[1582002481000,8.4],[1582002781000,8.3],[1582003081000,8.2],[1582003381000,8.2],[1582003681000,8],[1582003981000,8],[1582004281000,8],[1582004581000,7.9],[1582004881000,7.9],[1582005181000,7.8],[1582005481000,7.7],[1582005781000,7.8],[1582006081000,7.7],[1582006381000,7.7],[1582006681000,7.8],[1582006981000,7.9],[1582007281000,7.9],[1582007581000,7.9],[1582007881000,7.9],[1582008181000,7.9],[1582008481000,8],[1582008781000,8.1],[1582009081000,8.1],[1582009381000,8.2],[1582009681000,8.3],[1582009981000,8.4],[1582010281000,8.6],[1582010581000,8.6],[1582010881000,8.6],[1582011181000,8.6],[1582011481000,8.4],[1582011781000,8.4],[1582012081000,8.2],[1582012381000,8.3],[1582012681000,7.9],[1582012981000,7.8],[1582013281000,7.5],[1582013581000,7.4],[1582013881000,7.2],[1582014181000,7],[1582014481000,6.4],[1582014781000,6.2],[1582015081000,6.4],[1582015381000,6.4],[1582015681000,6.7],[1582015981000,6.8],[1582016281000,6.5],[1582016581000,6.6],[1582016881000,6.4],[1582017181000,6.4],[1582017481000,6.5],[1582017781000,6.2],[1582018081000,6.5],[1582018381000,6.4],[1582018681000,6],[1582018981000,6],[1582019281000,6],[1582019581000,5.5],[1582019881000,5.5],[1582020181000,5.4],[1582020481000,5.6],[1582020781000,5.5],[1582021081000,5.3],[1582021381000,5.2],[1582021681000,4.4],[1582021981000,3.5],[1582022281000,2.9],[1582022581000,3.2],[1582022881000,3.1],[1582023181000,2.4],[1582023481000,2.2],[1582023781000,2],[1582024081000,1.8],[1582024381000,1.7],[1582024681000,1.4],[1582024981000,1.4],[1582025281000,1.5],[1582025581000,1.7],[1582025881000,1.6],[1582026181000,1.4],[1582026481000,1.4],[1582026781000,1.4],[1582027081000,1.5],[1582027381000,1.7],[1582027681000,1.6],[1582027981000,1.1],[1582028281000,1],[1582028581000,1.5],[1582028881000,1.3],[1582029181000,1.1],[1582029481000,1.1],[1582029781000,0.7],[1582030081000,0.5],[1582030381000,1.1],[1582030681000,1.3],[1582030981000,0.9],[1582031281000,1.1],[1582031581000,1.3],[1582031881000,1.5],[1582032181000,1.1],[1582032481000,1.3],[1582032781000,0.8],[1582033081000,1],[1582033681000,0.7],[1582033981000,0.1],[1582034281000,0.1],[1582034881000,0.1],[1582035181000,0.1],[1582035481000,0.1],[1582035781000,0.2],[1582036081000,0.3],[1582036381000,0.4],[1582036681000,0.2],[1582036981000,0.3],[1582037281000,0.3],[1582037581000,0.5],[1582037881000,0.6],[1582038181000,0.7],[1582038481000,-0.3],[1582038781000,-0.7],[1582039681000,-0.7],[1582039981000,-0.5],[1582040581000,-0.6],[1582041181000,-1],[1582041481000,-1],[1582041781000,-1],[1582042081000,-1],[1582042381000,-1.2],[1582042981000,-1.2],[1582043281000,-1.1],[1582043881000,-1],[1582044181000,-1],[1582044481000,-0.9],[1582045381000,-1],[1582045681000,-1.2],[1582046281000,-1],[1582046581000,-1.3],[1582047181000,-1.1],[1582047781000,-1.3],[1582048081000,-1.1],[1582048381000,-1.3],[1582048681000,-1.2],[1582048981000,-1.2],[1582049281000,-1.1],[1582049581000,-1.2],[1582049881000,-1.3],[1582050181000,-1.1],[1582050481000,-1.2],[1582050781000,-1.4],[1582051081000,-1.4],[1582051381000,-1.2],[1582051681000,-1.3],[1582051981000,-1.2],[1582052281000,-1],[1582052581000,-1.3],[1582052881000,-1.2],[1582053181000,-1],[1582053481000,-0.9],[1582053781000,-0.9],[1582054081000,-1],[1582054381000,-1.1],[1582054681000,-0.8],[1582054981000,-0.7],[1582055281000,-0.8],[1582055581000,-0.7],[1582055881000,-0.5],[1582056181000,-0.5],[1582056481000,-0.3],[1582056781000,-0.5],[1582057081000,-0.4],[1582057381000,-0.7],[1582057681000,-0.6],[1582057981000,-0.7],[1582058281000,-0.7],[1582058581000,-0.5],[1582058881000,-0.4],[1582059181000,-0.2],[1582059481000,-0.5],[1582059781000,-0.4],[1582060081000,0.2],[1582060381000,0.1],[1582060681000,0.7],[1582060981000,1],[1582061281000,0.7],[1582061581000,0.8],[1582061881000,1],[1582062181000,1.1],[1582062481000,1.2],[1582062781000,0.9],[1582063381000,1.1],[1582063681000,1.2],[1582063981000,1.2],[1582064281000,1.4],[1582064581000,1.3],[1582064881000,1.4],[1582065181000,1.5],[1582065481000,1.5],[1582065781000,1.6],[1582066081000,1.6],[1582066381000,1.5],[1582066681000,1.4],], 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: [[1581980401000,100.00000000],[1581980581000,100.00000000],[1581980881000,100.00000000],[1581981181000,100.00000000],[1581981481000,100.00000000],[1581981781000,100.00000000],[1581982081000,100.00000000],[1581982381000,100.00000000],[1581982681000,100.00000000],[1581982981000,100.00000000],[1581983281000,100.00000000],[1581983581000,100.00000000],[1581983881000,99.64000000],[1581984181000,97.42000000],[1581984481000,95.52000000],[1581984781000,93.60000000],[1581985082000,92.10000000],[1581985381000,91.30000000],[1581985681000,91.68000000],[1581985981000,92.60000000],[1581986281000,92.94000000],[1581986581000,92.52000000],[1581986881000,93.00000000],[1581987181000,95.42000000],[1581987481000,99.74000000],[1581987781000,100.00000000],[1581988081000,100.00000000],[1581988381000,100.00000000],[1581988681000,100.00000000],[1581988981000,100.00000000],[1581989281000,100.00000000],[1581989581000,100.00000000],[1581989881000,100.00000000],[1581990181000,100.00000000],[1581990481000,100.00000000],[1581990781000,100.00000000],[1581991081000,100.00000000],[1581991381000,100.00000000],[1581991681000,100.00000000],[1581991981000,100.00000000],[1581992281000,100.00000000],[1581992581000,100.00000000],[1581992881000,100.00000000],[1581993181000,100.00000000],[1581993481000,100.00000000],[1581993781000,100.00000000],[1581994081000,100.00000000],[1581994381000,100.00000000],[1581994681000,100.00000000],[1581994981000,100.00000000],[1581995281000,100.00000000],[1581995581000,100.00000000],[1581995881000,100.00000000],[1581996181000,100.00000000],[1581996481000,100.00000000],[1581996781000,100.00000000],[1581997081000,100.00000000],[1581997381000,100.00000000],[1581997681000,100.00000000],[1581997981000,100.00000000],[1581998281000,100.00000000],[1581998581000,100.00000000],[1581998881000,100.00000000],[1581999181000,100.00000000],[1581999481000,100.00000000],[1581999781000,100.00000000],[1582000081000,100.00000000],[1582000381000,100.00000000],[1582000681000,100.00000000],[1582000981000,100.00000000],[1582001281000,100.00000000],[1582001581000,100.00000000],[1582001881000,100.00000000],[1582002181000,99.94000000],[1582002481000,100.00000000],[1582002781000,100.00000000],[1582003081000,100.00000000],[1582003381000,100.00000000],[1582003681000,100.00000000],[1582003981000,100.00000000],[1582004281000,100.00000000],[1582004581000,100.00000000],[1582004881000,100.00000000],[1582005181000,100.00000000],[1582005481000,100.00000000],[1582005781000,100.00000000],[1582006081000,100.00000000],[1582006381000,100.00000000],[1582006681000,100.00000000],[1582006981000,100.00000000],[1582007281000,100.00000000],[1582007581000,100.00000000],[1582007881000,100.00000000],[1582008181000,100.00000000],[1582008481000,100.00000000],[1582008781000,100.00000000],[1582009081000,100.00000000],[1582009381000,100.00000000],[1582009681000,100.00000000],[1582009981000,100.00000000],[1582010281000,100.00000000],[1582010581000,100.00000000],[1582010881000,99.66000000],[1582011181000,97.52000000],[1582011481000,96.36000000],[1582011781000,95.18000000],[1582012081000,93.72000000],[1582012381000,93.40000000],[1582012681000,91.62000000],[1582012981000,89.72000000],[1582013281000,86.40000000],[1582013581000,85.68000000],[1582013881000,84.46000000],[1582014181000,83.88000000],[1582014481000,81.18000000],[1582014781000,78.46000000],[1582015081000,79.00000000],[1582015381000,78.68000000],[1582015681000,79.76000000],[1582015981000,81.38000000],[1582016281000,80.92000000],[1582016581000,77.76000000],[1582016881000,77.76000000],[1582017181000,77.86000000],[1582017481000,78.84000000],[1582017781000,75.54000000],[1582018081000,75.50000000],[1582018381000,74.42000000],[1582018681000,73.52000000],[1582018981000,71.06000000],[1582019281000,69.92000000],[1582019581000,68.98000000],[1582019881000,69.08000000],[1582020181000,69.80000000],[1582020481000,71.72000000],[1582020781000,72.22000000],[1582021081000,70.08000000],[1582021381000,67.70000000],[1582021681000,63.88000000],[1582021981000,59.66000000],[1582022281000,54.80000000],[1582022581000,56.06000000],[1582022881000,56.56000000],[1582023181000,54.62000000],[1582023481000,53.72000000],[1582023781000,52.74000000],[1582024081000,53.34000000],[1582024381000,53.32000000],[1582024681000,52.70000000],[1582024981000,53.26000000],[1582025281000,49.48000000],[1582025581000,46.84000000],[1582025881000,46.54000000],[1582026181000,46.50000000],[1582026481000,45.88000000],[1582026781000,45.60000000],[1582027081000,45.66000000],[1582027381000,46.72000000],[1582027681000,46.22000000],[1582027981000,46.42000000],[1582028281000,46.58000000],[1582028581000,46.64000000],[1582028881000,46.50000000],[1582029181000,46.96000000],[1582029481000,47.32000000],[1582029781000,47.14000000],[1582030081000,44.32000000],[1582030381000,45.60000000],[1582030681000,47.08000000],[1582030981000,45.66000000],[1582031281000,45.78000000],[1582031581000,45.82000000],[1582031881000,45.84000000],[1582032181000,43.66000000],[1582032481000,43.46000000],[1582032781000,42.48000000],[1582033081000,42.76000000],[1582033381000,43.08000000],[1582033681000,43.36000000],[1582033981000,44.56000000],[1582034281000,44.56000000],[1582034581000,46.18000000],[1582034881000,47.46000000],[1582035181000,47.86000000],[1582035481000,47.10000000],[1582035781000,44.28000000],[1582036081000,44.08000000],[1582036381000,44.10000000],[1582036681000,42.84000000],[1582036981000,43.18000000],[1582037281000,44.12000000],[1582037581000,45.74000000],[1582037881000,46.36000000],[1582038181000,47.20000000],[1582038481000,45.02000000],[1582038781000,44.44000000],[1582039081000,44.54000000],[1582039381000,46.14000000],[1582039681000,46.88000000],[1582039981000,48.42000000],[1582040282000,49.58000000],[1582040581000,49.36000000],[1582040881000,49.36000000],[1582041181000,48.48000000],[1582041481000,48.64000000],[1582041781000,49.06000000],[1582042081000,49.90000000],[1582042381000,49.58000000],[1582042681000,50.08000000],[1582042981000,49.18000000],[1582043281000,49.66000000],[1582043582000,51.68000000],[1582043881000,51.04000000],[1582044181000,50.68000000],[1582044481000,51.84000000],[1582044781000,49.96000000],[1582045081000,50.28000000],[1582045381000,51.32000000],[1582045681000,50.98000000],[1582045981000,51.72000000],[1582046281000,51.68000000],[1582046581000,50.82000000],[1582046881000,51.86000000],[1582047181000,52.54000000],[1582047481000,52.46000000],[1582047781000,52.70000000],[1582048081000,53.94000000],[1582048381000,53.42000000],[1582048681000,53.04000000],[1582048981000,53.84000000],[1582049281000,55.30000000],[1582049581000,55.56000000],[1582049881000,55.74000000],[1582050181000,56.92000000],[1582050481000,57.32000000],[1582050781000,57.00000000],[1582051081000,55.66000000],[1582051381000,55.74000000],[1582051681000,55.18000000],[1582051981000,54.42000000],[1582052281000,55.84000000],[1582052581000,54.74000000],[1582052881000,54.42000000],[1582053181000,55.14000000],[1582053481000,56.34000000],[1582053781000,56.96000000],[1582054081000,57.54000000],[1582054381000,56.20000000],[1582054681000,57.26000000],[1582054981000,58.32000000],[1582055281000,57.76000000],[1582055581000,59.36000000],[1582055881000,61.40000000],[1582056181000,63.02000000],[1582056481000,65.96000000],[1582056781000,65.42000000],[1582057081000,66.24000000],[1582057381000,62.92000000],[1582057681000,63.16000000],[1582057981000,62.04000000],[1582058281000,60.94000000],[1582058581000,62.68000000],[1582058881000,64.96000000],[1582059181000,68.82000000],[1582059481000,66.44000000],[1582059781000,66.30000000],[1582060081000,71.26000000],[1582060381000,73.12000000],[1582060681000,77.16000000],[1582060981000,81.28000000],[1582061281000,81.20000000],[1582061581000,83.78000000],[1582061881000,86.88000000],[1582062181000,89.30000000],[1582062481000,91.18000000],[1582062781000,90.88000000],[1582063081000,92.40000000],[1582063381000,95.76000000],[1582063681000,96.80000000],[1582063981000,96.64000000],[1582064281000,97.42000000],[1582064581000,99.00000000],[1582064881000,100.00000000],[1582065181000,97.94000000],[1582065481000,95.90000000],[1582065781000,96.46000000],[1582066081000,96.58000000],[1582066381000,95.94000000],[1582066681000,96.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: [[1581980401000,1020.2],[1581980581000,1020.2],[1581980881000,1020.2],[1581981181000,1020.3],[1581981481000,1020.4],[1581981781000,1020.4],[1581982081000,1020.5],[1581982381000,1020.5],[1581982681000,1020.6],[1581982981000,1020.6],[1581983281000,1020.6],[1581983581000,1020.7],[1581983881000,1020.7],[1581984181000,1020.7],[1581984481000,1020.7],[1581984781000,1020.9],[1581985381000,1021],[1581985681000,1021.1],[1581985981000,1021],[1581986281000,1021.1],[1581986581000,1021.2],[1581986881000,1021.2],[1581987181000,1021.3],[1581987481000,1021.3],[1581987781000,1021.2],[1581988081000,1021.2],[1581988381000,1021.1],[1581988681000,1021.1],[1581988981000,1021.2],[1581989281000,1021.3],[1581989581000,1021.3],[1581989881000,1021.4],[1581990181000,1021.4],[1581990481000,1021.4],[1581990781000,1021.4],[1581991081000,1021.6],[1581991381000,1021.7],[1581991681000,1021.7],[1581991981000,1021.6],[1581992281000,1021.7],[1581992581000,1021.7],[1581992881000,1021.7],[1581993181000,1021.7],[1581993481000,1021.8],[1581993781000,1021.8],[1581994081000,1021.8],[1581994381000,1021.9],[1581994681000,1021.9],[1581994981000,1021.9],[1581995281000,1021.9],[1581995581000,1021.7],[1581995881000,1021.6],[1581996181000,1021.8],[1581996481000,1021.9],[1581996781000,1022],[1581997081000,1022.2],[1581997381000,1022.2],[1581997681000,1022.2],[1581997981000,1022.2],[1581998281000,1022.3],[1581998581000,1022.3],[1581998881000,1022.3],[1581999181000,1022.3],[1581999481000,1022.4],[1581999781000,1022.3],[1582000081000,1022.4],[1582000381000,1022.5],[1582000681000,1022.5],[1582000981000,1022.5],[1582001281000,1022.6],[1582001581000,1022.7],[1582001881000,1022.7],[1582002181000,1022.8],[1582002481000,1022.8],[1582002781000,1023],[1582003081000,1023.1],[1582003381000,1023.1],[1582003681000,1023.1],[1582003981000,1023.1],[1582004281000,1023.2],[1582004581000,1023.3],[1582004881000,1023.4],[1582005181000,1023.5],[1582005481000,1023.5],[1582005781000,1023.7],[1582006081000,1023.8],[1582006381000,1023.8],[1582006681000,1023.9],[1582006981000,1023.8],[1582007281000,1024],[1582007581000,1024.2],[1582007881000,1024.2],[1582008181000,1024.3],[1582008481000,1024.4],[1582008781000,1024.4],[1582009081000,1024.4],[1582009381000,1024.4],[1582009681000,1024.5],[1582009981000,1024.6],[1582010281000,1024.6],[1582010581000,1024.6],[1582010881000,1024.6],[1582011181000,1024.6],[1582011481000,1024.6],[1582011781000,1024.6],[1582012081000,1024.7],[1582012381000,1024.8],[1582012681000,1024.8],[1582012981000,1025],[1582013281000,1025],[1582013581000,1025.1],[1582013881000,1025.1],[1582014181000,1025.1],[1582014481000,1025.1],[1582014781000,1025],[1582015081000,1025.1],[1582015381000,1025.1],[1582015681000,1025.1],[1582015981000,1025.1],[1582016281000,1025.2],[1582016581000,1025.2],[1582016881000,1025.1],[1582017181000,1025.1],[1582017481000,1025.2],[1582017781000,1025.3],[1582018081000,1025.3],[1582018381000,1025.2],[1582018681000,1025.2],[1582018981000,1025.2],[1582019281000,1025.1],[1582019581000,1025.2],[1582019881000,1025.2],[1582020181000,1025.3],[1582020481000,1025.3],[1582020781000,1025.2],[1582021081000,1025.1],[1582021381000,1024.9],[1582021681000,1024.9],[1582021981000,1024.9],[1582022281000,1024.9],[1582022581000,1024.9],[1582022881000,1024.9],[1582023181000,1024.9],[1582023481000,1024.9],[1582023781000,1024.9],[1582024081000,1024.8],[1582024381000,1024.8],[1582024681000,1024.8],[1582024981000,1024.7],[1582025281000,1024.6],[1582025581000,1024.5],[1582025881000,1024.4],[1582026181000,1024.3],[1582026481000,1024.4],[1582026781000,1024.5],[1582027081000,1024.6],[1582027381000,1024.7],[1582027681000,1024.8],[1582027981000,1024.8],[1582028281000,1024.8],[1582028581000,1024.8],[1582028881000,1024.8],[1582029181000,1024.7],[1582029481000,1024.8],[1582029781000,1024.8],[1582030081000,1024.8],[1582030381000,1024.9],[1582030681000,1024.8],[1582030981000,1024.9],[1582031281000,1024.8],[1582031581000,1024.8],[1582031881000,1024.7],[1582032181000,1024.6],[1582032481000,1024.6],[1582032781000,1024.5],[1582033081000,1024.5],[1582033681000,1024.5],[1582033981000,1024.6],[1582034281000,1024.7],[1582034881000,1024.8],[1582035181000,1024.8],[1582035481000,1024.8],[1582035781000,1024.7],[1582036081000,1024.7],[1582036381000,1024.7],[1582036681000,1024.7],[1582036981000,1024.7],[1582037281000,1024.7],[1582037581000,1024.7],[1582037881000,1024.7],[1582038181000,1024.7],[1582038481000,1024.8],[1582038781000,1024.7],[1582039681000,1024.9],[1582039981000,1025],[1582040581000,1025.1],[1582041181000,1025.1],[1582041481000,1025.1],[1582041781000,1025],[1582042081000,1025.1],[1582042381000,1025.1],[1582042981000,1025.2],[1582043281000,1025.2],[1582043881000,1025.3],[1582044181000,1025.3],[1582044481000,1025.4],[1582045381000,1025.6],[1582045681000,1025.6],[1582046281000,1025.7],[1582046581000,1025.8],[1582047181000,1025.8],[1582047781000,1025.8],[1582048081000,1025.7],[1582048381000,1025.8],[1582048681000,1025.9],[1582048981000,1025.9],[1582049281000,1025.9],[1582049581000,1026],[1582049881000,1026],[1582050181000,1026],[1582050481000,1026],[1582050781000,1026.1],[1582051081000,1026.1],[1582051381000,1026],[1582051681000,1026],[1582051981000,1026],[1582052281000,1026],[1582052581000,1026],[1582052881000,1026],[1582053181000,1026],[1582053481000,1026],[1582053781000,1026],[1582054081000,1026],[1582054381000,1026.1],[1582054681000,1026],[1582054981000,1026],[1582055281000,1026],[1582055581000,1026.1],[1582055881000,1026.1],[1582056181000,1026.2],[1582056481000,1026.3],[1582056781000,1026.3],[1582057081000,1026.4],[1582057381000,1026.4],[1582057681000,1026.4],[1582057981000,1026.4],[1582058281000,1026.5],[1582058581000,1026.5],[1582058881000,1026.5],[1582059181000,1026.6],[1582059481000,1026.6],[1582059781000,1026.6],[1582060081000,1026.7],[1582060381000,1026.7],[1582060681000,1026.7],[1582060981000,1026.7],[1582061281000,1026.7],[1582061581000,1026.7],[1582061881000,1026.7],[1582062181000,1026.7],[1582062481000,1026.7],[1582062781000,1026.6],[1582063381000,1026.7],[1582063681000,1026.6],[1582063981000,1026.7],[1582064281000,1026.7],[1582064581000,1026.7],[1582064881000,1026.6],[1582065181000,1026.5],[1582065481000,1026.5],[1582065781000,1026.5],[1582066081000,1026.4],[1582066381000,1026.3],[1582066681000,1026.2],], 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: [[1581980401000,3.840000012],[1581980581000,3.384],[1581980881000,2.16],[1581981181000,2.808],[1581981481000,3.24],[1581981781000,4.176],[1581982081000,4.248],[1581982381000,2.304],[1581982681000,1.224],[1581982981000,2.088],[1581983281000,7.704],[1581983581000,8.712],[1581983881000,9.36],[1581984181000,7.488],[1581984481000,8.856],[1581984781000,7.056],[1581985081000,6.048],[1581985381000,5.472],[1581985681000,5.688],[1581985981000,6.408],[1581986281000,10.08],[1581986581000,14.616],[1581986881000,13.824],[1581987181000,11.52],[1581987481000,12.744],[1581987781000,11.52],[1581988081000,11.52],[1581988381000,11.232],[1581988681000,10.944],[1581988981000,10.944],[1581989281000,16.272],[1581989581000,5.976],[1581989881000,4.968],[1581990181000,1.872],[1581990481000,0.864],[1581990781000,6.552],[1581991081000,5.4],[1581991381000,12.672],[1581991681000,15.264],[1581991981000,11.088],[1581992281000,15.624],[1581992581000,19.296],[1581992881000,18],[1581993181000,13.464],[1581993481000,13.392],[1581993781000,9.072],[1581994081000,2.952],[1581994381000,7.2],[1581994681000,7.56],[1581994981000,3.528],[1581995281000,6.624],[1581995581000,7.776],[1581995881000,6.12],[1581996181000,1.8],[1581996481000,3.96],[1581996781000,6.912],[1581997081000,5.976],[1581997381000,4.752],[1581997681000,3.888],[1581997981000,2.376],[1581998281000,2.448],[1581998581000,10.296],[1581998881000,6.264],[1581999181000,7.56],[1581999481000,4.536],[1581999781000,12.816],[1582000081000,7.992],[1582000381000,7.416],[1582000681000,7.488],[1582000981000,13.536],[1582001281000,11.88],[1582001581000,13.392],[1582001881000,12.744],[1582002181000,12.096],[1582002481000,11.232],[1582002781000,11.088],[1582003081000,15.264],[1582003381000,11.808],[1582003681000,12.312],[1582003981000,12.096],[1582004281000,12.672],[1582004581000,12.096],[1582004881000,10.944],[1582005181000,8.928],[1582005481000,10.872],[1582005781000,14.688],[1582006081000,12.312],[1582006381000,10.872],[1582006681000,9.864],[1582006981000,15.408],[1582007281000,12.744],[1582007581000,11.016],[1582007881000,12.024],[1582008181000,10.08],[1582008481000,13.752],[1582008781000,11.592],[1582009081000,13.032],[1582009381000,12.888],[1582009681000,15.336],[1582009981000,12.816],[1582010281000,8.712],[1582010581000,13.032],[1582010881000,13.824],[1582011181000,20.88],[1582011481000,17.784],[1582011781000,13.104],[1582012081000,19.368],[1582012381000,19.656],[1582012681000,18.504],[1582012981000,19.44],[1582013281000,21.456],[1582013581000,19.08],[1582013881000,20.088],[1582014181000,18.36],[1582014481000,20.52],[1582014781000,16.992],[1582015081000,11.808],[1582015381000,21.672],[1582015681000,13.608],[1582015981000,12.672],[1582016281000,18.864],[1582016581000,16.92],[1582016881000,18],[1582017181000,15.264],[1582017481000,15.552],[1582017781000,17.28],[1582018081000,13.68],[1582018381000,15.264],[1582018681000,21.096],[1582018981000,14.256],[1582019281000,11.952],[1582019581000,16.272],[1582019881000,19.8],[1582020181000,19.584],[1582020481000,14.76],[1582020781000,20.304],[1582021081000,18.504],[1582021381000,15.768],[1582021681000,22.392],[1582021981000,26.424],[1582022281000,25.56],[1582022581000,28.296],[1582022881000,20.448],[1582023181000,23.616],[1582023481000,25.416],[1582023781000,20.304],[1582024081000,26.568],[1582024381000,23.976],[1582024681000,26.568],[1582024981000,29.808],[1582025281000,25.632],[1582025581000,28.44],[1582025881000,28.008],[1582026181000,30.024],[1582026481000,31.104],[1582026781000,30.096],[1582027081000,30.384],[1582027381000,29.088],[1582027681000,30.888],[1582027981000,25.56],[1582028281000,24.912],[1582028581000,21.096],[1582028881000,23.4],[1582029181000,16.056],[1582029481000,28.224],[1582029781000,28.512],[1582030081000,26.568],[1582030381000,29.16],[1582030681000,27.36],[1582030981000,29.736],[1582031281000,30.096],[1582031581000,27.576],[1582031881000,29.304],[1582032181000,26.856],[1582032481000,19.944],[1582032781000,27.936],[1582033081000,22.032],[1582033381000,23.472],[1582033681000,28.584],[1582033981000,24.768],[1582034281000,28.8],[1582034581000,26.064],[1582034881000,21.168],[1582035181000,25.632],[1582035481000,24.192],[1582035781000,18.576],[1582036081000,26.712],[1582036381000,20.088],[1582036681000,22.464],[1582036981000,21.456],[1582037281000,27.864],[1582037581000,24.768],[1582037881000,26.136],[1582038181000,17.496],[1582038481000,28.44],[1582038781000,20.664],[1582039081000,22.248],[1582039381000,19.44],[1582039681000,18.432],[1582039981000,8.568],[1582040281000,13.32],[1582040581000,12.528],[1582040881000,14.256],[1582041181000,18.864],[1582041481000,18.864],[1582041781000,13.104],[1582042081000,10.08],[1582042381000,2.232],[1582042681000,10.224],[1582042981000,8.856],[1582043281000,17.856],[1582043581000,11.304],[1582043881000,16.056],[1582044181000,9.072],[1582044481000,15.12],[1582044781000,11.376],[1582045081000,9.072],[1582045381000,1.44],[1582045681000,4.464],[1582045981000,7.056],[1582046281000,8.208],[1582046581000,8.064],[1582046881000,12.456],[1582047181000,8.712],[1582047481000,8.208],[1582047781000,4.464],[1582048081000,4.968],[1582048381000,9.072],[1582048681000,6.408],[1582048981000,6.552],[1582049281000,9.936],[1582049581000,1.584],[1582049881000,6.624],[1582050181000,4.176],[1582050481000,3.816],[1582050781000,6.984],[1582051081000,8.712],[1582051381000,13.248],[1582051681000,5.04],[1582051981000,14.184],[1582052281000,8.064],[1582052581000,15.336],[1582052881000,17.424],[1582053181000,15.048],[1582053481000,9.072],[1582053781000,10.584],[1582054081000,7.776],[1582054381000,15.12],[1582054681000,12.672],[1582054981000,6.048],[1582055281000,3.888],[1582055581000,2.736],[1582055881000,4.248],[1582056181000,2.52],[1582056481000,4.104],[1582056781000,4.68],[1582057081000,5.616],[1582057381000,7.272],[1582057681000,9.504],[1582057981000,9.936],[1582058281000,7.128],[1582058581000,4.176],[1582058881000,2.016],[1582059181000,6.624],[1582059481000,6.408],[1582059781000,4.032],[1582060081000,4.32],[1582060381000,4.824],[1582060681000,2.808],[1582060981000,2.448],[1582061281000,3.96],[1582061581000,2.592],[1582061881000,1.944],[1582062181000,1.584],[1582062481000,1.656],[1582062781000,4.032],[1582063081000,5.04],[1582063381000,6.48],[1582063681000,7.56],[1582063981000,8.28],[1582064281000,5.832],[1582064581000,4.968],[1582064881000,6.984],[1582065181000,9],[1582065481000,9.432],[1582065781000,9],[1582066081000,7.56],[1582066381000,7.128],[1582066681000,7.2],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1581980401000,5.9688],[1581980581000,5.1948],[1581980881000,3.43512],[1581981181000,4.17456],[1581981481000,4.96872],[1581981781000,6.34824],[1581982081000,6.54336],[1581982381000,3.53016],[1581982681000,1.91376],[1581982981000,3.31992],[1581983281000,12.04056],[1581983581000,13.9284],[1581983881000,15.16752],[1581984181000,12.36456],[1581984481000,14.57352],[1581984781000,11.47752],[1581985081000,9.84096],[1581985381000,8.7804],[1581985681000,9.09576],[1581985981000,10.21104],[1581986281000,16.63056],[1581986581000,24.5196],[1581986881000,23.6304],[1581987181000,18.73224],[1581987481000,21.07944],[1581987781000,19.23624],[1581988081000,19.01592],[1581988381000,18.5364],[1581988681000,17.69616],[1581988981000,17.7768],[1581989281000,27.31608],[1581989581000,9.31896],[1581989881000,7.98192],[1581990181000,2.84976],[1581990481000,1.3068],[1581990781000,10.6488],[1581991081000,8.7372],[1581991381000,20.89872],[1581991681000,27.06912],[1581991981000,18.44928],[1581992281000,26.4348],[1581992581000,33.27264],[1581992881000,30.57408],[1581993181000,22.0536],[1581993481000,21.978],[1581993781000,14.79456],[1581994081000,4.58136],[1581994381000,11.58552],[1581994681000,12.006],[1581994981000,5.52528],[1581995281000,10.6848],[1581995581000,12.2148],[1581995881000,9.86688],[1581996181000,2.82312],[1581996481000,6.02496],[1581996781000,10.404],[1581997081000,9.00936],[1581997381000,7.26408],[1581997681000,6.01704],[1581997981000,3.7044],[1581998281000,3.77064],[1581998581000,16.51104],[1581998881000,10.14984],[1581999181000,12.07872],[1581999481000,7.03872],[1581999781000,22.10256],[1582000081000,12.95784],[1582000381000,11.80008],[1582000681000,11.94264],[1582000981000,22.54608],[1582001281000,19.75248],[1582001581000,22.28328],[1582001881000,21.61008],[1582002181000,20.1348],[1582002481000,18.7992],[1582002781000,18.0648],[1582003081000,27.70632],[1582003381000,20.07504],[1582003681000,20.89728],[1582003981000,20.45232],[1582004281000,22.0536],[1582004581000,20.8764],[1582004881000,18.65736],[1582005181000,15.02568],[1582005481000,18.42048],[1582005781000,24.43392],[1582006081000,20.37528],[1582006381000,17.874],[1582006681000,16.25832],[1582006981000,26.2908],[1582007281000,21.4776],[1582007581000,18.47448],[1582007881000,20.24568],[1582008181000,17.18856],[1582008481000,23.75856],[1582008781000,19.40616],[1582009081000,22.1544],[1582009381000,22.14144],[1582009681000,26.70264],[1582009981000,21.46248],[1582010281000,14.12928],[1582010581000,21.72096],[1582010881000,24.06672],[1582011181000,35.95824],[1582011481000,31.0752],[1582011781000,22.734],[1582012081000,34.4448],[1582012381000,35.2008],[1582012681000,33.246],[1582012981000,34.35048],[1582013281000,38.6028],[1582013581000,33.97752],[1582013881000,35.17056],[1582014181000,33.02928],[1582014481000,41.29272],[1582014781000,34.79616],[1582015081000,25.41744],[1582015381000,39.62232],[1582015681000,23.89968],[1582015981000,25.2288],[1582016281000,35.70624],[1582016581000,29.90304],[1582016881000,31.2984],[1582017181000,26.3484],[1582017481000,26.6832],[1582017781000,29.83608],[1582018081000,24.11856],[1582018381000,26.42472],[1582018681000,36.65088],[1582018981000,24.0408],[1582019281000,20.24568],[1582019581000,28.57248],[1582019881000,36.61128],[1582020181000,36.77112],[1582020481000,25.32024],[1582020781000,36.43056],[1582021081000,32.44752],[1582021381000,26.65368],[1582021681000,39.5532],[1582021981000,46.74096],[1582022281000,46.92888],[1582022581000,49.59792],[1582022881000,35.8344],[1582023181000,41.28408],[1582023481000,45.94032],[1582023781000,36.52488],[1582024081000,49.49568],[1582024381000,42.03288],[1582024681000,46.35864],[1582024981000,52.92072],[1582025281000,45.90648],[1582025581000,50.42448],[1582025881000,51.13512],[1582026181000,53.8236],[1582026481000,56.10456],[1582026781000,54.13248],[1582027081000,53.73648],[1582027381000,49.93056],[1582027681000,56.05632],[1582027981000,44.63712],[1582028281000,44.4348],[1582028581000,37.84032],[1582028881000,42.92208],[1582029181000,28.44288],[1582029481000,50.9004],[1582029781000,51.57648],[1582030081000,49.66848],[1582030381000,53.68824],[1582030681000,48.33216],[1582030981000,53.33976],[1582031281000,54.47808],[1582031581000,50.65344],[1582031881000,52.15464],[1582032181000,47.20968],[1582032481000,35.25768],[1582032781000,51.43896],[1582033081000,38.89224],[1582033381000,43.2324],[1582033681000,51.65568],[1582033981000,44.63136],[1582034281000,50.92416],[1582034581000,46.21536],[1582034881000,37.29888],[1582035181000,46.19664],[1582035481000,41.5584],[1582035781000,32.3532],[1582036081000,46.77768],[1582036381000,34.40592],[1582036681000,40.92552],[1582036981000,37.58544],[1582037281000,51.99192],[1582037581000,43.73208],[1582037881000,47.84328],[1582038181000,30.31128],[1582038481000,52.8336],[1582038781000,37.01448],[1582039081000,38.79648],[1582039381000,34.68888],[1582039681000,31.82976],[1582039981000,13.93272],[1582040281000,21.76128],[1582040581000,21.06936],[1582040881000,24.59304],[1582041181000,32.29272],[1582041481000,31.716],[1582041781000,21.7404],[1582042081000,16.14384],[1582042381000,3.45528],[1582042681000,16.5744],[1582042981000,14.48496],[1582043281000,30.23856],[1582043581000,18.70776],[1582043881000,26.6724],[1582044181000,14.61024],[1582044481000,25.42176],[1582044781000,19.06848],[1582045081000,15.05232],[1582045381000,2.2212],[1582045681000,6.93072],[1582045981000,11.13408],[1582046281000,13.31568],[1582046581000,13.04712],[1582046881000,20.8512],[1582047181000,13.92408],[1582047481000,13.41648],[1582047781000,7.0596],[1582048081000,7.53264],[1582048381000,14.39496],[1582048681000,9.91656],[1582048981000,10.63872],[1582049281000,15.79968],[1582049581000,2.4372],[1582049881000,10.40688],[1582050181000,6.64776],[1582050481000,5.8032],[1582050781000,11.19744],[1582051081000,14.058],[1582051381000,21.97656],[1582051681000,8.0568],[1582051981000,23.52312],[1582052281000,12.9492],[1582052581000,25.22448],[1582052881000,29.2932],[1582053181000,25.00704],[1582053481000,15.02712],[1582053781000,17.31816],[1582054081000,12.33504],[1582054381000,25.05456],[1582054681000,20.57832],[1582054981000,9.67608],[1582055281000,6.04944],[1582055581000,4.23936],[1582055881000,6.71328],[1582056181000,3.74112],[1582056481000,6.21936],[1582056781000,7.39008],[1582057081000,8.88192],[1582057381000,11.00736],[1582057681000,14.80824],[1582057981000,15.86016],[1582058281000,11.10168],[1582058581000,6.3504],[1582058881000,3.0672],[1582059181000,10.16208],[1582059481000,10.2744],[1582059781000,6.0552],[1582060081000,6.7464],[1582060381000,7.54776],[1582060681000,4.2876],[1582060981000,3.70512],[1582061281000,6.04656],[1582061581000,3.96],[1582061881000,2.8296],[1582062181000,2.59344],[1582062481000,2.682],[1582062781000,6.25392],[1582063081000,7.776],[1582063381000,10.24056],[1582063681000,11.67264],[1582063981000,12.43224],[1582064281000,9.0036],[1582064581000,7.51104],[1582064881000,10.63296],[1582065181000,13.65552],[1582065481000,14.28336],[1582065781000,13.67064],[1582066081000,11.7216],[1582066381000,11.17944],[1582066681000,11.403],], 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: [[1581980401000,272.73333333],[1581980581000,263.06000000],[1581980881000,249.96000000],[1581981181000,214.36000000],[1581981481000,216.42000000],[1581981781000,225.82000000],[1581982081000,238.10000000],[1581982381000,241.78000000],[1581982681000,231.94000000],[1581982981000,247.10000000],[1581983281000,254.44000000],[1581983581000,252.00000000],[1581983881000,267.14000000],[1581984181000,279.02000000],[1581984481000,241.76000000],[1581984781000,247.90000000],[1581985081000,259.36000000],[1581985381000,250.36000000],[1581985681000,221.32000000],[1581985981000,244.62000000],[1581986281000,269.20000000],[1581986581000,266.30000000],[1581986881000,245.04000000],[1581987181000,232.76000000],[1581987481000,229.10000000],[1581987781000,241.76000000],[1581988081000,257.30000000],[1581988381000,233.62000000],[1581988681000,252.82000000],[1581988981000,279.40000000],[1581989281000,241.38000000],[1581989581000,219.68000000],[1581989881000,239.34000000],[1581990181000,189.40000000],[1581990481000,284.32000000],[1581990781000,184.50000000],[1581991081000,237.28000000],[1581991381000,259.78000000],[1581991681000,230.30000000],[1581991981000,203.32000000],[1581992281000,226.24000000],[1581992581000,202.10000000],[1581992881000,248.32000000],[1581993181000,226.62000000],[1581993481000,254.88000000],[1581993781000,207.42000000],[1581994081000,247.10000000],[1581994381000,148.52000000],[1581994681000,155.46000000],[1581994981000,253.64000000],[1581995281000,213.94000000],[1581995581000,123.94000000],[1581995881000,137.88000000],[1581996181000,199.64000000],[1581996481000,183.68000000],[1581996781000,164.86000000],[1581997081000,195.54000000],[1581997381000,199.26000000],[1581997681000,211.92000000],[1581997981000,228.68000000],[1581998281000,141.12000000],[1581998581000,202.90000000],[1581998881000,208.26000000],[1581999181000,174.26000000],[1581999481000,183.26000000],[1581999781000,159.12000000],[1582000081000,208.22000000],[1582000381000,211.92000000],[1582000681000,182.46000000],[1582000981000,228.72000000],[1582001281000,237.28000000],[1582001581000,225.82000000],[1582001881000,244.62000000],[1582002181000,252.40000000],[1582002481000,231.16000000],[1582002781000,240.58000000],[1582003081000,254.84000000],[1582003381000,240.96000000],[1582003681000,216.02000000],[1582003981000,247.10000000],[1582004281000,237.28000000],[1582004581000,254.06000000],[1582004881000,236.04000000],[1582005181000,239.30000000],[1582005481000,246.68000000],[1582005781000,252.40000000],[1582006081000,225.00000000],[1582006381000,206.60000000],[1582006681000,232.78000000],[1582006981000,249.56000000],[1582007281000,236.44000000],[1582007581000,238.48000000],[1582007881000,245.44000000],[1582008181000,236.06000000],[1582008481000,249.94000000],[1582008781000,225.42000000],[1582009081000,239.72000000],[1582009381000,225.02000000],[1582009681000,227.86000000],[1582009981000,241.38000000],[1582010281000,231.52000000],[1582010581000,269.60000000],[1582010881000,252.02000000],[1582011181000,240.54000000],[1582011481000,225.42000000],[1582011781000,212.72000000],[1582012081000,235.22000000],[1582012381000,243.38000000],[1582012681000,227.46000000],[1582012981000,259.78000000],[1582013281000,242.58000000],[1582013581000,233.56000000],[1582013881000,242.58000000],[1582014181000,235.24000000],[1582014481000,240.12000000],[1582014781000,245.44000000],[1582015081000,225.42000000],[1582015381000,242.56000000],[1582015681000,234.00000000],[1582015981000,247.90000000],[1582016281000,226.64000000],[1582016581000,249.16000000],[1582016881000,222.54000000],[1582017181000,239.72000000],[1582017481000,227.46000000],[1582017781000,239.32000000],[1582018081000,213.96000000],[1582018381000,222.14000000],[1582018681000,219.26000000],[1582018981000,222.14000000],[1582019281000,209.86000000],[1582019581000,240.14000000],[1582019881000,244.64000000],[1582020181000,215.20000000],[1582020481000,247.50000000],[1582020781000,244.22000000],[1582021081000,248.74000000],[1582021381000,218.44000000],[1582021681000,234.82000000],[1582021981000,203.72000000],[1582022281000,229.52000000],[1582022581000,235.62000000],[1582022881000,231.96000000],[1582023181000,229.92000000],[1582023481000,238.10000000],[1582023781000,232.38000000],[1582024081000,263.86000000],[1582024381000,250.38000000],[1582024681000,187.76000000],[1582024981000,250.36000000],[1582025281000,190.64000000],[1582025581000,227.86000000],[1582025881000,237.70000000],[1582026181000,248.72000000],[1582026481000,255.68000000],[1582026781000,251.18000000],[1582027081000,264.66000000],[1582027381000,226.62000000],[1582027681000,238.48000000],[1582027981000,228.68000000],[1582028281000,249.94000000],[1582028581000,222.94000000],[1582028881000,242.98000000],[1582029181000,224.60000000],[1582029481000,256.90000000],[1582029781000,247.50000000],[1582030081000,261.00000000],[1582030381000,209.46000000],[1582030681000,249.94000000],[1582030981000,262.22000000],[1582031281000,264.28000000],[1582031581000,240.16000000],[1582031881000,228.68000000],[1582032181000,215.60000000],[1582032481000,230.72000000],[1582032781000,244.62000000],[1582033081000,239.72000000],[1582033381000,245.04000000],[1582033681000,268.36000000],[1582033981000,217.22000000],[1582034281000,244.24000000],[1582034581000,232.78000000],[1582034881000,242.60000000],[1582035181000,264.68000000],[1582035481000,246.28000000],[1582035781000,229.50000000],[1582036081000,255.28000000],[1582036381000,224.60000000],[1582036681000,249.54000000],[1582036981000,226.22000000],[1582037281000,245.86000000],[1582037581000,249.94000000],[1582037881000,252.00000000],[1582038181000,244.62000000],[1582038481000,236.44000000],[1582038781000,213.14000000],[1582039081000,258.12000000],[1582039381000,228.28000000],[1582039681000,219.26000000],[1582039981000,225.40000000],[1582040281000,179.56000000],[1582040581000,220.52000000],[1582040881000,236.04000000],[1582041181000,238.92000000],[1582041481000,205.38000000],[1582041781000,108.82000000],[1582042081000,188.18000000],[1582042381000,270.00000000],[1582042681000,162.00000000],[1582042981000,222.96000000],[1582043281000,168.56000000],[1582043581000,193.92000000],[1582043881000,249.54000000],[1582044181000,208.64000000],[1582044481000,225.82000000],[1582044781000,244.22000000],[1582045081000,235.62000000],[1582045381000,177.96000000],[1582045681000,85.48000000],[1582045981000,229.50000000],[1582046281000,148.10000000],[1582046581000,139.90000000],[1582046881000,173.86000000],[1582047181000,105.12000000],[1582047481000,149.30000000],[1582047781000,186.98000000],[1582048081000,146.04000000],[1582048381000,194.32000000],[1582048681000,218.06000000],[1582048981000,255.28000000],[1582049281000,270.42000000],[1582049581000,271.64000000],[1582049881000,217.64000000],[1582050181000,222.14000000],[1582050481000,195.54000000],[1582050781000,265.08000000],[1582051081000,202.10000000],[1582051381000,208.22000000],[1582051681000,251.18000000],[1582051981000,249.14000000],[1582052281000,222.96000000],[1582052581000,258.14000000],[1582052881000,247.10000000],[1582053181000,234.40000000],[1582053481000,211.10000000],[1582053781000,234.02000000],[1582054081000,236.46000000],[1582054381000,209.04000000],[1582054681000,200.44000000],[1582054981000,187.36000000],[1582055281000,187.78000000],[1582055581000,233.98000000],[1582055881000,231.56000000],[1582056181000,198.40000000],[1582056481000,178.76000000],[1582056781000,208.22000000],[1582057081000,186.12000000],[1582057381000,193.90000000],[1582057681000,206.18000000],[1582057981000,217.22000000],[1582058281000,222.14000000],[1582058581000,241.36000000],[1582058881000,195.96000000],[1582059181000,191.06000000],[1582059481000,228.68000000],[1582059781000,235.64000000],[1582060081000,261.00000000],[1582060381000,257.72000000],[1582060681000,242.16000000],[1582060981000,226.64000000],[1582061281000,267.54000000],[1582061581000,222.94000000],[1582061881000,236.46000000],[1582062181000,225.40000000],[1582062481000,125.18000000],[1582062781000,212.72000000],[1582063081000,219.28000000],[1582063381000,222.54000000],[1582063681000,221.34000000],[1582063981000,218.46000000],[1582064281000,224.60000000],[1582064581000,225.00000000],[1582064881000,223.38000000],[1582065181000,222.54000000],[1582065481000,223.38000000],[1582065781000,225.00000000],[1582066081000,227.44000000],[1582066381000,224.60000000],[1582066681000,240.35000000],], 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); }); $('.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; }