var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1578956401000,-1.70000000],[1578956581000,-1.72000000],[1578956881000,-1.78000000],[1578957181000,-1.76000000],[1578957481000,-1.80000000],[1578957781000,-1.84000000],[1578958082000,-1.90000000],[1578958381000,-1.98000000],[1578958682000,-1.98000000],[1578958981000,-2.00000000],[1578959281000,-2.00000000],[1578959581000,-1.96000000],[1578959882000,-1.90000000],[1578960181000,-1.92000000],[1578960481000,-1.90000000],[1578960782000,-1.90000000],[1578961081000,-1.90000000],[1578961381000,-1.90000000],[1578961682000,-1.90000000],[1578961981000,-1.90000000],[1578962281000,-1.90000000],[1578962581000,-1.90000000],[1578962881000,-1.90000000],[1578963181000,-1.90000000],[1578963481000,-1.90000000],[1578963781000,-1.90000000],[1578964081000,-1.84000000],[1578964381000,-1.82000000],[1578964681000,-1.82000000],[1578964982000,-1.88000000],[1578965281000,-1.90000000],[1578965581000,-1.90000000],[1578965881000,-1.90000000],[1578966181000,-1.84000000],[1578966481000,-1.80000000],[1578966782000,-1.74000000],[1578967081000,-1.66000000],[1578967381000,-1.58000000],[1578967681000,-1.54000000],[1578967982000,-1.50000000],[1578968281000,-1.50000000],[1578968581000,-1.50000000],[1578968881000,-1.50000000],[1578969181000,-1.50000000],[1578969482000,-1.44000000],[1578969782000,-1.44000000],[1578970081000,-1.44000000],[1578970382000,-1.52000000],[1578970681000,-1.64000000],[1578970981000,-1.70000000],[1578971282000,-1.76000000],[1578971582000,-1.80000000],[1578971881000,-1.86000000],[1578972181000,-1.88000000],[1578972481000,-1.90000000],[1578972781000,-1.90000000],[1578973081000,-1.90000000],[1578973381000,-2.00000000],[1578973681000,-1.96000000],[1578973982000,-2.00000000],[1578974281000,-1.96000000],[1578974581000,-1.92000000],[1578974881000,-1.94000000],[1578975182000,-1.96000000],[1578975481000,-2.00000000],[1578975781000,-2.08000000],[1578976082000,-2.04000000],[1578976381000,-2.04000000],[1578976681000,-2.06000000],[1578976981000,-2.10000000],[1578977281000,-2.10000000],[1578977581000,-2.18000000],[1578977882000,-2.20000000],[1578978181000,-2.26000000],[1578978481000,-2.32000000],[1578978781000,-2.38000000],[1578979082000,-2.40000000],[1578979381000,-2.56000000],[1578979682000,-2.60000000],[1578979981000,-2.60000000],[1578980281000,-2.60000000],[1578980582000,-2.64000000],[1578980881000,-2.70000000],[1578981181000,-2.74000000],[1578981482000,-2.84000000],[1578981781000,-2.92000000],[1578982081000,-3.00000000],[1578982382000,-3.00000000],[1578982681000,-2.98000000],[1578982981000,-2.98000000],[1578983281000,-3.00000000],[1578983581000,-3.10000000],[1578983881000,-3.04000000],[1578984181000,-3.06000000],[1578984482000,-3.02000000],[1578984782000,-3.06000000],[1578985081000,-3.08000000],[1578985381000,-3.06000000],[1578985682000,-3.10000000],[1578985981000,-3.10000000],[1578986281000,-3.10000000],[1578986582000,-3.08000000],[1578986881000,-3.14000000],[1578987181000,-3.20000000],[1578987481000,-3.20000000],[1578987781000,-3.20000000],[1578988081000,-3.20000000],[1578988381000,-3.18000000],[1578988681000,-3.16000000],[1578988981000,-3.16000000],[1578989281000,-3.16000000],[1578989582000,-3.20000000],[1578989882000,-3.10000000],[1578990182000,-3.04000000],[1578990481000,-3.04000000],[1578990781000,-3.04000000],[1578991081000,-2.98000000],[1578991381000,-2.94000000],[1578991682000,-2.90000000],[1578991981000,-2.90000000],[1578992281000,-2.82000000],[1578992581000,-2.82000000],[1578992882000,-2.80000000],[1578993181000,-2.80000000],[1578993481000,-2.82000000],[1578993782000,-2.80000000],[1578994081000,-2.80000000],[1578994381000,-2.78000000],[1578994681000,-2.80000000],[1578994981000,-2.78000000],[1578995282000,-2.80000000],[1578995581000,-2.78000000],[1578995881000,-2.74000000],[1578996182000,-2.78000000],[1578996481000,-2.72000000],[1578996781000,-2.74000000],[1578997081000,-2.72000000],[1578997382000,-2.70000000],[1578997681000,-2.70000000],[1578997981000,-2.70000000],[1578998281000,-2.68000000],[1578998581000,-2.60000000],[1578998881000,-2.74000000],[1578999182000,-2.64000000],[1578999481000,-2.58000000],[1578999781000,-2.58000000],[1579000081000,-2.70000000],[1579000382000,-2.62000000],[1579000681000,-2.54000000],[1579000982000,-2.60000000],[1579001281000,-2.58000000],[1579001581000,-2.50000000],[1579001881000,-2.46000000],[1579002181000,-2.46000000],[1579002482000,-2.48000000],[1579002782000,-2.46000000],[1579003082000,-2.42000000],[1579003381000,-2.40000000],[1579003682000,-2.32000000],[1579003981000,-2.34000000],[1579004281000,-2.22000000],[1579004582000,-2.26000000],[1579004881000,-2.24000000],[1579005181000,-2.22000000],[1579005481000,-2.18000000],[1579005782000,-2.12000000],[1579006081000,-2.20000000],[1579006381000,-2.16000000],[1579006681000,-2.12000000],[1579006981000,-2.10000000],[1579007281000,-2.10000000],[1579007582000,-2.10000000],[1579007881000,-2.06000000],[1579008182000,-2.06000000],[1579008481000,-2.08000000],[1579008781000,-2.14000000],[1579009082000,-2.10000000],[1579009381000,-2.18000000],[1579009681000,-2.22000000],[1579009981000,-2.26000000],[1579010281000,-2.22000000],[1579010581000,-2.22000000],[1579010882000,-2.32000000],[1579011181000,-2.36000000],[1579011481000,-2.30000000],[1579011781000,-2.36000000],[1579012082000,-2.36000000],[1579012381000,-2.40000000],[1579012681000,-2.40000000],[1579012981000,-2.40000000],[1579013281000,-2.46000000],[1579013581000,-2.46000000],[1579013882000,-2.50000000],[1579014181000,-2.50000000],[1579014481000,-2.50000000],[1579014782000,-2.50000000],[1579015081000,-2.52000000],[1579015381000,-2.52000000],[1579015681000,-2.50000000],[1579015982000,-2.54000000],[1579016281000,-2.56000000],[1579016581000,-2.54000000],[1579016881000,-2.54000000],[1579017182000,-2.60000000],[1579017482000,-2.52000000],[1579017781000,-2.52000000],[1579018081000,-2.50000000],[1579018381000,-2.50000000],[1579018681000,-2.50000000],[1579018982000,-2.52000000],[1579019281000,-2.54000000],[1579019581000,-2.60000000],[1579019881000,-2.54000000],[1579020182000,-2.56000000],[1579020481000,-2.50000000],[1579020782000,-2.58000000],[1579021081000,-2.58000000],[1579021381000,-2.60000000],[1579021681000,-2.58000000],[1579021981000,-2.60000000],[1579022281000,-2.68000000],[1579022581000,-2.64000000],[1579022882000,-2.60000000],[1579023181000,-2.64000000],[1579023481000,-2.64000000],[1579023782000,-2.62000000],[1579024082000,-2.60000000],[1579024381000,-2.58000000],[1579024681000,-2.60000000],[1579024982000,-2.60000000],[1579025281000,-2.58000000],[1579025581000,-2.60000000],[1579025882000,-2.60000000],[1579026181000,-2.60000000],[1579026481000,-2.60000000],[1579026781000,-2.62000000],[1579027081000,-2.60000000],[1579027381000,-2.60000000],[1579027681000,-2.60000000],[1579027982000,-2.60000000],[1579028281000,-2.70000000],[1579028581000,-2.68000000],[1579028881000,-2.66000000],[1579029182000,-2.70000000],[1579029481000,-2.66000000],[1579029782000,-2.60000000],[1579030081000,-2.62000000],[1579030381000,-2.60000000],[1579030681000,-2.62000000],[1579030981000,-2.66000000],[1579031281000,-2.70000000],[1579031581000,-2.66000000],[1579031882000,-2.68000000],[1579032181000,-2.64000000],[1579032481000,-2.70000000],[1579032782000,-2.68000000],[1579033081000,-2.70000000],[1579033381000,-2.70000000],[1579033682000,-2.70000000],[1579033981000,-2.70000000],[1579034282000,-2.70000000],[1579034581000,-2.70000000],[1579034881000,-2.70000000],[1579035181000,-2.70000000],[1579035481000,-2.70000000],[1579035781000,-2.66000000],[1579036081000,-2.70000000],[1579036382000,-2.66000000],[1579036681000,-2.70000000],[1579036981000,-2.70000000],[1579037282000,-2.68000000],[1579037583000,-2.66000000],[1579037881000,-2.68000000],[1579038181000,-2.68000000],[1579038481000,-2.70000000],[1579038781000,-2.70000000],[1579039081000,-2.66000000],[1579039382000,-2.60000000],[1579039681000,-2.62000000],[1579039981000,-2.70000000],[1579040281000,-2.68000000],[1579040582000,-2.70000000],[1579040881000,-2.70000000],[1579041181000,-2.70000000],[1579041482000,-2.74000000],[1579041781000,-2.72000000],[1579042081000,-2.72000000],[1579042381000,-2.70000000],[1579042681000,-2.75000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1578956401000,-1.7],[1578956581000,-1.7],[1578956881000,-1.8],[1578957181000,-1.8],[1578957481000,-1.8],[1578958082000,-1.9],[1578958381000,-2],[1578958682000,-2],[1578958981000,-2],[1578959281000,-2],[1578959581000,-2],[1578959882000,-1.9],[1578960181000,-1.9],[1578960481000,-1.9],[1578960782000,-1.9],[1578961081000,-1.9],[1578961381000,-1.9],[1578961682000,-1.9],[1578961981000,-1.9],[1578962281000,-1.9],[1578962581000,-1.9],[1578962881000,-1.9],[1578963181000,-1.9],[1578963481000,-1.9],[1578963781000,-1.9],[1578964081000,-1.8],[1578964381000,-1.8],[1578964681000,-1.8],[1578964982000,-1.9],[1578965281000,-1.9],[1578965581000,-1.9],[1578966181000,-1.8],[1578966481000,-1.8],[1578966782000,-1.7],[1578967081000,-1.7],[1578967381000,-1.6],[1578967681000,-1.5],[1578967982000,-1.5],[1578968281000,-1.5],[1578968581000,-1.5],[1578968881000,-1.5],[1578969181000,-1.5],[1578969482000,-1.4],[1578969782000,-1.4],[1578970081000,-1.4],[1578970681000,-1.6],[1578970981000,-1.7],[1578971282000,-1.8],[1578971582000,-1.8],[1578971881000,-1.9],[1578972181000,-1.9],[1578972781000,-1.9],[1578973081000,-1.9],[1578973381000,-2],[1578973681000,-2],[1578973982000,-2],[1578974281000,-2],[1578974581000,-1.9],[1578974881000,-1.9],[1578975182000,-2],[1578975481000,-2],[1578975781000,-2.1],[1578976082000,-2],[1578976381000,-2],[1578976681000,-2.1],[1578976981000,-2.1],[1578977281000,-2.1],[1578977581000,-2.2],[1578977882000,-2.2],[1578978181000,-2.3],[1578978481000,-2.3],[1578978781000,-2.4],[1578979082000,-2.4],[1578979381000,-2.6],[1578979682000,-2.6],[1578979981000,-2.6],[1578980281000,-2.6],[1578980582000,-2.6],[1578980881000,-2.7],[1578981181000,-2.7],[1578981482000,-2.8],[1578981781000,-2.9],[1578982081000,-3],[1578982382000,-3],[1578982681000,-3],[1578982981000,-3],[1578983581000,-3.1],[1578983881000,-3],[1578984181000,-3.1],[1578984482000,-3],[1578984782000,-3.1],[1578985081000,-3.1],[1578985682000,-3.1],[1578985981000,-3.1],[1578986281000,-3.1],[1578986582000,-3.1],[1578986881000,-3.1],[1578987181000,-3.2],[1578987481000,-3.2],[1578987781000,-3.2],[1578988081000,-3.2],[1578988381000,-3.2],[1578988681000,-3.2],[1578988981000,-3.2],[1578989582000,-3.2],[1578989882000,-3.1],[1578990182000,-3],[1578990481000,-3],[1578990781000,-3],[1578991081000,-3],[1578991381000,-2.9],[1578991682000,-2.9],[1578991981000,-2.9],[1578992281000,-2.8],[1578992581000,-2.8],[1578992882000,-2.8],[1578993181000,-2.8],[1578993481000,-2.8],[1578993782000,-2.8],[1578994381000,-2.8],[1578994681000,-2.8],[1578994981000,-2.8],[1578995282000,-2.8],[1578995581000,-2.8],[1578995881000,-2.7],[1578996182000,-2.8],[1578996481000,-2.7],[1578996781000,-2.7],[1578997081000,-2.7],[1578997382000,-2.7],[1578997681000,-2.7],[1578997981000,-2.7],[1578998581000,-2.6],[1578998881000,-2.7],[1578999182000,-2.6],[1578999481000,-2.6],[1578999781000,-2.6],[1579000081000,-2.7],[1579000382000,-2.6],[1579000681000,-2.5],[1579000982000,-2.6],[1579001281000,-2.6],[1579001581000,-2.5],[1579001881000,-2.5],[1579002181000,-2.5],[1579002482000,-2.5],[1579002782000,-2.5],[1579003381000,-2.4],[1579003682000,-2.3],[1579003981000,-2.3],[1579004281000,-2.2],[1579004582000,-2.3],[1579004881000,-2.2],[1579005181000,-2.2],[1579005481000,-2.2],[1579005782000,-2.1],[1579006081000,-2.2],[1579006381000,-2.2],[1579006681000,-2.1],[1579006981000,-2.1],[1579007281000,-2.2],[1579007582000,-2.2],[1579007881000,-2.2],[1579008182000,-2.2],[1579008481000,-2.2],[1579008781000,-2.2],[1579009082000,-2.2],[1579009381000,-2.2],[1579009681000,-2.3],[1579009981000,-2.3],[1579010281000,-2.2],[1579010581000,-2.2],[1579010882000,-2.3],[1579011181000,-2.4],[1579011481000,-2.3],[1579011781000,-2.4],[1579012381000,-2.4],[1579012681000,-2.4],[1579012981000,-2.4],[1579013281000,-2.5],[1579013581000,-2.5],[1579013882000,-2.5],[1579014181000,-2.5],[1579014481000,-2.5],[1579014782000,-2.5],[1579015081000,-2.5],[1579015381000,-2.5],[1579015681000,-2.5],[1579015982000,-2.5],[1579016281000,-2.6],[1579016581000,-2.5],[1579016881000,-2.5],[1579017182000,-2.6],[1579017482000,-2.5],[1579017781000,-2.5],[1579018081000,-2.5],[1579018681000,-2.5],[1579018982000,-2.5],[1579019281000,-2.5],[1579019581000,-2.6],[1579020182000,-2.6],[1579020481000,-2.5],[1579020782000,-2.6],[1579021081000,-2.6],[1579021381000,-2.6],[1579021681000,-2.6],[1579021981000,-2.6],[1579022281000,-2.7],[1579022581000,-2.6],[1579022882000,-2.6],[1579023181000,-2.6],[1579023481000,-2.6],[1579023782000,-2.6],[1579024082000,-2.6],[1579024381000,-2.6],[1579024681000,-2.6],[1579024982000,-2.6],[1579025281000,-2.6],[1579025581000,-2.6],[1579025882000,-2.6],[1579026181000,-2.6],[1579026481000,-2.6],[1579026781000,-2.6],[1579027081000,-2.6],[1579027381000,-2.6],[1579027681000,-2.6],[1579027982000,-2.6],[1579028281000,-2.7],[1579028581000,-2.7],[1579028881000,-2.7],[1579029182000,-2.7],[1579029481000,-2.7],[1579029782000,-2.6],[1579030081000,-2.6],[1579030381000,-2.6],[1579030681000,-2.6],[1579030981000,-2.7],[1579031281000,-2.7],[1579031581000,-2.7],[1579031882000,-2.7],[1579032181000,-2.6],[1579032481000,-2.7],[1579032782000,-2.7],[1579033081000,-2.7],[1579033381000,-2.7],[1579033981000,-2.7],[1579034282000,-2.7],[1579034581000,-2.7],[1579034881000,-2.7],[1579035181000,-2.7],[1579035481000,-2.7],[1579035781000,-2.7],[1579036081000,-2.7],[1579036382000,-2.7],[1579036681000,-2.7],[1579036981000,-2.7],[1579037282000,-2.7],[1579037583000,-2.7],[1579037881000,-2.7],[1579038181000,-2.7],[1579038481000,-2.7],[1579038781000,-2.7],[1579039081000,-2.7],[1579039382000,-2.6],[1579039681000,-2.6],[1579039981000,-2.7],[1579040281000,-2.7],[1579040582000,-2.7],[1579040881000,-2.7],[1579041181000,-2.7],[1579041482000,-2.7],[1579041781000,-2.7],[1579042081000,-2.7],[1579042381000,-2.7],[1579042681000,-2.8],], 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: [[1578956401000,100.00000000],[1578956581000,100.00000000],[1578956881000,100.00000000],[1578957181000,100.00000000],[1578957481000,100.00000000],[1578957782000,100.00000000],[1578958082000,100.00000000],[1578958381000,100.00000000],[1578958682000,100.00000000],[1578958981000,100.00000000],[1578959281000,100.00000000],[1578959581000,100.00000000],[1578959882000,100.00000000],[1578960181000,100.00000000],[1578960481000,100.00000000],[1578960782000,100.00000000],[1578961081000,100.00000000],[1578961381000,100.00000000],[1578961682000,100.00000000],[1578961981000,100.00000000],[1578962281000,100.00000000],[1578962581000,100.00000000],[1578962881000,100.00000000],[1578963181000,100.00000000],[1578963481000,100.00000000],[1578963781000,100.00000000],[1578964081000,100.00000000],[1578964381000,100.00000000],[1578964681000,100.00000000],[1578964982000,100.00000000],[1578965281000,100.00000000],[1578965581000,100.00000000],[1578965882000,100.00000000],[1578966181000,100.00000000],[1578966481000,100.00000000],[1578966782000,100.00000000],[1578967081000,100.00000000],[1578967381000,100.00000000],[1578967681000,100.00000000],[1578967982000,100.00000000],[1578968281000,100.00000000],[1578968581000,100.00000000],[1578968881000,100.00000000],[1578969181000,100.00000000],[1578969482000,100.00000000],[1578969782000,100.00000000],[1578970081000,100.00000000],[1578970381000,100.00000000],[1578970681000,100.00000000],[1578970981000,100.00000000],[1578971282000,100.00000000],[1578971582000,100.00000000],[1578971881000,100.00000000],[1578972181000,100.00000000],[1578972482000,100.00000000],[1578972781000,100.00000000],[1578973081000,100.00000000],[1578973381000,100.00000000],[1578973681000,100.00000000],[1578973982000,100.00000000],[1578974281000,100.00000000],[1578974581000,100.00000000],[1578974881000,100.00000000],[1578975182000,100.00000000],[1578975481000,100.00000000],[1578975781000,100.00000000],[1578976082000,100.00000000],[1578976381000,100.00000000],[1578976681000,100.00000000],[1578976981000,100.00000000],[1578977281000,100.00000000],[1578977581000,100.00000000],[1578977882000,100.00000000],[1578978181000,100.00000000],[1578978481000,100.00000000],[1578978781000,100.00000000],[1578979082000,100.00000000],[1578979381000,100.00000000],[1578979682000,100.00000000],[1578979981000,100.00000000],[1578980281000,100.00000000],[1578980582000,100.00000000],[1578980881000,100.00000000],[1578981181000,100.00000000],[1578981482000,100.00000000],[1578981781000,100.00000000],[1578982081000,100.00000000],[1578982382000,100.00000000],[1578982681000,100.00000000],[1578982981000,100.00000000],[1578983282000,100.00000000],[1578983581000,100.00000000],[1578983881000,100.00000000],[1578984181000,100.00000000],[1578984482000,100.00000000],[1578984782000,100.00000000],[1578985081000,100.00000000],[1578985382000,100.00000000],[1578985682000,100.00000000],[1578985981000,100.00000000],[1578986281000,100.00000000],[1578986582000,100.00000000],[1578986881000,100.00000000],[1578987181000,100.00000000],[1578987481000,100.00000000],[1578987781000,100.00000000],[1578988081000,100.00000000],[1578988381000,100.00000000],[1578988681000,100.00000000],[1578988981000,100.00000000],[1578989282000,100.00000000],[1578989582000,100.00000000],[1578989882000,100.00000000],[1578990182000,100.00000000],[1578990481000,100.00000000],[1578990781000,100.00000000],[1578991081000,100.00000000],[1578991381000,100.00000000],[1578991682000,100.00000000],[1578991981000,100.00000000],[1578992281000,100.00000000],[1578992581000,100.00000000],[1578992882000,100.00000000],[1578993181000,100.00000000],[1578993481000,100.00000000],[1578993782000,100.00000000],[1578994082000,100.00000000],[1578994381000,100.00000000],[1578994681000,100.00000000],[1578994981000,100.00000000],[1578995282000,100.00000000],[1578995581000,100.00000000],[1578995881000,100.00000000],[1578996182000,100.00000000],[1578996481000,100.00000000],[1578996781000,100.00000000],[1578997081000,100.00000000],[1578997382000,100.00000000],[1578997681000,100.00000000],[1578997981000,100.00000000],[1578998282000,100.00000000],[1578998581000,100.00000000],[1578998881000,100.00000000],[1578999182000,100.00000000],[1578999481000,100.00000000],[1578999781000,100.00000000],[1579000081000,100.00000000],[1579000382000,100.00000000],[1579000681000,100.00000000],[1579000982000,100.00000000],[1579001281000,100.00000000],[1579001581000,100.00000000],[1579001881000,100.00000000],[1579002181000,100.00000000],[1579002482000,100.00000000],[1579002782000,100.00000000],[1579003081000,100.00000000],[1579003381000,100.00000000],[1579003682000,100.00000000],[1579003981000,100.00000000],[1579004281000,100.00000000],[1579004582000,100.00000000],[1579004881000,100.00000000],[1579005181000,100.00000000],[1579005481000,100.00000000],[1579005782000,100.00000000],[1579006081000,100.00000000],[1579006381000,100.00000000],[1579006681000,99.94000000],[1579006981000,99.68000000],[1579007281000,99.54000000],[1579007582000,99.36000000],[1579007881000,99.28000000],[1579008182000,99.22000000],[1579008481000,99.22000000],[1579008781000,99.36000000],[1579009082000,99.42000000],[1579009381000,99.56000000],[1579009681000,99.66000000],[1579009981000,99.76000000],[1579010281000,99.94000000],[1579010581000,100.00000000],[1579010882000,100.00000000],[1579011181000,100.00000000],[1579011481000,100.00000000],[1579011781000,100.00000000],[1579012081000,100.00000000],[1579012381000,100.00000000],[1579012681000,100.00000000],[1579012981000,100.00000000],[1579013281000,100.00000000],[1579013581000,100.00000000],[1579013882000,100.00000000],[1579014181000,100.00000000],[1579014481000,100.00000000],[1579014782000,100.00000000],[1579015081000,100.00000000],[1579015381000,100.00000000],[1579015681000,100.00000000],[1579015982000,100.00000000],[1579016281000,100.00000000],[1579016581000,100.00000000],[1579016881000,100.00000000],[1579017182000,100.00000000],[1579017482000,100.00000000],[1579017781000,100.00000000],[1579018081000,100.00000000],[1579018382000,100.00000000],[1579018681000,100.00000000],[1579018982000,100.00000000],[1579019281000,100.00000000],[1579019581000,100.00000000],[1579019882000,100.00000000],[1579020182000,100.00000000],[1579020481000,100.00000000],[1579020782000,100.00000000],[1579021081000,100.00000000],[1579021381000,100.00000000],[1579021681000,100.00000000],[1579021981000,100.00000000],[1579022281000,100.00000000],[1579022581000,100.00000000],[1579022882000,100.00000000],[1579023181000,100.00000000],[1579023481000,100.00000000],[1579023782000,100.00000000],[1579024082000,100.00000000],[1579024381000,100.00000000],[1579024681000,100.00000000],[1579024982000,100.00000000],[1579025281000,100.00000000],[1579025581000,100.00000000],[1579025882000,100.00000000],[1579026181000,100.00000000],[1579026481000,100.00000000],[1579026781000,100.00000000],[1579027081000,100.00000000],[1579027381000,100.00000000],[1579027681000,100.00000000],[1579027982000,100.00000000],[1579028281000,100.00000000],[1579028581000,100.00000000],[1579028881000,100.00000000],[1579029182000,100.00000000],[1579029481000,100.00000000],[1579029782000,100.00000000],[1579030081000,100.00000000],[1579030381000,100.00000000],[1579030681000,100.00000000],[1579030981000,100.00000000],[1579031281000,100.00000000],[1579031581000,100.00000000],[1579031882000,100.00000000],[1579032181000,100.00000000],[1579032481000,100.00000000],[1579032782000,100.00000000],[1579033081000,100.00000000],[1579033381000,100.00000000],[1579033681000,100.00000000],[1579033981000,100.00000000],[1579034282000,100.00000000],[1579034581000,100.00000000],[1579034881000,100.00000000],[1579035181000,100.00000000],[1579035481000,100.00000000],[1579035781000,100.00000000],[1579036081000,100.00000000],[1579036382000,100.00000000],[1579036681000,100.00000000],[1579036981000,100.00000000],[1579037282000,100.00000000],[1579037583000,100.00000000],[1579037881000,100.00000000],[1579038181000,100.00000000],[1579038481000,100.00000000],[1579038781000,100.00000000],[1579039081000,100.00000000],[1579039382000,100.00000000],[1579039681000,100.00000000],[1579039981000,100.00000000],[1579040281000,100.00000000],[1579040582000,100.00000000],[1579040881000,100.00000000],[1579041181000,100.00000000],[1579041482000,100.00000000],[1579041781000,100.00000000],[1579042081000,100.00000000],[1579042381000,100.00000000],[1579042681000,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: [[1578956401000,1027.6],[1578956581000,1027.6],[1578956881000,1027.7],[1578957181000,1027.6],[1578957481000,1027.6],[1578958082000,1027.6],[1578958381000,1027.5],[1578958682000,1027.5],[1578958981000,1027.5],[1578959281000,1027.5],[1578959581000,1027.5],[1578959882000,1027.5],[1578960181000,1027.5],[1578960481000,1027.5],[1578960782000,1027.4],[1578961081000,1027.5],[1578961381000,1027.6],[1578961682000,1027.6],[1578961981000,1027.6],[1578962281000,1027.5],[1578962581000,1027.5],[1578962881000,1027.5],[1578963181000,1027.5],[1578963481000,1027.5],[1578963781000,1027.5],[1578964081000,1027.5],[1578964381000,1027.4],[1578964681000,1027.4],[1578964982000,1027.4],[1578965281000,1027.4],[1578965581000,1027.4],[1578966181000,1027.2],[1578966481000,1027],[1578966782000,1026.9],[1578967081000,1026.9],[1578967381000,1026.8],[1578967681000,1026.7],[1578967982000,1026.7],[1578968281000,1026.7],[1578968581000,1026.8],[1578968881000,1026.9],[1578969181000,1026.9],[1578969482000,1026.9],[1578969782000,1027],[1578970081000,1027],[1578970681000,1027],[1578970981000,1027],[1578971282000,1027.1],[1578971582000,1027.1],[1578971881000,1027.1],[1578972181000,1027.1],[1578972781000,1027.1],[1578973081000,1027.2],[1578973381000,1027.2],[1578973681000,1027.2],[1578973982000,1027.2],[1578974281000,1027.2],[1578974581000,1027.1],[1578974881000,1027.2],[1578975182000,1027.2],[1578975481000,1027.2],[1578975781000,1027.3],[1578976082000,1027.3],[1578976381000,1027.4],[1578976681000,1027.3],[1578976981000,1027.4],[1578977281000,1027.4],[1578977581000,1027.5],[1578977882000,1027.6],[1578978181000,1027.6],[1578978481000,1027.6],[1578978781000,1027.8],[1578979082000,1027.8],[1578979381000,1027.8],[1578979682000,1027.9],[1578979981000,1027.9],[1578980281000,1027.9],[1578980582000,1027.9],[1578980881000,1027.8],[1578981181000,1027.7],[1578981482000,1027.7],[1578981781000,1027.7],[1578982081000,1027.7],[1578982382000,1027.6],[1578982681000,1027.6],[1578982981000,1027.6],[1578983581000,1027.5],[1578983881000,1027.5],[1578984181000,1027.5],[1578984482000,1027.5],[1578984782000,1027.4],[1578985081000,1027.5],[1578985682000,1027.8],[1578985981000,1027.8],[1578986281000,1027.8],[1578986582000,1027.8],[1578986881000,1027.7],[1578987181000,1027.7],[1578987481000,1027.7],[1578987781000,1027.7],[1578988081000,1027.8],[1578988381000,1027.9],[1578988681000,1028],[1578988981000,1028],[1578989582000,1028.1],[1578989882000,1028.2],[1578990182000,1028.3],[1578990481000,1028.3],[1578990781000,1028.4],[1578991081000,1028.5],[1578991381000,1028.6],[1578991682000,1028.6],[1578991981000,1028.7],[1578992281000,1028.7],[1578992581000,1028.8],[1578992882000,1028.7],[1578993181000,1028.7],[1578993481000,1028.7],[1578993782000,1028.8],[1578994381000,1028.8],[1578994681000,1028.8],[1578994981000,1028.8],[1578995282000,1028.9],[1578995581000,1028.9],[1578995881000,1028.8],[1578996182000,1028.8],[1578996481000,1028.8],[1578996781000,1028.8],[1578997081000,1028.8],[1578997382000,1028.6],[1578997681000,1028.5],[1578997981000,1028.5],[1578998581000,1028.5],[1578998881000,1028.5],[1578999182000,1028.5],[1578999481000,1028.3],[1578999781000,1028.2],[1579000081000,1028.2],[1579000382000,1028.2],[1579000681000,1028.2],[1579000982000,1028.1],[1579001281000,1028.1],[1579001581000,1028.1],[1579001881000,1028],[1579002181000,1028],[1579002482000,1028],[1579002782000,1028],[1579003381000,1028],[1579003682000,1028],[1579003981000,1028.1],[1579004281000,1028],[1579004582000,1027.8],[1579004881000,1027.7],[1579005181000,1027.7],[1579005481000,1027.6],[1579005782000,1027.6],[1579006081000,1027.7],[1579006381000,1027.7],[1579006681000,1027.8],[1579006981000,1027.8],[1579007281000,1028],[1579007582000,1028],[1579007881000,1028.1],[1579008182000,1028.2],[1579008481000,1028.2],[1579008781000,1028.2],[1579009082000,1028.3],[1579009381000,1028.3],[1579009681000,1028.3],[1579009981000,1028.3],[1579010281000,1028.3],[1579010581000,1028.4],[1579010882000,1028.4],[1579011181000,1028.4],[1579011481000,1028.4],[1579011781000,1028.5],[1579012381000,1028.8],[1579012681000,1028.8],[1579012981000,1028.8],[1579013281000,1028.8],[1579013581000,1029],[1579013882000,1029],[1579014181000,1029.1],[1579014481000,1029],[1579014782000,1028.9],[1579015081000,1028.8],[1579015381000,1028.9],[1579015681000,1028.9],[1579015982000,1028.8],[1579016281000,1028.9],[1579016581000,1029],[1579016881000,1029],[1579017182000,1029.1],[1579017482000,1029.2],[1579017781000,1029.5],[1579018081000,1029.4],[1579018681000,1029.5],[1579018982000,1029.6],[1579019281000,1029.3],[1579019581000,1029.3],[1579020182000,1029.6],[1579020481000,1029.7],[1579020782000,1029.5],[1579021081000,1029.6],[1579021381000,1029.6],[1579021681000,1029.7],[1579021981000,1029.5],[1579022281000,1029.6],[1579022581000,1029.8],[1579022882000,1029.9],[1579023181000,1029.9],[1579023481000,1029.9],[1579023782000,1029.9],[1579024082000,1029.9],[1579024381000,1030],[1579024681000,1030],[1579024982000,1030],[1579025281000,1030.1],[1579025581000,1030.2],[1579025882000,1030.1],[1579026181000,1030.2],[1579026481000,1030.2],[1579026781000,1030.2],[1579027081000,1030.3],[1579027381000,1030.4],[1579027681000,1030.4],[1579027982000,1030.4],[1579028281000,1030.3],[1579028581000,1030.3],[1579028881000,1030.3],[1579029182000,1030.4],[1579029481000,1030.4],[1579029782000,1030.5],[1579030081000,1030.5],[1579030381000,1030.6],[1579030681000,1030.6],[1579030981000,1030.7],[1579031281000,1030.7],[1579031581000,1030.8],[1579031882000,1030.8],[1579032181000,1030.9],[1579032481000,1030.9],[1579032782000,1030.9],[1579033081000,1030.8],[1579033381000,1030.8],[1579033981000,1030.8],[1579034282000,1030.8],[1579034581000,1030.7],[1579034881000,1030.7],[1579035181000,1030.7],[1579035481000,1030.6],[1579035781000,1030.6],[1579036081000,1030.6],[1579036382000,1030.7],[1579036681000,1030.8],[1579036981000,1030.8],[1579037282000,1030.9],[1579037583000,1030.8],[1579037881000,1030.8],[1579038181000,1030.9],[1579038481000,1030.9],[1579038781000,1030.9],[1579039081000,1030.9],[1579039382000,1030.9],[1579039681000,1030.9],[1579039981000,1030.9],[1579040281000,1030.9],[1579040582000,1030.9],[1579040881000,1031],[1579041181000,1031],[1579041482000,1031],[1579041781000,1031.1],[1579042081000,1031.2],[1579042381000,1031.2],[1579042681000,1031.1],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $('.modal').on('hide.bs.modal', function() { var memory = $(this).html(); $(this).html(memory); }); function meteo_wind_direction_name(wind_direction) { if (wind_direction >= 0.00 && wind_direction <= 11.25) { ret = 'S'; } else if (wind_direction > 11.25 && wind_direction <= 33.75) { ret = 'SSV'; } else if (wind_direction > 33.75 && wind_direction <= 56.25) { ret = 'SV'; } else if (wind_direction > 56.25 && wind_direction <= 78.75) { // 67.5 ret = 'VSV'; } else if (wind_direction > 78.75 && wind_direction <= 101.25) { // 90 ret = 'V'; } else if (wind_direction > 101.25 && wind_direction <= 123.75) { //112.5 ret = 'VJV'; } else if (wind_direction > 123.75 && wind_direction <= 146.25) { // 135 ret = 'JV'; } else if (wind_direction > 146.25 && wind_direction <= 168.75) { // 157.5 ret = 'JJV'; } else if (wind_direction > 168.75 && wind_direction <= 191.25) { // 180 ret = 'J'; } else if (wind_direction > 191.25 && wind_direction <= 213.75) { // 202.5 ret = 'JJZ'; } else if (wind_direction > 213.75 && wind_direction <= 236.25) { // 225 ret = 'JZ'; } else if (wind_direction > 236.25 && wind_direction <= 258.75) { // 247.5 ret = 'ZJZ'; } else if (wind_direction > 258.75 && wind_direction <= 281.25) { // 270 ret = 'Z'; } else if (wind_direction > 281.25 && wind_direction <= 303.75) { // 292.5 ret = 'ZSZ'; } else if (wind_direction > 303.75 && wind_direction <= 326.25) { // 315 ret = 'SZ'; } else if (wind_direction > 326.25 && wind_direction <= 348.75) { // 337.5 ret = 'SSZ'; } else if (wind_direction > 348.75 && wind_direction <= 360.0) { // 337.5 ret = 'S'; } else { return ''; } return ret; }