var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1579129201000,-0.30000000],[1579129381000,-0.22000000],[1579129681000,-0.20000000],[1579129981000,-0.18000000],[1579130281000,-0.16000000],[1579130581000,-0.14000000],[1579130881000,-0.20000000],[1579131181000,-0.20000000],[1579131481000,-0.20000000],[1579131781000,-0.18000000],[1579132081000,-0.20000000],[1579132381000,-0.14000000],[1579132681000,-0.20000000],[1579132981000,-0.14000000],[1579133281000,-0.16000000],[1579133581000,-0.08000000],[1579133881000,0.00000000],[1579134181000,0.00000000],[1579134481000,-0.02000000],[1579134781000,-0.02000000],[1579135081000,0.02000000],[1579135381000,0.00000000],[1579135681000,0.06000000],[1579135981000,0.02000000],[1579136281000,0.00000000],[1579136581000,0.08000000],[1579136881000,0.04000000],[1579137181000,0.02000000],[1579137481000,0.10000000],[1579137781000,0.10000000],[1579138081000,0.12000000],[1579138381000,0.20000000],[1579138681000,0.20000000],[1579138981000,0.18000000],[1579139281000,0.10000000],[1579139581000,0.12000000],[1579139881000,0.20000000],[1579140181000,0.20000000],[1579140481000,0.12000000],[1579140781000,0.10000000],[1579141081000,0.10000000],[1579141382000,0.10000000],[1579141681000,0.10000000],[1579141981000,0.10000000],[1579142281000,0.12000000],[1579142581000,0.20000000],[1579142881000,0.22000000],[1579143181000,0.30000000],[1579143481000,0.30000000],[1579143781000,0.24000000],[1579144081000,0.30000000],[1579144381000,0.28000000],[1579144681000,0.24000000],[1579144981000,0.28000000],[1579145281000,0.30000000],[1579145581000,0.40000000],[1579145881000,0.34000000],[1579146181000,0.22000000],[1579146481000,0.20000000],[1579146781000,0.20000000],[1579147081000,0.10000000],[1579147381000,0.16000000],[1579147681000,0.14000000],[1579147981000,0.16000000],[1579148281000,0.16000000],[1579148581000,0.18000000],[1579148881000,0.12000000],[1579149181000,0.06000000],[1579149481000,0.02000000],[1579149781000,0.00000000],[1579150081000,-0.02000000],[1579150381000,-0.04000000],[1579150681000,-0.10000000],[1579150981000,-0.12000000],[1579151281000,-0.14000000],[1579151581000,-0.24000000],[1579151881000,-0.30000000],[1579152181000,-0.28000000],[1579152481000,-0.30000000],[1579152781000,-0.28000000],[1579153081000,-0.20000000],[1579153381000,-0.16000000],[1579153681000,-0.10000000],[1579153981000,-0.10000000],[1579154281000,-0.06000000],[1579154581000,0.00000000],[1579154881000,0.04000000],[1579155181000,0.10000000],[1579155481000,0.10000000],[1579155781000,0.10000000],[1579156081000,0.16000000],[1579156381000,0.10000000],[1579156681000,0.06000000],[1579156981000,0.10000000],[1579157281000,0.10000000],[1579157581000,0.16000000],[1579157881000,0.18000000],[1579158181000,0.20000000],[1579158481000,0.20000000],[1579158781000,0.10000000],[1579159081000,0.10000000],[1579159381000,0.14000000],[1579159682000,0.26000000],[1579159981000,0.36000000],[1579160281000,0.48000000],[1579160581000,0.50000000],[1579160881000,0.50000000],[1579161181000,0.50000000],[1579161481000,0.56000000],[1579161781000,0.60000000],[1579162081000,0.50000000],[1579162381000,0.44000000],[1579162681000,0.48000000],[1579162981000,0.56000000],[1579163281000,0.62000000],[1579163581000,0.70000000],[1579163881000,0.84000000],[1579164191000,0.90000000],[1579164481000,0.92000000],[1579164781000,0.94000000],[1579165081000,1.00000000],[1579165381000,0.96000000],[1579165681000,0.94000000],[1579165981000,0.86000000],[1579166281000,0.80000000],[1579166581000,0.72000000],[1579166881000,0.70000000],[1579167181000,0.70000000],[1579167481000,0.70000000],[1579167782000,0.70000000],[1579168081000,0.68000000],[1579168381000,0.70000000],[1579168681000,0.86000000],[1579168981000,1.06000000],[1579169281000,1.18000000],[1579169581000,1.36000000],[1579169881000,1.48000000],[1579170181000,1.52000000],[1579170481000,1.64000000],[1579170781000,1.70000000],[1579171081000,1.82000000],[1579171382000,1.90000000],[1579171681000,1.84000000],[1579171981000,1.82000000],[1579172281000,1.94000000],[1579172581000,2.08000000],[1579172882000,2.08000000],[1579173181000,2.10000000],[1579173481000,2.16000000],[1579173781000,2.20000000],[1579174081000,2.28000000],[1579174381000,2.32000000],[1579174681000,2.46000000],[1579174981000,2.52000000],[1579175281000,2.50000000],[1579175582000,2.50000000],[1579175881000,2.56000000],[1579176181000,2.66000000],[1579176481000,2.70000000],[1579176781000,2.70000000],[1579177081000,2.80000000],[1579177381000,2.80000000],[1579177681000,2.72000000],[1579177981000,2.74000000],[1579178281000,2.70000000],[1579178581000,2.80000000],[1579178881000,2.96000000],[1579179181000,2.92000000],[1579179481000,2.90000000],[1579179781000,2.94000000],[1579180081000,3.00000000],[1579180381000,3.02000000],[1579180681000,3.10000000],[1579180981000,3.10000000],[1579181281000,3.10000000],[1579181581000,3.10000000],[1579181881000,3.12000000],[1579182181000,3.20000000],[1579182481000,3.20000000],[1579182793000,3.20000000],[1579183081000,3.16000000],[1579183381000,3.10000000],[1579183681000,3.10000000],[1579183981000,3.04000000],[1579184281000,2.86000000],[1579184581000,2.76000000],[1579184881000,2.58000000],[1579185181000,2.48000000],[1579185481000,2.42000000],[1579185781000,2.30000000],[1579186081000,2.22000000],[1579186381000,2.14000000],[1579186681000,2.10000000],[1579186981000,2.04000000],[1579187281000,2.00000000],[1579187581000,1.98000000],[1579187881000,1.90000000],[1579188181000,1.80000000],[1579188481000,1.80000000],[1579188781000,1.80000000],[1579189081000,1.78000000],[1579189381000,1.78000000],[1579189681000,1.72000000],[1579189981000,1.70000000],[1579190281000,1.70000000],[1579190581000,1.66000000],[1579190881000,1.60000000],[1579191181000,1.58000000],[1579191481000,1.52000000],[1579191781000,1.46000000],[1579192081000,1.36000000],[1579192381000,1.24000000],[1579192681000,1.20000000],[1579192981000,1.20000000],[1579193281000,1.18000000],[1579193581000,1.18000000],[1579193881000,1.10000000],[1579194181000,1.10000000],[1579194481000,1.12000000],[1579194781000,1.16000000],[1579195081000,1.08000000],[1579195382000,1.10000000],[1579195681000,1.06000000],[1579195981000,1.00000000],[1579196281000,1.00000000],[1579196581000,0.98000000],[1579196881000,0.90000000],[1579197181000,0.88000000],[1579197481000,0.80000000],[1579197781000,0.80000000],[1579198081000,0.72000000],[1579198381000,0.70000000],[1579198681000,0.70000000],[1579198981000,0.62000000],[1579199281000,0.60000000],[1579199581000,0.58000000],[1579199881000,0.50000000],[1579200181000,0.50000000],[1579200481000,0.44000000],[1579200781000,0.40000000],[1579201081000,0.40000000],[1579201381000,0.40000000],[1579201681000,0.40000000],[1579201981000,0.36000000],[1579202281000,0.36000000],[1579202581000,0.32000000],[1579202881000,0.40000000],[1579203181000,0.44000000],[1579203481000,0.50000000],[1579203781000,0.50000000],[1579204081000,0.50000000],[1579204381000,0.50000000],[1579204681000,0.46000000],[1579204981000,0.40000000],[1579205281000,0.40000000],[1579205581000,0.38000000],[1579205881000,0.34000000],[1579206181000,0.40000000],[1579206481000,0.40000000],[1579206781000,0.44000000],[1579207081000,0.58000000],[1579207381000,0.60000000],[1579207681000,0.68000000],[1579207981000,0.60000000],[1579208281000,0.64000000],[1579208581000,0.70000000],[1579208881000,0.70000000],[1579209181000,0.70000000],[1579209481000,0.70000000],[1579209781000,0.70000000],[1579210081000,0.70000000],[1579210381000,0.62000000],[1579210681000,0.54000000],[1579210981000,0.42000000],[1579211281000,0.32000000],[1579211581000,0.30000000],[1579211881000,0.30000000],[1579212181000,0.30000000],[1579212481000,0.30000000],[1579212781000,0.30000000],[1579213081000,0.28000000],[1579213381000,0.20000000],[1579213681000,0.20000000],[1579213981000,0.20000000],[1579214281000,0.12000000],[1579214581000,0.14000000],[1579214881000,0.14000000],[1579215181000,0.10000000],[1579215481000,0.10000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1579129201000,-1.4],[1579129381000,-1.3],[1579129681000,-1.3],[1579129981000,-1.3],[1579130281000,-1.2],[1579130581000,-1.2],[1579130881000,-1.3],[1579131181000,-1.3],[1579131481000,-1.3],[1579131781000,-1.2],[1579132081000,-1.2],[1579132381000,-1.2],[1579132681000,-1.2],[1579132981000,-1.1],[1579133281000,-1.1],[1579133581000,-1],[1579133881000,-0.9],[1579134181000,-0.9],[1579134481000,-1],[1579134781000,-1],[1579135081000,-1],[1579135381000,-1],[1579135681000,-0.9],[1579135981000,-1],[1579136281000,-1],[1579136581000,-0.9],[1579136881000,-0.9],[1579137181000,-1],[1579137481000,-0.9],[1579137781000,-0.9],[1579138081000,-0.9],[1579138381000,-0.8],[1579138681000,-0.8],[1579138981000,-0.9],[1579139281000,-0.9],[1579139581000,-0.9],[1579139881000,-0.8],[1579140181000,-0.8],[1579140481000,-0.9],[1579140781000,-0.9],[1579141081000,-0.9],[1579141382000,-0.8],[1579141681000,-0.8],[1579141981000,-0.8],[1579142281000,-0.8],[1579142581000,-0.7],[1579142881000,-0.7],[1579143181000,-0.7],[1579143481000,-0.7],[1579143781000,-0.8],[1579144081000,-0.8],[1579144381000,-0.9],[1579144681000,-0.9],[1579144981000,-0.9],[1579145281000,-0.9],[1579145581000,-0.8],[1579145881000,-0.9],[1579146181000,-1],[1579146481000,-1.1],[1579146781000,-1.1],[1579147081000,-1.2],[1579147381000,-1.2],[1579147681000,-1.2],[1579147981000,-1.2],[1579148281000,-1.2],[1579148581000,-1.2],[1579148881000,-1.2],[1579149181000,-1.3],[1579149481000,-1.3],[1579149781000,-1.4],[1579150081000,-1.4],[1579150381000,-1.4],[1579150681000,-1.4],[1579150981000,-1.4],[1579151281000,-1.5],[1579151581000,-1.6],[1579151881000,-1.6],[1579152181000,-1.6],[1579152481000,-1.6],[1579152781000,-1.5],[1579153081000,-1.4],[1579153381000,-1.4],[1579153681000,-1.4],[1579153981000,-1.4],[1579154281000,-1.4],[1579154581000,-1.4],[1579154881000,-1.3],[1579155181000,-1.3],[1579155481000,-1.3],[1579155781000,-1.3],[1579156081000,-1.2],[1579156381000,-1.3],[1579156681000,-1.3],[1579156981000,-1.2],[1579157281000,-1.2],[1579157581000,-1.1],[1579157881000,-1.1],[1579158181000,-1.1],[1579158481000,-1.1],[1579158781000,-1.3],[1579159081000,-1.2],[1579159381000,-1.2],[1579159682000,-1],[1579159981000,-0.9],[1579160281000,-0.8],[1579160581000,-0.9],[1579160881000,-0.9],[1579161181000,-0.9],[1579161481000,-0.8],[1579161781000,-0.8],[1579162081000,-0.9],[1579162381000,-1],[1579162681000,-0.9],[1579163281000,-0.8],[1579163581000,-0.7],[1579163881000,-0.6],[1579164481000,-0.7],[1579164781000,-0.7],[1579165081000,-0.6],[1579165381000,-0.7],[1579165681000,-0.7],[1579165981000,-0.8],[1579166281000,-0.8],[1579166581000,-0.9],[1579166881000,-0.9],[1579167181000,-0.8],[1579167481000,-0.8],[1579167782000,-0.8],[1579168081000,-0.8],[1579168381000,-0.8],[1579168681000,-0.6],[1579168981000,-0.5],[1579169281000,-0.4],[1579169581000,-0.3],[1579169881000,-0.3],[1579170181000,-0.3],[1579170481000,-0.2],[1579170781000,-0.2],[1579171081000,-0.1],[1579171681000,-0.1],[1579171981000,-0],[1579172281000,0.1],[1579172581000,0.2],[1579172882000,0.1],[1579173181000,0.2],[1579173481000,0.2],[1579173781000,0.3],[1579174081000,0.3],[1579174381000,0.3],[1579174681000,0.4],[1579174981000,0.4],[1579175281000,0.2],[1579175582000,0.3],[1579175881000,0.3],[1579176181000,0.5],[1579176481000,0.5],[1579176781000,0.4],[1579177081000,0.5],[1579177381000,0.4],[1579177681000,0.3],[1579177981000,0.3],[1579178281000,0.3],[1579178581000,0.3],[1579178881000,0.5],[1579179181000,0.4],[1579179481000,0.4],[1579179781000,0.5],[1579180081000,0.5],[1579180381000,0.5],[1579180681000,0.5],[1579180981000,0.5],[1579181281000,0.4],[1579181581000,0.5],[1579181881000,0.5],[1579182181000,0.6],[1579182481000,0.4],[1579183081000,0.4],[1579183381000,0.4],[1579183681000,0.3],[1579183981000,0.4],[1579184281000,0.3],[1579184581000,0.3],[1579184881000,0.1],[1579185181000,0.1],[1579185481000,0.1],[1579185781000,0],[1579186081000,0],[1579186381000,-0],[1579186681000,-0],[1579186981000,-0],[1579187281000,-0],[1579187581000,-0],[1579187881000,-0],[1579188181000,-0.1],[1579188481000,-0.1],[1579188781000,-0.1],[1579189081000,-0],[1579189381000,0.1],[1579189681000,0.1],[1579189981000,0.1],[1579190281000,0.2],[1579190581000,0.1],[1579190881000,0.1],[1579191181000,0],[1579191481000,-0],[1579191781000,-0],[1579192081000,-0.1],[1579192381000,-0.2],[1579192681000,-0.2],[1579192981000,-0.2],[1579193281000,-0.2],[1579193581000,-0.2],[1579193881000,-0.2],[1579194181000,-0.1],[1579194481000,-0],[1579194781000,0],[1579195081000,-0],[1579195382000,0],[1579195681000,-0],[1579195981000,-0.1],[1579196281000,-0.1],[1579196581000,-0.1],[1579196881000,-0.2],[1579197181000,-0.3],[1579197481000,-0.3],[1579197781000,-0.3],[1579198081000,-0.4],[1579198381000,-0.4],[1579198681000,-0.4],[1579198981000,-0.5],[1579199281000,-0.5],[1579199581000,-0.5],[1579199881000,-0.6],[1579200181000,-0.6],[1579200481000,-0.7],[1579200781000,-0.7],[1579201081000,-0.7],[1579201381000,-0.7],[1579201681000,-0.7],[1579201981000,-0.7],[1579202281000,-0.7],[1579202581000,-0.7],[1579202881000,-0.6],[1579203181000,-0.5],[1579203481000,-0.4],[1579203781000,-0.4],[1579204081000,-0.4],[1579204381000,-0.4],[1579204681000,-0.4],[1579204981000,-0.5],[1579205281000,-0.5],[1579205581000,-0.5],[1579205881000,-0.5],[1579206181000,-0.4],[1579206481000,-0.4],[1579206781000,-0.4],[1579207081000,-0.2],[1579207381000,-0.2],[1579207681000,-0.1],[1579207981000,-0.2],[1579208281000,-0.2],[1579208581000,-0.1],[1579208881000,-0.1],[1579209181000,-0.2],[1579209481000,-0.2],[1579209781000,-0.2],[1579210081000,-0.2],[1579210381000,-0.3],[1579210681000,-0.4],[1579210981000,-0.5],[1579211281000,-0.6],[1579211581000,-0.6],[1579211881000,-0.6],[1579212181000,-0.6],[1579212481000,-0.6],[1579212781000,-0.6],[1579213081000,-0.6],[1579213381000,-0.6],[1579213681000,-0.6],[1579213981000,-0.6],[1579214281000,-0.7],[1579214581000,-0.7],[1579214881000,-0.7],[1579215181000,-0.7],[1579215481000,-0.7],], 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: [[1579129201000,92.70000000],[1579129381000,92.66000000],[1579129681000,92.52000000],[1579129981000,92.52000000],[1579130281000,92.50000000],[1579130581000,92.56000000],[1579130881000,92.56000000],[1579131181000,92.52000000],[1579131481000,92.62000000],[1579131781000,92.84000000],[1579132081000,92.92000000],[1579132381000,93.00000000],[1579132681000,92.94000000],[1579132981000,93.16000000],[1579133281000,93.42000000],[1579133581000,93.56000000],[1579133881000,93.60000000],[1579134181000,93.54000000],[1579134481000,93.36000000],[1579134781000,93.28000000],[1579135081000,93.24000000],[1579135381000,93.20000000],[1579135681000,93.14000000],[1579135981000,93.16000000],[1579136281000,93.18000000],[1579136581000,93.18000000],[1579136881000,93.16000000],[1579137181000,93.20000000],[1579137481000,93.24000000],[1579137781000,93.08000000],[1579138081000,93.04000000],[1579138381000,92.94000000],[1579138681000,92.86000000],[1579138981000,92.82000000],[1579139281000,92.86000000],[1579139581000,92.98000000],[1579139881000,93.02000000],[1579140181000,93.00000000],[1579140481000,93.00000000],[1579140781000,93.18000000],[1579141081000,93.32000000],[1579141382000,93.46000000],[1579141681000,93.50000000],[1579141981000,93.66000000],[1579142281000,93.64000000],[1579142581000,93.64000000],[1579142881000,93.42000000],[1579143181000,93.26000000],[1579143481000,93.04000000],[1579143781000,92.60000000],[1579144081000,92.38000000],[1579144381000,92.04000000],[1579144681000,92.00000000],[1579144981000,91.92000000],[1579145281000,91.90000000],[1579145581000,91.88000000],[1579145881000,91.60000000],[1579146181000,91.44000000],[1579146481000,91.34000000],[1579146781000,91.04000000],[1579147081000,90.84000000],[1579147381000,90.90000000],[1579147681000,90.86000000],[1579147981000,90.86000000],[1579148281000,90.76000000],[1579148581000,90.70000000],[1579148881000,90.70000000],[1579149181000,90.70000000],[1579149481000,90.82000000],[1579149781000,90.68000000],[1579150081000,90.86000000],[1579150381000,90.82000000],[1579150681000,90.86000000],[1579150981000,91.00000000],[1579151281000,90.90000000],[1579151581000,90.90000000],[1579151881000,90.98000000],[1579152181000,91.16000000],[1579152481000,91.22000000],[1579152781000,91.32000000],[1579153081000,91.48000000],[1579153381000,91.36000000],[1579153681000,91.20000000],[1579153981000,90.98000000],[1579154281000,90.80000000],[1579154581000,90.68000000],[1579154881000,90.78000000],[1579155181000,90.68000000],[1579155481000,90.42000000],[1579155781000,90.48000000],[1579156081000,90.50000000],[1579156381000,90.48000000],[1579156681000,90.76000000],[1579156981000,91.10000000],[1579157281000,91.14000000],[1579157581000,91.14000000],[1579157881000,90.90000000],[1579158181000,90.90000000],[1579158481000,90.86000000],[1579158781000,90.76000000],[1579159081000,90.86000000],[1579159381000,91.10000000],[1579159682000,91.22000000],[1579159981000,91.24000000],[1579160281000,90.96000000],[1579160581000,90.74000000],[1579160881000,90.58000000],[1579161181000,90.66000000],[1579161481000,90.70000000],[1579161781000,90.44000000],[1579162081000,90.18000000],[1579162381000,90.34000000],[1579162681000,90.48000000],[1579162982000,90.42000000],[1579163281000,90.40000000],[1579163581000,90.26000000],[1579163881000,90.10000000],[1579164182000,89.62000000],[1579164481000,89.26000000],[1579164781000,89.26000000],[1579165081000,88.92000000],[1579165381000,88.70000000],[1579165681000,88.68000000],[1579165981000,88.94000000],[1579166281000,89.06000000],[1579166581000,89.16000000],[1579166881000,89.34000000],[1579167181000,89.66000000],[1579167481000,89.78000000],[1579167782000,89.80000000],[1579168081000,89.96000000],[1579168381000,89.94000000],[1579168681000,89.94000000],[1579168981000,89.66000000],[1579169281000,89.24000000],[1579169581000,88.88000000],[1579169881000,88.28000000],[1579170181000,87.84000000],[1579170481000,87.68000000],[1579170781000,87.32000000],[1579171081000,87.40000000],[1579171381000,87.20000000],[1579171681000,87.10000000],[1579171981000,87.70000000],[1579172281000,87.82000000],[1579172581000,87.62000000],[1579172882000,86.94000000],[1579173181000,87.28000000],[1579173481000,87.22000000],[1579173781000,87.16000000],[1579174081000,86.62000000],[1579174381000,86.40000000],[1579174681000,86.60000000],[1579174981000,85.86000000],[1579175281000,85.24000000],[1579175582000,85.60000000],[1579175881000,85.42000000],[1579176181000,85.88000000],[1579176481000,85.42000000],[1579176781000,85.20000000],[1579177081000,84.96000000],[1579177381000,84.40000000],[1579177681000,84.18000000],[1579177981000,84.34000000],[1579178281000,84.26000000],[1579178581000,84.10000000],[1579178881000,84.32000000],[1579179181000,83.68000000],[1579179481000,83.86000000],[1579179781000,83.98000000],[1579180081000,83.94000000],[1579180381000,83.86000000],[1579180681000,83.24000000],[1579180981000,83.32000000],[1579181281000,82.92000000],[1579181581000,83.12000000],[1579181881000,83.32000000],[1579182181000,83.02000000],[1579182481000,82.14000000],[1579182781000,81.94000000],[1579183081000,82.42000000],[1579183381000,82.48000000],[1579183681000,82.30000000],[1579183981000,82.96000000],[1579184281000,83.58000000],[1579184581000,83.96000000],[1579184881000,84.20000000],[1579185181000,84.42000000],[1579185481000,84.86000000],[1579185781000,85.24000000],[1579186081000,85.58000000],[1579186381000,85.74000000],[1579186681000,86.08000000],[1579186981000,86.36000000],[1579187281000,86.70000000],[1579187581000,86.66000000],[1579187881000,87.16000000],[1579188181000,87.26000000],[1579188481000,87.38000000],[1579188781000,87.46000000],[1579189081000,88.02000000],[1579189381000,88.62000000],[1579189681000,89.22000000],[1579189981000,89.52000000],[1579190281000,89.68000000],[1579190581000,89.48000000],[1579190881000,89.68000000],[1579191181000,89.66000000],[1579191481000,89.70000000],[1579191781000,89.92000000],[1579192081000,90.14000000],[1579192381000,90.38000000],[1579192681000,90.66000000],[1579192981000,90.68000000],[1579193281000,90.74000000],[1579193581000,90.96000000],[1579193881000,91.46000000],[1579194181000,91.68000000],[1579194481000,92.06000000],[1579194781000,92.18000000],[1579195081000,92.44000000],[1579195382000,92.54000000],[1579195681000,92.58000000],[1579195981000,92.64000000],[1579196281000,92.56000000],[1579196581000,92.36000000],[1579196881000,92.26000000],[1579197181000,92.22000000],[1579197481000,92.24000000],[1579197781000,92.28000000],[1579198081000,92.38000000],[1579198381000,92.46000000],[1579198681000,92.52000000],[1579198981000,92.60000000],[1579199281000,92.56000000],[1579199581000,92.48000000],[1579199881000,92.44000000],[1579200181000,92.44000000],[1579200481000,92.42000000],[1579200781000,92.54000000],[1579201081000,92.60000000],[1579201381000,92.66000000],[1579201681000,92.72000000],[1579201981000,92.80000000],[1579202281000,92.88000000],[1579202581000,93.04000000],[1579202881000,93.30000000],[1579203181000,93.62000000],[1579203481000,93.82000000],[1579203781000,93.90000000],[1579204081000,93.98000000],[1579204381000,93.98000000],[1579204681000,93.90000000],[1579204981000,93.90000000],[1579205281000,93.88000000],[1579205581000,93.92000000],[1579205881000,94.04000000],[1579206181000,94.14000000],[1579206481000,94.16000000],[1579206781000,94.28000000],[1579207081000,94.38000000],[1579207381000,94.38000000],[1579207681000,94.32000000],[1579207981000,94.28000000],[1579208281000,94.24000000],[1579208581000,94.24000000],[1579208881000,94.14000000],[1579209181000,94.10000000],[1579209481000,93.98000000],[1579209781000,93.84000000],[1579210081000,93.74000000],[1579210381000,93.56000000],[1579210681000,93.46000000],[1579210981000,93.44000000],[1579211281000,93.54000000],[1579211581000,93.66000000],[1579211881000,93.74000000],[1579212181000,93.82000000],[1579212481000,93.90000000],[1579212781000,93.90000000],[1579213081000,94.00000000],[1579213381000,94.14000000],[1579213681000,94.14000000],[1579213981000,94.20000000],[1579214281000,94.34000000],[1579214581000,94.44000000],[1579214881000,94.48000000],[1579215181000,94.54000000],[1579215481000,94.65000000],], 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: [[1579129201000,1031.7],[1579129381000,1031.7],[1579129681000,1031.7],[1579129981000,1031.7],[1579130281000,1031.8],[1579130581000,1031.7],[1579130881000,1031.8],[1579131181000,1031.8],[1579131481000,1031.8],[1579131781000,1031.9],[1579132081000,1031.8],[1579132381000,1031.8],[1579132681000,1031.8],[1579132981000,1031.8],[1579133281000,1031.8],[1579133581000,1031.9],[1579133881000,1031.9],[1579134181000,1031.9],[1579134481000,1031.9],[1579134781000,1031.9],[1579135081000,1032],[1579135381000,1032],[1579135681000,1032],[1579135981000,1032],[1579136281000,1032],[1579136581000,1032],[1579136881000,1032.1],[1579137181000,1032.1],[1579137481000,1032.2],[1579137781000,1032.2],[1579138081000,1032.2],[1579138381000,1032.2],[1579138681000,1032.3],[1579138981000,1032.3],[1579139281000,1032.4],[1579139581000,1032.5],[1579139881000,1032.5],[1579140181000,1032.5],[1579140481000,1032.5],[1579140781000,1032.5],[1579141081000,1032.6],[1579141382000,1032.5],[1579141681000,1032.5],[1579141981000,1032.6],[1579142281000,1032.7],[1579142581000,1032.7],[1579142881000,1032.8],[1579143181000,1032.8],[1579143481000,1032.8],[1579143781000,1032.7],[1579144081000,1032.7],[1579144381000,1032.8],[1579144681000,1032.9],[1579144981000,1032.9],[1579145281000,1033],[1579145581000,1032.9],[1579145881000,1033.1],[1579146181000,1033.1],[1579146481000,1033.2],[1579146781000,1033.3],[1579147081000,1033.3],[1579147381000,1033.2],[1579147681000,1033.2],[1579147981000,1033.3],[1579148281000,1033.1],[1579148581000,1033.3],[1579148881000,1033.1],[1579149181000,1033.3],[1579149481000,1033.3],[1579149781000,1033.4],[1579150081000,1033.5],[1579150381000,1033.5],[1579150681000,1033.6],[1579150981000,1033.5],[1579151281000,1033.6],[1579151581000,1033.6],[1579151881000,1033.6],[1579152181000,1033.6],[1579152481000,1033.7],[1579152781000,1033.7],[1579153081000,1033.7],[1579153381000,1033.7],[1579153681000,1033.7],[1579153981000,1033.7],[1579154281000,1033.7],[1579154581000,1033.8],[1579154881000,1033.8],[1579155181000,1033.9],[1579155481000,1033.9],[1579155781000,1034],[1579156081000,1034],[1579156381000,1034.1],[1579156681000,1034.1],[1579156981000,1034.3],[1579157281000,1034.4],[1579157581000,1034.4],[1579157881000,1034.4],[1579158181000,1034.4],[1579158481000,1034.4],[1579158781000,1034.4],[1579159081000,1034.6],[1579159381000,1034.7],[1579159682000,1034.6],[1579159981000,1034.6],[1579160281000,1034.6],[1579160581000,1034.7],[1579160881000,1034.7],[1579161181000,1034.8],[1579161481000,1034.8],[1579161781000,1034.8],[1579162081000,1034.8],[1579162381000,1034.8],[1579162681000,1034.8],[1579163281000,1034.9],[1579163581000,1034.9],[1579163881000,1034.8],[1579164481000,1034.9],[1579164781000,1035],[1579165081000,1034.9],[1579165381000,1035],[1579165681000,1035],[1579165981000,1035],[1579166281000,1035.2],[1579166581000,1035.2],[1579166881000,1035.1],[1579167181000,1035.2],[1579167481000,1035.1],[1579167782000,1035.1],[1579168081000,1035],[1579168381000,1035],[1579168681000,1035],[1579168981000,1035],[1579169281000,1034.9],[1579169581000,1034.9],[1579169881000,1034.8],[1579170181000,1034.7],[1579170481000,1034.7],[1579170781000,1034.6],[1579171081000,1034.5],[1579171681000,1034.6],[1579171981000,1034.5],[1579172281000,1034.5],[1579172581000,1034.4],[1579172882000,1034.3],[1579173181000,1034.3],[1579173481000,1034.3],[1579173781000,1034.3],[1579174081000,1034.3],[1579174381000,1034.2],[1579174681000,1034.3],[1579174981000,1034.2],[1579175281000,1034.1],[1579175582000,1034.2],[1579175881000,1034.2],[1579176181000,1034.1],[1579176481000,1034],[1579176781000,1034],[1579177081000,1034],[1579177381000,1034],[1579177681000,1034],[1579177981000,1033.9],[1579178281000,1033.8],[1579178581000,1033.8],[1579178881000,1033.8],[1579179181000,1033.8],[1579179481000,1033.8],[1579179781000,1033.8],[1579180081000,1033.9],[1579180381000,1033.8],[1579180681000,1033.9],[1579180981000,1033.8],[1579181281000,1033.8],[1579181581000,1033.7],[1579181881000,1033.7],[1579182181000,1033.7],[1579182481000,1033.7],[1579183081000,1033.7],[1579183381000,1033.7],[1579183681000,1033.8],[1579183981000,1033.8],[1579184281000,1033.8],[1579184581000,1033.8],[1579184881000,1033.8],[1579185181000,1033.9],[1579185481000,1033.9],[1579185781000,1033.9],[1579186081000,1033.8],[1579186381000,1033.8],[1579186681000,1033.9],[1579186981000,1034],[1579187281000,1034],[1579187581000,1034],[1579187881000,1034],[1579188181000,1034],[1579188481000,1034.1],[1579188781000,1034.1],[1579189081000,1034.2],[1579189381000,1034.2],[1579189681000,1034.2],[1579189981000,1034.2],[1579190281000,1034.3],[1579190581000,1034.4],[1579190881000,1034.4],[1579191181000,1034.4],[1579191481000,1034.4],[1579191781000,1034.4],[1579192081000,1034.4],[1579192381000,1034.4],[1579192681000,1034.4],[1579192981000,1034.4],[1579193281000,1034.5],[1579193581000,1034.5],[1579193881000,1034.5],[1579194181000,1034.5],[1579194481000,1034.6],[1579194781000,1034.6],[1579195081000,1034.7],[1579195382000,1034.8],[1579195681000,1034.7],[1579195981000,1034.7],[1579196281000,1034.7],[1579196581000,1034.7],[1579196881000,1034.7],[1579197181000,1034.8],[1579197481000,1034.8],[1579197781000,1034.8],[1579198081000,1034.8],[1579198381000,1034.9],[1579198681000,1034.9],[1579198981000,1034.9],[1579199281000,1034.9],[1579199581000,1034.9],[1579199881000,1034.9],[1579200181000,1034.9],[1579200481000,1034.9],[1579200781000,1034.9],[1579201081000,1034.8],[1579201381000,1034.9],[1579201681000,1035],[1579201981000,1035],[1579202281000,1035],[1579202581000,1034.9],[1579202881000,1034.9],[1579203181000,1035],[1579203481000,1035],[1579203781000,1035.1],[1579204081000,1035.1],[1579204381000,1035.1],[1579204681000,1035.1],[1579204981000,1035.2],[1579205281000,1035.1],[1579205581000,1035.1],[1579205881000,1035.1],[1579206181000,1035],[1579206481000,1034.9],[1579206781000,1034.8],[1579207081000,1034.8],[1579207381000,1034.7],[1579207681000,1034.7],[1579207981000,1034.7],[1579208281000,1034.8],[1579208581000,1034.6],[1579208881000,1034.6],[1579209181000,1034.6],[1579209481000,1034.5],[1579209781000,1034.5],[1579210081000,1034.4],[1579210381000,1034.4],[1579210681000,1034.4],[1579210981000,1034.4],[1579211281000,1034.4],[1579211581000,1034.4],[1579211881000,1034.4],[1579212181000,1034.4],[1579212481000,1034.3],[1579212781000,1034.3],[1579213081000,1034.3],[1579213381000,1034.3],[1579213681000,1034.2],[1579213981000,1034.1],[1579214281000,1034.1],[1579214581000,1034],[1579214881000,1034],[1579215181000,1033.9],[1579215481000,1033.8],], 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); }); $('.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; }