var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1549926001000,3.30000000],[1549926181000,3.30000000],[1549926481000,3.32000000],[1549926781000,3.36000000],[1549927081000,3.30000000],[1549927381000,3.34000000],[1549927681000,3.32000000],[1549927981000,3.30000000],[1549928281000,3.40000000],[1549928581000,3.34000000],[1549928881000,3.40000000],[1549929181000,3.32000000],[1549929481000,3.32000000],[1549929781000,3.36000000],[1549930081000,3.46000000],[1549930381000,3.42000000],[1549930681000,3.38000000],[1549930981000,3.30000000],[1549931281000,3.30000000],[1549931581000,3.28000000],[1549931881000,3.22000000],[1549932181000,3.18000000],[1549932481000,3.10000000],[1549932781000,3.00000000],[1549933081000,3.02000000],[1549933382000,2.98000000],[1549933681000,2.94000000],[1549933981000,2.74000000],[1549934281000,2.58000000],[1549934581000,2.68000000],[1549934881000,2.82000000],[1549935181000,2.78000000],[1549935481000,2.88000000],[1549935781000,2.96000000],[1549936081000,2.94000000],[1549936381000,2.64000000],[1549936681000,2.56000000],[1549936981000,2.62000000],[1549937281000,2.56000000],[1549937581000,2.50000000],[1549937881000,2.48000000],[1549938181000,2.50000000],[1549938481000,2.58000000],[1549938781000,2.56000000],[1549939081000,2.46000000],[1549939381000,2.44000000],[1549939681000,2.56000000],[1549939981000,2.72000000],[1549940281000,2.56000000],[1549940581000,2.48000000],[1549940881000,2.56000000],[1549941181000,2.54000000],[1549941481000,2.50000000],[1549941781000,2.46000000],[1549942081000,2.40000000],[1549942381000,2.38000000],[1549942681000,2.40000000],[1549942981000,2.44000000],[1549943281000,2.54000000],[1549943581000,2.48000000],[1549943881000,2.50000000],[1549944181000,2.62000000],[1549944481000,2.60000000],[1549944781000,2.62000000],[1549945081000,2.74000000],[1549945381000,2.88000000],[1549945681000,2.90000000],[1549945981000,2.92000000],[1549946281000,2.90000000],[1549946581000,2.88000000],[1549946881000,2.76000000],[1549947181000,2.70000000],[1549947481000,2.74000000],[1549947781000,2.68000000],[1549948081000,2.56000000],[1549948381000,2.58000000],[1549948681000,2.58000000],[1549948981000,2.60000000],[1549949281000,2.56000000],[1549949581000,2.42000000],[1549949881000,2.44000000],[1549950181000,2.50000000],[1549950481000,2.60000000],[1549950781000,2.54000000],[1549951081000,2.28000000],[1549951381000,2.04000000],[1549951681000,2.00000000],[1549951981000,1.96000000],[1549952281000,1.82000000],[1549952581000,1.64000000],[1549952881000,1.40000000],[1549953181000,1.30000000],[1549953481000,1.36000000],[1549953781000,1.50000000],[1549954081000,1.46000000],[1549954381000,1.56000000],[1549954681000,1.58000000],[1549954981000,1.66000000],[1549955281000,1.86000000],[1549955581000,2.16000000],[1549955881000,2.30000000],[1549956181000,2.48000000],[1549956481000,2.54000000],[1549956781000,2.50000000],[1549957081000,2.66000000],[1549957381000,3.02000000],[1549957681000,3.28000000],[1549957981000,3.14000000],[1549958281000,3.54000000],[1549958581000,4.04000000],[1549958881000,4.58000000],[1549959181000,5.16000000],[1549959481000,4.32000000],[1549959781000,3.82000000],[1549960081000,3.46000000],[1549960381000,3.26000000],[1549960681000,3.16000000],[1549960981000,3.02000000],[1549961281000,3.00000000],[1549961581000,3.06000000],[1549961881000,3.28000000],[1549962182000,3.38000000],[1549962481000,3.50000000],[1549962781000,3.82000000],[1549963081000,4.00000000],[1549963381000,4.04000000],[1549963681000,4.24000000],[1549963981000,4.30000000],[1549964281000,4.30000000],[1549964581000,4.40000000],[1549964881000,4.50000000],[1549965181000,4.36000000],[1549965481000,4.40000000],[1549965781000,4.52000000],[1549966081000,5.00000000],[1549966381000,4.72000000],[1549966681000,4.82000000],[1549966981000,4.68000000],[1549967281000,4.32000000],[1549967581000,4.24000000],[1549967881000,4.18000000],[1549968181000,3.80000000],[1549968481000,3.00000000],[1549968781000,2.74000000],[1549969081000,3.00000000],[1549969381000,3.14000000],[1549969681000,3.32000000],[1549969981000,3.60000000],[1549970281000,3.48000000],[1549970581000,3.40000000],[1549970882000,3.24000000],[1549971181000,3.28000000],[1549971482000,3.30000000],[1549971781000,3.52000000],[1549972081000,3.88000000],[1549972382000,3.66000000],[1549972681000,3.70000000],[1549972981000,3.86000000],[1549973281000,3.90000000],[1549973581000,4.08000000],[1549973881000,4.18000000],[1549974181000,4.78000000],[1549974481000,5.98000000],[1549974781000,5.94000000],[1549975082000,5.28000000],[1549975381000,5.84000000],[1549975681000,5.32000000],[1549975981000,4.54000000],[1549976281000,4.28000000],[1549976581000,4.20000000],[1549976881000,4.20000000],[1549977181000,4.16000000],[1549977481000,4.26000000],[1549977781000,4.24000000],[1549978082000,4.20000000],[1549978381000,4.20000000],[1549978681000,5.24000000],[1549978981000,6.00000000],[1549979281000,6.22000000],[1549979581000,6.02000000],[1549979881000,5.92000000],[1549980181000,5.32000000],[1549980481000,5.46000000],[1549980781000,5.72000000],[1549981081000,5.60000000],[1549981381000,5.04000000],[1549981681000,4.60000000],[1549981981000,4.50000000],[1549982281000,4.50000000],[1549982581000,4.26000000],[1549982881000,4.02000000],[1549983181000,3.86000000],[1549983481000,3.72000000],[1549983781000,3.72000000],[1549984081000,3.72000000],[1549984381000,3.68000000],[1549984681000,3.56000000],[1549984981000,3.42000000],[1549985281000,3.40000000],[1549985581000,3.36000000],[1549985881000,3.30000000],[1549986181000,3.28000000],[1549986481000,3.20000000],[1549986781000,3.22000000],[1549987081000,3.10000000],[1549987381000,3.10000000],[1549987681000,3.06000000],[1549987981000,2.86000000],[1549988281000,2.80000000],[1549988581000,2.90000000],[1549988881000,2.74000000],[1549989181000,2.80000000],[1549989481000,2.72000000],[1549989781000,2.66000000],[1549990081000,2.62000000],[1549990381000,2.44000000],[1549990681000,2.58000000],[1549990981000,2.44000000],[1549991281000,2.36000000],[1549991581000,2.34000000],[1549991881000,2.24000000],[1549992181000,2.14000000],[1549992481000,2.36000000],[1549992781000,2.46000000],[1549993081000,2.46000000],[1549993381000,2.56000000],[1549993681000,2.56000000],[1549993981000,2.54000000],[1549994281000,2.50000000],[1549994581000,2.34000000],[1549994881000,2.20000000],[1549995181000,2.30000000],[1549995481000,2.32000000],[1549995781000,2.30000000],[1549996081000,2.20000000],[1549996381000,2.20000000],[1549996681000,2.08000000],[1549996981000,1.98000000],[1549997281000,1.84000000],[1549997581000,1.80000000],[1549997881000,1.78000000],[1549998181000,1.84000000],[1549998481000,1.70000000],[1549998781000,1.82000000],[1549999081000,1.86000000],[1549999381000,1.82000000],[1549999681000,1.62000000],[1549999981000,1.70000000],[1550000281000,1.62000000],[1550000581000,1.70000000],[1550000881000,1.60000000],[1550001181000,1.52000000],[1550001481000,1.50000000],[1550001781000,1.58000000],[1550002081000,1.52000000],[1550002381000,1.58000000],[1550002681000,1.62000000],[1550002981000,1.62000000],[1550003281000,1.60000000],[1550003581000,1.54000000],[1550003881000,1.56000000],[1550004181000,1.54000000],[1550004481000,1.58000000],[1550004781000,1.50000000],[1550005081000,1.44000000],[1550005381000,1.56000000],[1550005681000,1.48000000],[1550005982000,1.52000000],[1550006281000,1.58000000],[1550006581000,1.50000000],[1550006881000,1.54000000],[1550007181000,1.44000000],[1550007481000,1.40000000],[1550007781000,1.42000000],[1550008081000,1.40000000],[1550008381000,1.36000000],[1550008681000,1.30000000],[1550008981000,1.30000000],[1550009281000,1.40000000],[1550009581000,1.46000000],[1550009881000,1.38000000],[1550010181000,1.28000000],[1550010481000,1.28000000],[1550010781000,1.24000000],[1550011081000,1.16000000],[1550011381000,1.32000000],[1550011681000,1.28000000],[1550011981000,1.26000000],[1550012281000,1.20000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1549926001000,-0.8],[1549926181000,-0.8],[1549926481000,-0.9],[1549926781000,-0.9],[1549927081000,-0.9],[1549927381000,-1],[1549927681000,-1],[1549927981000,-1],[1549928281000,-1.1],[1549928581000,-1.2],[1549928881000,-1.1],[1549929181000,-1.2],[1549929481000,-1.2],[1549929781000,-1.2],[1549930081000,-1.2],[1549930381000,-1.3],[1549930681000,-1.3],[1549930981000,-1.4],[1549931281000,-1.4],[1549931581000,-1.5],[1549931881000,-1.5],[1549932181000,-1.5],[1549932481000,-1.6],[1549932781000,-1.7],[1549933081000,-1.8],[1549933681000,-1.9],[1549933981000,-2],[1549934281000,-2.1],[1549934581000,-2.2],[1549934881000,-2.1],[1549935181000,-2.2],[1549935481000,-2.4],[1549935781000,-2.5],[1549936081000,-2.4],[1549936381000,-2.5],[1549936681000,-2.5],[1549936981000,-2.6],[1549937281000,-2.6],[1549937581000,-2.7],[1549937881000,-2.7],[1549938181000,-2.7],[1549938481000,-2.7],[1549938781000,-2.7],[1549939081000,-2.6],[1549939381000,-2.5],[1549939681000,-2.4],[1549939981000,-2.4],[1549940281000,-2.3],[1549940581000,-2.3],[1549940881000,-2.3],[1549941181000,-2.3],[1549941481000,-2.3],[1549941781000,-2.4],[1549942081000,-2.4],[1549942381000,-2.5],[1549942681000,-2.5],[1549942981000,-2.5],[1549943281000,-2.5],[1549943581000,-2.6],[1549943881000,-2.8],[1549944181000,-2.8],[1549944481000,-2.8],[1549944781000,-2.9],[1549945081000,-3.1],[1549945381000,-3.2],[1549945681000,-3.2],[1549945981000,-3.5],[1549946281000,-3.6],[1549946581000,-3.9],[1549946881000,-4.1],[1549947181000,-4.6],[1549947481000,-4.8],[1549947781000,-4.8],[1549948081000,-4.9],[1549948381000,-4.8],[1549948681000,-4.8],[1549948981000,-4.7],[1549949281000,-4.7],[1549949581000,-4.7],[1549949881000,-4.7],[1549950181000,-4.7],[1549950481000,-4.3],[1549950781000,-3.7],[1549951081000,-3.1],[1549951381000,-2.9],[1549951681000,-2.8],[1549951981000,-2.6],[1549952281000,-2.2],[1549952581000,-2.1],[1549952881000,-1.8],[1549953181000,-2],[1549953481000,-2.1],[1549953781000,-2.3],[1549954081000,-2.4],[1549954381000,-2.6],[1549954681000,-2.8],[1549954981000,-3.1],[1549955281000,-3.2],[1549955581000,-3.1],[1549955881000,-3.1],[1549956181000,-3.1],[1549956481000,-2.8],[1549956781000,-2.8],[1549957081000,-2.6],[1549957381000,-2.4],[1549957681000,-2.4],[1549957981000,-2.2],[1549958281000,-2.1],[1549958581000,-2],[1549958881000,-2.1],[1549959181000,-1.6],[1549959481000,-1.8],[1549959781000,-2.1],[1549960081000,-2.2],[1549960381000,-2.2],[1549960681000,-2.1],[1549960981000,-2.1],[1549961281000,-2],[1549961581000,-2],[1549961881000,-1.9],[1549962182000,-1.9],[1549962481000,-2.1],[1549962781000,-2],[1549963081000,-2.1],[1549963381000,-2.1],[1549963681000,-2.2],[1549963981000,-2.2],[1549964281000,-2.3],[1549964581000,-2.2],[1549964881000,-1.9],[1549965181000,-2.2],[1549965481000,-2.4],[1549965781000,-2.4],[1549966081000,-2.6],[1549966381000,-2.4],[1549966681000,-2.4],[1549966981000,-2.6],[1549967281000,-2.7],[1549967581000,-2.7],[1549967881000,-2.9],[1549968181000,-2.3],[1549968481000,-1.8],[1549968781000,-1.6],[1549969081000,-1.6],[1549969381000,-1.7],[1549969681000,-1.8],[1549969981000,-1.7],[1549970281000,-1.8],[1549970581000,-2.2],[1549970882000,-2],[1549971181000,-2],[1549971482000,-1.9],[1549971781000,-1.7],[1549972081000,-1.3],[1549972382000,-1.7],[1549972681000,-2.2],[1549972981000,-2.3],[1549973281000,-2.3],[1549973581000,-2.3],[1549973881000,-2.3],[1549974181000,-2.3],[1549974481000,-1.9],[1549974781000,-1.6],[1549975082000,-1.9],[1549975381000,-2.1],[1549975681000,-2.1],[1549975981000,-2.6],[1549976281000,-2.6],[1549976581000,-2.7],[1549976881000,-2.9],[1549977181000,-2.6],[1549977481000,-2.7],[1549977781000,-2.7],[1549978082000,-2.7],[1549978381000,-2.9],[1549978681000,-3],[1549978981000,-2.8],[1549979281000,-2.3],[1549979581000,-2],[1549979881000,-2],[1549980181000,-2.6],[1549980481000,-2.6],[1549980781000,-2.3],[1549981081000,-2.3],[1549981381000,-2.5],[1549981681000,-2.7],[1549981981000,-2.7],[1549982281000,-2.6],[1549982581000,-2.6],[1549982881000,-2.8],[1549983181000,-2.8],[1549983481000,-2.7],[1549983781000,-2.5],[1549984081000,-2.8],[1549984381000,-2.8],[1549984681000,-2.8],[1549984981000,-2.8],[1549985281000,-2.8],[1549985581000,-2.7],[1549985881000,-2.6],[1549986181000,-2.5],[1549986481000,-2.6],[1549986781000,-2.4],[1549987081000,-2.5],[1549987381000,-2.4],[1549987681000,-2.4],[1549987981000,-2.4],[1549988281000,-2.7],[1549988581000,-2.6],[1549988881000,-2.6],[1549989181000,-2.5],[1549989481000,-2.4],[1549989781000,-2.6],[1549990081000,-2.6],[1549990381000,-2.7],[1549990681000,-2.7],[1549990981000,-2.7],[1549991281000,-2.8],[1549991581000,-3],[1549991881000,-3],[1549992181000,-3.2],[1549992481000,-3.3],[1549992781000,-3.2],[1549993081000,-3.1],[1549993381000,-3.1],[1549993681000,-3.1],[1549993981000,-3.2],[1549994281000,-3.2],[1549994581000,-3.1],[1549994881000,-3.1],[1549995181000,-3],[1549995481000,-2.8],[1549995781000,-2.9],[1549996081000,-2.9],[1549996381000,-2.9],[1549996681000,-2.9],[1549996981000,-2.9],[1549997281000,-2.9],[1549997581000,-2.9],[1549997881000,-3],[1549998181000,-2.9],[1549998481000,-2.9],[1549999081000,-2.9],[1549999381000,-2.8],[1549999681000,-2.9],[1549999981000,-2.9],[1550000281000,-2.9],[1550000581000,-2.9],[1550000881000,-2.9],[1550001181000,-3],[1550001481000,-3],[1550001781000,-3],[1550002081000,-3],[1550002381000,-3],[1550002681000,-3],[1550002981000,-2.9],[1550003281000,-2.8],[1550003581000,-2.8],[1550003881000,-2.8],[1550004181000,-2.8],[1550004481000,-2.7],[1550004781000,-2.7],[1550005081000,-2.7],[1550005381000,-2.6],[1550005681000,-2.6],[1550005982000,-2.6],[1550006281000,-2.6],[1550006581000,-2.6],[1550006881000,-2.6],[1550007181000,-2.6],[1550007481000,-2.8],[1550007781000,-2.8],[1550008081000,-2.8],[1550008381000,-2.7],[1550008681000,-2.7],[1550008981000,-2.7],[1550009281000,-2.7],[1550009581000,-2.7],[1550009881000,-2.8],[1550010181000,-2.8],[1550010481000,-2.8],[1550010781000,-2.8],[1550011081000,-2.8],[1550011381000,-2.8],[1550011681000,-2.7],[1550011981000,-2.7],[1550012281000,-2.6],], 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: [[1549926001000,74.86666667],[1549926181000,74.84000000],[1549926481000,73.92000000],[1549926781000,74.08000000],[1549927081000,74.24000000],[1549927381000,73.64000000],[1549927681000,73.70000000],[1549927981000,73.60000000],[1549928281000,72.90000000],[1549928581000,72.30000000],[1549928881000,72.48000000],[1549929181000,72.54000000],[1549929481000,72.62000000],[1549929781000,72.18000000],[1549930081000,71.68000000],[1549930381000,71.44000000],[1549930681000,71.70000000],[1549930981000,71.60000000],[1549931281000,71.62000000],[1549931581000,71.20000000],[1549931881000,71.56000000],[1549932181000,71.44000000],[1549932481000,71.40000000],[1549932781000,71.54000000],[1549933081000,70.86000000],[1549933381000,70.92000000],[1549933681000,70.60000000],[1549933981000,71.44000000],[1549934281000,71.34000000],[1549934581000,70.38000000],[1549934881000,70.22000000],[1549935181000,70.18000000],[1549935481000,68.70000000],[1549935781000,67.62000000],[1549936081000,68.10000000],[1549936381000,69.38000000],[1549936681000,69.36000000],[1549936981000,69.02000000],[1549937281000,69.16000000],[1549937581000,68.78000000],[1549937881000,69.08000000],[1549938181000,68.72000000],[1549938481000,68.36000000],[1549938781000,68.62000000],[1549939081000,69.66000000],[1549939381000,70.04000000],[1549939681000,69.92000000],[1549939981000,69.48000000],[1549940281000,70.84000000],[1549940581000,70.88000000],[1549940881000,70.68000000],[1549941181000,70.94000000],[1549941481000,71.04000000],[1549941781000,70.62000000],[1549942081000,70.88000000],[1549942381000,70.62000000],[1549942681000,70.36000000],[1549942981000,70.46000000],[1549943281000,69.70000000],[1549943581000,69.44000000],[1549943881000,68.42000000],[1549944181000,67.58000000],[1549944481000,67.82000000],[1549944781000,67.18000000],[1549945081000,65.96000000],[1549945381000,64.54000000],[1549945681000,64.56000000],[1549945981000,63.10000000],[1549946281000,62.82000000],[1549946581000,61.30000000],[1549946881000,60.78000000],[1549947181000,58.98000000],[1549947481000,57.98000000],[1549947781000,58.24000000],[1549948081000,58.30000000],[1549948381000,58.50000000],[1549948681000,58.64000000],[1549948981000,58.86000000],[1549949281000,59.02000000],[1549949581000,59.90000000],[1549949881000,59.70000000],[1549950181000,59.62000000],[1549950481000,60.68000000],[1549950781000,63.60000000],[1549951081000,67.98000000],[1549951381000,70.12000000],[1549951681000,70.88000000],[1549951981000,72.32000000],[1549952281000,74.78000000],[1549952581000,76.70000000],[1549952881000,79.32000000],[1549953181000,78.82000000],[1549953481000,78.10000000],[1549953781000,76.38000000],[1549954081000,75.98000000],[1549954381000,74.14000000],[1549954681000,73.18000000],[1549954981000,71.20000000],[1549955281000,69.62000000],[1549955581000,68.46000000],[1549955881000,68.00000000],[1549956181000,67.22000000],[1549956481000,68.24000000],[1549956781000,68.48000000],[1549957081000,68.76000000],[1549957381000,67.84000000],[1549957681000,66.72000000],[1549957981000,68.08000000],[1549958281000,66.88000000],[1549958581000,65.16000000],[1549958881000,62.22000000],[1549959181000,62.06000000],[1549959481000,65.02000000],[1549959781000,65.72000000],[1549960081000,66.94000000],[1549960381000,67.80000000],[1549960681000,68.78000000],[1549960981000,69.18000000],[1549961281000,70.02000000],[1549961581000,69.90000000],[1549961881000,69.32000000],[1549962182000,68.92000000],[1549962481000,67.24000000],[1549962781000,65.94000000],[1549963081000,64.90000000],[1549963381000,64.70000000],[1549963681000,63.32000000],[1549963981000,62.80000000],[1549964281000,62.46000000],[1549964581000,62.68000000],[1549964881000,63.50000000],[1549965181000,62.58000000],[1549965481000,61.68000000],[1549965781000,60.98000000],[1549966081000,58.10000000],[1549966381000,60.42000000],[1549966681000,59.80000000],[1549966981000,59.50000000],[1549967281000,60.64000000],[1549967581000,61.02000000],[1549967881000,60.36000000],[1549968181000,64.62000000],[1549968481000,71.18000000],[1549968781000,73.22000000],[1549969081000,72.20000000],[1549969381000,70.90000000],[1549969681000,69.46000000],[1549969981000,68.86000000],[1549970281000,68.64000000],[1549970581000,67.30000000],[1549970882000,68.88000000],[1549971181000,68.60000000],[1549971482000,68.98000000],[1549971781000,69.10000000],[1549972081000,69.44000000],[1549972382000,68.10000000],[1549972681000,65.92000000],[1549972981000,64.62000000],[1549973281000,64.40000000],[1549973581000,63.52000000],[1549973881000,62.90000000],[1549974181000,60.42000000],[1549974481000,57.34000000],[1549974781000,58.68000000],[1549975082000,60.30000000],[1549975381000,57.16000000],[1549975681000,59.00000000],[1549975981000,60.38000000],[1549976281000,61.26000000],[1549976581000,61.18000000],[1549976881000,60.32000000],[1549977181000,61.58000000],[1549977481000,61.08000000],[1549977781000,61.08000000],[1549978082000,61.24000000],[1549978381000,60.46000000],[1549978681000,55.60000000],[1549978981000,53.56000000],[1549979281000,54.92000000],[1549979581000,56.92000000],[1549979881000,57.28000000],[1549980181000,57.02000000],[1549980481000,56.46000000],[1549980781000,56.52000000],[1549981081000,57.08000000],[1549981381000,58.64000000],[1549981681000,59.44000000],[1549981981000,59.74000000],[1549982281000,60.56000000],[1549982581000,61.34000000],[1549982881000,61.58000000],[1549983181000,62.40000000],[1549983481000,63.42000000],[1549983781000,64.06000000],[1549984081000,62.96000000],[1549984381000,62.78000000],[1549984681000,63.34000000],[1549984981000,64.30000000],[1549985281000,64.16000000],[1549985581000,64.86000000],[1549985881000,65.56000000],[1549986181000,66.06000000],[1549986481000,66.30000000],[1549986781000,67.04000000],[1549987081000,67.18000000],[1549987381000,67.50000000],[1549987681000,67.70000000],[1549987981000,68.62000000],[1549988281000,67.28000000],[1549988581000,67.32000000],[1549988881000,68.42000000],[1549989181000,68.58000000],[1549989481000,69.26000000],[1549989781000,68.54000000],[1549990081000,68.84000000],[1549990381000,69.42000000],[1549990681000,68.26000000],[1549990981000,68.94000000],[1549991281000,68.84000000],[1549991581000,68.24000000],[1549991881000,68.82000000],[1549992181000,68.34000000],[1549992481000,66.78000000],[1549992781000,66.76000000],[1549993081000,66.92000000],[1549993381000,66.42000000],[1549993681000,66.52000000],[1549993981000,66.20000000],[1549994281000,66.44000000],[1549994581000,67.88000000],[1549994881000,68.22000000],[1549995181000,68.26000000],[1549995481000,69.04000000],[1549995781000,68.94000000],[1549996081000,69.28000000],[1549996381000,69.28000000],[1549996681000,69.92000000],[1549996981000,70.44000000],[1549997281000,70.96000000],[1549997581000,71.42000000],[1549997881000,71.10000000],[1549998181000,71.20000000],[1549998481000,71.82000000],[1549998782000,71.08000000],[1549999081000,71.08000000],[1549999381000,71.76000000],[1549999681000,72.14000000],[1549999981000,71.78000000],[1550000281000,72.10000000],[1550000581000,71.68000000],[1550000881000,72.10000000],[1550001181000,72.24000000],[1550001481000,72.12000000],[1550001781000,71.90000000],[1550002081000,72.44000000],[1550002381000,72.08000000],[1550002681000,71.92000000],[1550002981000,72.34000000],[1550003281000,72.70000000],[1550003581000,73.10000000],[1550003881000,73.08000000],[1550004181000,73.36000000],[1550004481000,73.44000000],[1550004781000,74.12000000],[1550005081000,74.48000000],[1550005381000,73.90000000],[1550005681000,74.36000000],[1550005982000,74.40000000],[1550006281000,74.26000000],[1550006581000,74.40000000],[1550006881000,74.00000000],[1550007181000,74.62000000],[1550007481000,74.10000000],[1550007781000,73.96000000],[1550008081000,74.02000000],[1550008381000,74.82000000],[1550008681000,75.08000000],[1550008981000,75.08000000],[1550009281000,74.26000000],[1550009581000,74.00000000],[1550009881000,74.06000000],[1550010181000,74.52000000],[1550010481000,74.30000000],[1550010781000,74.80000000],[1550011081000,75.06000000],[1550011381000,74.56000000],[1550011681000,75.16000000],[1550011981000,75.38000000],[1550012281000,75.90000000],], 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: [[1549926001000,1018.3],[1549926181000,1018.2],[1549926481000,1018.2],[1549926781000,1018.4],[1549927081000,1018.4],[1549927381000,1018.3],[1549927681000,1018.3],[1549927981000,1018.3],[1549928281000,1018.2],[1549928581000,1018.4],[1549928881000,1018.3],[1549929181000,1018.3],[1549929481000,1018.3],[1549929781000,1018.3],[1549930081000,1018.4],[1549930381000,1018.5],[1549930681000,1018.6],[1549930981000,1018.7],[1549931281000,1018.7],[1549931581000,1018.7],[1549931881000,1018.7],[1549932181000,1018.8],[1549932481000,1018.8],[1549932781000,1018.8],[1549933081000,1018.8],[1549933681000,1018.9],[1549933981000,1019.1],[1549934281000,1019],[1549934581000,1019],[1549934881000,1019.1],[1549935181000,1019.3],[1549935481000,1019.4],[1549935781000,1019.5],[1549936081000,1019.5],[1549936381000,1019.5],[1549936681000,1019.5],[1549936981000,1019.6],[1549937281000,1019.6],[1549937581000,1019.7],[1549937881000,1019.7],[1549938181000,1019.7],[1549938481000,1019.8],[1549938781000,1019.8],[1549939081000,1019.9],[1549939381000,1020],[1549939681000,1020.1],[1549939981000,1020.1],[1549940281000,1020.2],[1549940581000,1020.2],[1549940881000,1020.3],[1549941181000,1020.3],[1549941481000,1020.4],[1549941781000,1020.5],[1549942081000,1020.6],[1549942381000,1020.7],[1549942681000,1020.8],[1549942981000,1020.8],[1549943281000,1020.9],[1549943581000,1021],[1549943881000,1021],[1549944181000,1021],[1549944481000,1021.1],[1549944781000,1021.2],[1549945081000,1021.2],[1549945381000,1021.2],[1549945681000,1021.2],[1549945981000,1021.2],[1549946281000,1021.2],[1549946581000,1021.2],[1549946881000,1021.1],[1549947181000,1021],[1549947481000,1021.1],[1549947781000,1021],[1549948081000,1021.2],[1549948381000,1021.3],[1549948681000,1021.5],[1549948981000,1021.5],[1549949281000,1021.6],[1549949581000,1021.7],[1549949881000,1021.9],[1549950181000,1022],[1549950481000,1022.1],[1549950781000,1022.3],[1549951081000,1022.4],[1549951381000,1022.5],[1549951681000,1022.6],[1549951981000,1022.7],[1549952281000,1022.8],[1549952581000,1022.9],[1549952881000,1022.8],[1549953181000,1022.8],[1549953481000,1022.6],[1549953781000,1022.6],[1549954081000,1022.7],[1549954381000,1022.7],[1549954681000,1022.8],[1549954981000,1022.9],[1549955281000,1023.1],[1549955581000,1023.2],[1549955881000,1023.3],[1549956181000,1023.3],[1549956481000,1023.3],[1549956781000,1023.4],[1549957081000,1023.6],[1549957381000,1023.6],[1549957681000,1023.7],[1549957981000,1023.7],[1549958281000,1023.6],[1549958581000,1023.7],[1549958881000,1023.6],[1549959181000,1023.7],[1549959481000,1023.8],[1549959781000,1023.9],[1549960081000,1024],[1549960381000,1024.1],[1549960681000,1024.2],[1549960981000,1024.2],[1549961281000,1024.1],[1549961581000,1024.2],[1549961881000,1024.2],[1549962182000,1024.1],[1549962481000,1024],[1549962781000,1024],[1549963081000,1024.1],[1549963381000,1024],[1549963681000,1024.1],[1549963981000,1024.1],[1549964281000,1024.1],[1549964581000,1024.2],[1549964881000,1024.3],[1549965181000,1024.4],[1549965481000,1024.3],[1549965781000,1024.3],[1549966081000,1024.2],[1549966381000,1024.3],[1549966681000,1024.3],[1549966981000,1024.4],[1549967281000,1024.3],[1549967581000,1024.3],[1549967881000,1024.4],[1549968181000,1024.5],[1549968481000,1024.6],[1549968781000,1024.7],[1549969081000,1024.7],[1549969381000,1024.8],[1549969681000,1024.7],[1549969981000,1024.6],[1549970281000,1024.7],[1549970581000,1024.9],[1549970882000,1025],[1549971181000,1025.2],[1549971482000,1025.2],[1549971781000,1025.1],[1549972081000,1025],[1549972382000,1025],[1549972681000,1024.9],[1549972981000,1025],[1549973281000,1025.1],[1549973581000,1025.1],[1549973881000,1025.2],[1549974181000,1025.2],[1549974481000,1025.2],[1549974781000,1025.2],[1549975082000,1025.4],[1549975381000,1025.3],[1549975681000,1025.4],[1549975981000,1025.5],[1549976281000,1025.6],[1549976581000,1025.6],[1549976881000,1025.7],[1549977181000,1025.8],[1549977481000,1025.8],[1549977781000,1026],[1549978082000,1026],[1549978381000,1026],[1549978681000,1026],[1549978981000,1025.9],[1549979281000,1025.9],[1549979581000,1025.8],[1549979881000,1025.9],[1549980181000,1026.1],[1549980481000,1026.1],[1549980781000,1026.1],[1549981081000,1026.3],[1549981381000,1026.4],[1549981681000,1026.4],[1549981981000,1026.5],[1549982281000,1026.5],[1549982581000,1026.6],[1549982881000,1026.7],[1549983181000,1026.8],[1549983481000,1026.9],[1549983781000,1027],[1549984081000,1027.1],[1549984381000,1027.1],[1549984681000,1027.1],[1549984981000,1027.2],[1549985281000,1027.3],[1549985581000,1027.4],[1549985881000,1027.6],[1549986181000,1027.6],[1549986481000,1027.7],[1549986781000,1027.8],[1549987081000,1027.9],[1549987381000,1028],[1549987681000,1028],[1549987981000,1028.1],[1549988281000,1028.2],[1549988581000,1028.3],[1549988881000,1028.4],[1549989181000,1028.5],[1549989481000,1028.5],[1549989781000,1028.6],[1549990081000,1028.6],[1549990381000,1028.8],[1549990681000,1028.9],[1549990981000,1029.1],[1549991281000,1029.2],[1549991581000,1029.4],[1549991881000,1029.5],[1549992181000,1029.7],[1549992481000,1029.7],[1549992781000,1029.8],[1549993081000,1029.9],[1549993381000,1030],[1549993681000,1030],[1549993981000,1030.1],[1549994281000,1030.2],[1549994581000,1030.3],[1549994881000,1030.4],[1549995181000,1030.4],[1549995481000,1030.5],[1549995781000,1030.6],[1549996081000,1030.7],[1549996381000,1030.7],[1549996681000,1030.8],[1549996981000,1030.8],[1549997281000,1030.8],[1549997581000,1030.9],[1549997881000,1031],[1549998181000,1031.1],[1549998481000,1031.2],[1549999081000,1031.3],[1549999381000,1031.4],[1549999681000,1031.5],[1549999981000,1031.6],[1550000281000,1031.7],[1550000581000,1031.8],[1550000881000,1031.8],[1550001181000,1031.9],[1550001481000,1032],[1550001781000,1032.1],[1550002081000,1032.1],[1550002381000,1032.1],[1550002681000,1032.1],[1550002981000,1032.1],[1550003281000,1032.1],[1550003581000,1032.2],[1550003881000,1032.2],[1550004181000,1032.2],[1550004481000,1032.2],[1550004781000,1032.3],[1550005081000,1032.3],[1550005381000,1032.3],[1550005681000,1032.2],[1550005982000,1032.3],[1550006281000,1032.3],[1550006581000,1032.4],[1550006881000,1032.4],[1550007181000,1032.5],[1550007481000,1032.6],[1550007781000,1032.7],[1550008081000,1032.7],[1550008381000,1032.9],[1550008681000,1032.9],[1550008981000,1032.9],[1550009281000,1033],[1550009581000,1033],[1550009881000,1033],[1550010181000,1033.1],[1550010481000,1033.2],[1550010781000,1033.2],[1550011081000,1033.2],[1550011381000,1033.3],[1550011681000,1033.3],[1550011981000,1033.4],[1550012281000,1033.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: [[1549926001000,21.120000012],[1549926181000,21.96],[1549926481000,24.552],[1549926781000,24.624],[1549927081000,22.752],[1549927381000,29.52],[1549927681000,27.576],[1549927981000,28.8],[1549928281000,30.024],[1549928581000,30.24],[1549928881000,28.368],[1549929181000,30.24],[1549929481000,31.536],[1549929781000,30.672],[1549930081000,31.896],[1549930381000,30.024],[1549930681000,27.792],[1549930981000,24.912],[1549931282000,28.944],[1549931581000,27.72],[1549931881000,23.4],[1549932181000,21.168],[1549932481000,21.384],[1549932781000,26.352],[1549933081000,27.216],[1549933381000,26.568],[1549933681000,27.36],[1549933981000,19.08],[1549934281000,14.76],[1549934581000,23.688],[1549934881000,22.536],[1549935181000,25.056],[1549935481000,25.704],[1549935781000,26.784],[1549936081000,15.48],[1549936381000,15.624],[1549936681000,15.984],[1549936982000,17.136],[1549937281000,14.328],[1549937581000,11.808],[1549937881000,18.144],[1549938181000,21.528],[1549938481000,21.312],[1549938781000,27.144],[1549939081000,22.392],[1549939381000,25.92],[1549939681000,22.536],[1549939981000,20.232],[1549940282000,17.568],[1549940581000,25.056],[1549940881000,30.024],[1549941181000,27.072],[1549941481000,28.152],[1549941781000,28.872],[1549942081000,28.008],[1549942382000,26.568],[1549942681000,20.952],[1549942981000,20.016],[1549943281000,22.536],[1549943582000,25.416],[1549943881000,28.008],[1549944181000,25.704],[1549944481000,25.92],[1549944781000,27.36],[1549945081000,22.752],[1549945381000,23.184],[1549945681000,23.328],[1549945981000,30.024],[1549946281000,24.552],[1549946581000,28.224],[1549946881000,25.344],[1549947181000,25.128],[1549947481000,30.744],[1549947782000,31.32],[1549948081000,29.016],[1549948381000,30.528],[1549948681000,29.448],[1549948982000,28.584],[1549949281000,21.744],[1549949581000,24.768],[1549949881000,18.504],[1549950181000,23.184],[1549950481000,23.616],[1549950781000,30.096],[1549951081000,24.48],[1549951381000,19.8],[1549951681000,15.84],[1549951981000,12.816],[1549952281000,25.056],[1549952581000,19.008],[1549952881000,19.368],[1549953181000,14.04],[1549953481000,14.112],[1549953781000,18.144],[1549954081000,14.616],[1549954381000,17.064],[1549954681000,16.416],[1549954981000,18.576],[1549955281000,19.944],[1549955581000,17.352],[1549955881000,20.952],[1549956181000,18.144],[1549956482000,21.6],[1549956781000,24.48],[1549957081000,20.016],[1549957381000,19.296],[1549957681000,26.496],[1549957981000,21.456],[1549958281000,24.336],[1549958582000,19.512],[1549958881000,16.92],[1549959181000,23.256],[1549959481000,16.992],[1549959782000,21.168],[1549960081000,21.672],[1549960381000,22.32],[1549960681000,26.928],[1549960981000,21.312],[1549961281000,22.608],[1549961581000,15.768],[1549961881000,17.64],[1549962181000,16.488],[1549962481000,18.144],[1549962781000,22.536],[1549963081000,24.12],[1549963381000,25.848],[1549963681000,25.992],[1549963981000,26.712],[1549964281000,28.224],[1549964581000,25.704],[1549964881000,27.936],[1549965181000,24.48],[1549965481000,28.008],[1549965781000,28.656],[1549966081000,28.584],[1549966381000,31.896],[1549966681000,27.144],[1549966981000,26.928],[1549967281000,31.464],[1549967581000,29.736],[1549967881000,27],[1549968181000,31.464],[1549968481000,30.312],[1549968781000,29.736],[1549969081000,30.744],[1549969381000,29.52],[1549969681000,23.256],[1549969981000,24.912],[1549970281000,25.56],[1549970581000,28.296],[1549970881000,30.096],[1549971181000,29.88],[1549971481000,28.44],[1549971781000,25.848],[1549972081000,14.76],[1549972381000,22.32],[1549972681000,25.128],[1549972981000,27.864],[1549973281000,28.368],[1549973581000,30.888],[1549973881000,31.608],[1549974181000,29.088],[1549974482000,32.328],[1549974781000,31.896],[1549975081000,31.176],[1549975382000,31.824],[1549975681000,31.248],[1549975981000,30.312],[1549976281000,30.528],[1549976581000,24.84],[1549976881000,27.072],[1549977181000,28.08],[1549977481000,28.728],[1549977781000,25.704],[1549978081000,27.864],[1549978381000,26.856],[1549978681000,27.216],[1549978981000,30.384],[1549979281000,25.272],[1549979581000,21.96],[1549979881000,24.048],[1549980181000,30.456],[1549980481000,29.52],[1549980782000,29.448],[1549981081000,30.456],[1549981381000,29.088],[1549981681000,30.312],[1549981981000,25.272],[1549982281000,21.888],[1549982581000,20.232],[1549982881000,25.2],[1549983181000,30.456],[1549983481000,30.168],[1549983781000,26.64],[1549984081000,30.888],[1549984381000,27.864],[1549984681000,20.376],[1549984981000,20.016],[1549985281000,21.384],[1549985581000,26.424],[1549985881000,25.776],[1549986181000,26.208],[1549986481000,28.584],[1549986781000,26.136],[1549987081000,28.512],[1549987382000,25.776],[1549987681000,25.704],[1549987981000,21.888],[1549988281000,28.152],[1549988582000,25.488],[1549988881000,24.192],[1549989181000,24.264],[1549989481000,22.608],[1549989781000,24.768],[1549990081000,23.328],[1549990381000,25.128],[1549990682000,25.344],[1549990981000,23.688],[1549991281000,23.472],[1549991581000,27.936],[1549991881000,22.104],[1549992181000,25.992],[1549992481000,27.648],[1549992781000,25.776],[1549993081000,24.552],[1549993381000,25.776],[1549993681000,24.624],[1549993982000,25.632],[1549994281000,22.824],[1549994581000,19.008],[1549994881000,25.632],[1549995181000,23.76],[1549995481000,21.24],[1549995781000,18.432],[1549996081000,20.808],[1549996381000,23.328],[1549996681000,19.872],[1549996981000,18.72],[1549997281000,22.032],[1549997581000,20.52],[1549997881000,22.968],[1549998181000,24.264],[1549998481000,20.808],[1549998781000,28.224],[1549999081000,28.44],[1549999381000,22.896],[1549999681000,25.128],[1549999981000,22.968],[1550000282000,25.128],[1550000581000,23.616],[1550000881000,26.28],[1550001181000,24.624],[1550001481000,26.712],[1550001781000,27.432],[1550002081000,26.136],[1550002381000,26.424],[1550002681000,28.512],[1550002981000,27.648],[1550003281000,30.528],[1550003581000,24.624],[1550003881000,28.584],[1550004181000,30.24],[1550004481000,27.216],[1550004781000,28.872],[1550005081000,27.432],[1550005381000,29.016],[1550005681000,26.856],[1550005981000,27.504],[1550006281000,27.792],[1550006581000,25.416],[1550006881000,26.208],[1550007181000,26.28],[1550007481000,27.504],[1550007781000,27.072],[1550008081000,23.832],[1550008381000,26.208],[1550008682000,20.88],[1550008981000,25.488],[1550009281000,26.352],[1550009581000,25.56],[1550009881000,22.176],[1550010181000,21.6],[1550010481000,24.408],[1550010782000,18.432],[1550011081000,22.392],[1550011381000,24.552],[1550011681000,20.088],[1550011981000,19.368],[1550012281000,16.92],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1549926001000,37.0764],[1549926181000,39.81888],[1549926481000,44.79336],[1549926781000,43.50312],[1549927081000,40.96296],[1549927381000,54.10656],[1549927681000,50.3892],[1549927981000,52.84944],[1549928281000,54.44064],[1549928581000,54.95544],[1549928881000,51.89616],[1549929181000,55.40832],[1549929481000,56.9916],[1549929781000,55.27944],[1549930081000,58.18392],[1549930381000,54.85248],[1549930681000,50.26968],[1549930981000,45.63],[1549931282000,52.0308],[1549931581000,49.85208],[1549931881000,41.58144],[1549932181000,39.006],[1549932481000,38.47104],[1549932781000,48.22848],[1549933081000,49.41288],[1549933381000,47.55024],[1549933681000,50.5656],[1549933981000,33.19776],[1549934281000,26.5032],[1549934581000,43.2288],[1549934881000,40.41504],[1549935181000,44.46144],[1549935481000,46.96776],[1549935781000,48.78648],[1549936081000,26.82648],[1549936381000,27.2988],[1549936681000,27.66024],[1549936982000,30.01176],[1549937281000,24.89184],[1549937581000,19.48464],[1549937881000,32.4396],[1549938181000,40.15656],[1549938481000,39.00384],[1549938781000,49.54824],[1549939081000,40.31856],[1549939381000,45.80784],[1549939681000,40.5],[1549939981000,36.60768],[1549940282000,31.23504],[1549940581000,45.60768],[1549940881000,55.19376],[1549941181000,49.48992],[1549941481000,51.75936],[1549941781000,52.54272],[1549942081000,50.23656],[1549942382000,49.17096],[1549942681000,37.7892],[1549942981000,35.97624],[1549943281000,40.41144],[1549943582000,47.574],[1549943881000,50.98032],[1549944181000,47.80584],[1549944481000,47.93184],[1549944781000,49.96872],[1549945081000,40.68432],[1549945381000,42.012],[1549945681000,42.60456],[1549945981000,54.19728],[1549946281000,45.2412],[1549946581000,50.75712],[1549946881000,46.28736],[1549947181000,46.08864],[1549947481000,54.64584],[1549947782000,57.91032],[1549948081000,53.75808],[1549948381000,56.34144],[1549948681000,53.05464],[1549948982000,53.94888],[1549949281000,38.90664],[1549949581000,45.4716],[1549949881000,33.51528],[1549950181000,42.26832],[1549950481000,43.16688],[1549950781000,54.40536],[1549951081000,44.00784],[1549951381000,36.3636],[1549951681000,27.66456],[1549951981000,22.68648],[1549952281000,45.05904],[1549952581000,33.8328],[1549952881000,34.9128],[1549953181000,24.88824],[1549953481000,24.78744],[1549953781000,33.89112],[1549954081000,25.96248],[1549954381000,31.16232],[1549954681000,28.33848],[1549954981000,32.4576],[1549955281000,36.12024],[1549955581000,32.09472],[1549955881000,37.46592],[1549956181000,32.0724],[1549956482000,38.89224],[1549956781000,44.92944],[1549957081000,35.2188],[1549957381000,34.98264],[1549957681000,48.0492],[1549957981000,38.45736],[1549958281000,45.05328],[1549958582000,34.29864],[1549958881000,30.21192],[1549959181000,42.47568],[1549959481000,30.18672],[1549959782000,37.84896],[1549960081000,39.79584],[1549960381000,41.04864],[1549960681000,49.23432],[1549960981000,38.78712],[1549961281000,40.37112],[1549961581000,27.91584],[1549961881000,31.77072],[1549962181000,28.73736],[1549962481000,32.48856],[1549962781000,39.9996],[1549963081000,45.18288],[1549963381000,47.50416],[1549963681000,48.54024],[1549963981000,48.54096],[1549964281000,50.652],[1549964581000,47.08872],[1549964881000,51.8004],[1549965181000,45.0504],[1549965481000,51.012],[1549965781000,52.19568],[1549966081000,54.18432],[1549966381000,57.1644],[1549966681000,49.1436],[1549966981000,48.40992],[1549967281000,55.14336],[1549967581000,52.41384],[1549967881000,48.51072],[1549968181000,57.1608],[1549968481000,54.96336],[1549968781000,53.70336],[1549969081000,55.86336],[1549969381000,53.928],[1549969681000,41.814],[1549969981000,46.54368],[1549970281000,45.32328],[1549970581000,52.12296],[1549970881000,52.5924],[1549971181000,55.30104],[1549971481000,51.24456],[1549971781000,45.30744],[1549972081000,25.2396],[1549972381000,40.29552],[1549972681000,45.41184],[1549972981000,50.29776],[1549973281000,52.59168],[1549973581000,56.41848],[1549973881000,56.78856],[1549974181000,52.668],[1549974482000,57.24936],[1549974781000,57.3228],[1549975081000,55.81944],[1549975382000,56.73528],[1549975681000,56.99016],[1549975981000,55.58904],[1549976281000,55.73448],[1549976581000,45.018],[1549976881000,48.89952],[1549977181000,51.60096],[1549977481000,53.46792],[1549977781000,46.46736],[1549978081000,49.72464],[1549978381000,47.56176],[1549978681000,49.15512],[1549978981000,56.17512],[1549979281000,45.54072],[1549979581000,40.83552],[1549979881000,43.32744],[1549980181000,56.05056],[1549980481000,53.97768],[1549980782000,54.35568],[1549981081000,55.41984],[1549981381000,52.58088],[1549981681000,54.08928],[1549981981000,46.18872],[1549982281000,39.29112],[1549982581000,36.62496],[1549982881000,45.25632],[1549983181000,55.01592],[1549983481000,54.82224],[1549983781000,48.17376],[1549984081000,56.40624],[1549984381000,50.8824],[1549984681000,35.97552],[1549984981000,36.28008],[1549985281000,38.52504],[1549985581000,47.51136],[1549985881000,47.91744],[1549986181000,47.32992],[1549986481000,52.25904],[1549986781000,48.27816],[1549987081000,52.28352],[1549987382000,46.77264],[1549987681000,47.3508],[1549987981000,39.10104],[1549988281000,51.85224],[1549988582000,46.782],[1549988881000,43.63056],[1549989181000,44.70624],[1549989481000,41.63256],[1549989781000,44.65224],[1549990081000,42.70176],[1549990381000,44.84304],[1549990682000,46.24344],[1549990981000,43.60824],[1549991281000,42.156],[1549991581000,52.37208],[1549991881000,40.5684],[1549992181000,47.68992],[1549992481000,50.48496],[1549992781000,45.87768],[1549993081000,43.73928],[1549993381000,47.3652],[1549993681000,44.35848],[1549993982000,46.43424],[1549994281000,41.16096],[1549994581000,33.00264],[1549994881000,46.62288],[1549995181000,42.44256],[1549995481000,38.62872],[1549995781000,32.29416],[1549996081000,36.93096],[1549996381000,41.74776],[1549996681000,35.766],[1549996981000,33.39792],[1549997281000,39.91536],[1549997581000,36.10872],[1549997881000,41.48856],[1549998181000,43.73856],[1549998481000,37.91376],[1549998781000,50.99256],[1549999081000,51.69312],[1549999381000,40.97088],[1549999681000,45.8424],[1549999981000,41.34096],[1550000282000,45.54288],[1550000581000,44.0424],[1550000881000,48.26736],[1550001181000,44.22456],[1550001481000,48.47688],[1550001781000,48.96936],[1550002081000,48.00096],[1550002381000,47.94048],[1550002681000,51.24096],[1550002981000,50.9076],[1550003281000,54.88128],[1550003581000,45.12312],[1550003881000,52.02216],[1550004181000,55.30176],[1550004481000,50.63544],[1550004781000,53.11728],[1550005081000,50.39928],[1550005381000,53.22816],[1550005681000,50.47416],[1550005981000,50.38488],[1550006281000,50.08608],[1550006581000,45.75168],[1550006881000,47.00088],[1550007181000,48.44088],[1550007481000,50.79168],[1550007781000,49.89888],[1550008081000,43.12152],[1550008381000,47.71296],[1550008682000,37.99296],[1550008981000,46.50768],[1550009281000,48.43656],[1550009581000,46.21248],[1550009881000,40.19832],[1550010181000,38.16],[1550010481000,44.48592],[1550010782000,32.44464],[1550011081000,40.4244],[1550011381000,44.244],[1550011681000,35.89344],[1550011981000,34.4556],[1550012281000,30.1806],], 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: [[1549926001000,167.73333333],[1549926181000,168.14000000],[1549926481000,226.64000000],[1549926781000,195.54000000],[1549927081000,152.18000000],[1549927381000,135.02000000],[1549927681000,216.42000000],[1549927981000,198.84000000],[1549928281000,164.88000000],[1549928581000,211.10000000],[1549928881000,185.32000000],[1549929181000,207.00000000],[1549929481000,229.08000000],[1549929781000,204.96000000],[1549930081000,167.30000000],[1549930381000,202.50000000],[1549930681000,181.22000000],[1549930981000,253.64000000],[1549931282000,132.94000000],[1549931581000,195.56000000],[1549931881000,174.28000000],[1549932181000,222.14000000],[1549932481000,220.90000000],[1549932781000,195.12000000],[1549933081000,203.30000000],[1549933381000,137.04000000],[1549933681000,155.86000000],[1549933981000,142.38000000],[1549934281000,130.50000000],[1549934581000,172.64000000],[1549934881000,175.92000000],[1549935181000,201.26000000],[1549935481000,168.14000000],[1549935781000,227.44000000],[1549936081000,159.12000000],[1549936381000,172.22000000],[1549936681000,227.02000000],[1549936982000,165.70000000],[1549937281000,204.14000000],[1549937581000,243.82000000],[1549937881000,158.72000000],[1549938181000,209.44000000],[1549938481000,237.26000000],[1549938781000,192.68000000],[1549939081000,218.02000000],[1549939381000,230.72000000],[1549939681000,218.86000000],[1549939981000,220.48000000],[1549940282000,173.48000000],[1549940581000,204.54000000],[1549940881000,246.30000000],[1549941181000,226.22000000],[1549941481000,216.00000000],[1549941781000,237.68000000],[1549942081000,190.62000000],[1549942382000,215.18000000],[1549942681000,196.76000000],[1549942981000,245.06000000],[1549943281000,227.86000000],[1549943582000,278.18000000],[1549943881000,249.96000000],[1549944181000,268.76000000],[1549944481000,190.22000000],[1549944781000,211.48000000],[1549945081000,180.80000000],[1549945381000,173.44000000],[1549945681000,188.18000000],[1549945981000,160.76000000],[1549946281000,200.04000000],[1549946581000,150.56000000],[1549946881000,204.12000000],[1549947181000,180.00000000],[1549947481000,141.14000000],[1549947782000,201.68000000],[1549948081000,182.84000000],[1549948381000,241.34000000],[1549948681000,171.84000000],[1549948982000,195.35000000],[1549949281000,179.58000000],[1549949581000,203.34000000],[1549949881000,231.94000000],[1549950181000,184.50000000],[1549950481000,136.22000000],[1549950781000,189.00000000],[1549951081000,225.82000000],[1549951381000,174.28000000],[1549951681000,154.24000000],[1549951981000,202.08000000],[1549952281000,186.12000000],[1549952581000,254.46000000],[1549952881000,213.96000000],[1549953181000,175.92000000],[1549953481000,222.56000000],[1549953781000,231.94000000],[1549954081000,211.52000000],[1549954381000,176.72000000],[1549954681000,145.24000000],[1549954981000,194.30000000],[1549955281000,195.94000000],[1549955581000,232.36000000],[1549955881000,210.26000000],[1549956181000,238.10000000],[1549956482000,209.86000000],[1549956781000,201.28000000],[1549957081000,212.34000000],[1549957381000,214.38000000],[1549957681000,223.76000000],[1549957981000,201.68000000],[1549958281000,215.18000000],[1549958582000,223.36000000],[1549958881000,234.40000000],[1549959181000,195.96000000],[1549959481000,241.78000000],[1549959782000,175.48000000],[1549960081000,146.86000000],[1549960381000,193.52000000],[1549960681000,223.34000000],[1549960981000,178.36000000],[1549961281000,139.48000000],[1549961581000,215.20000000],[1549961881000,209.44000000],[1549962181000,218.04000000],[1549962481000,232.78000000],[1549962781000,225.84000000],[1549963081000,224.20000000],[1549963381000,152.58000000],[1549963681000,228.28000000],[1549963981000,208.20000000],[1549964281000,217.24000000],[1549964581000,151.36000000],[1549964881000,146.84000000],[1549965181000,164.46000000],[1549965481000,180.42000000],[1549965781000,165.26000000],[1549966081000,228.68000000],[1549966381000,137.46000000],[1549966681000,185.30000000],[1549966981000,87.98000000],[1549967281000,165.68000000],[1549967581000,121.50000000],[1549967881000,142.36000000],[1549968181000,156.68000000],[1549968481000,144.84000000],[1549968781000,174.30000000],[1549969081000,152.16000000],[1549969381000,175.50000000],[1549969681000,178.38000000],[1549969981000,188.20000000],[1549970281000,66.26000000],[1549970581000,165.70000000],[1549970881000,157.50000000],[1549971181000,160.36000000],[1549971481000,139.50000000],[1549971781000,121.06000000],[1549972081000,110.04000000],[1549972381000,182.48000000],[1549972681000,181.22000000],[1549972981000,239.32000000],[1549973281000,188.20000000],[1549973581000,197.60000000],[1549973881000,223.36000000],[1549974181000,213.14000000],[1549974482000,184.10000000],[1549974781000,156.70000000],[1549975081000,161.60000000],[1549975382000,168.14000000],[1549975681000,172.24000000],[1549975981000,161.20000000],[1549976281000,134.16000000],[1549976581000,167.74000000],[1549976881000,165.70000000],[1549977181000,188.18000000],[1549977481000,179.60000000],[1549977781000,173.84000000],[1549978081000,182.04000000],[1549978381000,154.22000000],[1549978681000,213.14000000],[1549978981000,211.50000000],[1549979281000,158.74000000],[1549979581000,211.92000000],[1549979881000,188.18000000],[1549980181000,208.64000000],[1549980481000,175.50000000],[1549980782000,214.78000000],[1549981081000,195.56000000],[1549981381000,197.58000000],[1549981681000,182.84000000],[1549981981000,219.26000000],[1549982281000,122.32000000],[1549982581000,158.30000000],[1549982881000,133.40000000],[1549983181000,142.76000000],[1549983481000,86.72000000],[1549983781000,110.86000000],[1549984081000,121.50000000],[1549984381000,178.38000000],[1549984681000,160.78000000],[1549984981000,207.42000000],[1549985281000,215.98000000],[1549985581000,188.98000000],[1549985881000,176.72000000],[1549986181000,181.24000000],[1549986481000,213.54000000],[1549986781000,210.68000000],[1549987081000,202.48000000],[1549987382000,191.86000000],[1549987681000,155.04000000],[1549987981000,218.06000000],[1549988281000,210.68000000],[1549988582000,138.26000000],[1549988881000,140.72000000],[1549989181000,195.54000000],[1549989481000,214.78000000],[1549989781000,207.84000000],[1549990081000,228.26000000],[1549990381000,191.04000000],[1549990682000,210.68000000],[1549990981000,207.82000000],[1549991281000,216.82000000],[1549991581000,218.44000000],[1549991881000,150.56000000],[1549992181000,174.28000000],[1549992481000,182.46000000],[1549992781000,208.64000000],[1549993081000,183.68000000],[1549993381000,200.86000000],[1549993681000,215.18000000],[1549993982000,219.70000000],[1549994281000,210.70000000],[1549994581000,198.40000000],[1549994881000,211.08000000],[1549995181000,206.16000000],[1549995481000,164.44000000],[1549995781000,205.36000000],[1549996081000,191.06000000],[1549996381000,185.32000000],[1549996681000,203.32000000],[1549996981000,228.26000000],[1549997281000,226.22000000],[1549997581000,209.48000000],[1549997881000,231.14000000],[1549998181000,268.76000000],[1549998481000,184.10000000],[1549998781000,212.32000000],[1549999081000,232.36000000],[1549999381000,213.56000000],[1549999681000,233.20000000],[1549999981000,210.70000000],[1550000282000,234.02000000],[1550000581000,199.22000000],[1550000881000,225.82000000],[1550001181000,193.50000000],[1550001481000,258.56000000],[1550001781000,203.72000000],[1550002081000,228.68000000],[1550002381000,191.46000000],[1550002681000,213.12000000],[1550002981000,199.22000000],[1550003281000,161.60000000],[1550003581000,165.28000000],[1550003881000,221.74000000],[1550004181000,191.46000000],[1550004481000,210.30000000],[1550004781000,205.78000000],[1550005081000,185.72000000],[1550005381000,211.50000000],[1550005681000,196.78000000],[1550005981000,212.32000000],[1550006281000,204.12000000],[1550006581000,177.56000000],[1550006881000,207.42000000],[1550007181000,194.74000000],[1550007481000,192.30000000],[1550007781000,115.36000000],[1550008081000,208.22000000],[1550008381000,226.64000000],[1550008682000,190.24000000],[1550008981000,137.06000000],[1550009281000,234.02000000],[1550009581000,210.68000000],[1550009881000,158.72000000],[1550010181000,191.46000000],[1550010481000,164.84000000],[1550010782000,169.36000000],[1550011081000,163.22000000],[1550011381000,167.34000000],[1550011681000,196.34000000],[1550011981000,168.56000000],[1550012281000,193.30000000],], 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; }