var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1578351601000,-3.50000000],[1578351781000,-3.44000000],[1578352081000,-3.42000000],[1578352381000,-3.62000000],[1578352681000,-3.46000000],[1578352981000,-3.24000000],[1578353281000,-3.16000000],[1578353581000,-3.18000000],[1578353881000,-3.34000000],[1578354181000,-3.56000000],[1578354481000,-3.70000000],[1578354781000,-3.78000000],[1578355081000,-3.86000000],[1578355381000,-4.00000000],[1578355681000,-4.00000000],[1578355981000,-3.90000000],[1578356281000,-3.96000000],[1578356581000,-3.98000000],[1578356881000,-4.10000000],[1578357181000,-4.10000000],[1578357481000,-4.04000000],[1578357781000,-3.96000000],[1578358081000,-3.92000000],[1578358381000,-4.00000000],[1578358681000,-4.02000000],[1578358981000,-4.00000000],[1578359281000,-3.94000000],[1578359581000,-4.02000000],[1578359881000,-4.00000000],[1578360181000,-4.02000000],[1578360481000,-4.00000000],[1578360781000,-3.92000000],[1578361081000,-3.98000000],[1578361381000,-4.00000000],[1578361681000,-4.06000000],[1578361981000,-4.10000000],[1578362281000,-4.14000000],[1578362581000,-4.10000000],[1578362881000,-4.12000000],[1578363181000,-4.14000000],[1578363481000,-4.10000000],[1578363781000,-4.12000000],[1578364081000,-4.10000000],[1578364381000,-4.14000000],[1578364681000,-4.30000000],[1578364981000,-4.30000000],[1578365281000,-4.26000000],[1578365581000,-4.22000000],[1578365881000,-4.24000000],[1578366181000,-4.28000000],[1578366481000,-4.32000000],[1578366781000,-4.36000000],[1578367081000,-4.30000000],[1578367381000,-4.30000000],[1578367681000,-4.34000000],[1578367981000,-4.40000000],[1578368281000,-4.44000000],[1578368581000,-4.40000000],[1578368881000,-4.40000000],[1578369181000,-4.40000000],[1578369481000,-4.40000000],[1578369781000,-4.40000000],[1578370081000,-4.38000000],[1578370381000,-4.48000000],[1578370681000,-4.60000000],[1578370981000,-4.60000000],[1578371281000,-4.60000000],[1578371581000,-4.54000000],[1578371881000,-4.46000000],[1578372181000,-4.46000000],[1578372481000,-4.60000000],[1578372781000,-4.56000000],[1578373082000,-4.52000000],[1578373381000,-4.50000000],[1578373681000,-4.58000000],[1578373981000,-4.60000000],[1578374281000,-4.60000000],[1578374581000,-4.72000000],[1578374881000,-4.76000000],[1578375181000,-4.70000000],[1578375481000,-4.70000000],[1578375781000,-4.76000000],[1578376081000,-4.88000000],[1578376381000,-5.00000000],[1578376681000,-4.90000000],[1578376981000,-4.90000000],[1578377281000,-4.90000000],[1578377581000,-4.90000000],[1578377881000,-4.76000000],[1578378181000,-4.68000000],[1578378481000,-4.60000000],[1578378781000,-4.60000000],[1578379081000,-4.58000000],[1578379381000,-4.58000000],[1578379681000,-4.56000000],[1578379981000,-4.56000000],[1578380281000,-4.46000000],[1578380581000,-4.30000000],[1578380881000,-4.14000000],[1578381181000,-3.86000000],[1578381481000,-3.72000000],[1578381781000,-3.56000000],[1578382081000,-3.30000000],[1578382381000,-3.08000000],[1578382681000,-2.92000000],[1578382981000,-2.70000000],[1578383281000,-2.28000000],[1578383581000,-2.06000000],[1578383881000,-2.22000000],[1578384181000,-2.50000000],[1578384481000,-2.62000000],[1578384781000,-2.64000000],[1578385081000,-2.60000000],[1578385381000,-2.60000000],[1578385681000,-2.60000000],[1578385981000,-2.50000000],[1578386281000,-2.38000000],[1578386581000,-2.34000000],[1578386881000,-2.32000000],[1578387181000,-2.20000000],[1578387481000,-2.08000000],[1578387781000,-2.00000000],[1578388081000,-1.96000000],[1578388381000,-1.90000000],[1578388681000,-1.82000000],[1578388981000,-1.80000000],[1578389281000,-1.80000000],[1578389581000,-1.80000000],[1578389881000,-1.64000000],[1578390181000,-1.06000000],[1578390481000,-0.74000000],[1578390781000,-0.84000000],[1578391081000,-1.06000000],[1578391381000,-1.24000000],[1578391681000,-0.90000000],[1578391981000,-0.36000000],[1578392281000,-0.54000000],[1578392581000,0.06000000],[1578392881000,0.40000000],[1578393181000,0.78000000],[1578393481000,0.66000000],[1578393781000,0.82000000],[1578394081000,1.10000000],[1578394381000,1.06000000],[1578394681000,0.98000000],[1578394981000,1.04000000],[1578395281000,0.52000000],[1578395581000,0.14000000],[1578395881000,0.22000000],[1578396181000,0.06000000],[1578396481000,0.18000000],[1578396781000,0.20000000],[1578397081000,0.20000000],[1578397381000,0.20000000],[1578397681000,0.18000000],[1578397981000,0.26000000],[1578398281000,0.38000000],[1578398581000,0.48000000],[1578398881000,0.62000000],[1578399181000,0.66000000],[1578399481000,0.60000000],[1578399781000,0.76000000],[1578400081000,0.86000000],[1578400381000,1.10000000],[1578400681000,1.34000000],[1578400981000,1.54000000],[1578401281000,1.70000000],[1578401581000,1.72000000],[1578401881000,1.88000000],[1578402181000,2.02000000],[1578402481000,2.04000000],[1578402781000,2.24000000],[1578403081000,2.12000000],[1578403381000,1.74000000],[1578403681000,1.32000000],[1578403981000,1.40000000],[1578404281000,1.58000000],[1578404581000,2.26000000],[1578404881000,2.08000000],[1578405181000,2.22000000],[1578405481000,2.30000000],[1578405781000,2.22000000],[1578406081000,2.30000000],[1578406381000,2.02000000],[1578406681000,1.40000000],[1578406981000,1.06000000],[1578407281000,0.78000000],[1578407581000,0.50000000],[1578407881000,0.26000000],[1578408181000,0.02000000],[1578408481000,-0.16000000],[1578408781000,-0.32000000],[1578409081000,-0.54000000],[1578409381000,-0.58000000],[1578409681000,-0.56000000],[1578409981000,-0.50000000],[1578410282000,-0.34000000],[1578410581000,-0.16000000],[1578410881000,0.02000000],[1578411181000,0.10000000],[1578411481000,0.10000000],[1578411781000,0.10000000],[1578412081000,0.02000000],[1578412381000,-0.02000000],[1578412681000,0.00000000],[1578412981000,0.00000000],[1578413281000,0.10000000],[1578413581000,0.10000000],[1578413881000,-0.04000000],[1578414181000,-0.14000000],[1578414481000,-0.20000000],[1578414781000,-0.14000000],[1578415081000,0.00000000],[1578415381000,0.04000000],[1578415681000,0.10000000],[1578415981000,0.20000000],[1578416281000,0.26000000],[1578416581000,0.30000000],[1578416881000,0.30000000],[1578417181000,0.30000000],[1578417481000,0.32000000],[1578417781000,0.30000000],[1578418081000,0.30000000],[1578418381000,0.22000000],[1578418681000,0.24000000],[1578418981000,0.52000000],[1578419281000,0.70000000],[1578419581000,0.80000000],[1578419881000,1.08000000],[1578420181000,1.22000000],[1578420481000,1.30000000],[1578420781000,1.28000000],[1578421081000,1.52000000],[1578421381000,1.70000000],[1578421681000,1.60000000],[1578421981000,1.50000000],[1578422281000,1.44000000],[1578422581000,1.44000000],[1578422881000,1.58000000],[1578423181000,2.06000000],[1578423481000,2.52000000],[1578423781000,2.82000000],[1578424081000,3.00000000],[1578424381000,3.06000000],[1578424681000,3.12000000],[1578424981000,3.16000000],[1578425281000,3.14000000],[1578425581000,2.98000000],[1578425881000,2.82000000],[1578426181000,2.80000000],[1578426481000,2.80000000],[1578426781000,2.80000000],[1578427081000,2.72000000],[1578427381000,2.66000000],[1578427681000,2.60000000],[1578427981000,2.50000000],[1578428281000,2.42000000],[1578428581000,2.34000000],[1578428881000,2.36000000],[1578429181000,2.44000000],[1578429481000,2.32000000],[1578429781000,2.22000000],[1578430081000,2.20000000],[1578430381000,2.22000000],[1578430681000,2.16000000],[1578430981000,2.04000000],[1578431281000,2.02000000],[1578431581000,1.98000000],[1578431881000,1.90000000],[1578432181000,2.16000000],[1578432481000,2.60000000],[1578432781000,2.34000000],[1578433081000,2.00000000],[1578433381000,1.70000000],[1578433681000,2.00000000],[1578433981000,2.56000000],[1578434281000,2.64000000],[1578434581000,2.52000000],[1578434881000,2.20000000],[1578435181000,2.02000000],[1578435481000,1.76000000],[1578435781000,1.68000000],[1578436081000,2.00000000],[1578436381000,1.88000000],[1578436681000,1.66000000],[1578436981000,1.52000000],[1578437281000,1.22000000],[1578437581000,0.88000000],[1578437881000,0.70000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1578351601000,-3.5],[1578351781000,-3.4],[1578352081000,-3.4],[1578352381000,-3.6],[1578352681000,-3.5],[1578352981000,-3.2],[1578353281000,-3.2],[1578353581000,-3.2],[1578353881000,-3.3],[1578354181000,-3.6],[1578354481000,-3.7],[1578354781000,-3.8],[1578355081000,-3.9],[1578355381000,-4],[1578355681000,-4],[1578355981000,-3.9],[1578356281000,-4],[1578356581000,-4],[1578356881000,-4.1],[1578357181000,-4.1],[1578357481000,-4],[1578357781000,-4],[1578358081000,-3.9],[1578358381000,-4],[1578358681000,-4],[1578358981000,-4],[1578359281000,-3.9],[1578359581000,-4],[1578359881000,-4],[1578360181000,-4],[1578360481000,-4],[1578360781000,-3.9],[1578361081000,-4],[1578361381000,-4],[1578361681000,-4.1],[1578361981000,-4.1],[1578362281000,-4.1],[1578362581000,-4.1],[1578362881000,-4.1],[1578363181000,-4.1],[1578363481000,-4.1],[1578363781000,-4.1],[1578364081000,-4.1],[1578364381000,-4.1],[1578364681000,-4.3],[1578364981000,-4.3],[1578365281000,-4.3],[1578365581000,-4.2],[1578365881000,-4.2],[1578366181000,-4.3],[1578366481000,-4.3],[1578366781000,-4.4],[1578367081000,-4.3],[1578367381000,-4.3],[1578367681000,-4.3],[1578367981000,-4.4],[1578368281000,-4.4],[1578368581000,-4.4],[1578368881000,-4.4],[1578369181000,-4.4],[1578369481000,-4.4],[1578369781000,-4.4],[1578370081000,-4.4],[1578370381000,-4.5],[1578370681000,-4.6],[1578370981000,-4.6],[1578371281000,-4.6],[1578371581000,-4.5],[1578371881000,-4.5],[1578372181000,-4.5],[1578372481000,-4.6],[1578372781000,-4.6],[1578373082000,-4.5],[1578373381000,-4.5],[1578373681000,-4.6],[1578373981000,-4.6],[1578374281000,-4.6],[1578374581000,-4.7],[1578374881000,-4.8],[1578375181000,-4.7],[1578375481000,-4.7],[1578375781000,-4.8],[1578376081000,-4.9],[1578376381000,-5],[1578376681000,-4.9],[1578376981000,-4.9],[1578377281000,-4.9],[1578377581000,-4.9],[1578377881000,-4.8],[1578378181000,-4.7],[1578378481000,-4.6],[1578378781000,-4.6],[1578379081000,-4.6],[1578379381000,-4.6],[1578379681000,-4.6],[1578379981000,-4.6],[1578380281000,-4.5],[1578380581000,-4.3],[1578380881000,-4.1],[1578381181000,-3.9],[1578381481000,-3.7],[1578381781000,-3.6],[1578382081000,-3.3],[1578382381000,-3.1],[1578382681000,-2.9],[1578382981000,-2.7],[1578383281000,-2.3],[1578383581000,-2.1],[1578383881000,-2.2],[1578384181000,-2.5],[1578384481000,-2.6],[1578384781000,-2.6],[1578385081000,-2.6],[1578385381000,-2.6],[1578385681000,-2.6],[1578385981000,-2.5],[1578386281000,-2.4],[1578386581000,-2.3],[1578386881000,-2.3],[1578387181000,-2.2],[1578387481000,-2.1],[1578387781000,-2],[1578388081000,-2],[1578388381000,-1.9],[1578388681000,-1.8],[1578388981000,-1.8],[1578389281000,-1.8],[1578389581000,-1.8],[1578389881000,-1.7],[1578390181000,-1.6],[1578390481000,-1.5],[1578390781000,-1.5],[1578391081000,-1.5],[1578391381000,-1.6],[1578391681000,-1.7],[1578391981000,-1.6],[1578392281000,-1.6],[1578392581000,-1.6],[1578392881000,-1.4],[1578393181000,-1.1],[1578393481000,-1.1],[1578393781000,-1.3],[1578394081000,-1.2],[1578394381000,-1.3],[1578394681000,-1.4],[1578394981000,-1.5],[1578395281000,-1.6],[1578395581000,-1.8],[1578395881000,-1.9],[1578396181000,-2],[1578396481000,-1.8],[1578396781000,-1.7],[1578397081000,-1.5],[1578397381000,-1.5],[1578397681000,-1.6],[1578397981000,-1.8],[1578398281000,-1.7],[1578398581000,-1.7],[1578398881000,-1.5],[1578399181000,-1.3],[1578399481000,-1.2],[1578399781000,-1.1],[1578400081000,-1.1],[1578400381000,-1.1],[1578400681000,-1],[1578400981000,-0.9],[1578401281000,-1],[1578401581000,-1],[1578401881000,-1],[1578402181000,-1],[1578402481000,-0.9],[1578402781000,-1],[1578403081000,-0.9],[1578403381000,-0.8],[1578403681000,-0.9],[1578403981000,-1],[1578404281000,-1.2],[1578404581000,-0.9],[1578404881000,-0.9],[1578405181000,-0.9],[1578405481000,-0.8],[1578405781000,-0.7],[1578406081000,-0.6],[1578406381000,-0.5],[1578406681000,-0.4],[1578406981000,-0.3],[1578407281000,-0.4],[1578407581000,-0.4],[1578407881000,-0.5],[1578408181000,-0.3],[1578408481000,-0.2],[1578408781000,-0.3],[1578409081000,-0.5],[1578409381000,-0.6],[1578409681000,-0.6],[1578409981000,-0.5],[1578410282000,-0.3],[1578410581000,-0.2],[1578410881000,0],[1578411181000,0.1],[1578411481000,0.1],[1578411781000,0.1],[1578412081000,0],[1578412381000,-0],[1578412681000,0],[1578412981000,0],[1578413281000,0.1],[1578413581000,0.1],[1578413881000,-0],[1578414181000,-0.1],[1578414481000,-0.2],[1578414781000,-0.1],[1578415081000,0],[1578415381000,0],[1578415681000,0.1],[1578415981000,0.2],[1578416281000,0.3],[1578416581000,0.3],[1578416881000,0.3],[1578417181000,0.3],[1578417481000,0.3],[1578417781000,0.3],[1578418081000,0.3],[1578418381000,0.2],[1578418681000,0.2],[1578418981000,0.5],[1578419281000,0.7],[1578419581000,0.8],[1578419881000,1.1],[1578420181000,1.2],[1578420481000,1.3],[1578420781000,1.3],[1578421081000,1.5],[1578421381000,1.7],[1578421681000,1.6],[1578421981000,1.5],[1578422281000,1.4],[1578422581000,1.4],[1578422881000,1.6],[1578423181000,2.1],[1578423481000,2.5],[1578423781000,2.5],[1578424081000,2.6],[1578424381000,2.5],[1578424681000,2.5],[1578424981000,2.5],[1578425281000,2.5],[1578425581000,2.5],[1578425881000,2.5],[1578426181000,2.6],[1578426481000,2.6],[1578426781000,2.7],[1578427081000,2.7],[1578427381000,2.7],[1578427681000,2.6],[1578427981000,2.5],[1578428281000,2.4],[1578428581000,2.3],[1578428881000,2.4],[1578429181000,2.4],[1578429481000,2.3],[1578429781000,2.2],[1578430081000,2.2],[1578430381000,2.2],[1578430681000,2.2],[1578430981000,2],[1578431281000,2],[1578431581000,2],[1578431881000,1.9],[1578432181000,2.2],[1578432481000,2.5],[1578432781000,2.3],[1578433081000,2],[1578433381000,1.7],[1578433681000,2],[1578433981000,2.4],[1578434281000,2.5],[1578434581000,2.4],[1578434881000,2.2],[1578435181000,2],[1578435481000,1.8],[1578435781000,1.7],[1578436081000,2],[1578436381000,1.9],[1578436681000,1.7],[1578436981000,1.5],[1578437281000,1.2],[1578437581000,0.9],[1578437881000,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: [[1578351601000,100.00000000],[1578351781000,100.00000000],[1578352081000,100.00000000],[1578352381000,100.00000000],[1578352681000,100.00000000],[1578352981000,100.00000000],[1578353281000,100.00000000],[1578353581000,100.00000000],[1578353881000,100.00000000],[1578354181000,100.00000000],[1578354481000,100.00000000],[1578354781000,100.00000000],[1578355081000,100.00000000],[1578355381000,100.00000000],[1578355681000,100.00000000],[1578355981000,100.00000000],[1578356281000,100.00000000],[1578356581000,100.00000000],[1578356881000,100.00000000],[1578357181000,100.00000000],[1578357481000,100.00000000],[1578357781000,100.00000000],[1578358081000,100.00000000],[1578358381000,100.00000000],[1578358681000,100.00000000],[1578358981000,100.00000000],[1578359281000,100.00000000],[1578359581000,100.00000000],[1578359881000,100.00000000],[1578360181000,100.00000000],[1578360481000,100.00000000],[1578360781000,100.00000000],[1578361081000,100.00000000],[1578361381000,100.00000000],[1578361681000,100.00000000],[1578361981000,100.00000000],[1578362281000,100.00000000],[1578362581000,100.00000000],[1578362881000,100.00000000],[1578363181000,100.00000000],[1578363481000,100.00000000],[1578363781000,100.00000000],[1578364081000,100.00000000],[1578364381000,100.00000000],[1578364681000,100.00000000],[1578364981000,100.00000000],[1578365281000,100.00000000],[1578365581000,100.00000000],[1578365881000,100.00000000],[1578366181000,100.00000000],[1578366481000,100.00000000],[1578366781000,100.00000000],[1578367081000,100.00000000],[1578367381000,100.00000000],[1578367681000,100.00000000],[1578367981000,100.00000000],[1578368281000,100.00000000],[1578368581000,100.00000000],[1578368881000,100.00000000],[1578369181000,100.00000000],[1578369481000,100.00000000],[1578369781000,100.00000000],[1578370081000,100.00000000],[1578370381000,100.00000000],[1578370681000,100.00000000],[1578370981000,100.00000000],[1578371281000,100.00000000],[1578371581000,100.00000000],[1578371881000,100.00000000],[1578372181000,100.00000000],[1578372481000,100.00000000],[1578372781000,100.00000000],[1578373082000,100.00000000],[1578373381000,100.00000000],[1578373681000,100.00000000],[1578373981000,100.00000000],[1578374281000,100.00000000],[1578374581000,100.00000000],[1578374881000,100.00000000],[1578375181000,100.00000000],[1578375481000,100.00000000],[1578375781000,100.00000000],[1578376081000,100.00000000],[1578376381000,100.00000000],[1578376681000,100.00000000],[1578376981000,100.00000000],[1578377281000,100.00000000],[1578377581000,100.00000000],[1578377881000,100.00000000],[1578378181000,100.00000000],[1578378481000,100.00000000],[1578378781000,100.00000000],[1578379081000,100.00000000],[1578379381000,100.00000000],[1578379681000,100.00000000],[1578379981000,100.00000000],[1578380281000,100.00000000],[1578380581000,100.00000000],[1578380881000,100.00000000],[1578381181000,100.00000000],[1578381481000,100.00000000],[1578381781000,100.00000000],[1578382081000,100.00000000],[1578382381000,100.00000000],[1578382681000,100.00000000],[1578382981000,100.00000000],[1578383281000,100.00000000],[1578383581000,100.00000000],[1578383881000,100.00000000],[1578384181000,100.00000000],[1578384481000,100.00000000],[1578384781000,100.00000000],[1578385081000,100.00000000],[1578385381000,100.00000000],[1578385681000,100.00000000],[1578385981000,100.00000000],[1578386281000,100.00000000],[1578386581000,100.00000000],[1578386881000,100.00000000],[1578387181000,100.00000000],[1578387481000,100.00000000],[1578387781000,100.00000000],[1578388081000,100.00000000],[1578388381000,100.00000000],[1578388681000,100.00000000],[1578388981000,100.00000000],[1578389281000,100.00000000],[1578389581000,100.00000000],[1578389881000,99.92000000],[1578390181000,96.24000000],[1578390481000,94.90000000],[1578390781000,95.50000000],[1578391081000,96.54000000],[1578391381000,97.10000000],[1578391681000,94.28000000],[1578391981000,91.40000000],[1578392281000,92.56000000],[1578392581000,89.00000000],[1578392881000,87.96000000],[1578393181000,87.38000000],[1578393481000,87.94000000],[1578393781000,86.14000000],[1578394081000,84.56000000],[1578394381000,84.36000000],[1578394681000,84.44000000],[1578394981000,83.64000000],[1578395281000,86.16000000],[1578395581000,87.24000000],[1578395881000,85.66000000],[1578396181000,86.42000000],[1578396481000,86.98000000],[1578396781000,86.92000000],[1578397081000,88.30000000],[1578397381000,88.50000000],[1578397681000,88.24000000],[1578397981000,86.34000000],[1578398281000,86.06000000],[1578398581000,85.24000000],[1578398881000,85.60000000],[1578399181000,86.98000000],[1578399481000,87.96000000],[1578399781000,87.26000000],[1578400081000,87.08000000],[1578400381000,85.72000000],[1578400681000,84.46000000],[1578400981000,83.76000000],[1578401281000,82.32000000],[1578401581000,82.66000000],[1578401881000,81.52000000],[1578402181000,80.44000000],[1578402481000,80.84000000],[1578402781000,79.62000000],[1578403081000,80.64000000],[1578403381000,83.56000000],[1578403681000,85.16000000],[1578403981000,84.52000000],[1578404281000,82.06000000],[1578404581000,79.66000000],[1578404881000,81.10000000],[1578405181000,79.90000000],[1578405481000,80.30000000],[1578405781000,81.34000000],[1578406081000,81.28000000],[1578406381000,83.64000000],[1578406681000,88.08000000],[1578406981000,90.56000000],[1578407281000,92.20000000],[1578407581000,93.76000000],[1578407881000,94.90000000],[1578408181000,97.40000000],[1578408481000,99.38000000],[1578408781000,99.98000000],[1578409081000,100.00000000],[1578409381000,100.00000000],[1578409681000,100.00000000],[1578409981000,100.00000000],[1578410282000,100.00000000],[1578410581000,100.00000000],[1578410881000,100.00000000],[1578411181000,100.00000000],[1578411481000,100.00000000],[1578411781000,100.00000000],[1578412081000,100.00000000],[1578412381000,100.00000000],[1578412681000,100.00000000],[1578412981000,100.00000000],[1578413281000,100.00000000],[1578413581000,100.00000000],[1578413881000,100.00000000],[1578414181000,100.00000000],[1578414481000,100.00000000],[1578414781000,100.00000000],[1578415081000,100.00000000],[1578415381000,100.00000000],[1578415681000,100.00000000],[1578415981000,100.00000000],[1578416281000,100.00000000],[1578416581000,100.00000000],[1578416881000,100.00000000],[1578417181000,100.00000000],[1578417481000,100.00000000],[1578417781000,100.00000000],[1578418081000,100.00000000],[1578418381000,100.00000000],[1578418681000,100.00000000],[1578418981000,100.00000000],[1578419281000,100.00000000],[1578419581000,100.00000000],[1578419881000,100.00000000],[1578420181000,100.00000000],[1578420481000,100.00000000],[1578420781000,100.00000000],[1578421081000,100.00000000],[1578421381000,100.00000000],[1578421681000,100.00000000],[1578421981000,100.00000000],[1578422281000,100.00000000],[1578422581000,100.00000000],[1578422881000,100.00000000],[1578423181000,100.00000000],[1578423481000,99.64000000],[1578423781000,98.02000000],[1578424081000,96.94000000],[1578424381000,96.16000000],[1578424681000,95.76000000],[1578424981000,95.20000000],[1578425281000,95.42000000],[1578425581000,96.72000000],[1578425881000,98.04000000],[1578426181000,98.34000000],[1578426481000,98.48000000],[1578426781000,99.14000000],[1578427081000,99.68000000],[1578427381000,100.00000000],[1578427681000,100.00000000],[1578427981000,100.00000000],[1578428281000,100.00000000],[1578428581000,100.00000000],[1578428881000,100.00000000],[1578429181000,100.00000000],[1578429481000,100.00000000],[1578429781000,100.00000000],[1578430081000,100.00000000],[1578430381000,100.00000000],[1578430681000,100.00000000],[1578430981000,100.00000000],[1578431281000,100.00000000],[1578431581000,100.00000000],[1578431881000,100.00000000],[1578432181000,100.00000000],[1578432481000,99.56000000],[1578432781000,100.00000000],[1578433081000,100.00000000],[1578433381000,100.00000000],[1578433681000,100.00000000],[1578433981000,98.64000000],[1578434281000,99.30000000],[1578434581000,99.36000000],[1578434881000,100.00000000],[1578435181000,100.00000000],[1578435481000,100.00000000],[1578435781000,100.00000000],[1578436081000,100.00000000],[1578436381000,100.00000000],[1578436681000,100.00000000],[1578436981000,100.00000000],[1578437281000,100.00000000],[1578437581000,100.00000000],[1578437881000,100.00000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1578351601000,1029.9],[1578351781000,1030],[1578352081000,1029.9],[1578352381000,1030],[1578352681000,1029.8],[1578352981000,1029.8],[1578353281000,1029.8],[1578353581000,1029.8],[1578353881000,1029.8],[1578354181000,1029.9],[1578354481000,1029.9],[1578354781000,1029.8],[1578355081000,1029.8],[1578355381000,1029.7],[1578355681000,1029.7],[1578355981000,1029.6],[1578356281000,1029.6],[1578356581000,1029.6],[1578356881000,1029.5],[1578357181000,1029.6],[1578357481000,1029.6],[1578357781000,1029.6],[1578358081000,1029.6],[1578358381000,1029.6],[1578358681000,1029.6],[1578358981000,1029.6],[1578359281000,1029.5],[1578359581000,1029.5],[1578359881000,1029.5],[1578360181000,1029.4],[1578360481000,1029.4],[1578360781000,1029.3],[1578361081000,1029.2],[1578361381000,1029.2],[1578361681000,1029.1],[1578361981000,1029.1],[1578362281000,1029],[1578362581000,1029],[1578362881000,1029],[1578363181000,1028.9],[1578363481000,1028.8],[1578363781000,1028.7],[1578364081000,1028.8],[1578364381000,1028.7],[1578364681000,1028.7],[1578364981000,1028.7],[1578365281000,1028.6],[1578365581000,1028.5],[1578365881000,1028.6],[1578366181000,1028.6],[1578366481000,1028.5],[1578366781000,1028.5],[1578367081000,1028.5],[1578367381000,1028.4],[1578367681000,1028.4],[1578367981000,1028.4],[1578368281000,1028.3],[1578368581000,1028.3],[1578368881000,1028.3],[1578369181000,1028.3],[1578369481000,1028.3],[1578369781000,1028.3],[1578370081000,1028.3],[1578370381000,1028.3],[1578370681000,1028.2],[1578370981000,1028.2],[1578371281000,1028.2],[1578371581000,1028.1],[1578371881000,1028.2],[1578372181000,1028.2],[1578372481000,1028.2],[1578372781000,1028.2],[1578373082000,1028.2],[1578373381000,1028.2],[1578373681000,1028.2],[1578373981000,1028.2],[1578374281000,1028.3],[1578374581000,1028.2],[1578374881000,1028.3],[1578375181000,1028.4],[1578375481000,1028.3],[1578375781000,1028.5],[1578376081000,1028.4],[1578376381000,1028.5],[1578376681000,1028.5],[1578376981000,1028.5],[1578377281000,1028.6],[1578377581000,1028.6],[1578377881000,1028.6],[1578378181000,1028.5],[1578378481000,1028.4],[1578378781000,1028.6],[1578379081000,1028.5],[1578379381000,1028.7],[1578379681000,1028.8],[1578379981000,1028.9],[1578380281000,1028.9],[1578380581000,1029],[1578380881000,1029.1],[1578381181000,1029.1],[1578381481000,1029],[1578381781000,1029],[1578382081000,1029.1],[1578382381000,1029.1],[1578382681000,1029],[1578382981000,1029],[1578383281000,1029.1],[1578383581000,1029.2],[1578383881000,1029.2],[1578384181000,1029.3],[1578384481000,1029.3],[1578384781000,1029.4],[1578385081000,1029.6],[1578385381000,1029.6],[1578385681000,1029.7],[1578385981000,1029.6],[1578386281000,1029.7],[1578386581000,1029.8],[1578386881000,1029.8],[1578387181000,1029.8],[1578387481000,1029.9],[1578387781000,1029.8],[1578388081000,1029.8],[1578388381000,1029.9],[1578388681000,1030],[1578388981000,1029.9],[1578389281000,1029.9],[1578389581000,1029.8],[1578389881000,1029.7],[1578390181000,1029.6],[1578390481000,1029.6],[1578390781000,1029.7],[1578391081000,1029.7],[1578391381000,1029.6],[1578391681000,1029.5],[1578391981000,1029.5],[1578392281000,1029.5],[1578392581000,1029.5],[1578392881000,1029.4],[1578393181000,1029.4],[1578393481000,1029.3],[1578393781000,1029.3],[1578394081000,1029.3],[1578394381000,1029.3],[1578394681000,1029.3],[1578394981000,1029.3],[1578395281000,1029.3],[1578395581000,1029.3],[1578395881000,1029.3],[1578396181000,1029.4],[1578396481000,1029.3],[1578396781000,1029.2],[1578397081000,1029.2],[1578397381000,1029.1],[1578397681000,1029.2],[1578397981000,1029],[1578398281000,1029],[1578398581000,1029],[1578398881000,1029],[1578399181000,1029],[1578399481000,1029],[1578399781000,1029],[1578400081000,1029],[1578400381000,1029],[1578400681000,1029],[1578400981000,1029],[1578401281000,1028.9],[1578401581000,1029],[1578401881000,1029],[1578402181000,1029.1],[1578402481000,1029.2],[1578402781000,1029.3],[1578403081000,1029.2],[1578403381000,1029.2],[1578403681000,1029.3],[1578403981000,1029.3],[1578404281000,1029.3],[1578404581000,1029.4],[1578404881000,1029.5],[1578405181000,1029.5],[1578405481000,1029.5],[1578405781000,1029.6],[1578406081000,1029.6],[1578406381000,1029.6],[1578406681000,1029.7],[1578406981000,1029.7],[1578407281000,1029.7],[1578407581000,1029.9],[1578407881000,1030],[1578408181000,1030.2],[1578408481000,1030.2],[1578408781000,1030.4],[1578409081000,1030.5],[1578409381000,1030.5],[1578409681000,1030.5],[1578409981000,1030.5],[1578410282000,1030.5],[1578410581000,1030.5],[1578410881000,1030.6],[1578411181000,1030.6],[1578411481000,1030.7],[1578411781000,1030.8],[1578412081000,1030.8],[1578412381000,1030.8],[1578412681000,1030.9],[1578412981000,1030.8],[1578413281000,1030.8],[1578413581000,1030.8],[1578413881000,1030.9],[1578414181000,1031],[1578414481000,1031.1],[1578414781000,1031.1],[1578415081000,1031.2],[1578415381000,1031.2],[1578415681000,1031.2],[1578415981000,1031.3],[1578416281000,1031.3],[1578416581000,1031.4],[1578416881000,1031.4],[1578417181000,1031.4],[1578417481000,1031.3],[1578417781000,1031.3],[1578418081000,1031.3],[1578418381000,1031.3],[1578418681000,1031.3],[1578418981000,1031.4],[1578419281000,1031.4],[1578419581000,1031.5],[1578419881000,1031.7],[1578420181000,1031.7],[1578420481000,1031.7],[1578420781000,1031.7],[1578421081000,1031.8],[1578421381000,1031.8],[1578421681000,1031.8],[1578421981000,1031.9],[1578422281000,1031.8],[1578422581000,1031.9],[1578422881000,1031.9],[1578423181000,1031.8],[1578423481000,1031.8],[1578423781000,1031.8],[1578424081000,1031.8],[1578424381000,1031.8],[1578424681000,1031.8],[1578424981000,1031.8],[1578425281000,1031.8],[1578425581000,1031.8],[1578425881000,1031.9],[1578426181000,1031.9],[1578426481000,1032],[1578426781000,1032.1],[1578427081000,1032.1],[1578427381000,1032.2],[1578427681000,1032.2],[1578427981000,1032.2],[1578428281000,1032.2],[1578428581000,1032.2],[1578428881000,1032.2],[1578429181000,1032.2],[1578429481000,1032.2],[1578429781000,1032.2],[1578430081000,1032.1],[1578430381000,1032.1],[1578430681000,1032],[1578430981000,1031.9],[1578431281000,1032],[1578431581000,1032],[1578431881000,1032],[1578432181000,1032],[1578432481000,1032],[1578432781000,1032],[1578433081000,1032.1],[1578433381000,1032.1],[1578433681000,1032.1],[1578433981000,1032.1],[1578434281000,1032.2],[1578434581000,1032.2],[1578434881000,1032.2],[1578435181000,1032.1],[1578435481000,1032.2],[1578435781000,1032.3],[1578436081000,1032.3],[1578436381000,1032.3],[1578436681000,1032.3],[1578436981000,1032.4],[1578437281000,1032.4],[1578437581000,1032.4],[1578437881000,1032.4],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1578351601000,10.320000012],[1578351781000,10.944],[1578352081000,6.912],[1578352381000,4.968],[1578352681000,12.312],[1578352981000,13.752],[1578353281000,12.024],[1578353581000,11.16],[1578353881000,8.28],[1578354181000,6.408],[1578354481000,7.92],[1578354781000,7.416],[1578355081000,4.752],[1578355381000,4.392],[1578355681000,5.4],[1578355981000,4.536],[1578356281000,7.128],[1578356581000,8.856],[1578356881000,6.984],[1578357181000,5.76],[1578357481000,10.872],[1578357781000,9.792],[1578358081000,9.504],[1578358381000,8.64],[1578358681000,8.064],[1578358981000,10.152],[1578359281000,9.36],[1578359581000,8.424],[1578359881000,8.856],[1578360181000,10.944],[1578360481000,11.808],[1578360781000,11.736],[1578361081000,9.72],[1578361381000,9.072],[1578361681000,5.688],[1578361981000,8.208],[1578362281000,9.504],[1578362581000,10.224],[1578362881000,8.496],[1578363181000,9.72],[1578363481000,9.864],[1578363781000,11.16],[1578364081000,9.432],[1578364381000,8.856],[1578364681000,7.344],[1578364981000,8.712],[1578365281000,10.08],[1578365581000,9.72],[1578365881000,10.728],[1578366181000,11.448],[1578366481000,11.52],[1578366781000,13.896],[1578367081000,11.952],[1578367381000,12.816],[1578367681000,10.512],[1578367981000,10.512],[1578368281000,11.52],[1578368581000,11.808],[1578368881000,12.96],[1578369181000,12.168],[1578369481000,12.24],[1578369781000,11.52],[1578370081000,10.728],[1578370381000,6.48],[1578370681000,10.224],[1578370981000,10.152],[1578371281000,10.8],[1578371581000,12.168],[1578371881000,11.016],[1578372181000,8.136],[1578372481000,7.776],[1578372781000,10.944],[1578373081000,10.944],[1578373381000,8.712],[1578373681000,9.864],[1578373981000,11.016],[1578374281000,8.064],[1578374581000,7.776],[1578374881000,9.072],[1578375181000,9.72],[1578375481000,7.92],[1578375781000,6.408],[1578376081000,5.616],[1578376381000,7.128],[1578376681000,7.704],[1578376981000,7.632],[1578377281000,6.48],[1578377581000,4.536],[1578377881000,9.072],[1578378181000,9.792],[1578378481000,10.008],[1578378781000,9.864],[1578379081000,8.712],[1578379381000,7.92],[1578379681000,7.128],[1578379981000,9.504],[1578380281000,9.576],[1578380581000,9],[1578380881000,12.24],[1578381181000,11.16],[1578381481000,8.352],[1578381781000,7.128],[1578382081000,8.568],[1578382381000,8.784],[1578382681000,11.16],[1578382981000,9.288],[1578383281000,10.8],[1578383581000,11.808],[1578383881000,8.136],[1578384181000,11.232],[1578384481000,10.296],[1578384781000,12.096],[1578385081000,10.296],[1578385381000,8.136],[1578385681000,11.664],[1578385981000,9],[1578386281000,9.648],[1578386581000,9.864],[1578386881000,9.648],[1578387181000,8.28],[1578387481000,8.856],[1578387781000,11.52],[1578388081000,10.656],[1578388381000,5.544],[1578388681000,8.208],[1578388981000,10.368],[1578389281000,10.296],[1578389581000,11.232],[1578389881000,8.208],[1578390181000,7.344],[1578390481000,7.344],[1578390781000,6.984],[1578391081000,3.384],[1578391381000,5.472],[1578391681000,7.272],[1578391981000,7.56],[1578392281000,6.048],[1578392581000,6.84],[1578392881000,5.616],[1578393181000,5.112],[1578393481000,5.832],[1578393781000,5.904],[1578394081000,5.04],[1578394381000,8.28],[1578394681000,6.552],[1578394981000,6.336],[1578395281000,4.896],[1578395581000,5.184],[1578395881000,4.68],[1578396181000,5.328],[1578396481000,5.904],[1578396781000,5.976],[1578397081000,6.048],[1578397381000,4.032],[1578397681000,4.608],[1578397981000,6.12],[1578398281000,8.136],[1578398581000,5.976],[1578398881000,7.632],[1578399181000,4.608],[1578399481000,5.76],[1578399781000,5.112],[1578400081000,5.904],[1578400381000,4.032],[1578400681000,3.456],[1578400981000,3.96],[1578401281000,3.384],[1578401581000,4.032],[1578401881000,3.312],[1578402181000,4.608],[1578402481000,3.024],[1578402781000,2.736],[1578403081000,4.32],[1578403381000,3.096],[1578403681000,3.024],[1578403981000,2.592],[1578404281000,1.512],[1578404581000,1.656],[1578404881000,2.664],[1578405181000,2.304],[1578405481000,4.104],[1578405781000,1.872],[1578406081000,4.176],[1578406381000,1.152],[1578406681000,0.432],[1578406981000,0.432],[1578407281000,0.792],[1578407581000,0.792],[1578407881000,0],[1578408181000,1.944],[1578408481000,1.584],[1578408781000,0.792],[1578409081000,0],[1578409381000,0],[1578409681000,1.584],[1578409981000,2.88],[1578410281000,5.76],[1578410581000,4.176],[1578410881000,4.68],[1578411181000,1.8],[1578411481000,3.24],[1578411781000,1.152],[1578412081000,2.232],[1578412381000,2.52],[1578412681000,1.728],[1578412981000,5.328],[1578413281000,4.608],[1578413581000,0.432],[1578413881000,1.944],[1578414181000,0.144],[1578414481000,4.68],[1578414781000,8.568],[1578415081000,7.56],[1578415381000,5.544],[1578415681000,9.216],[1578415981000,3.6],[1578416281000,4.752],[1578416581000,6.984],[1578416881000,1.944],[1578417181000,3.456],[1578417481000,4.968],[1578417781000,3.816],[1578418081000,3.528],[1578418381000,5.328],[1578418681000,7.848],[1578418981000,5.256],[1578419281000,5.616],[1578419581000,5.976],[1578419881000,5.256],[1578420181000,4.32],[1578420481000,2.016],[1578420781000,6.408],[1578421081000,4.536],[1578421381000,1.44],[1578421681000,3.24],[1578421981000,6.048],[1578422281000,5.328],[1578422581000,4.896],[1578422881000,6.696],[1578423181000,8.856],[1578423481000,9.576],[1578423781000,11.376],[1578424081000,6.912],[1578424381000,9.504],[1578424681000,9.36],[1578424981000,7.488],[1578425281000,8.352],[1578425581000,6.12],[1578425881000,2.952],[1578426181000,4.824],[1578426481000,4.968],[1578426781000,3.312],[1578427081000,1.224],[1578427381000,4.248],[1578427681000,1.152],[1578427981000,0.432],[1578428281000,3.096],[1578428581000,3.024],[1578428881000,1.728],[1578429181000,2.448],[1578429481000,1.152],[1578429781000,2.016],[1578430081000,1.296],[1578430381000,0.864],[1578430681000,0.576],[1578430981000,1.8],[1578431281000,3.312],[1578431581000,4.536],[1578431881000,2.304],[1578432181000,4.608],[1578432481000,4.68],[1578432781000,5.616],[1578433081000,6.264],[1578433381000,8.208],[1578433681000,10.08],[1578433981000,15.336],[1578434281000,9.072],[1578434581000,9.216],[1578434881000,6.912],[1578435181000,4.176],[1578435481000,4.896],[1578435781000,8.64],[1578436081000,6.12],[1578436381000,3.528],[1578436681000,5.472],[1578436981000,3.528],[1578437281000,1.728],[1578437581000,2.304],[1578437881000,3.96],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1578351601000,16.148400012],[1578351781000,17.63496],[1578352081000,10.97208],[1578352381000,7.9308],[1578352681000,19.4616],[1578352981000,21.76344],[1578353281000,18.94392],[1578353581000,17.80992],[1578353881000,13.45608],[1578354181000,10.41912],[1578354481000,12.84624],[1578354781000,12.12984],[1578355081000,7.4232],[1578355381000,6.84792],[1578355681000,8.44416],[1578355981000,6.9516],[1578356281000,11.44944],[1578356581000,14.31432],[1578356881000,11.3508],[1578357181000,9.24552],[1578357481000,17.52264],[1578357781000,15.55848],[1578358081000,15.1812],[1578358381000,14.32944],[1578358681000,13.18248],[1578358981000,16.1784],[1578359281000,15.44976],[1578359581000,13.58496],[1578359881000,14.26104],[1578360181000,17.51544],[1578360481000,19.08144],[1578360781000,18.81504],[1578361081000,15.44112],[1578361381000,14.57208],[1578361681000,9.07704],[1578361981000,13.24368],[1578362281000,15.30792],[1578362581000,16.73208],[1578362881000,13.88016],[1578363181000,15.71976],[1578363481000,16.164],[1578363781000,18.18432],[1578364081000,15.40008],[1578364381000,14.50728],[1578364681000,12.02544],[1578364981000,14.05224],[1578365281000,16.38],[1578365581000,15.89616],[1578365881000,17.49528],[1578366181000,18.31896],[1578366481000,18.64944],[1578366781000,22.38552],[1578367081000,19.422],[1578367381000,20.69352],[1578367681000,16.7112],[1578367981000,16.79688],[1578368281000,18.66168],[1578368581000,19.22184],[1578368881000,20.83968],[1578369181000,19.15632],[1578369481000,19.5804],[1578369781000,18.2808],[1578370081000,17.05464],[1578370381000,10.41336],[1578370681000,16.40736],[1578370981000,16.38576],[1578371281000,17.4564],[1578371581000,19.5552],[1578371881000,17.64864],[1578372181000,13.10616],[1578372481000,12.50568],[1578372781000,17.47224],[1578373081000,17.69688],[1578373381000,13.91328],[1578373681000,15.92136],[1578373981000,17.74728],[1578374281000,12.78504],[1578374581000,12.59496],[1578374881000,14.4288],[1578375181000,15.54336],[1578375481000,12.92976],[1578375781000,10.34064],[1578376081000,9.06552],[1578376381000,11.3724],[1578376681000,12.35664],[1578376981000,12.23712],[1578377281000,10.4076],[1578377581000,7.18992],[1578377881000,15.01776],[1578378181000,15.78096],[1578378481000,16.35408],[1578378781000,15.72264],[1578379081000,14.03208],[1578379381000,12.42504],[1578379681000,11.34144],[1578379981000,15.36552],[1578380281000,15.29928],[1578380581000,14.72688],[1578380881000,19.74456],[1578381181000,18.36432],[1578381481000,13.40712],[1578381781000,11.21832],[1578382081000,13.97016],[1578382381000,14.28192],[1578382681000,18.1332],[1578382981000,15.37632],[1578383281000,17.7516],[1578383581000,19.85328],[1578383881000,13.25376],[1578384181000,18.48168],[1578384481000,17.12664],[1578384781000,20.0088],[1578385081000,16.7724],[1578385381000,13.3452],[1578385681000,18.95472],[1578385981000,14.92488],[1578386281000,15.38352],[1578386581000,16.11504],[1578386881000,15.46344],[1578387181000,13.48128],[1578387481000,14.0436],[1578387781000,18.52344],[1578388081000,17.02224],[1578388381000,8.68608],[1578388681000,13.10184],[1578388981000,16.55208],[1578389281000,16.76592],[1578389581000,18.1728],[1578389881000,13.25088],[1578390181000,11.78208],[1578390481000,12.01824],[1578390781000,11.106],[1578391081000,5.32512],[1578391381000,8.72208],[1578391681000,11.5776],[1578391981000,12.006],[1578392281000,9.666],[1578392581000,11.01384],[1578392881000,8.86032],[1578393181000,7.96464],[1578393481000,9.4752],[1578393781000,9.58392],[1578394081000,8.23824],[1578394381000,13.1616],[1578394681000,10.33128],[1578394981000,9.97992],[1578395281000,7.938],[1578395581000,8.32968],[1578395881000,7.31304],[1578396181000,8.16336],[1578396481000,9.2484],[1578396781000,9.37944],[1578397081000,9.36144],[1578397381000,6.33672],[1578397681000,7.45632],[1578397981000,9.51336],[1578398281000,12.98376],[1578398581000,9.63072],[1578398881000,12.73824],[1578399181000,7.1856],[1578399481000,9.08136],[1578399781000,8.17488],[1578400081000,9.44136],[1578400381000,6.21288],[1578400681000,5.48712],[1578400981000,6.01848],[1578401281000,5.14728],[1578401581000,6.354],[1578401881000,4.95648],[1578402181000,7.16616],[1578402481000,4.6116],[1578402781000,4.12344],[1578403081000,6.7068],[1578403381000,4.81392],[1578403681000,4.65336],[1578403981000,3.79152],[1578404281000,2.29248],[1578404581000,2.64384],[1578404881000,4.05432],[1578405181000,3.35016],[1578405481000,6.35472],[1578405781000,2.84184],[1578406081000,6.39936],[1578406381000,1.73232],[1578406681000,0.66888],[1578406981000,0.68904],[1578407281000,1.20168],[1578407581000,1.2924],[1578407881000,0],[1578408181000,3.02256],[1578408481000,2.44152],[1578408781000,1.24488],[1578409081000,0],[1578409381000,0],[1578409681000,2.45376],[1578409981000,4.45104],[1578410281000,8.92728],[1578410581000,6.30072],[1578410881000,7.26192],[1578411181000,2.59992],[1578411481000,4.96368],[1578411781000,1.67112],[1578412081000,3.28248],[1578412381000,3.8412],[1578412681000,2.55096],[1578412981000,8.30736],[1578413281000,7.14024],[1578413581000,0.69912],[1578413881000,3.08448],[1578414181000,0.19656],[1578414481000,7.14312],[1578414781000,13.21632],[1578415081000,11.88576],[1578415381000,8.41104],[1578415681000,14.04432],[1578415981000,5.60304],[1578416281000,7.36416],[1578416581000,10.55376],[1578416881000,3.02688],[1578417181000,5.454],[1578417481000,7.94808],[1578417781000,5.79888],[1578418081000,5.55264],[1578418381000,8.50032],[1578418681000,12.6396],[1578418981000,8.3952],[1578419281000,9],[1578419581000,9.3996],[1578419881000,8.27784],[1578420181000,6.69888],[1578420481000,3.1212],[1578420781000,10.1268],[1578421081000,7.24032],[1578421381000,2.2176],[1578421681000,4.97376],[1578421981000,9.36072],[1578422281000,8.15976],[1578422581000,7.52112],[1578422881000,10.59408],[1578423181000,14.10984],[1578423481000,14.97168],[1578423781000,18.26424],[1578424081000,10.65384],[1578424381000,14.9904],[1578424681000,15.12288],[1578424981000,11.68344],[1578425281000,13.11048],[1578425581000,9.52704],[1578425881000,4.61736],[1578426181000,7.6896],[1578426481000,7.77096],[1578426781000,4.99104],[1578427081000,2.04624],[1578427381000,6.57],[1578427681000,1.66968],[1578427981000,0.60768],[1578428281000,4.78224],[1578428581000,4.73256],[1578428881000,2.64096],[1578429181000,3.82032],[1578429481000,1.76976],[1578429781000,3.042],[1578430081000,1.96632],[1578430381000,1.25568],[1578430681000,0.88632],[1578430981000,2.74032],[1578431281000,5.26824],[1578431581000,7.01424],[1578431881000,3.51792],[1578432181000,7.20144],[1578432481000,7.23312],[1578432781000,8.50248],[1578433081000,9.67824],[1578433381000,13.2516],[1578433681000,16.51248],[1578433981000,25.27128],[1578434281000,14.42664],[1578434581000,14.78016],[1578434881000,11.09088],[1578435181000,6.534],[1578435481000,7.60464],[1578435781000,14.27832],[1578436081000,9.67464],[1578436381000,5.50944],[1578436681000,8.33544],[1578436981000,5.52168],[1578437281000,2.58048],[1578437581000,3.5244],[1578437881000,6.1704],], 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: [[1578351601000,32.03333333],[1578351781000,22.52000000],[1578352081000,60.12000000],[1578352381000,70.78000000],[1578352681000,20.04000000],[1578352981000,23.30000000],[1578353281000,24.52000000],[1578353581000,28.62000000],[1578353881000,48.26000000],[1578354181000,48.68000000],[1578354481000,53.18000000],[1578354781000,51.14000000],[1578355081000,72.82000000],[1578355381000,80.58000000],[1578355681000,86.34000000],[1578355981000,74.46000000],[1578356281000,45.82000000],[1578356581000,38.44000000],[1578356881000,47.48000000],[1578357181000,33.16000000],[1578357481000,33.54000000],[1578357781000,30.26000000],[1578358081000,36.40000000],[1578358381000,35.60000000],[1578358681000,48.70000000],[1578358981000,31.08000000],[1578359281000,54.42000000],[1578359581000,37.64000000],[1578359881000,36.80000000],[1578360181000,27.82000000],[1578360481000,27.40000000],[1578360781000,35.18000000],[1578361081000,35.60000000],[1578361381000,51.56000000],[1578361681000,62.60000000],[1578361981000,44.58000000],[1578362281000,36.42000000],[1578362581000,31.50000000],[1578362881000,34.78000000],[1578363181000,36.82000000],[1578363481000,42.12000000],[1578363781000,33.96000000],[1578364081000,35.18000000],[1578364381000,42.16000000],[1578364681000,61.78000000],[1578364981000,53.60000000],[1578365281000,32.32000000],[1578365581000,38.46000000],[1578365881000,37.62000000],[1578366181000,33.56000000],[1578366481000,30.26000000],[1578366781000,34.38000000],[1578367081000,32.32000000],[1578367381000,28.22000000],[1578367681000,30.24000000],[1578367981000,41.32000000],[1578368281000,27.40000000],[1578368581000,24.54000000],[1578368881000,24.54000000],[1578369181000,23.72000000],[1578369481000,19.64000000],[1578369781000,23.34000000],[1578370081000,25.36000000],[1578370381000,42.54000000],[1578370681000,27.84000000],[1578370981000,23.72000000],[1578371281000,38.44000000],[1578371581000,20.88000000],[1578371881000,28.24000000],[1578372181000,43.80000000],[1578372481000,31.50000000],[1578372781000,29.04000000],[1578373081000,30.26000000],[1578373381000,28.62000000],[1578373681000,30.68000000],[1578373981000,29.46000000],[1578374281000,32.34000000],[1578374581000,33.52000000],[1578374881000,31.48000000],[1578375181000,26.58000000],[1578375481000,40.48000000],[1578375781000,42.94000000],[1578376081000,47.06000000],[1578376381000,40.90000000],[1578376681000,35.18000000],[1578376981000,33.94000000],[1578377281000,49.92000000],[1578377581000,57.30000000],[1578377881000,35.18000000],[1578378181000,36.40000000],[1578378481000,39.68000000],[1578378781000,25.36000000],[1578379081000,42.94000000],[1578379381000,23.32000000],[1578379681000,29.02000000],[1578379981000,31.08000000],[1578380281000,27.02000000],[1578380581000,42.96000000],[1578380881000,34.76000000],[1578381181000,31.50000000],[1578381481000,30.26000000],[1578381781000,35.18000000],[1578382081000,27.40000000],[1578382381000,38.06000000],[1578382681000,27.00000000],[1578382981000,37.62000000],[1578383281000,38.06000000],[1578383581000,45.40000000],[1578383881000,48.70000000],[1578384181000,32.72000000],[1578384481000,42.96000000],[1578384781000,45.80000000],[1578385081000,35.18000000],[1578385381000,43.36000000],[1578385681000,39.30000000],[1578385981000,36.00000000],[1578386281000,31.48000000],[1578386581000,50.74000000],[1578386881000,37.62000000],[1578387181000,40.06000000],[1578387481000,31.10000000],[1578387781000,25.76000000],[1578388081000,25.36000000],[1578388381000,38.86000000],[1578388681000,25.34000000],[1578388981000,25.38000000],[1578389281000,29.06000000],[1578389581000,35.20000000],[1578389881000,31.10000000],[1578390181000,68.74000000],[1578390481000,84.68000000],[1578390781000,49.92000000],[1578391081000,91.62000000],[1578391381000,78.96000000],[1578391681000,80.18000000],[1578391981000,68.30000000],[1578392281000,65.44000000],[1578392581000,53.60000000],[1578392881000,93.70000000],[1578393181000,88.78000000],[1578393481000,91.62000000],[1578393781000,85.10000000],[1578394081000,114.96000000],[1578394381000,116.16000000],[1578394681000,100.24000000],[1578394981000,89.60000000],[1578395281000,99.84000000],[1578395581000,90.40000000],[1578395881000,93.28000000],[1578396181000,90.42000000],[1578396481000,98.18000000],[1578396781000,45.82000000],[1578397081000,80.18000000],[1578397381000,93.26000000],[1578397681000,65.88000000],[1578397981000,45.40000000],[1578398281000,50.30000000],[1578398581000,77.34000000],[1578398881000,56.46000000],[1578399181000,65.86000000],[1578399481000,83.88000000],[1578399781000,81.80000000],[1578400081000,78.96000000],[1578400381000,53.58000000],[1578400681000,84.68000000],[1578400981000,72.40000000],[1578401281000,83.88000000],[1578401581000,100.22000000],[1578401881000,82.24000000],[1578402181000,74.06000000],[1578402481000,52.74000000],[1578402781000,114.94000000],[1578403081000,89.20000000],[1578403381000,60.54000000],[1578403681000,106.34000000],[1578403981000,114.12000000],[1578404281000,176.72000000],[1578404581000,203.32000000],[1578404881000,159.54000000],[1578405181000,180.00000000],[1578405481000,184.50000000],[1578405781000,202.52000000],[1578406081000,225.00000000],[1578406381000,184.50000000],[1578406681000,192.28000000],[1578406981000,225.00000000],[1578407281000,225.00000000],[1578407581000,225.40000000],[1578407881000,45.40000000],[1578408181000,198.40000000],[1578408481000,225.00000000],[1578408781000,225.00000000],[1578409081000,68.32000000],[1578409381000,2.46000000],[1578409681000,14.30000000],[1578409981000,108.02000000],[1578410281000,90.82000000],[1578410581000,78.56000000],[1578410881000,69.14000000],[1578411181000,2.04000000],[1578411481000,14.72000000],[1578411781000,4.48000000],[1578412081000,2.46000000],[1578412381000,2.46000000],[1578412681000,61.36000000],[1578412981000,88.38000000],[1578413281000,57.70000000],[1578413581000,1.62000000],[1578413881000,34.38000000],[1578414181000,108.00000000],[1578414481000,53.98000000],[1578414781000,22.08000000],[1578415081000,29.46000000],[1578415381000,19.64000000],[1578415681000,2.46000000],[1578415981000,0.00000000],[1578416281000,0.82000000],[1578416581000,29.44000000],[1578416881000,8.18000000],[1578417181000,146.04000000],[1578417481000,193.90000000],[1578417781000,66.68000000],[1578418081000,84.28000000],[1578418381000,97.36000000],[1578418681000,123.14000000],[1578418981000,138.28000000],[1578419281000,136.64000000],[1578419581000,117.82000000],[1578419881000,106.76000000],[1578420181000,117.82000000],[1578420481000,105.54000000],[1578420781000,128.04000000],[1578421081000,204.94000000],[1578421381000,113.32000000],[1578421681000,77.34000000],[1578421981000,38.46000000],[1578422281000,82.22000000],[1578422581000,67.90000000],[1578422881000,38.04000000],[1578423181000,59.30000000],[1578423481000,13.08000000],[1578423781000,26.18000000],[1578424081000,31.92000000],[1578424381000,39.28000000],[1578424681000,25.38000000],[1578424981000,37.64000000],[1578425281000,44.60000000],[1578425581000,60.94000000],[1578425881000,47.04000000],[1578426181000,27.84000000],[1578426481000,56.04000000],[1578426781000,9.80000000],[1578427081000,5.72000000],[1578427381000,15.14000000],[1578427681000,0.00000000],[1578427981000,0.00000000],[1578428281000,43.36000000],[1578428581000,266.32000000],[1578428881000,87.14000000],[1578429181000,14.74000000],[1578429481000,4.10000000],[1578429781000,104.32000000],[1578430081000,211.90000000],[1578430381000,92.46000000],[1578430681000,90.00000000],[1578430981000,90.82000000],[1578431281000,90.00000000],[1578431581000,90.00000000],[1578431881000,74.86000000],[1578432181000,42.96000000],[1578432481000,40.92000000],[1578432781000,65.46000000],[1578433081000,62.60000000],[1578433381000,47.46000000],[1578433681000,40.50000000],[1578433981000,46.22000000],[1578434281000,27.00000000],[1578434581000,31.90000000],[1578434881000,65.86000000],[1578435181000,92.46000000],[1578435481000,87.14000000],[1578435781000,66.68000000],[1578436081000,83.84000000],[1578436381000,186.14000000],[1578436681000,49.50000000],[1578436981000,56.44000000],[1578437281000,0.00000000],[1578437581000,25.36000000],[1578437881000,44.00000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $('.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; }