var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1575586801000,-0.80000000],[1575586981000,-0.80000000],[1575587281000,-0.80000000],[1575587581000,-0.80000000],[1575587881000,-0.80000000],[1575588181000,-0.80000000],[1575588481000,-0.80000000],[1575588781000,-0.80000000],[1575589081000,-0.80000000],[1575589382000,-0.80000000],[1575589681000,-0.80000000],[1575589981000,-0.80000000],[1575590281000,-0.80000000],[1575590581000,-0.82000000],[1575590881000,-0.80000000],[1575591181000,-0.80000000],[1575591481000,-0.80000000],[1575591781000,-0.80000000],[1575592081000,-0.80000000],[1575592381000,-0.80000000],[1575592681000,-0.80000000],[1575592981000,-0.80000000],[1575593281000,-0.80000000],[1575593581000,-0.80000000],[1575593881000,-0.80000000],[1575594181000,-0.80000000],[1575594481000,-0.80000000],[1575594781000,-0.82000000],[1575595081000,-0.80000000],[1575595381000,-0.82000000],[1575595681000,-0.86000000],[1575595981000,-0.88000000],[1575596281000,-0.88000000],[1575596581000,-0.88000000],[1575596881000,-0.90000000],[1575597181000,-0.86000000],[1575597481000,-0.88000000],[1575597781000,-0.86000000],[1575598081000,-0.84000000],[1575598382000,-0.84000000],[1575598681000,-0.80000000],[1575598981000,-0.80000000],[1575599281000,-0.80000000],[1575599581000,-0.80000000],[1575599881000,-0.80000000],[1575600181000,-0.80000000],[1575600481000,-0.80000000],[1575600781000,-0.80000000],[1575601081000,-0.80000000],[1575601381000,-0.80000000],[1575601681000,-0.78000000],[1575601981000,-0.80000000],[1575602281000,-0.80000000],[1575602581000,-0.80000000],[1575602881000,-0.78000000],[1575603181000,-0.80000000],[1575603481000,-0.80000000],[1575603781000,-0.80000000],[1575604081000,-0.78000000],[1575604381000,-0.74000000],[1575604681000,-0.70000000],[1575604981000,-0.70000000],[1575605281000,-0.70000000],[1575605581000,-0.70000000],[1575605881000,-0.70000000],[1575606181000,-0.70000000],[1575606481000,-0.70000000],[1575606781000,-0.72000000],[1575607081000,-0.72000000],[1575607381000,-0.72000000],[1575607681000,-0.78000000],[1575607981000,-0.80000000],[1575608281000,-0.80000000],[1575608581000,-0.80000000],[1575608881000,-0.80000000],[1575609181000,-0.80000000],[1575609481000,-0.84000000],[1575609781000,-0.80000000],[1575610081000,-0.86000000],[1575610381000,-0.88000000],[1575610681000,-0.88000000],[1575610981000,-0.88000000],[1575611281000,-0.86000000],[1575611581000,-0.90000000],[1575611881000,-0.88000000],[1575612181000,-0.88000000],[1575612481000,-0.88000000],[1575612781000,-0.88000000],[1575613081000,-0.90000000],[1575613381000,-0.90000000],[1575613681000,-0.90000000],[1575613981000,-0.90000000],[1575614281000,-0.90000000],[1575614581000,-0.90000000],[1575614881000,-0.90000000],[1575615181000,-0.90000000],[1575615481000,-0.90000000],[1575615781000,-0.90000000],[1575616081000,-0.90000000],[1575616381000,-0.90000000],[1575616681000,-0.92000000],[1575616981000,-0.94000000],[1575617281000,-0.90000000],[1575617581000,-0.90000000],[1575617881000,-0.90000000],[1575618181000,-0.90000000],[1575618481000,-0.90000000],[1575618781000,-0.84000000],[1575619081000,-0.82000000],[1575619381000,-0.90000000],[1575619681000,-0.90000000],[1575619981000,-0.88000000],[1575620281000,-0.88000000],[1575620581000,-0.84000000],[1575620881000,-0.82000000],[1575621181000,-0.80000000],[1575621481000,-0.82000000],[1575621781000,-0.80000000],[1575622081000,-0.78000000],[1575622381000,-0.74000000],[1575622681000,-0.76000000],[1575622981000,-0.70000000],[1575623281000,-0.70000000],[1575623581000,-0.70000000],[1575623881000,-0.64000000],[1575624181000,-0.68000000],[1575624481000,-0.60000000],[1575624781000,-0.64000000],[1575625081000,-0.58000000],[1575625381000,-0.56000000],[1575625681000,-0.54000000],[1575625981000,-0.60000000],[1575626281000,-0.52000000],[1575626582000,-0.48000000],[1575626881000,-0.50000000],[1575627181000,-0.50000000],[1575627481000,-0.44000000],[1575627781000,-0.40000000],[1575628081000,-0.40000000],[1575628381000,-0.40000000],[1575628681000,-0.32000000],[1575628981000,-0.32000000],[1575629281000,-0.38000000],[1575629581000,-0.28000000],[1575629881000,-0.36000000],[1575630181000,-0.30000000],[1575630481000,-0.30000000],[1575630781000,-0.24000000],[1575631081000,-0.28000000],[1575631381000,-0.26000000],[1575631681000,-0.30000000],[1575631981000,-0.28000000],[1575632281000,-0.28000000],[1575632581000,-0.30000000],[1575632881000,-0.30000000],[1575633181000,-0.30000000],[1575633481000,-0.24000000],[1575633781000,-0.28000000],[1575634081000,-0.30000000],[1575634381000,-0.30000000],[1575634681000,-0.24000000],[1575634981000,-0.20000000],[1575635281000,-0.22000000],[1575635581000,-0.26000000],[1575635881000,-0.32000000],[1575636181000,-0.32000000],[1575636481000,-0.38000000],[1575636781000,-0.32000000],[1575637081000,-0.32000000],[1575637381000,-0.34000000],[1575637681000,-0.30000000],[1575637981000,-0.30000000],[1575638281000,-0.30000000],[1575638581000,-0.30000000],[1575638881000,-0.30000000],[1575639181000,-0.30000000],[1575639481000,-0.28000000],[1575639781000,-0.28000000],[1575640081000,-0.30000000],[1575640381000,-0.30000000],[1575640681000,-0.30000000],[1575640981000,-0.30000000],[1575641281000,-0.30000000],[1575641581000,-0.30000000],[1575641881000,-0.30000000],[1575642181000,-0.30000000],[1575642481000,-0.30000000],[1575642781000,-0.30000000],[1575643081000,-0.30000000],[1575643381000,-0.30000000],[1575643681000,-0.30000000],[1575643981000,-0.30000000],[1575644281000,-0.30000000],[1575644581000,-0.30000000],[1575644881000,-0.30000000],[1575645181000,-0.32000000],[1575645481000,-0.30000000],[1575645781000,-0.30000000],[1575646081000,-0.30000000],[1575646381000,-0.30000000],[1575646681000,-0.30000000],[1575646981000,-0.30000000],[1575647281000,-0.28000000],[1575647581000,-0.30000000],[1575647881000,-0.24000000],[1575648181000,-0.24000000],[1575648481000,-0.20000000],[1575648781000,-0.20000000],[1575649081000,-0.20000000],[1575649381000,-0.20000000],[1575649681000,-0.20000000],[1575649981000,-0.20000000],[1575650281000,-0.20000000],[1575650581000,-0.20000000],[1575650881000,-0.20000000],[1575651181000,-0.20000000],[1575651481000,-0.20000000],[1575651781000,-0.20000000],[1575652081000,-0.20000000],[1575652381000,-0.20000000],[1575652681000,-0.20000000],[1575652981000,-0.20000000],[1575653281000,-0.20000000],[1575653581000,-0.20000000],[1575653881000,-0.20000000],[1575654181000,-0.20000000],[1575654481000,-0.20000000],[1575654781000,-0.20000000],[1575655081000,-0.20000000],[1575655381000,-0.20000000],[1575655681000,-0.22000000],[1575655981000,-0.22000000],[1575656281000,-0.20000000],[1575656581000,-0.24000000],[1575656881000,-0.30000000],[1575657181000,-0.30000000],[1575657481000,-0.30000000],[1575657781000,-0.30000000],[1575658081000,-0.30000000],[1575658381000,-0.30000000],[1575658681000,-0.30000000],[1575658981000,-0.30000000],[1575659281000,-0.30000000],[1575659581000,-0.32000000],[1575659881000,-0.34000000],[1575660181000,-0.36000000],[1575660481000,-0.40000000],[1575660781000,-0.40000000],[1575661081000,-0.40000000],[1575661381000,-0.46000000],[1575661681000,-0.46000000],[1575661981000,-0.50000000],[1575662281000,-0.50000000],[1575662581000,-0.50000000],[1575662881000,-0.56000000],[1575663181000,-0.52000000],[1575663481000,-0.58000000],[1575663781000,-0.60000000],[1575664081000,-0.60000000],[1575664381000,-0.60000000],[1575664681000,-0.60000000],[1575664981000,-0.60000000],[1575665281000,-0.64000000],[1575665581000,-0.64000000],[1575665881000,-0.60000000],[1575666181000,-0.62000000],[1575666481000,-0.68000000],[1575666781000,-0.70000000],[1575667081000,-0.70000000],[1575667381000,-0.70000000],[1575667681000,-0.70000000],[1575667981000,-0.70000000],[1575668281000,-0.66000000],[1575668581000,-0.62000000],[1575668881000,-0.66000000],[1575669181000,-0.70000000],[1575669481000,-0.70000000],[1575669781000,-0.70000000],[1575670081000,-0.70000000],[1575670381000,-0.68000000],[1575670681000,-0.62000000],[1575670981000,-0.68000000],[1575671281000,-0.66000000],[1575671581000,-0.60000000],[1575671881000,-0.60000000],[1575672181000,-0.60000000],[1575672481000,-0.60000000],[1575672781000,-0.64000000],[1575673081000,-0.60000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1575586801000,-0.8],[1575586981000,-0.8],[1575587281000,-0.8],[1575587581000,-0.8],[1575587881000,-0.8],[1575588181000,-0.8],[1575588481000,-0.8],[1575588781000,-0.8],[1575589081000,-0.8],[1575589382000,-0.8],[1575589681000,-0.8],[1575589981000,-0.8],[1575590281000,-0.8],[1575590581000,-0.8],[1575590881000,-0.8],[1575591181000,-0.8],[1575591481000,-0.8],[1575591781000,-0.8],[1575592081000,-0.8],[1575592381000,-0.8],[1575592681000,-0.8],[1575592981000,-0.8],[1575593281000,-0.8],[1575593581000,-0.8],[1575593881000,-0.8],[1575594181000,-0.8],[1575594481000,-0.8],[1575594781000,-0.8],[1575595081000,-0.8],[1575595381000,-0.8],[1575595681000,-0.9],[1575595981000,-0.9],[1575596281000,-0.9],[1575596581000,-0.9],[1575596881000,-0.9],[1575597181000,-0.9],[1575597481000,-0.9],[1575597781000,-0.9],[1575598382000,-0.8],[1575598681000,-0.8],[1575598981000,-0.8],[1575599281000,-0.8],[1575599581000,-0.8],[1575599881000,-0.8],[1575600181000,-0.8],[1575600481000,-0.8],[1575600781000,-0.8],[1575601081000,-0.8],[1575601381000,-0.8],[1575601681000,-0.8],[1575601981000,-0.8],[1575602281000,-0.8],[1575602581000,-0.8],[1575602881000,-0.8],[1575603181000,-0.8],[1575603481000,-0.8],[1575603781000,-0.8],[1575604081000,-0.8],[1575604381000,-0.7],[1575604681000,-0.7],[1575604981000,-0.7],[1575605281000,-0.7],[1575605581000,-0.7],[1575605881000,-0.7],[1575606181000,-0.7],[1575606481000,-0.7],[1575606781000,-0.7],[1575607081000,-0.7],[1575607381000,-0.7],[1575607681000,-0.8],[1575607981000,-0.8],[1575608281000,-0.8],[1575608581000,-0.8],[1575608881000,-0.8],[1575609181000,-0.8],[1575609481000,-0.8],[1575609781000,-0.8],[1575610081000,-0.9],[1575610381000,-0.9],[1575610681000,-0.9],[1575610981000,-0.9],[1575611281000,-0.9],[1575611581000,-0.9],[1575611881000,-0.9],[1575612181000,-0.9],[1575612481000,-0.9],[1575612781000,-0.9],[1575613081000,-0.9],[1575613381000,-0.9],[1575613681000,-0.9],[1575613981000,-0.9],[1575614281000,-0.9],[1575614581000,-0.9],[1575614881000,-0.9],[1575615181000,-0.9],[1575615481000,-0.9],[1575615781000,-0.9],[1575616081000,-0.9],[1575616381000,-0.9],[1575616681000,-0.9],[1575616981000,-0.9],[1575617281000,-0.9],[1575617581000,-0.9],[1575617881000,-0.9],[1575618181000,-0.9],[1575618481000,-0.9],[1575618781000,-0.8],[1575619081000,-0.8],[1575619381000,-0.9],[1575619681000,-0.9],[1575619981000,-0.9],[1575620281000,-0.9],[1575620581000,-0.8],[1575620881000,-0.8],[1575621181000,-0.8],[1575621481000,-0.8],[1575621781000,-0.8],[1575622081000,-0.8],[1575622381000,-0.7],[1575622681000,-0.8],[1575622981000,-0.7],[1575623281000,-0.7],[1575623581000,-0.7],[1575623881000,-0.6],[1575624181000,-0.7],[1575624481000,-0.6],[1575624781000,-0.6],[1575625081000,-0.6],[1575625381000,-0.6],[1575625681000,-0.5],[1575625981000,-0.6],[1575626281000,-0.5],[1575626582000,-0.5],[1575626881000,-0.5],[1575627181000,-0.5],[1575627481000,-0.4],[1575627781000,-0.4],[1575628081000,-0.4],[1575628381000,-0.4],[1575628681000,-0.3],[1575628981000,-0.3],[1575629281000,-0.4],[1575629581000,-0.3],[1575629881000,-0.4],[1575630181000,-0.3],[1575630481000,-0.3],[1575630781000,-0.2],[1575631081000,-0.3],[1575631381000,-0.3],[1575631681000,-0.3],[1575631981000,-0.3],[1575632281000,-0.3],[1575632581000,-0.3],[1575632881000,-0.3],[1575633181000,-0.3],[1575633481000,-0.2],[1575633781000,-0.3],[1575634081000,-0.3],[1575634381000,-0.3],[1575634681000,-0.2],[1575634981000,-0.2],[1575635281000,-0.2],[1575635581000,-0.3],[1575635881000,-0.3],[1575636181000,-0.3],[1575636481000,-0.4],[1575636781000,-0.3],[1575637081000,-0.3],[1575637381000,-0.3],[1575637681000,-0.3],[1575637981000,-0.3],[1575638281000,-0.3],[1575638581000,-0.3],[1575638881000,-0.3],[1575639181000,-0.3],[1575639481000,-0.3],[1575639781000,-0.3],[1575640081000,-0.3],[1575640381000,-0.3],[1575640681000,-0.3],[1575640981000,-0.3],[1575641281000,-0.3],[1575641581000,-0.3],[1575641881000,-0.3],[1575642181000,-0.3],[1575642481000,-0.3],[1575642781000,-0.3],[1575643081000,-0.3],[1575643381000,-0.3],[1575643681000,-0.3],[1575643981000,-0.3],[1575644281000,-0.3],[1575644581000,-0.3],[1575644881000,-0.3],[1575645181000,-0.3],[1575645481000,-0.3],[1575645781000,-0.3],[1575646081000,-0.3],[1575646381000,-0.3],[1575646681000,-0.3],[1575646981000,-0.3],[1575647281000,-0.3],[1575647581000,-0.3],[1575647881000,-0.2],[1575648181000,-0.2],[1575648481000,-0.2],[1575648781000,-0.2],[1575649081000,-0.2],[1575649381000,-0.2],[1575649681000,-0.2],[1575649981000,-0.2],[1575650281000,-0.2],[1575650581000,-0.2],[1575650881000,-0.2],[1575651181000,-0.2],[1575651481000,-0.2],[1575651781000,-0.2],[1575652081000,-0.2],[1575652381000,-0.2],[1575652681000,-0.2],[1575652981000,-0.2],[1575653281000,-0.2],[1575653581000,-0.2],[1575653881000,-0.2],[1575654181000,-0.2],[1575654481000,-0.2],[1575654781000,-0.2],[1575655081000,-0.2],[1575655381000,-0.2],[1575655681000,-0.2],[1575655981000,-0.2],[1575656281000,-0.2],[1575656581000,-0.2],[1575656881000,-0.3],[1575657181000,-0.3],[1575657481000,-0.3],[1575657781000,-0.3],[1575658081000,-0.3],[1575658381000,-0.3],[1575658681000,-0.3],[1575658981000,-0.3],[1575659281000,-0.3],[1575659581000,-0.3],[1575659881000,-0.3],[1575660181000,-0.4],[1575660481000,-0.4],[1575660781000,-0.4],[1575661081000,-0.4],[1575661381000,-0.5],[1575661681000,-0.5],[1575661981000,-0.5],[1575662281000,-0.5],[1575662581000,-0.5],[1575662881000,-0.6],[1575663181000,-0.5],[1575663481000,-0.6],[1575663781000,-0.6],[1575664081000,-0.6],[1575664381000,-0.6],[1575664681000,-0.6],[1575664981000,-0.6],[1575665281000,-0.6],[1575665581000,-0.6],[1575665881000,-0.6],[1575666181000,-0.6],[1575666481000,-0.7],[1575666781000,-0.7],[1575667081000,-0.7],[1575667381000,-0.7],[1575667681000,-0.7],[1575667981000,-0.7],[1575668281000,-0.7],[1575668581000,-0.6],[1575668881000,-0.7],[1575669181000,-0.7],[1575669481000,-0.7],[1575669781000,-0.7],[1575670081000,-0.7],[1575670381000,-0.7],[1575670681000,-0.6],[1575670981000,-0.7],[1575671281000,-0.7],[1575671581000,-0.6],[1575672181000,-0.6],[1575672481000,-0.6],[1575672781000,-0.6],[1575673081000,-0.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: [[1575586801000,100.00000000],[1575586981000,100.00000000],[1575587281000,100.00000000],[1575587581000,100.00000000],[1575587881000,100.00000000],[1575588181000,100.00000000],[1575588481000,100.00000000],[1575588781000,100.00000000],[1575589081000,100.00000000],[1575589382000,100.00000000],[1575589681000,100.00000000],[1575589981000,100.00000000],[1575590281000,100.00000000],[1575590581000,100.00000000],[1575590881000,100.00000000],[1575591181000,100.00000000],[1575591481000,100.00000000],[1575591781000,100.00000000],[1575592081000,100.00000000],[1575592381000,100.00000000],[1575592681000,100.00000000],[1575592981000,100.00000000],[1575593281000,100.00000000],[1575593581000,100.00000000],[1575593881000,100.00000000],[1575594181000,100.00000000],[1575594481000,100.00000000],[1575594781000,100.00000000],[1575595081000,100.00000000],[1575595381000,100.00000000],[1575595681000,100.00000000],[1575595981000,100.00000000],[1575596281000,100.00000000],[1575596581000,100.00000000],[1575596881000,100.00000000],[1575597181000,100.00000000],[1575597481000,100.00000000],[1575597781000,100.00000000],[1575598082000,100.00000000],[1575598382000,100.00000000],[1575598681000,100.00000000],[1575598981000,100.00000000],[1575599281000,100.00000000],[1575599581000,100.00000000],[1575599881000,100.00000000],[1575600181000,100.00000000],[1575600481000,100.00000000],[1575600781000,100.00000000],[1575601081000,100.00000000],[1575601381000,100.00000000],[1575601681000,100.00000000],[1575601981000,100.00000000],[1575602281000,100.00000000],[1575602581000,100.00000000],[1575602881000,100.00000000],[1575603181000,100.00000000],[1575603481000,100.00000000],[1575603781000,100.00000000],[1575604081000,100.00000000],[1575604381000,100.00000000],[1575604681000,100.00000000],[1575604981000,100.00000000],[1575605281000,100.00000000],[1575605581000,100.00000000],[1575605881000,100.00000000],[1575606181000,100.00000000],[1575606481000,100.00000000],[1575606781000,100.00000000],[1575607081000,100.00000000],[1575607381000,100.00000000],[1575607681000,100.00000000],[1575607981000,100.00000000],[1575608281000,100.00000000],[1575608581000,100.00000000],[1575608881000,100.00000000],[1575609181000,100.00000000],[1575609481000,100.00000000],[1575609781000,100.00000000],[1575610081000,100.00000000],[1575610381000,100.00000000],[1575610681000,100.00000000],[1575610981000,100.00000000],[1575611281000,100.00000000],[1575611581000,100.00000000],[1575611881000,100.00000000],[1575612181000,100.00000000],[1575612481000,100.00000000],[1575612781000,100.00000000],[1575613081000,100.00000000],[1575613381000,100.00000000],[1575613681000,100.00000000],[1575613981000,100.00000000],[1575614281000,100.00000000],[1575614581000,100.00000000],[1575614881000,100.00000000],[1575615181000,100.00000000],[1575615481000,100.00000000],[1575615781000,100.00000000],[1575616081000,100.00000000],[1575616381000,100.00000000],[1575616681000,100.00000000],[1575616981000,100.00000000],[1575617281000,100.00000000],[1575617581000,100.00000000],[1575617881000,100.00000000],[1575618181000,100.00000000],[1575618481000,100.00000000],[1575618781000,100.00000000],[1575619081000,100.00000000],[1575619381000,100.00000000],[1575619681000,100.00000000],[1575619981000,100.00000000],[1575620281000,100.00000000],[1575620581000,100.00000000],[1575620881000,100.00000000],[1575621181000,100.00000000],[1575621481000,100.00000000],[1575621781000,100.00000000],[1575622081000,100.00000000],[1575622381000,100.00000000],[1575622681000,100.00000000],[1575622981000,100.00000000],[1575623281000,100.00000000],[1575623581000,100.00000000],[1575623881000,100.00000000],[1575624181000,100.00000000],[1575624481000,100.00000000],[1575624781000,100.00000000],[1575625081000,100.00000000],[1575625381000,100.00000000],[1575625681000,100.00000000],[1575625981000,100.00000000],[1575626281000,100.00000000],[1575626582000,100.00000000],[1575626881000,100.00000000],[1575627181000,100.00000000],[1575627481000,100.00000000],[1575627781000,100.00000000],[1575628081000,100.00000000],[1575628381000,100.00000000],[1575628681000,100.00000000],[1575628981000,100.00000000],[1575629281000,100.00000000],[1575629581000,100.00000000],[1575629881000,100.00000000],[1575630181000,100.00000000],[1575630481000,100.00000000],[1575630781000,100.00000000],[1575631081000,100.00000000],[1575631381000,100.00000000],[1575631681000,100.00000000],[1575631981000,100.00000000],[1575632281000,100.00000000],[1575632581000,100.00000000],[1575632881000,100.00000000],[1575633181000,100.00000000],[1575633481000,100.00000000],[1575633781000,100.00000000],[1575634081000,100.00000000],[1575634381000,100.00000000],[1575634681000,100.00000000],[1575634981000,100.00000000],[1575635281000,100.00000000],[1575635581000,100.00000000],[1575635881000,100.00000000],[1575636181000,100.00000000],[1575636481000,100.00000000],[1575636781000,100.00000000],[1575637081000,100.00000000],[1575637381000,100.00000000],[1575637681000,100.00000000],[1575637981000,100.00000000],[1575638281000,100.00000000],[1575638581000,100.00000000],[1575638881000,100.00000000],[1575639181000,100.00000000],[1575639481000,100.00000000],[1575639781000,100.00000000],[1575640081000,100.00000000],[1575640381000,100.00000000],[1575640681000,100.00000000],[1575640981000,100.00000000],[1575641281000,100.00000000],[1575641581000,100.00000000],[1575641881000,100.00000000],[1575642181000,100.00000000],[1575642481000,100.00000000],[1575642781000,100.00000000],[1575643081000,100.00000000],[1575643381000,100.00000000],[1575643681000,100.00000000],[1575643981000,100.00000000],[1575644281000,100.00000000],[1575644581000,100.00000000],[1575644881000,100.00000000],[1575645181000,100.00000000],[1575645481000,100.00000000],[1575645781000,100.00000000],[1575646081000,100.00000000],[1575646381000,100.00000000],[1575646681000,100.00000000],[1575646981000,100.00000000],[1575647281000,100.00000000],[1575647581000,100.00000000],[1575647881000,100.00000000],[1575648181000,100.00000000],[1575648481000,100.00000000],[1575648781000,100.00000000],[1575649081000,100.00000000],[1575649381000,100.00000000],[1575649681000,100.00000000],[1575649981000,100.00000000],[1575650281000,100.00000000],[1575650581000,100.00000000],[1575650881000,100.00000000],[1575651181000,100.00000000],[1575651481000,100.00000000],[1575651781000,100.00000000],[1575652081000,100.00000000],[1575652381000,100.00000000],[1575652681000,100.00000000],[1575652981000,100.00000000],[1575653281000,100.00000000],[1575653581000,100.00000000],[1575653881000,100.00000000],[1575654181000,100.00000000],[1575654481000,100.00000000],[1575654781000,100.00000000],[1575655081000,100.00000000],[1575655381000,100.00000000],[1575655681000,100.00000000],[1575655981000,100.00000000],[1575656281000,100.00000000],[1575656581000,100.00000000],[1575656881000,100.00000000],[1575657181000,100.00000000],[1575657481000,100.00000000],[1575657781000,100.00000000],[1575658081000,100.00000000],[1575658381000,100.00000000],[1575658681000,100.00000000],[1575658981000,100.00000000],[1575659281000,100.00000000],[1575659581000,100.00000000],[1575659881000,100.00000000],[1575660181000,100.00000000],[1575660481000,100.00000000],[1575660781000,100.00000000],[1575661081000,100.00000000],[1575661381000,100.00000000],[1575661681000,100.00000000],[1575661981000,100.00000000],[1575662281000,100.00000000],[1575662581000,100.00000000],[1575662881000,100.00000000],[1575663181000,100.00000000],[1575663481000,100.00000000],[1575663781000,100.00000000],[1575664081000,100.00000000],[1575664381000,100.00000000],[1575664681000,100.00000000],[1575664981000,100.00000000],[1575665281000,100.00000000],[1575665581000,100.00000000],[1575665881000,100.00000000],[1575666181000,100.00000000],[1575666481000,100.00000000],[1575666781000,100.00000000],[1575667081000,100.00000000],[1575667381000,100.00000000],[1575667681000,100.00000000],[1575667981000,100.00000000],[1575668281000,100.00000000],[1575668581000,100.00000000],[1575668881000,100.00000000],[1575669181000,100.00000000],[1575669481000,100.00000000],[1575669781000,100.00000000],[1575670081000,100.00000000],[1575670381000,100.00000000],[1575670681000,100.00000000],[1575670981000,100.00000000],[1575671281000,100.00000000],[1575671581000,100.00000000],[1575671882000,100.00000000],[1575672181000,100.00000000],[1575672481000,100.00000000],[1575672781000,100.00000000],[1575673081000,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: [[1575586801000,1027.5],[1575586981000,1027.5],[1575587281000,1027.5],[1575587581000,1027.5],[1575587881000,1027.5],[1575588181000,1027.5],[1575588481000,1027.5],[1575588781000,1027.4],[1575589081000,1027.3],[1575589382000,1027.2],[1575589681000,1027.2],[1575589981000,1027.1],[1575590281000,1027.1],[1575590581000,1027],[1575590881000,1027],[1575591181000,1026.9],[1575591481000,1026.9],[1575591781000,1026.9],[1575592081000,1026.9],[1575592381000,1027],[1575592681000,1027],[1575592981000,1026.9],[1575593281000,1026.9],[1575593581000,1026.9],[1575593881000,1026.9],[1575594181000,1026.9],[1575594481000,1026.9],[1575594781000,1026.9],[1575595081000,1026.8],[1575595381000,1026.8],[1575595681000,1026.8],[1575595981000,1026.7],[1575596281000,1026.6],[1575596581000,1026.7],[1575596881000,1026.6],[1575597181000,1026.6],[1575597481000,1026.5],[1575597781000,1026.5],[1575598382000,1026.4],[1575598681000,1026.3],[1575598981000,1026.3],[1575599281000,1026.3],[1575599581000,1026.3],[1575599881000,1026.3],[1575600181000,1026.3],[1575600481000,1026.3],[1575600781000,1026.3],[1575601081000,1026.3],[1575601381000,1026.2],[1575601681000,1026.2],[1575601981000,1026.2],[1575602281000,1026.2],[1575602581000,1026.2],[1575602881000,1026.1],[1575603181000,1026.1],[1575603481000,1026.1],[1575603781000,1026.1],[1575604081000,1026.1],[1575604381000,1026.1],[1575604681000,1026.1],[1575604981000,1026.1],[1575605281000,1026],[1575605581000,1026],[1575605881000,1026],[1575606181000,1026],[1575606481000,1026],[1575606781000,1026],[1575607081000,1025.9],[1575607381000,1026],[1575607681000,1025.9],[1575607981000,1025.9],[1575608281000,1025.9],[1575608581000,1025.9],[1575608881000,1026],[1575609181000,1026],[1575609481000,1026],[1575609781000,1026],[1575610081000,1026],[1575610381000,1026],[1575610681000,1026],[1575610981000,1026.1],[1575611281000,1026.1],[1575611581000,1026.1],[1575611881000,1026.1],[1575612181000,1026.1],[1575612481000,1026.1],[1575612781000,1026.1],[1575613081000,1026.1],[1575613381000,1026.1],[1575613681000,1026.1],[1575613981000,1026.1],[1575614281000,1026.1],[1575614581000,1026.2],[1575614881000,1026.1],[1575615181000,1026.2],[1575615481000,1026.2],[1575615781000,1026.2],[1575616081000,1026.2],[1575616381000,1026.3],[1575616681000,1026.3],[1575616981000,1026.3],[1575617281000,1026.3],[1575617581000,1026.3],[1575617881000,1026.2],[1575618181000,1026.2],[1575618481000,1026.2],[1575618781000,1026.2],[1575619081000,1026.1],[1575619381000,1026.2],[1575619681000,1026.2],[1575619981000,1026.2],[1575620281000,1026.2],[1575620581000,1026.2],[1575620881000,1026.2],[1575621181000,1026.2],[1575621481000,1026.1],[1575621781000,1026.2],[1575622081000,1026.2],[1575622381000,1026.1],[1575622681000,1026.1],[1575622981000,1026.2],[1575623281000,1026.1],[1575623581000,1026],[1575623881000,1026.1],[1575624181000,1026],[1575624481000,1026],[1575624781000,1026],[1575625081000,1025.9],[1575625381000,1025.9],[1575625681000,1025.8],[1575625981000,1025.7],[1575626281000,1025.7],[1575626582000,1025.6],[1575626881000,1025.6],[1575627181000,1025.6],[1575627481000,1025.5],[1575627781000,1025.4],[1575628081000,1025.4],[1575628381000,1025.3],[1575628681000,1025.3],[1575628981000,1025.2],[1575629281000,1025.2],[1575629581000,1025.1],[1575629881000,1025],[1575630181000,1024.9],[1575630481000,1024.9],[1575630781000,1024.8],[1575631081000,1024.8],[1575631381000,1024.7],[1575631681000,1024.7],[1575631981000,1024.6],[1575632281000,1024.7],[1575632581000,1024.6],[1575632881000,1024.5],[1575633181000,1024.4],[1575633481000,1024.3],[1575633781000,1024.3],[1575634081000,1024.2],[1575634381000,1024.1],[1575634681000,1024.1],[1575634981000,1024.1],[1575635281000,1024],[1575635581000,1023.9],[1575635881000,1023.9],[1575636181000,1023.8],[1575636481000,1023.8],[1575636781000,1023.8],[1575637081000,1023.7],[1575637381000,1023.7],[1575637681000,1023.7],[1575637981000,1023.7],[1575638281000,1023.7],[1575638581000,1023.7],[1575638881000,1023.7],[1575639181000,1023.7],[1575639481000,1023.7],[1575639781000,1023.7],[1575640081000,1023.7],[1575640381000,1023.6],[1575640681000,1023.6],[1575640981000,1023.6],[1575641281000,1023.6],[1575641581000,1023.5],[1575641881000,1023.5],[1575642181000,1023.5],[1575642481000,1023.5],[1575642781000,1023.5],[1575643081000,1023.5],[1575643381000,1023.5],[1575643681000,1023.4],[1575643981000,1023.5],[1575644281000,1023.4],[1575644581000,1023.4],[1575644881000,1023.4],[1575645181000,1023.4],[1575645481000,1023.3],[1575645781000,1023.2],[1575646081000,1023.2],[1575646381000,1023.2],[1575646681000,1023.2],[1575646981000,1023.2],[1575647281000,1023.2],[1575647581000,1023.2],[1575647881000,1023.2],[1575648181000,1023.1],[1575648481000,1023.2],[1575648781000,1023.2],[1575649081000,1023.1],[1575649381000,1023.1],[1575649681000,1023.1],[1575649981000,1023.1],[1575650281000,1023.1],[1575650581000,1023],[1575650881000,1023],[1575651181000,1023],[1575651481000,1022.9],[1575651781000,1023],[1575652081000,1023],[1575652381000,1022.9],[1575652681000,1022.9],[1575652981000,1022.8],[1575653281000,1022.8],[1575653581000,1022.8],[1575653881000,1022.8],[1575654181000,1022.8],[1575654481000,1022.7],[1575654781000,1022.7],[1575655081000,1022.7],[1575655381000,1022.7],[1575655681000,1022.7],[1575655981000,1022.7],[1575656281000,1022.7],[1575656581000,1022.7],[1575656881000,1022.6],[1575657181000,1022.6],[1575657481000,1022.6],[1575657781000,1022.5],[1575658081000,1022.5],[1575658381000,1022.4],[1575658681000,1022.4],[1575658981000,1022.4],[1575659281000,1022.4],[1575659581000,1022.3],[1575659881000,1022.3],[1575660181000,1022.2],[1575660481000,1022.2],[1575660781000,1022.1],[1575661081000,1022.1],[1575661381000,1022.1],[1575661681000,1022.1],[1575661981000,1022.1],[1575662281000,1022.1],[1575662581000,1022.1],[1575662881000,1022],[1575663181000,1022],[1575663481000,1022],[1575663781000,1022],[1575664081000,1022],[1575664381000,1022],[1575664681000,1022],[1575664981000,1021.9],[1575665281000,1021.9],[1575665581000,1021.8],[1575665881000,1021.8],[1575666181000,1021.7],[1575666481000,1021.6],[1575666781000,1021.6],[1575667081000,1021.7],[1575667381000,1021.6],[1575667681000,1021.6],[1575667981000,1021.6],[1575668281000,1021.6],[1575668581000,1021.5],[1575668881000,1021.5],[1575669181000,1021.5],[1575669481000,1021.5],[1575669781000,1021.5],[1575670081000,1021.4],[1575670381000,1021.4],[1575670681000,1021.4],[1575670981000,1021.4],[1575671281000,1021.4],[1575671581000,1021.3],[1575672181000,1021.2],[1575672481000,1021.2],[1575672781000,1021.1],[1575673081000,1021.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); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1575586801000,16.319999988],[1575586981000,18.576],[1575587281000,13.536],[1575587581000,16.344],[1575587881000,19.368],[1575588181000,15.12],[1575588481000,15.48],[1575588781000,14.976],[1575589081000,16.848],[1575589381000,13.464],[1575589681000,19.44],[1575589981000,15.696],[1575590281000,13.536],[1575590581000,15.12],[1575590881000,15.408],[1575591181000,12.384],[1575591481000,9.504],[1575591781000,10.368],[1575592081000,10.512],[1575592381000,13.68],[1575592681000,11.088],[1575592981000,15.336],[1575593281000,16.416],[1575593581000,11.808],[1575593881000,7.848],[1575594181000,10.8],[1575594481000,9.288],[1575594781000,8.496],[1575595081000,5.688],[1575595381000,8.208],[1575595681000,9.36],[1575595981000,7.128],[1575596281000,6.696],[1575596581000,7.416],[1575596881000,7.128],[1575597181000,11.016],[1575597481000,7.776],[1575597781000,7.128],[1575598080000,8.496],[1575598381000,6.912],[1575598681000,5.616],[1575598981000,7.128],[1575599281000,5.256],[1575599581000,6.336],[1575599881000,5.472],[1575600181000,5.328],[1575600481000,5.112],[1575600781000,4.464],[1575601081000,6.048],[1575601381000,4.608],[1575601681000,3.816],[1575601981000,3.528],[1575602281000,3.24],[1575602581000,3.96],[1575602881000,5.472],[1575603181000,5.04],[1575603481000,4.752],[1575603781000,6.048],[1575604081000,8.28],[1575604381000,8.352],[1575604681000,4.968],[1575604981000,5.472],[1575605281000,7.416],[1575605581000,7.56],[1575605881000,6.48],[1575606181000,4.536],[1575606481000,4.968],[1575606781000,5.184],[1575607081000,4.464],[1575607381000,5.184],[1575607681000,4.968],[1575607981000,4.896],[1575608281000,5.832],[1575608581000,6.336],[1575608881000,4.968],[1575609181000,4.824],[1575609481000,5.472],[1575609781000,5.544],[1575610081000,7.128],[1575610381000,6.84],[1575610681000,7.128],[1575610981000,5.184],[1575611281000,6.12],[1575611581000,5.256],[1575611881000,5.112],[1575612181000,4.968],[1575612481000,6.84],[1575612781000,5.688],[1575613081000,6.192],[1575613381000,5.256],[1575613681000,6.192],[1575613981000,6.408],[1575614281000,5.4],[1575614581000,6.192],[1575614881000,6.912],[1575615181000,6.048],[1575615481000,6.624],[1575615781000,7.128],[1575616081000,6.84],[1575616381000,4.464],[1575616681000,8.712],[1575616981000,7.272],[1575617281000,5.904],[1575617581000,5.616],[1575617881000,5.616],[1575618181000,6.048],[1575618481000,5.688],[1575618781000,5.328],[1575619081000,5.976],[1575619381000,7.56],[1575619681000,7.272],[1575619981000,6.84],[1575620281000,6.408],[1575620581000,7.128],[1575620881000,8.28],[1575621181000,9],[1575621481000,8.856],[1575621781000,7.56],[1575622081000,7.992],[1575622381000,5.904],[1575622681000,6.552],[1575622981000,5.688],[1575623281000,7.2],[1575623581000,7.488],[1575623881000,6.624],[1575624181000,7.848],[1575624481000,7.344],[1575624781000,6.912],[1575625081000,5.328],[1575625381000,5.4],[1575625681000,6.408],[1575625981000,8.352],[1575626281000,6.624],[1575626581000,5.616],[1575626881000,6.84],[1575627181000,5.472],[1575627481000,6.336],[1575627781000,8.064],[1575628081000,7.272],[1575628381000,6.264],[1575628681000,5.688],[1575628981000,6.552],[1575629281000,6.984],[1575629581000,7.344],[1575629881000,8.352],[1575630181000,5.76],[1575630481000,6.912],[1575630781000,6.84],[1575631081000,4.896],[1575631381000,7.704],[1575631681000,7.272],[1575631981000,4.464],[1575632281000,7.128],[1575632581000,7.488],[1575632881000,5.616],[1575633181000,6.84],[1575633481000,5.76],[1575633781000,7.56],[1575634081000,6.912],[1575634381000,5.472],[1575634681000,5.832],[1575634981000,5.832],[1575635281000,4.68],[1575635581000,7.344],[1575635881000,7.92],[1575636181000,6.48],[1575636481000,8.496],[1575636781000,4.176],[1575637081000,7.704],[1575637381000,6.984],[1575637681000,5.688],[1575637981000,6.264],[1575638281000,8.424],[1575638581000,7.056],[1575638881000,8.856],[1575639181000,6.336],[1575639481000,4.392],[1575639781000,7.056],[1575640081000,5.544],[1575640381000,4.68],[1575640681000,5.184],[1575640981000,6.336],[1575641281000,6.768],[1575641581000,6.408],[1575641881000,6.48],[1575642181000,5.688],[1575642481000,5.256],[1575642781000,5.184],[1575643081000,5.976],[1575643381000,4.824],[1575643681000,5.904],[1575643981000,4.392],[1575644281000,6.12],[1575644581000,4.608],[1575644881000,4.464],[1575645181000,4.68],[1575645481000,4.752],[1575645781000,3.24],[1575646081000,4.464],[1575646381000,4.608],[1575646681000,5.256],[1575646981000,2.952],[1575647281000,6.192],[1575647581000,5.04],[1575647881000,6.768],[1575648181000,4.536],[1575648481000,3.96],[1575648781000,5.256],[1575649081000,3.672],[1575649381000,4.392],[1575649681000,4.248],[1575649981000,4.32],[1575650281000,3.528],[1575650581000,3.96],[1575650881000,4.536],[1575651181000,4.032],[1575651481000,7.704],[1575651781000,3.816],[1575652081000,5.04],[1575652381000,6.264],[1575652681000,7.992],[1575652981000,4.392],[1575653281000,6.192],[1575653581000,2.736],[1575653881000,4.824],[1575654181000,6.624],[1575654481000,5.544],[1575654781000,6.552],[1575655081000,6.048],[1575655381000,6.192],[1575655681000,5.184],[1575655981000,7.416],[1575656281000,5.328],[1575656581000,8.568],[1575656881000,7.272],[1575657181000,7.416],[1575657481000,6.768],[1575657781000,5.256],[1575658081000,7.488],[1575658381000,6.12],[1575658681000,6.84],[1575658981000,6.48],[1575659281000,6.48],[1575659581000,6.336],[1575659881000,5.616],[1575660181000,7.416],[1575660481000,10.296],[1575660781000,7.92],[1575661081000,6.192],[1575661381000,6.408],[1575661681000,10.296],[1575661981000,12.744],[1575662281000,5.04],[1575662581000,7.344],[1575662881000,6.552],[1575663181000,7.128],[1575663481000,9.936],[1575663781000,8.136],[1575664081000,6.264],[1575664381000,5.256],[1575664681000,6.768],[1575664981000,4.392],[1575665281000,5.544],[1575665581000,3.168],[1575665881000,6.48],[1575666181000,5.76],[1575666481000,6.336],[1575666781000,8.928],[1575667081000,7.272],[1575667381000,6.912],[1575667681000,5.904],[1575667981000,7.2],[1575668281000,3.888],[1575668581000,2.52],[1575668881000,5.04],[1575669181000,5.832],[1575669481000,5.328],[1575669781000,6.408],[1575670081000,5.76],[1575670381000,3.888],[1575670681000,5.616],[1575670981000,4.32],[1575671281000,3.456],[1575671581000,6.912],[1575671881000,6.192],[1575672181000,5.544],[1575672481000,3.744],[1575672781000,4.968],[1575673081000,4.5],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1575586801000,27.407999988],[1575586981000,30.64464],[1575587281000,22.09392],[1575587581000,27.9144],[1575587881000,32.66712],[1575588181000,25.45128],[1575588481000,25.55856],[1575588781000,26.22384],[1575589081000,28.65024],[1575589381000,22.46256],[1575589681000,32.81256],[1575589981000,25.94448],[1575590281000,22.83552],[1575590581000,25.17048],[1575590881000,26.59104],[1575591181000,20.86416],[1575591481000,15.91848],[1575591781000,17.19432],[1575592081000,17.5896],[1575592381000,23.03784],[1575592681000,18.67392],[1575592981000,25.71048],[1575593281000,27.86544],[1575593581000,19.86192],[1575593881000,13.02696],[1575594181000,18.34056],[1575594481000,15.34248],[1575594781000,14.28696],[1575595081000,9.16128],[1575595381000,13.41576],[1575595681000,15.3],[1575595981000,11.63304],[1575596281000,10.99656],[1575596581000,12.32568],[1575596881000,11.64456],[1575597181000,18.48168],[1575597481000,12.93408],[1575597781000,11.79504],[1575598080000,13.92336],[1575598381000,11.24568],[1575598681000,9.26928],[1575598981000,11.808],[1575599281000,8.49312],[1575599581000,10.1988],[1575599881000,8.7408],[1575600181000,8.44344],[1575600481000,8.16912],[1575600781000,6.99336],[1575601081000,10.14984],[1575601381000,7.43112],[1575601681000,5.96376],[1575601981000,5.6412],[1575602281000,5.1984],[1575602581000,6.24672],[1575602881000,8.61408],[1575603181000,8.118],[1575603481000,7.44912],[1575603781000,9.90576],[1575604081000,13.62312],[1575604381000,13.96224],[1575604681000,7.96968],[1575604981000,8.7984],[1575605281000,12.31632],[1575605581000,12.63384],[1575605881000,10.22184],[1575606181000,7.3224],[1575606481000,8.13168],[1575606781000,8.15616],[1575607081000,7.10208],[1575607381000,8.43336],[1575607681000,7.974],[1575607981000,8.03808],[1575608281000,9.3204],[1575608581000,10.19376],[1575608881000,7.86672],[1575609181000,7.60608],[1575609481000,8.68176],[1575609781000,8.76024],[1575610081000,11.30328],[1575610381000,10.95048],[1575610681000,11.73384],[1575610981000,8.28072],[1575611281000,9.80712],[1575611581000,8.25552],[1575611881000,8.21088],[1575612181000,8.05824],[1575612481000,11.17008],[1575612781000,9.06264],[1575613081000,10.10088],[1575613381000,8.71128],[1575613681000,10.0548],[1575613981000,10.28016],[1575614281000,8.84664],[1575614581000,9.87696],[1575614881000,11.2068],[1575615181000,9.79704],[1575615481000,10.61064],[1575615781000,11.67192],[1575616081000,11.01384],[1575616381000,7.16544],[1575616681000,14.24448],[1575616981000,11.6964],[1575617281000,9.43992],[1575617581000,9.09144],[1575617881000,9.0396],[1575618181000,9.60192],[1575618481000,9.2988],[1575618781000,8.48016],[1575619081000,9.62136],[1575619381000,12.1788],[1575619681000,11.70504],[1575619981000,11.06928],[1575620281000,10.51848],[1575620581000,11.41272],[1575620881000,13.40712],[1575621181000,14.61888],[1575621481000,14.49792],[1575621781000,12.35736],[1575622081000,12.54024],[1575622381000,9.51768],[1575622681000,10.57608],[1575622981000,9.5472],[1575623281000,11.5488],[1575623581000,12.06],[1575623881000,10.66752],[1575624181000,12.44448],[1575624481000,11.83032],[1575624781000,11.09592],[1575625081000,8.56584],[1575625381000,8.51832],[1575625681000,10.70424],[1575625981000,13.4352],[1575626281000,10.8],[1575626581000,9.09504],[1575626881000,10.91088],[1575627181000,8.84592],[1575627481000,10.19016],[1575627781000,13.34088],[1575628081000,11.81448],[1575628381000,9.92232],[1575628681000,8.94312],[1575628981000,10.54368],[1575629281000,11.39832],[1575629581000,11.97],[1575629881000,13.53672],[1575630181000,9.35712],[1575630481000,11.16648],[1575630781000,11.0772],[1575631081000,7.88976],[1575631381000,12.56688],[1575631681000,11.57544],[1575631981000,7.07544],[1575632281000,11.49768],[1575632581000,12.1896],[1575632881000,8.77104],[1575633181000,11.24064],[1575633481000,9.17928],[1575633781000,12.25944],[1575634081000,11.22192],[1575634381000,8.71488],[1575634681000,9.38376],[1575634981000,9.10944],[1575635281000,7.26408],[1575635581000,12.04488],[1575635881000,12.8556],[1575636181000,10.31472],[1575636481000,13.47984],[1575636781000,6.67728],[1575637081000,12.21264],[1575637381000,11.39832],[1575637681000,8.93664],[1575637981000,10.01088],[1575638281000,13.34808],[1575638581000,11.43576],[1575638881000,14.10264],[1575639181000,10.1412],[1575639481000,7.00488],[1575639781000,11.07216],[1575640081000,8.81208],[1575640381000,7.31376],[1575640681000,8.42832],[1575640981000,10.38528],[1575641281000,11.01816],[1575641581000,10.41624],[1575641881000,10.45944],[1575642181000,9.14688],[1575642481000,8.56008],[1575642781000,8.40312],[1575643081000,9.65808],[1575643381000,7.4952],[1575643681000,9.44928],[1575643981000,6.89544],[1575644281000,9.8964],[1575644581000,7.35264],[1575644881000,7.04448],[1575645181000,7.3152],[1575645481000,7.50312],[1575645781000,4.97952],[1575646081000,7.16832],[1575646381000,7.26984],[1575646681000,8.47872],[1575646981000,4.68504],[1575647281000,10.03608],[1575647581000,8.31672],[1575647881000,10.76832],[1575648181000,7.37064],[1575648481000,6.40656],[1575648781000,8.51616],[1575649081000,5.84856],[1575649381000,6.93864],[1575649681000,6.55056],[1575649981000,6.97536],[1575650281000,5.75208],[1575650581000,6.156],[1575650881000,7.29432],[1575651181000,6.35904],[1575651481000,12.61152],[1575651781000,10.2492],[1575652081000,7.9956],[1575652381000,9.92304],[1575652681000,13.02192],[1575652981000,7.04808],[1575653281000,9.92736],[1575653581000,4.41864],[1575653881000,7.67664],[1575654181000,10.46232],[1575654481000,8.67816],[1575654781000,10.55952],[1575655081000,9.80928],[1575655381000,9.97992],[1575655681000,8.68896],[1575655981000,11.88504],[1575656281000,8.88408],[1575656581000,14.12568],[1575656881000,11.88216],[1575657181000,11.97792],[1575657481000,11.05704],[1575657781000,8.3952],[1575658081000,12.42864],[1575658381000,9.86904],[1575658681000,11.33064],[1575658981000,10.65816],[1575659281000,10.49112],[1575659581000,10.11816],[1575659881000,9.19368],[1575660181000,12.03408],[1575660481000,16.32672],[1575660781000,13.0032],[1575661081000,9.96552],[1575661381000,10.29456],[1575661681000,17.18856],[1575661981000,21.32496],[1575662281000,8.20944],[1575662581000,11.87136],[1575662881000,10.51488],[1575663181000,11.66256],[1575663481000,16.62408],[1575663781000,13.27104],[1575664081000,10.02024],[1575664381000,8.16696],[1575664681000,10.88712],[1575664981000,6.98184],[1575665281000,8.77896],[1575665581000,4.93272],[1575665881000,10.08432],[1575666181000,9.33552],[1575666481000,10.35864],[1575666781000,14.38488],[1575667081000,11.99376],[1575667381000,11.24856],[1575667681000,9.75456],[1575667981000,11.85696],[1575668281000,6.25752],[1575668581000,3.88296],[1575668881000,8.13024],[1575669181000,9.38664],[1575669481000,8.08848],[1575669781000,10.23768],[1575670081000,9.17064],[1575670381000,6.24168],[1575670681000,8.8704],[1575670981000,6.80328],[1575671281000,5.33232],[1575671581000,11.09808],[1575671881000,10.00512],[1575672181000,8.80416],[1575672481000,5.93784],[1575672781000,7.91064],[1575673081000,7.0614],], 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: [[1575586801000,126.83333333],[1575586981000,108.00000000],[1575587281000,95.74000000],[1575587581000,93.28000000],[1575587881000,115.36000000],[1575588181000,122.74000000],[1575588481000,100.64000000],[1575588781000,110.48000000],[1575589081000,95.74000000],[1575589381000,110.46000000],[1575589681000,117.82000000],[1575589981000,90.82000000],[1575590281000,93.28000000],[1575590581000,98.20000000],[1575590881000,98.18000000],[1575591181000,98.18000000],[1575591481000,110.46000000],[1575591781000,93.28000000],[1575592081000,103.10000000],[1575592381000,105.56000000],[1575592681000,93.28000000],[1575592981000,110.46000000],[1575593281000,85.90000000],[1575593581000,105.54000000],[1575593881000,115.38000000],[1575594181000,93.28000000],[1575594481000,103.10000000],[1575594781000,93.28000000],[1575595081000,112.90000000],[1575595381000,95.74000000],[1575595681000,95.72000000],[1575595981000,85.90000000],[1575596281000,90.82000000],[1575596581000,100.66000000],[1575596881000,98.20000000],[1575597181000,90.82000000],[1575597481000,98.20000000],[1575597781000,81.02000000],[1575598080000,90.82000000],[1575598381000,90.82000000],[1575598681000,110.46000000],[1575598981000,108.00000000],[1575599281000,90.80000000],[1575599581000,98.20000000],[1575599881000,105.56000000],[1575600181000,83.44000000],[1575600481000,90.82000000],[1575600781000,95.72000000],[1575601081000,100.66000000],[1575601381000,100.64000000],[1575601681000,105.56000000],[1575601981000,110.46000000],[1575602281000,108.00000000],[1575602581000,103.12000000],[1575602881000,98.18000000],[1575603181000,105.58000000],[1575603481000,95.72000000],[1575603781000,100.64000000],[1575604081000,90.82000000],[1575604381000,98.18000000],[1575604681000,98.20000000],[1575604981000,93.28000000],[1575605281000,112.90000000],[1575605581000,103.10000000],[1575605881000,100.64000000],[1575606181000,108.02000000],[1575606481000,88.36000000],[1575606781000,108.00000000],[1575607081000,98.20000000],[1575607381000,81.00000000],[1575607681000,108.00000000],[1575607981000,85.90000000],[1575608281000,105.56000000],[1575608581000,88.36000000],[1575608881000,100.66000000],[1575609181000,103.12000000],[1575609481000,93.26000000],[1575609781000,103.12000000],[1575610081000,95.74000000],[1575610381000,81.00000000],[1575610681000,95.72000000],[1575610981000,108.02000000],[1575611281000,95.72000000],[1575611581000,98.18000000],[1575611881000,95.74000000],[1575612181000,98.20000000],[1575612481000,100.64000000],[1575612781000,100.64000000],[1575613081000,110.46000000],[1575613381000,98.20000000],[1575613681000,93.28000000],[1575613981000,105.54000000],[1575614281000,103.12000000],[1575614581000,90.82000000],[1575614881000,112.92000000],[1575615181000,100.64000000],[1575615481000,100.64000000],[1575615781000,95.74000000],[1575616081000,100.64000000],[1575616381000,98.18000000],[1575616681000,112.94000000],[1575616981000,95.74000000],[1575617281000,88.34000000],[1575617581000,95.74000000],[1575617881000,117.84000000],[1575618181000,108.00000000],[1575618481000,88.36000000],[1575618781000,120.28000000],[1575619081000,110.48000000],[1575619381000,108.00000000],[1575619681000,105.56000000],[1575619981000,95.74000000],[1575620281000,112.92000000],[1575620581000,105.54000000],[1575620881000,100.64000000],[1575621181000,103.10000000],[1575621481000,95.74000000],[1575621781000,100.62000000],[1575622081000,93.28000000],[1575622381000,83.48000000],[1575622681000,108.02000000],[1575622981000,98.20000000],[1575623281000,90.82000000],[1575623581000,103.10000000],[1575623881000,103.12000000],[1575624181000,85.90000000],[1575624481000,112.92000000],[1575624781000,85.90000000],[1575625081000,95.74000000],[1575625381000,90.80000000],[1575625681000,100.66000000],[1575625981000,122.72000000],[1575626281000,103.12000000],[1575626581000,108.02000000],[1575626881000,100.64000000],[1575627181000,110.46000000],[1575627481000,117.82000000],[1575627781000,105.56000000],[1575628081000,85.92000000],[1575628381000,108.02000000],[1575628681000,95.74000000],[1575628981000,88.36000000],[1575629281000,117.82000000],[1575629581000,98.20000000],[1575629881000,108.02000000],[1575630181000,110.46000000],[1575630481000,100.66000000],[1575630781000,117.82000000],[1575631081000,112.94000000],[1575631381000,108.00000000],[1575631681000,110.46000000],[1575631981000,105.56000000],[1575632281000,108.00000000],[1575632581000,108.00000000],[1575632881000,110.46000000],[1575633181000,103.10000000],[1575633481000,98.18000000],[1575633781000,98.20000000],[1575634081000,103.10000000],[1575634381000,105.56000000],[1575634681000,110.46000000],[1575634981000,103.10000000],[1575635281000,103.10000000],[1575635581000,103.12000000],[1575635881000,103.08000000],[1575636181000,103.10000000],[1575636481000,103.12000000],[1575636781000,95.74000000],[1575637081000,115.38000000],[1575637381000,108.02000000],[1575637681000,117.82000000],[1575637981000,108.02000000],[1575638281000,107.98000000],[1575638581000,100.64000000],[1575638881000,90.82000000],[1575639181000,95.74000000],[1575639481000,93.28000000],[1575639781000,95.74000000],[1575640081000,112.92000000],[1575640381000,112.92000000],[1575640681000,120.28000000],[1575640981000,105.54000000],[1575641281000,100.66000000],[1575641581000,93.28000000],[1575641881000,103.12000000],[1575642181000,108.02000000],[1575642481000,98.20000000],[1575642781000,93.28000000],[1575643081000,103.12000000],[1575643381000,98.18000000],[1575643681000,110.46000000],[1575643981000,108.04000000],[1575644281000,105.56000000],[1575644581000,100.66000000],[1575644881000,100.64000000],[1575645181000,105.56000000],[1575645481000,105.58000000],[1575645781000,115.36000000],[1575646081000,100.66000000],[1575646381000,110.46000000],[1575646681000,110.46000000],[1575646981000,110.46000000],[1575647281000,117.82000000],[1575647581000,103.10000000],[1575647881000,95.72000000],[1575648181000,90.82000000],[1575648481000,120.28000000],[1575648781000,88.38000000],[1575649081000,110.48000000],[1575649381000,112.92000000],[1575649681000,120.28000000],[1575649981000,110.46000000],[1575650281000,95.72000000],[1575650581000,108.00000000],[1575650881000,105.56000000],[1575651181000,103.10000000],[1575651481000,103.10000000],[1575651781000,95.74000000],[1575652081000,117.82000000],[1575652381000,100.64000000],[1575652681000,105.56000000],[1575652981000,103.10000000],[1575653281000,112.94000000],[1575653581000,127.64000000],[1575653881000,95.74000000],[1575654181000,125.18000000],[1575654481000,95.72000000],[1575654781000,98.20000000],[1575655081000,108.02000000],[1575655381000,110.48000000],[1575655681000,100.66000000],[1575655981000,100.66000000],[1575656281000,110.46000000],[1575656581000,100.66000000],[1575656881000,98.20000000],[1575657181000,98.20000000],[1575657481000,103.10000000],[1575657781000,98.20000000],[1575658081000,90.82000000],[1575658381000,90.82000000],[1575658681000,105.56000000],[1575658981000,100.66000000],[1575659281000,95.74000000],[1575659581000,90.82000000],[1575659881000,112.90000000],[1575660181000,98.20000000],[1575660481000,105.56000000],[1575660781000,105.54000000],[1575661081000,110.48000000],[1575661381000,98.20000000],[1575661681000,108.02000000],[1575661981000,110.48000000],[1575662281000,112.94000000],[1575662581000,108.02000000],[1575662881000,112.92000000],[1575663181000,95.74000000],[1575663481000,115.38000000],[1575663781000,103.10000000],[1575664081000,112.92000000],[1575664381000,103.10000000],[1575664681000,100.64000000],[1575664981000,103.10000000],[1575665281000,103.12000000],[1575665581000,105.58000000],[1575665881000,93.28000000],[1575666181000,95.74000000],[1575666481000,105.56000000],[1575666781000,110.46000000],[1575667081000,105.58000000],[1575667381000,98.20000000],[1575667681000,88.36000000],[1575667981000,100.64000000],[1575668281000,100.64000000],[1575668581000,117.84000000],[1575668881000,98.18000000],[1575669181000,108.02000000],[1575669481000,110.48000000],[1575669781000,103.10000000],[1575670081000,110.46000000],[1575670381000,90.82000000],[1575670681000,83.46000000],[1575670981000,90.82000000],[1575671281000,105.56000000],[1575671581000,105.54000000],[1575671881000,98.20000000],[1575672181000,103.12000000],[1575672481000,108.02000000],[1575672781000,95.74000000],[1575673081000,92.05000000],], 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; }