var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1581634801000,4.43333333],[1581634981000,4.30000000],[1581635281000,4.38000000],[1581635581000,4.48000000],[1581635881000,4.48000000],[1581636181000,4.42000000],[1581636481000,4.52000000],[1581636781000,4.58000000],[1581637081000,4.52000000],[1581637381000,4.60000000],[1581637681000,4.52000000],[1581637981000,4.40000000],[1581638281000,4.32000000],[1581638581000,4.30000000],[1581638881000,4.26000000],[1581639181000,4.18000000],[1581639481000,4.20000000],[1581639781000,4.12000000],[1581640081000,4.10000000],[1581640381000,4.10000000],[1581640681000,4.08000000],[1581640981000,4.10000000],[1581641281000,4.10000000],[1581641581000,4.12000000],[1581641881000,4.18000000],[1581642181000,4.10000000],[1581642481000,4.06000000],[1581642781000,4.04000000],[1581643081000,4.02000000],[1581643381000,3.94000000],[1581643681000,3.86000000],[1581643981000,3.78000000],[1581644281000,3.58000000],[1581644581000,3.48000000],[1581644881000,3.38000000],[1581645181000,3.36000000],[1581645481000,3.54000000],[1581645781000,3.92000000],[1581646081000,3.98000000],[1581646381000,3.84000000],[1581646681000,3.82000000],[1581646981000,3.80000000],[1581647281000,3.64000000],[1581647581000,3.54000000],[1581647881000,3.50000000],[1581648181000,3.54000000],[1581648481000,3.46000000],[1581648781000,3.42000000],[1581649081000,3.36000000],[1581649381000,3.18000000],[1581649681000,3.00000000],[1581649981000,2.90000000],[1581650281000,2.70000000],[1581650581000,2.58000000],[1581650881000,2.38000000],[1581651181000,2.34000000],[1581651481000,2.20000000],[1581651781000,2.34000000],[1581652081000,2.46000000],[1581652381000,2.54000000],[1581652681000,2.64000000],[1581652981000,2.80000000],[1581653281000,2.98000000],[1581653581000,3.06000000],[1581653881000,3.10000000],[1581654181000,3.30000000],[1581654481000,3.62000000],[1581654781000,3.92000000],[1581655081000,4.10000000],[1581655381000,4.10000000],[1581655681000,4.30000000],[1581655981000,4.42000000],[1581656281000,4.42000000],[1581656581000,4.20000000],[1581656881000,4.18000000],[1581657181000,4.28000000],[1581657481000,4.60000000],[1581657781000,4.82000000],[1581658081000,5.18000000],[1581658381000,5.82000000],[1581658681000,6.30000000],[1581658981000,6.70000000],[1581659281000,6.92000000],[1581659581000,6.96000000],[1581659881000,6.98000000],[1581660181000,7.14000000],[1581660481000,7.04000000],[1581660781000,7.00000000],[1581661081000,6.98000000],[1581661381000,7.00000000],[1581661681000,6.96000000],[1581661981000,7.02000000],[1581662281000,7.04000000],[1581662581000,7.00000000],[1581662881000,7.02000000],[1581663181000,7.12000000],[1581663481000,7.24000000],[1581663781000,7.36000000],[1581664081000,7.48000000],[1581664381000,7.58000000],[1581664681000,7.70000000],[1581664981000,7.86000000],[1581665281000,8.00000000],[1581665581000,8.14000000],[1581665881000,8.22000000],[1581666181000,8.38000000],[1581666481000,8.56000000],[1581666781000,8.60000000],[1581667081000,8.76000000],[1581667381000,8.70000000],[1581667681000,8.50000000],[1581667982000,8.46000000],[1581668281000,8.48000000],[1581668581000,8.54000000],[1581668881000,8.54000000],[1581669181000,8.68000000],[1581669481000,9.36000000],[1581669781000,9.80000000],[1581670081000,9.50000000],[1581670381000,9.24000000],[1581670681000,9.32000000],[1581670981000,9.86000000],[1581671281000,10.28000000],[1581671581000,10.82000000],[1581671881000,11.00000000],[1581672181000,10.54000000],[1581672481000,9.80000000],[1581672781000,9.50000000],[1581673081000,9.18000000],[1581673382000,8.98000000],[1581673681000,8.88000000],[1581673981000,8.90000000],[1581674281000,8.90000000],[1581674581000,8.88000000],[1581674881000,8.90000000],[1581675181000,8.90000000],[1581675481000,8.94000000],[1581675782000,9.16000000],[1581676081000,9.20000000],[1581676381000,9.28000000],[1581676681000,9.16000000],[1581676981000,9.02000000],[1581677281000,9.00000000],[1581677581000,9.08000000],[1581677881000,8.98000000],[1581678181000,8.86000000],[1581678481000,8.76000000],[1581678781000,8.64000000],[1581679081000,8.54000000],[1581679381000,8.50000000],[1581679681000,8.46000000],[1581679981000,8.46000000],[1581680281000,8.62000000],[1581680581000,8.70000000],[1581680881000,8.64000000],[1581681181000,8.60000000],[1581681481000,8.60000000],[1581681781000,8.54000000],[1581682081000,8.78000000],[1581682381000,8.98000000],[1581682681000,8.80000000],[1581682981000,8.64000000],[1581683281000,8.60000000],[1581683581000,8.74000000],[1581683881000,8.76000000],[1581684181000,8.60000000],[1581684481000,8.50000000],[1581684781000,8.60000000],[1581685081000,8.66000000],[1581685381000,8.94000000],[1581685681000,9.32000000],[1581685981000,9.34000000],[1581686281000,9.30000000],[1581686581000,9.22000000],[1581686881000,9.14000000],[1581687181000,9.10000000],[1581687481000,9.08000000],[1581687781000,9.18000000],[1581688081000,9.26000000],[1581688381000,9.40000000],[1581688681000,9.46000000],[1581688981000,9.36000000],[1581689281000,9.28000000],[1581689581000,9.30000000],[1581689881000,9.34000000],[1581690181000,9.50000000],[1581690481000,9.70000000],[1581690781000,9.80000000],[1581691081000,9.80000000],[1581691381000,9.74000000],[1581691681000,9.54000000],[1581691981000,9.50000000],[1581692281000,9.42000000],[1581692581000,9.40000000],[1581692881000,9.30000000],[1581693181000,9.26000000],[1581693481000,9.18000000],[1581693781000,9.12000000],[1581694081000,9.06000000],[1581694381000,9.02000000],[1581694681000,8.98000000],[1581694981000,8.90000000],[1581695281000,8.92000000],[1581695581000,9.00000000],[1581695881000,8.96000000],[1581696181000,8.90000000],[1581696481000,8.86000000],[1581696781000,8.80000000],[1581697081000,8.70000000],[1581697381000,8.70000000],[1581697681000,8.58000000],[1581697981000,8.46000000],[1581698281000,8.34000000],[1581698581000,8.22000000],[1581698881000,8.10000000],[1581699181000,8.20000000],[1581699481000,8.10000000],[1581699781000,7.90000000],[1581700081000,7.66000000],[1581700381000,7.64000000],[1581700681000,7.48000000],[1581700981000,7.40000000],[1581701281000,7.34000000],[1581701581000,7.34000000],[1581701881000,7.48000000],[1581702181000,7.36000000],[1581702481000,7.48000000],[1581702781000,7.18000000],[1581703081000,6.96000000],[1581703381000,6.78000000],[1581703681000,6.74000000],[1581703981000,6.80000000],[1581704281000,6.62000000],[1581704581000,6.60000000],[1581704881000,6.74000000],[1581705181000,6.76000000],[1581705481000,6.76000000],[1581705781000,6.80000000],[1581706081000,6.74000000],[1581706381000,6.80000000],[1581706681000,6.80000000],[1581706981000,6.76000000],[1581707281000,6.88000000],[1581707581000,6.92000000],[1581707881000,7.06000000],[1581708181000,7.20000000],[1581708481000,7.12000000],[1581708781000,7.04000000],[1581709081000,6.92000000],[1581709381000,7.00000000],[1581709681000,7.08000000],[1581709981000,7.04000000],[1581710281000,6.92000000],[1581710581000,6.82000000],[1581710881000,6.80000000],[1581711181000,6.92000000],[1581711481000,6.96000000],[1581711781000,6.90000000],[1581712081000,6.92000000],[1581712381000,6.94000000],[1581712681000,6.86000000],[1581712981000,6.80000000],[1581713281000,6.70000000],[1581713581000,6.86000000],[1581713881000,6.86000000],[1581714181000,6.80000000],[1581714481000,6.76000000],[1581714781000,6.70000000],[1581715081000,6.74000000],[1581715381000,6.70000000],[1581715681000,6.64000000],[1581715981000,6.64000000],[1581716281000,6.62000000],[1581716581000,6.62000000],[1581716881000,6.62000000],[1581717181000,6.68000000],[1581717481000,6.62000000],[1581717781000,6.60000000],[1581718081000,6.60000000],[1581718381000,6.58000000],[1581718681000,6.60000000],[1581718981000,6.60000000],[1581719281000,6.60000000],[1581719581000,6.58000000],[1581719881000,6.66000000],[1581720181000,6.62000000],[1581720481000,6.62000000],[1581720781000,6.64000000],[1581721081000,6.70000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1581634801000,4.4],[1581634981000,4.3],[1581635281000,4.4],[1581635581000,4.5],[1581635881000,4.5],[1581636181000,4.4],[1581636481000,4.5],[1581636781000,4.6],[1581637081000,4.5],[1581637381000,4.6],[1581637681000,4.5],[1581637981000,4.4],[1581638281000,4.3],[1581638581000,4.3],[1581638881000,4.3],[1581639181000,4.2],[1581639481000,4.2],[1581639781000,4.1],[1581640081000,4.1],[1581640381000,4.1],[1581640681000,4.1],[1581640981000,4.1],[1581641281000,4.1],[1581641581000,4.1],[1581641881000,4.2],[1581642181000,4.1],[1581642481000,4.1],[1581642781000,4],[1581643081000,4],[1581643381000,3.9],[1581643681000,3.9],[1581643981000,3.8],[1581644281000,3.6],[1581644581000,3.5],[1581644881000,3.4],[1581645181000,3.4],[1581645481000,3.5],[1581645781000,3.9],[1581646081000,4],[1581646381000,3.8],[1581646681000,3.8],[1581646981000,3.8],[1581647281000,3.6],[1581647581000,3.5],[1581647881000,3.5],[1581648181000,3.5],[1581648481000,3.5],[1581648781000,3.4],[1581649081000,3.4],[1581649381000,3.2],[1581649681000,3],[1581649981000,2.9],[1581650281000,2.7],[1581650581000,2.6],[1581650881000,2.4],[1581651181000,2.3],[1581651481000,2.2],[1581651781000,2.3],[1581652081000,2.5],[1581652381000,2.5],[1581652681000,2.6],[1581652981000,2.8],[1581653281000,3],[1581653581000,3.1],[1581653881000,3.1],[1581654181000,3.3],[1581654481000,3.6],[1581654781000,3.9],[1581655081000,4.1],[1581655381000,4.1],[1581655681000,4.3],[1581655981000,4.4],[1581656281000,4.4],[1581656581000,4.2],[1581656881000,4.2],[1581657181000,4.3],[1581657481000,4.6],[1581657781000,4.8],[1581658081000,5.2],[1581658381000,5.8],[1581658681000,6.3],[1581658981000,6.7],[1581659281000,6.9],[1581659581000,7],[1581659881000,7],[1581660181000,7.1],[1581660481000,7],[1581660781000,7],[1581661081000,7],[1581661381000,7],[1581661681000,7],[1581661981000,7],[1581662281000,7],[1581662581000,7],[1581662881000,7],[1581663181000,7.1],[1581663481000,7.2],[1581663781000,7.4],[1581664081000,7.5],[1581664381000,7.6],[1581664681000,7.7],[1581664981000,7.9],[1581665281000,7.8],[1581665581000,7.8],[1581665881000,7.5],[1581666181000,7.5],[1581666481000,7.5],[1581666781000,7.4],[1581667081000,7.4],[1581667381000,7.3],[1581667681000,7.2],[1581667982000,7.3],[1581668281000,7.2],[1581668581000,7.3],[1581668881000,7.4],[1581669181000,7.6],[1581669481000,7.8],[1581669781000,7.2],[1581670081000,7.2],[1581670381000,7.2],[1581670681000,7],[1581670981000,7.1],[1581671281000,6.9],[1581671581000,6.8],[1581671881000,6.7],[1581672181000,6.7],[1581672481000,6.6],[1581672781000,6.6],[1581673081000,6.6],[1581673382000,6.6],[1581673681000,6.6],[1581673981000,6.6],[1581674281000,6.8],[1581674581000,6.5],[1581674881000,6.5],[1581675181000,6.3],[1581675481000,6.2],[1581675782000,6.2],[1581676081000,6.1],[1581676381000,6.4],[1581676681000,6.3],[1581676981000,6.5],[1581677281000,6.4],[1581677581000,6.5],[1581677881000,6.5],[1581678181000,6.6],[1581678481000,6.7],[1581678781000,6.7],[1581679081000,6.8],[1581679381000,7.1],[1581679681000,7],[1581679981000,7.2],[1581680281000,7.2],[1581680581000,7.3],[1581680881000,7.2],[1581681181000,7.3],[1581681481000,7.4],[1581681781000,7.1],[1581682081000,7.1],[1581682381000,7.2],[1581682681000,7.2],[1581682981000,7.2],[1581683281000,7.2],[1581683581000,7.3],[1581683881000,7.5],[1581684181000,7.2],[1581684481000,7.3],[1581684781000,7.6],[1581685081000,7.4],[1581685681000,7.8],[1581685981000,7.4],[1581686281000,7.3],[1581686581000,7.1],[1581686881000,7.2],[1581687181000,7.1],[1581687481000,7.1],[1581687781000,7],[1581688081000,7.1],[1581688381000,7],[1581688681000,7.1],[1581688981000,7.1],[1581689281000,6.9],[1581689581000,6.9],[1581689881000,7],[1581690181000,7],[1581690481000,7],[1581690781000,7.1],[1581691081000,6.9],[1581691381000,7],[1581691681000,6.9],[1581691981000,6.9],[1581692281000,6.9],[1581692581000,7.2],[1581692881000,7],[1581693181000,6.9],[1581693481000,6.7],[1581693781000,6.7],[1581694081000,6.8],[1581694381000,6.6],[1581694681000,6.7],[1581694981000,6.7],[1581695281000,6.7],[1581695581000,6.6],[1581695881000,6.7],[1581696181000,6.6],[1581696481000,6.8],[1581696781000,6.9],[1581697081000,6.9],[1581697381000,6.8],[1581697681000,6.9],[1581697981000,7],[1581698281000,6.9],[1581698581000,7],[1581698881000,6.7],[1581699181000,6.6],[1581699481000,6.6],[1581699781000,6.7],[1581700081000,6.7],[1581700381000,6.5],[1581700681000,6.5],[1581700981000,6.4],[1581701281000,6.2],[1581701581000,6.3],[1581701881000,6.1],[1581702181000,6.2],[1581702481000,6.2],[1581702781000,6.3],[1581703081000,6.4],[1581703381000,6.4],[1581703681000,6.4],[1581703981000,6.4],[1581704281000,6.5],[1581704581000,6.5],[1581704881000,6.6],[1581705181000,6.6],[1581705481000,6.6],[1581705781000,6.6],[1581706081000,6.5],[1581706381000,6.5],[1581706681000,6.4],[1581706981000,6.3],[1581707281000,6.1],[1581707581000,6],[1581707881000,5.9],[1581708181000,6],[1581708481000,5.9],[1581708781000,6],[1581709081000,6.1],[1581709381000,6.1],[1581709681000,6.2],[1581709981000,6.4],[1581710281000,6.4],[1581710581000,6.4],[1581710881000,6.3],[1581711181000,6.2],[1581711481000,6.3],[1581711781000,6.3],[1581712081000,6.3],[1581712381000,6.3],[1581712681000,6.4],[1581712981000,6.5],[1581713281000,6.5],[1581713581000,6.5],[1581713881000,6.6],[1581714181000,6.6],[1581714481000,6.7],[1581714781000,6.7],[1581715081000,6.7],[1581715381000,6.7],[1581715681000,6.6],[1581715981000,6.6],[1581716281000,6.6],[1581716581000,6.6],[1581716881000,6.6],[1581717181000,6.7],[1581717481000,6.6],[1581717781000,6.6],[1581718081000,6.6],[1581718381000,6.6],[1581718681000,6.6],[1581718981000,6.6],[1581719281000,6.6],[1581719581000,6.6],[1581719881000,6.7],[1581720181000,6.6],[1581720481000,6.6],[1581720781000,6.5],[1581721081000,6.5],], 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: [[1581634801000,100.00000000],[1581634981000,100.00000000],[1581635281000,100.00000000],[1581635581000,100.00000000],[1581635881000,100.00000000],[1581636181000,100.00000000],[1581636481000,100.00000000],[1581636781000,100.00000000],[1581637081000,100.00000000],[1581637381000,100.00000000],[1581637681000,100.00000000],[1581637981000,100.00000000],[1581638281000,100.00000000],[1581638581000,100.00000000],[1581638881000,100.00000000],[1581639181000,100.00000000],[1581639481000,100.00000000],[1581639781000,100.00000000],[1581640081000,100.00000000],[1581640381000,100.00000000],[1581640681000,100.00000000],[1581640981000,100.00000000],[1581641281000,100.00000000],[1581641581000,100.00000000],[1581641881000,100.00000000],[1581642181000,100.00000000],[1581642481000,100.00000000],[1581642781000,100.00000000],[1581643081000,100.00000000],[1581643381000,100.00000000],[1581643681000,100.00000000],[1581643981000,100.00000000],[1581644281000,100.00000000],[1581644581000,100.00000000],[1581644881000,100.00000000],[1581645181000,100.00000000],[1581645481000,100.00000000],[1581645781000,100.00000000],[1581646081000,100.00000000],[1581646381000,100.00000000],[1581646681000,100.00000000],[1581646981000,100.00000000],[1581647281000,100.00000000],[1581647581000,100.00000000],[1581647881000,100.00000000],[1581648181000,100.00000000],[1581648481000,100.00000000],[1581648781000,100.00000000],[1581649081000,100.00000000],[1581649381000,100.00000000],[1581649681000,100.00000000],[1581649981000,100.00000000],[1581650281000,100.00000000],[1581650581000,100.00000000],[1581650881000,100.00000000],[1581651181000,100.00000000],[1581651481000,100.00000000],[1581651781000,100.00000000],[1581652081000,100.00000000],[1581652381000,100.00000000],[1581652681000,100.00000000],[1581652981000,100.00000000],[1581653281000,100.00000000],[1581653581000,100.00000000],[1581653881000,100.00000000],[1581654181000,100.00000000],[1581654481000,100.00000000],[1581654781000,100.00000000],[1581655081000,100.00000000],[1581655381000,100.00000000],[1581655681000,100.00000000],[1581655981000,100.00000000],[1581656281000,100.00000000],[1581656581000,100.00000000],[1581656881000,100.00000000],[1581657181000,100.00000000],[1581657481000,100.00000000],[1581657781000,100.00000000],[1581658081000,100.00000000],[1581658381000,100.00000000],[1581658681000,100.00000000],[1581658981000,100.00000000],[1581659281000,100.00000000],[1581659581000,100.00000000],[1581659881000,100.00000000],[1581660181000,100.00000000],[1581660481000,100.00000000],[1581660781000,100.00000000],[1581661081000,100.00000000],[1581661381000,100.00000000],[1581661681000,100.00000000],[1581661981000,100.00000000],[1581662281000,100.00000000],[1581662581000,100.00000000],[1581662881000,100.00000000],[1581663181000,100.00000000],[1581663481000,100.00000000],[1581663781000,100.00000000],[1581664081000,100.00000000],[1581664381000,100.00000000],[1581664681000,100.00000000],[1581664981000,99.94000000],[1581665281000,98.96000000],[1581665581000,97.70000000],[1581665881000,95.44000000],[1581666181000,94.40000000],[1581666481000,93.30000000],[1581666781000,92.40000000],[1581667081000,91.16000000],[1581667381000,91.20000000],[1581667681000,91.78000000],[1581667982000,92.20000000],[1581668281000,91.80000000],[1581668581000,91.98000000],[1581668881000,92.62000000],[1581669181000,93.16000000],[1581669481000,90.02000000],[1581669781000,84.26000000],[1581670081000,85.46000000],[1581670381000,87.00000000],[1581670681000,85.84000000],[1581670981000,83.18000000],[1581671281000,79.62000000],[1581671581000,76.34000000],[1581671881000,75.20000000],[1581672181000,77.36000000],[1581672481000,80.52000000],[1581672781000,82.24000000],[1581673081000,83.90000000],[1581673382000,84.94000000],[1581673681000,85.78000000],[1581673981000,85.86000000],[1581674281000,86.58000000],[1581674581000,85.10000000],[1581674881000,84.88000000],[1581675181000,83.84000000],[1581675481000,83.12000000],[1581675782000,82.14000000],[1581676081000,81.40000000],[1581676381000,82.30000000],[1581676681000,82.70000000],[1581676981000,84.24000000],[1581677281000,83.66000000],[1581677581000,83.90000000],[1581677881000,84.64000000],[1581678181000,85.96000000],[1581678481000,87.10000000],[1581678781000,87.92000000],[1581679081000,88.90000000],[1581679381000,90.90000000],[1581679681000,90.80000000],[1581679981000,91.60000000],[1581680281000,91.06000000],[1581680581000,90.92000000],[1581680881000,90.78000000],[1581681181000,91.74000000],[1581681481000,92.50000000],[1581681781000,91.02000000],[1581682081000,89.50000000],[1581682381000,88.88000000],[1581682681000,89.64000000],[1581682981000,90.70000000],[1581683281000,91.04000000],[1581683581000,90.72000000],[1581683881000,91.76000000],[1581684181000,91.28000000],[1581684481000,92.28000000],[1581684781000,93.58000000],[1581685081000,91.96000000],[1581685382000,93.82000000],[1581685681000,90.18000000],[1581685981000,87.58000000],[1581686281000,87.30000000],[1581686581000,86.70000000],[1581686881000,87.68000000],[1581687181000,87.32000000],[1581687481000,87.34000000],[1581687781000,86.10000000],[1581688081000,86.44000000],[1581688381000,85.10000000],[1581688681000,85.32000000],[1581688981000,86.06000000],[1581689281000,85.52000000],[1581689581000,85.24000000],[1581689881000,85.26000000],[1581690181000,84.28000000],[1581690481000,83.42000000],[1581690781000,83.18000000],[1581691081000,82.36000000],[1581691381000,83.26000000],[1581691681000,84.02000000],[1581691981000,83.72000000],[1581692281000,84.32000000],[1581692581000,86.06000000],[1581692881000,85.64000000],[1581693181000,85.16000000],[1581693481000,84.90000000],[1581693781000,85.04000000],[1581694081000,85.86000000],[1581694381000,85.18000000],[1581694681000,85.80000000],[1581694981000,86.44000000],[1581695281000,86.20000000],[1581695581000,85.00000000],[1581695881000,85.88000000],[1581696181000,85.94000000],[1581696481000,87.14000000],[1581696781000,87.74000000],[1581697081000,88.36000000],[1581697381000,88.28000000],[1581697681000,89.60000000],[1581697981000,90.56000000],[1581698281000,90.80000000],[1581698581000,92.14000000],[1581698881000,91.16000000],[1581699181000,89.70000000],[1581699481000,90.42000000],[1581699781000,92.00000000],[1581700081000,93.76000000],[1581700381000,92.84000000],[1581700681000,93.52000000],[1581700981000,93.58000000],[1581701281000,92.86000000],[1581701581000,93.26000000],[1581701881000,91.14000000],[1581702181000,92.38000000],[1581702481000,91.48000000],[1581702781000,94.50000000],[1581703081000,96.24000000],[1581703381000,97.70000000],[1581703681000,97.92000000],[1581703981000,97.42000000],[1581704281000,99.28000000],[1581704581000,99.30000000],[1581704881000,99.26000000],[1581705181000,98.86000000],[1581705481000,98.66000000],[1581705781000,98.62000000],[1581706081000,98.60000000],[1581706381000,98.12000000],[1581706681000,97.14000000],[1581706981000,96.70000000],[1581707281000,95.06000000],[1581707581000,94.16000000],[1581707881000,92.14000000],[1581708181000,91.88000000],[1581708481000,91.90000000],[1581708781000,93.32000000],[1581709081000,94.84000000],[1581709381000,94.36000000],[1581709681000,94.02000000],[1581709981000,95.52000000],[1581710281000,96.60000000],[1581710581000,96.90000000],[1581710881000,96.64000000],[1581711181000,95.52000000],[1581711481000,95.54000000],[1581711781000,95.82000000],[1581712081000,95.96000000],[1581712381000,95.72000000],[1581712681000,97.12000000],[1581712981000,98.08000000],[1581713281000,98.94000000],[1581713581000,97.46000000],[1581713881000,98.12000000],[1581714181000,98.62000000],[1581714481000,99.64000000],[1581714781000,99.82000000],[1581715081000,99.46000000],[1581715381000,99.68000000],[1581715681000,99.70000000],[1581715981000,99.92000000],[1581716281000,100.00000000],[1581716581000,100.00000000],[1581716881000,100.00000000],[1581717181000,100.00000000],[1581717481000,100.00000000],[1581717781000,100.00000000],[1581718081000,100.00000000],[1581718381000,100.00000000],[1581718681000,100.00000000],[1581718981000,100.00000000],[1581719281000,100.00000000],[1581719581000,100.00000000],[1581719881000,100.00000000],[1581720181000,100.00000000],[1581720481000,99.76000000],[1581720781000,98.80000000],[1581721081000,98.50000000],], 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: [[1581634801000,1009.2],[1581634981000,1009.2],[1581635281000,1009.3],[1581635581000,1009.7],[1581635881000,1010.3],[1581636181000,1010.5],[1581636481000,1010.2],[1581636781000,1009.8],[1581637081000,1009.7],[1581637381000,1009.6],[1581637681000,1009.7],[1581637981000,1009.9],[1581638281000,1009.8],[1581638581000,1009.8],[1581638881000,1009.7],[1581639181000,1009.5],[1581639481000,1009.6],[1581639781000,1009.6],[1581640081000,1009.7],[1581640381000,1009.9],[1581640681000,1010],[1581640981000,1010.1],[1581641281000,1010.1],[1581641581000,1010],[1581641881000,1009.9],[1581642181000,1009.9],[1581642481000,1009.9],[1581642781000,1009.9],[1581643081000,1009.9],[1581643381000,1009.9],[1581643681000,1009.9],[1581643981000,1009.9],[1581644281000,1010],[1581644581000,1010],[1581644881000,1009.9],[1581645181000,1009.9],[1581645481000,1010],[1581645781000,1010.1],[1581646081000,1010.1],[1581646381000,1010.3],[1581646681000,1010.2],[1581646981000,1010.3],[1581647281000,1010.2],[1581647581000,1010.4],[1581647881000,1010.3],[1581648181000,1010.5],[1581648481000,1010.7],[1581648781000,1010.7],[1581649081000,1010.6],[1581649381000,1010.6],[1581649681000,1010.6],[1581649981000,1010.6],[1581650281000,1010.5],[1581650581000,1010.7],[1581650881000,1010.7],[1581651181000,1010.8],[1581651481000,1011],[1581651781000,1011.1],[1581652081000,1011.2],[1581652381000,1011.2],[1581652681000,1011.4],[1581652981000,1011.4],[1581653281000,1011.4],[1581653581000,1011.4],[1581653881000,1011.6],[1581654181000,1011.6],[1581654481000,1011.5],[1581654781000,1011.5],[1581655081000,1011.5],[1581655381000,1011.5],[1581655681000,1011.4],[1581655981000,1011.5],[1581656281000,1011.6],[1581656581000,1011.7],[1581656881000,1011.7],[1581657181000,1011.8],[1581657481000,1011.8],[1581657781000,1011.8],[1581658081000,1011.9],[1581658381000,1011.9],[1581658681000,1012],[1581658981000,1012],[1581659281000,1012.1],[1581659581000,1012.1],[1581659881000,1012.1],[1581660181000,1012.2],[1581660481000,1012.2],[1581660781000,1012.3],[1581661081000,1012.3],[1581661381000,1012.3],[1581661681000,1012.5],[1581661981000,1012.6],[1581662281000,1012.7],[1581662581000,1012.7],[1581662881000,1012.8],[1581663181000,1012.9],[1581663481000,1012.9],[1581663781000,1013],[1581664081000,1013],[1581664381000,1013.1],[1581664681000,1013.1],[1581664981000,1013.1],[1581665281000,1013.2],[1581665581000,1013.2],[1581665881000,1013.3],[1581666181000,1013.4],[1581666481000,1013.5],[1581666781000,1013.6],[1581667081000,1013.7],[1581667381000,1013.8],[1581667681000,1013.8],[1581667982000,1013.8],[1581668281000,1013.9],[1581668581000,1013.9],[1581668881000,1013.9],[1581669181000,1014],[1581669481000,1014],[1581669781000,1014.1],[1581670081000,1014.3],[1581670381000,1014.4],[1581670681000,1014.6],[1581670981000,1014.6],[1581671281000,1014.7],[1581671581000,1014.8],[1581671881000,1014.9],[1581672181000,1015.1],[1581672481000,1015.2],[1581672781000,1015.2],[1581673081000,1015.3],[1581673382000,1015.4],[1581673681000,1015.5],[1581673981000,1015.6],[1581674281000,1015.8],[1581674581000,1015.9],[1581674881000,1016],[1581675181000,1016.1],[1581675481000,1016.2],[1581675782000,1016.3],[1581676081000,1016.3],[1581676381000,1016.3],[1581676681000,1016.4],[1581676981000,1016.5],[1581677281000,1016.5],[1581677581000,1016.6],[1581677881000,1016.8],[1581678181000,1016.8],[1581678481000,1016.9],[1581678781000,1017],[1581679081000,1017.1],[1581679381000,1017.2],[1581679681000,1017.4],[1581679981000,1017.5],[1581680281000,1017.6],[1581680581000,1017.6],[1581680881000,1017.6],[1581681181000,1017.7],[1581681481000,1017.8],[1581681781000,1017.9],[1581682081000,1017.9],[1581682381000,1017.9],[1581682681000,1018.1],[1581682981000,1018.3],[1581683281000,1018.3],[1581683581000,1018.4],[1581683881000,1018.5],[1581684181000,1018.5],[1581684481000,1018.6],[1581684781000,1018.6],[1581685081000,1018.7],[1581685681000,1018.7],[1581685981000,1018.7],[1581686281000,1018.8],[1581686581000,1018.8],[1581686881000,1018.8],[1581687181000,1018.9],[1581687481000,1019],[1581687781000,1019],[1581688081000,1019.1],[1581688381000,1019.1],[1581688681000,1019.1],[1581688981000,1019.2],[1581689281000,1019.3],[1581689581000,1019.3],[1581689881000,1019.4],[1581690181000,1019.5],[1581690481000,1019.5],[1581690781000,1019.6],[1581691081000,1019.7],[1581691381000,1019.8],[1581691681000,1019.8],[1581691981000,1019.8],[1581692281000,1019.9],[1581692581000,1019.9],[1581692881000,1020],[1581693181000,1020.1],[1581693481000,1020.2],[1581693781000,1020.3],[1581694081000,1020.4],[1581694381000,1020.4],[1581694681000,1020.5],[1581694981000,1020.5],[1581695281000,1020.7],[1581695581000,1020.7],[1581695881000,1020.8],[1581696181000,1020.9],[1581696481000,1021],[1581696781000,1021.1],[1581697081000,1021.3],[1581697381000,1021.3],[1581697681000,1021.4],[1581697981000,1021.4],[1581698281000,1021.5],[1581698581000,1021.7],[1581698881000,1021.9],[1581699181000,1022],[1581699481000,1021.9],[1581699781000,1022],[1581700081000,1022],[1581700381000,1022.1],[1581700681000,1022.2],[1581700981000,1022.3],[1581701281000,1022.4],[1581701581000,1022.4],[1581701881000,1022.4],[1581702181000,1022.5],[1581702481000,1022.5],[1581702781000,1022.6],[1581703081000,1022.7],[1581703381000,1022.8],[1581703681000,1022.8],[1581703981000,1022.9],[1581704281000,1023],[1581704581000,1023],[1581704881000,1023.1],[1581705181000,1023.2],[1581705481000,1023.2],[1581705781000,1023.3],[1581706081000,1023.4],[1581706381000,1023.4],[1581706681000,1023.4],[1581706981000,1023.5],[1581707281000,1023.6],[1581707581000,1023.7],[1581707881000,1023.7],[1581708181000,1023.8],[1581708481000,1023.8],[1581708781000,1023.9],[1581709081000,1023.9],[1581709381000,1024],[1581709681000,1024.1],[1581709981000,1024.1],[1581710281000,1024.2],[1581710581000,1024.2],[1581710881000,1024.3],[1581711181000,1024.5],[1581711481000,1024.6],[1581711781000,1024.6],[1581712081000,1024.6],[1581712381000,1024.6],[1581712681000,1024.8],[1581712981000,1024.9],[1581713281000,1024.9],[1581713581000,1024.8],[1581713881000,1024.8],[1581714181000,1024.8],[1581714481000,1024.9],[1581714781000,1025],[1581715081000,1025.1],[1581715381000,1025.2],[1581715681000,1025.2],[1581715981000,1025.2],[1581716281000,1025.2],[1581716581000,1025.3],[1581716881000,1025.4],[1581717181000,1025.4],[1581717481000,1025.4],[1581717781000,1025.4],[1581718081000,1025.4],[1581718381000,1025.5],[1581718681000,1025.5],[1581718981000,1025.5],[1581719281000,1025.6],[1581719581000,1025.7],[1581719881000,1025.8],[1581720181000,1026],[1581720481000,1026.1],[1581720781000,1026.2],[1581721081000,1026.3],], 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: [[1581634801000,11.16],[1581634981000,12.456],[1581635281000,12.24],[1581635581000,9.936],[1581635881000,8.136],[1581636181000,11.808],[1581636481000,6.336],[1581636781000,6.48],[1581637081000,8.352],[1581637381000,7.344],[1581637681000,6.696],[1581637981000,5.616],[1581638281000,7.704],[1581638581000,7.992],[1581638881000,6.84],[1581639181000,5.4],[1581639481000,4.32],[1581639781000,4.32],[1581640081000,4.896],[1581640381000,5.472],[1581640681000,6.048],[1581640981000,3.816],[1581641281000,5.904],[1581641581000,5.544],[1581641881000,5.328],[1581642181000,3.312],[1581642481000,2.16],[1581642781000,3.096],[1581643081000,2.736],[1581643381000,1.296],[1581643681000,0.432],[1581643981000,3.384],[1581644281000,3.384],[1581644581000,0.864],[1581644881000,4.032],[1581645181000,1.872],[1581645481000,7.272],[1581645781000,11.808],[1581646081000,4.248],[1581646381000,5.328],[1581646681000,7.704],[1581646981000,6.84],[1581647281000,4.464],[1581647581000,6.696],[1581647881000,4.68],[1581648181000,1.8],[1581648481000,2.88],[1581648781000,2.736],[1581649081000,3.096],[1581649381000,3.816],[1581649681000,2.16],[1581649981000,1.44],[1581650281000,0],[1581650581000,0],[1581650881000,3.744],[1581651181000,2.592],[1581651481000,5.04],[1581651781000,5.688],[1581652081000,7.848],[1581652381000,7.128],[1581652681000,5.976],[1581652981000,5.688],[1581653281000,4.104],[1581653581000,4.176],[1581653881000,9.72],[1581654181000,10.512],[1581654481000,9.936],[1581654781000,14.616],[1581655081000,13.248],[1581655381000,15.48],[1581655681000,12.672],[1581655981000,9.936],[1581656281000,6.12],[1581656581000,5.256],[1581656881000,6.48],[1581657181000,6.84],[1581657481000,5.904],[1581657781000,4.248],[1581658081000,9.504],[1581658381000,7.848],[1581658681000,11.736],[1581658981000,11.52],[1581659281000,11.808],[1581659581000,8.064],[1581659881000,8.784],[1581660181000,10.296],[1581660481000,11.376],[1581660781000,9.648],[1581661081000,6.768],[1581661381000,9.936],[1581661681000,8.136],[1581661981000,8.064],[1581662281000,6.336],[1581662581000,6.84],[1581662881000,6.984],[1581663181000,6.912],[1581663481000,5.472],[1581663781000,3.528],[1581664081000,5.688],[1581664381000,9.648],[1581664681000,7.344],[1581664981000,8.352],[1581665281000,12.816],[1581665581000,14.688],[1581665881000,15.48],[1581666181000,17.352],[1581666481000,15.336],[1581666781000,23.112],[1581667081000,18.936],[1581667381000,22.464],[1581667681000,20.304],[1581667981000,17.784],[1581668281000,17.712],[1581668581000,13.464],[1581668881000,14.544],[1581669181000,13.896],[1581669481000,16.272],[1581669781000,15.192],[1581670081000,17.136],[1581670381000,16.92],[1581670681000,23.184],[1581670981000,20.376],[1581671281000,20.376],[1581671581000,19.872],[1581671881000,18.72],[1581672181000,14.76],[1581672481000,12.528],[1581672781000,13.248],[1581673081000,14.256],[1581673381000,15.408],[1581673681000,16.704],[1581673981000,25.128],[1581674281000,19.008],[1581674581000,21.168],[1581674881000,23.904],[1581675181000,24.984],[1581675481000,14.976],[1581675781000,17.856],[1581676081000,20.088],[1581676381000,19.8],[1581676681000,27],[1581676981000,28.152],[1581677281000,25.992],[1581677581000,27.216],[1581677881000,23.112],[1581678181000,20.376],[1581678481000,14.616],[1581678781000,24.336],[1581679081000,25.992],[1581679381000,17.856],[1581679681000,21.816],[1581679981000,23.256],[1581680281000,25.992],[1581680581000,24.336],[1581680881000,19.656],[1581681181000,16.776],[1581681481000,15.12],[1581681781000,17.496],[1581682081000,14.904],[1581682381000,12.888],[1581682681000,22.032],[1581682981000,25.92],[1581683281000,16.2],[1581683581000,17.28],[1581683881000,12.312],[1581684181000,17.136],[1581684481000,10.944],[1581684781000,8.28],[1581685081000,8.496],[1581685381000,6.912],[1581685681000,8.424],[1581685981000,13.68],[1581686281000,15.912],[1581686581000,19.728],[1581686881000,17.784],[1581687181000,15.48],[1581687481000,16.344],[1581687781000,22.248],[1581688081000,19.8],[1581688381000,19.656],[1581688681000,9.36],[1581688981000,16.056],[1581689281000,22.752],[1581689581000,15.552],[1581689881000,9.36],[1581690181000,6.336],[1581690481000,13.032],[1581690781000,19.728],[1581691081000,23.04],[1581691381000,26.856],[1581691681000,18.576],[1581691981000,22.32],[1581692281000,18.072],[1581692581000,11.952],[1581692881000,21.816],[1581693181000,22.896],[1581693481000,22.464],[1581693781000,25.992],[1581694081000,23.832],[1581694381000,26.064],[1581694681000,22.032],[1581694981000,19.512],[1581695281000,19.08],[1581695581000,23.616],[1581695881000,20.592],[1581696181000,25.2],[1581696481000,15.264],[1581696781000,7.416],[1581697081000,11.952],[1581697381000,12.672],[1581697681000,11.88],[1581697981000,8.208],[1581698281000,7.488],[1581698581000,5.328],[1581698881000,16.992],[1581699181000,14.4],[1581699481000,9.792],[1581699781000,11.88],[1581700081000,11.592],[1581700381000,14.112],[1581700681000,15.84],[1581700981000,11.16],[1581701281000,11.304],[1581701581000,4.032],[1581701881000,8.208],[1581702181000,8.928],[1581702481000,5.832],[1581702781000,6.12],[1581703081000,6.48],[1581703381000,5.04],[1581703681000,5.904],[1581703981000,4.176],[1581704281000,4.464],[1581704581000,7.128],[1581704881000,6.912],[1581705181000,4.896],[1581705481000,4.536],[1581705781000,5.112],[1581706081000,14.328],[1581706381000,12.6],[1581706681000,16.344],[1581706981000,4.176],[1581707281000,7.2],[1581707581000,4.608],[1581707881000,10.656],[1581708181000,6.264],[1581708481000,10.152],[1581708781000,6.768],[1581709081000,12.312],[1581709381000,10.368],[1581709681000,9.504],[1581709981000,10.296],[1581710281000,9.576],[1581710581000,6.84],[1581710881000,11.016],[1581711181000,12.816],[1581711481000,10.224],[1581711781000,14.328],[1581712081000,14.04],[1581712381000,8.568],[1581712681000,8.208],[1581712981000,8.064],[1581713281000,9.288],[1581713581000,7.992],[1581713881000,13.32],[1581714181000,17.856],[1581714481000,13.968],[1581714781000,15.984],[1581715081000,16.2],[1581715381000,12.096],[1581715681000,13.896],[1581715981000,14.256],[1581716281000,14.328],[1581716581000,15.264],[1581716881000,17.928],[1581717181000,19.152],[1581717481000,14.616],[1581717781000,16.056],[1581718081000,18.504],[1581718381000,21.6],[1581718681000,21.96],[1581718981000,24.624],[1581719281000,24.84],[1581719581000,23.256],[1581719881000,27.216],[1581720181000,22.032],[1581720481000,26.856],[1581720781000,27.072],[1581721081000,26.82],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1581634801000,17.8056],[1581634981000,19.61928],[1581635281000,19.66896],[1581635581000,15.83208],[1581635881000,12.96792],[1581636181000,19.0944],[1581636481000,9.9288],[1581636781000,9.98064],[1581637081000,13.21776],[1581637381000,11.57616],[1581637681000,10.70928],[1581637981000,8.6364],[1581638281000,11.95848],[1581638581000,12.50712],[1581638881000,10.64592],[1581639181000,8.5104],[1581639481000,6.88608],[1581639781000,6.65856],[1581640081000,7.54704],[1581640381000,8.57664],[1581640681000,9.33552],[1581640981000,5.84496],[1581641281000,8.94888],[1581641581000,8.49888],[1581641881000,8.13528],[1581642181000,5.11848],[1581642481000,3.22704],[1581642781000,4.80456],[1581643081000,4.23288],[1581643381000,1.90584],[1581643681000,0.66312],[1581643981000,5.16312],[1581644281000,5.30424],[1581644581000,1.26648],[1581644881000,6.05016],[1581645181000,3.02112],[1581645481000,11.33136],[1581645781000,18.26136],[1581646081000,6.55416],[1581646381000,8.14752],[1581646681000,12.47112],[1581646981000,10.88352],[1581647281000,7.06248],[1581647581000,10.38024],[1581647881000,7.39944],[1581648181000,2.75112],[1581648481000,4.20408],[1581648781000,4.13064],[1581649081000,4.67136],[1581649381000,5.8068],[1581649681000,3.17016],[1581649981000,2.30616],[1581650281000,0],[1581650581000,0.01512],[1581650881000,5.57928],[1581651181000,3.89664],[1581651481000,7.46568],[1581651781000,8.8632],[1581652081000,12.744],[1581652381000,11.16072],[1581652681000,9.24768],[1581652981000,8.9316],[1581653281000,6.462],[1581653581000,6.49944],[1581653881000,15.12576],[1581654181000,16.74864],[1581654481000,15.67728],[1581654781000,23.37552],[1581655081000,21.40632],[1581655381000,24.9048],[1581655681000,20.17944],[1581655981000,15.73848],[1581656281000,9.45864],[1581656581000,8.262],[1581656881000,10.14768],[1581657181000,10.6632],[1581657481000,9.24984],[1581657781000,6.78456],[1581658081000,15.47208],[1581658381000,12.72168],[1581658681000,19.90872],[1581658981000,19.3716],[1581659281000,19.89144],[1581659581000,13.158],[1581659881000,14.03856],[1581660181000,17.26632],[1581660481000,18.58248],[1581660781000,15.8544],[1581661081000,11.11896],[1581661381000,16.07904],[1581661681000,13.34376],[1581661981000,13.0212],[1581662281000,9.84456],[1581662581000,10.96272],[1581662881000,11.03904],[1581663181000,10.9512],[1581663481000,8.58744],[1581663781000,5.52384],[1581664081000,9.1404],[1581664381000,15.40512],[1581664681000,12.12408],[1581664981000,13.86],[1581665281000,21.888],[1581665581000,25.92432],[1581665881000,26.50248],[1581666181000,29.95776],[1581666481000,27.10152],[1581666781000,40.13136],[1581667081000,32.32872],[1581667381000,39.27672],[1581667681000,34.49016],[1581667981000,29.92536],[1581668281000,30.31128],[1581668581000,23.40216],[1581668881000,24.60168],[1581669181000,23.33592],[1581669481000,27.70056],[1581669781000,25.4628],[1581670081000,29.31624],[1581670381000,29.5812],[1581670681000,40.6296],[1581670981000,36.20808],[1581671281000,35.49312],[1581671581000,34.66224],[1581671881000,33.19272],[1581672181000,25.55928],[1581672481000,21.4596],[1581672781000,22.3344],[1581673081000,23.5836],[1581673381000,27.22968],[1581673681000,29.06064],[1581673981000,44.17416],[1581674281000,31.98816],[1581674581000,36.26712],[1581674881000,41.71176],[1581675181000,45.71856],[1581675481000,25.54992],[1581675781000,30.69144],[1581676081000,35.04816],[1581676381000,33.77448],[1581676681000,47.84184],[1581676981000,50.12856],[1581677281000,47.0052],[1581677581000,47.86056],[1581677881000,40.27032],[1581678181000,34.64064],[1581678481000,24.90768],[1581678781000,42.58656],[1581679081000,47.09304],[1581679381000,30.77136],[1581679681000,38.0484],[1581679981000,40.23648],[1581680281000,45.7776],[1581680581000,43.77312],[1581680881000,34.03296],[1581681181000,28.14264],[1581681481000,25.73712],[1581681781000,29.91168],[1581682081000,24.4224],[1581682381000,21.4488],[1581682681000,37.9728],[1581682981000,44.44344],[1581683281000,27.4212],[1581683581000,28.26432],[1581683881000,20.11176],[1581684181000,28.8828],[1581684481000,17.46936],[1581684781000,13.17528],[1581685081000,13.68288],[1581685381000,11.14704],[1581685681000,13.96296],[1581685981000,22.98384],[1581686281000,27.11592],[1581686581000,33.11856],[1581686881000,31.02696],[1581687181000,24.95304],[1581687481000,27.46224],[1581687781000,38.17656],[1581688081000,33.86592],[1581688381000,32.21928],[1581688681000,15.3288],[1581688981000,26.99424],[1581689281000,39.33648],[1581689581000,25.57224],[1581689881000,15.1452],[1581690181000,10.17072],[1581690481000,21.52008],[1581690781000,34.30728],[1581691081000,39.61872],[1581691381000,45.84744],[1581691681000,31.26384],[1581691981000,37.8432],[1581692281000,29.77704],[1581692581000,19.04184],[1581692881000,37.9836],[1581693181000,39.00672],[1581693481000,38.91672],[1581693781000,46.37448],[1581694081000,41.16672],[1581694381000,45.4572],[1581694681000,37.32264],[1581694981000,32.86224],[1581695281000,32.4072],[1581695581000,40.75848],[1581695881000,35.88696],[1581696181000,43.27992],[1581696481000,25.11792],[1581696781000,11.73888],[1581697081000,19.71936],[1581697381000,21.39552],[1581697681000,19.54224],[1581697981000,13.60728],[1581698281000,12.3048],[1581698581000,8.53776],[1581698881000,28.64376],[1581699181000,23.85144],[1581699481000,16.0812],[1581699781000,19.36584],[1581700081000,19.36224],[1581700381000,23.60952],[1581700681000,26.76096],[1581700981000,18.27648],[1581701281000,18.89568],[1581701581000,6.22584],[1581701881000,12.78],[1581702181000,14.32944],[1581702481000,9.48456],[1581702781000,9.49968],[1581703081000,10.00584],[1581703381000,7.83576],[1581703681000,9.24912],[1581703981000,6.67656],[1581704281000,7.17552],[1581704581000,11.79],[1581704881000,11.20752],[1581705181000,7.54632],[1581705481000,7.074],[1581705781000,8.14752],[1581706081000,23.65632],[1581706381000,21.48192],[1581706681000,27.85752],[1581706981000,6.7284],[1581707281000,12.00024],[1581707581000,7.36416],[1581707881000,17.43336],[1581708181000,10.05696],[1581708481000,16.38864],[1581708781000,10.72512],[1581709081000,20.988],[1581709381000,17.59608],[1581709681000,15.69672],[1581709981000,17.11224],[1581710281000,16.05744],[1581710581000,10.89144],[1581710881000,18.60696],[1581711181000,21.44664],[1581711481000,16.80048],[1581711781000,24.1884],[1581712081000,24.59808],[1581712381000,14.09976],[1581712681000,13.248],[1581712981000,13.14936],[1581713281000,15.32376],[1581713581000,13.38624],[1581713881000,22.3992],[1581714181000,30.81816],[1581714481000,23.526],[1581714781000,27.29448],[1581715081000,27.13032],[1581715381000,20.0052],[1581715681000,23.79456],[1581715981000,27.02016],[1581716281000,28.80144],[1581716581000,26.76384],[1581716881000,29.75256],[1581717181000,32.47704],[1581717481000,24.09408],[1581717781000,27.05328],[1581718081000,31.56768],[1581718381000,37.77768],[1581718681000,38.16],[1581718981000,43.218],[1581719281000,42.38496],[1581719581000,40.536],[1581719881000,46.4292],[1581720181000,38.19168],[1581720481000,45.91656],[1581720781000,46.80288],[1581721081000,46.5264],], 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: [[1581634801000,19.10000000],[1581634981000,18.82000000],[1581635281000,18.84000000],[1581635581000,29.46000000],[1581635881000,27.42000000],[1581636181000,114.52000000],[1581636481000,90.42000000],[1581636781000,42.56000000],[1581637081000,50.32000000],[1581637381000,59.74000000],[1581637681000,46.62000000],[1581637981000,26.60000000],[1581638281000,32.34000000],[1581638581000,25.34000000],[1581638881000,63.82000000],[1581639181000,66.26000000],[1581639481000,40.08000000],[1581639781000,54.40000000],[1581640081000,26.60000000],[1581640381000,36.82000000],[1581640681000,18.82000000],[1581640981000,5.72000000],[1581641281000,4.50000000],[1581641581000,23.30000000],[1581641881000,21.30000000],[1581642181000,45.42000000],[1581642481000,22.50000000],[1581642781000,35.58000000],[1581643081000,44.18000000],[1581643381000,52.36000000],[1581643681000,90.00000000],[1581643981000,46.24000000],[1581644281000,265.08000000],[1581644581000,172.64000000],[1581644881000,58.10000000],[1581645181000,121.90000000],[1581645481000,132.54000000],[1581645781000,144.40000000],[1581646081000,114.14000000],[1581646381000,133.34000000],[1581646681000,148.10000000],[1581646981000,152.18000000],[1581647281000,94.92000000],[1581647581000,7.34000000],[1581647881000,77.30000000],[1581648181000,67.10000000],[1581648481000,96.14000000],[1581648781000,43.36000000],[1581649081000,95.32000000],[1581649381000,238.92000000],[1581649681000,183.68000000],[1581649981000,300.28000000],[1581650281000,315.00000000],[1581650581000,315.00000000],[1581650881000,279.82000000],[1581651181000,270.00000000],[1581651481000,279.42000000],[1581651781000,238.10000000],[1581652081000,231.14000000],[1581652381000,205.76000000],[1581652681000,219.28000000],[1581652981000,224.58000000],[1581653281000,215.58000000],[1581653581000,217.24000000],[1581653881000,194.32000000],[1581654181000,175.50000000],[1581654481000,157.50000000],[1581654781000,158.72000000],[1581655081000,159.94000000],[1581655381000,168.54000000],[1581655681000,174.68000000],[1581655981000,180.78000000],[1581656281000,241.36000000],[1581656581000,240.12000000],[1581656881000,230.34000000],[1581657181000,224.60000000],[1581657481000,217.66000000],[1581657781000,197.58000000],[1581658081000,234.84000000],[1581658381000,217.24000000],[1581658681000,249.14000000],[1581658981000,229.10000000],[1581659281000,228.70000000],[1581659581000,236.46000000],[1581659881000,195.96000000],[1581660181000,248.30000000],[1581660481000,243.42000000],[1581660781000,242.18000000],[1581661081000,244.62000000],[1581661381000,229.90000000],[1581661681000,240.96000000],[1581661981000,226.64000000],[1581662281000,224.18000000],[1581662581000,208.24000000],[1581662881000,234.00000000],[1581663181000,229.92000000],[1581663481000,254.04000000],[1581663781000,225.42000000],[1581664081000,241.36000000],[1581664381000,268.36000000],[1581664681000,224.98000000],[1581664981000,233.56000000],[1581665281000,254.04000000],[1581665581000,250.76000000],[1581665881000,235.24000000],[1581666181000,244.22000000],[1581666481000,263.44000000],[1581666781000,200.46000000],[1581667081000,245.86000000],[1581667381000,254.04000000],[1581667681000,261.38000000],[1581667981000,222.96000000],[1581668281000,256.10000000],[1581668581000,238.10000000],[1581668881000,257.32000000],[1581669181000,247.50000000],[1581669481000,250.34000000],[1581669781000,240.16000000],[1581670081000,229.48000000],[1581670381000,244.64000000],[1581670681000,239.72000000],[1581670981000,221.34000000],[1581671281000,226.22000000],[1581671581000,236.48000000],[1581671881000,233.18000000],[1581672181000,246.28000000],[1581672481000,236.48000000],[1581672781000,243.42000000],[1581673081000,261.00000000],[1581673381000,220.92000000],[1581673681000,245.84000000],[1581673981000,183.30000000],[1581674281000,163.64000000],[1581674581000,229.08000000],[1581674881000,213.96000000],[1581675181000,222.56000000],[1581675481000,195.54000000],[1581675781000,246.28000000],[1581676081000,238.08000000],[1581676381000,229.92000000],[1581676681000,263.86000000],[1581676981000,259.36000000],[1581677281000,219.68000000],[1581677581000,275.74000000],[1581677881000,235.64000000],[1581678181000,235.64000000],[1581678481000,225.00000000],[1581678781000,240.96000000],[1581679081000,232.76000000],[1581679381000,206.18000000],[1581679681000,193.92000000],[1581679981000,106.76000000],[1581680281000,191.46000000],[1581680581000,128.86000000],[1581680881000,108.40000000],[1581681181000,125.18000000],[1581681481000,50.72000000],[1581681781000,138.26000000],[1581682081000,138.68000000],[1581682381000,98.98000000],[1581682681000,195.96000000],[1581682981000,234.42000000],[1581683281000,70.38000000],[1581683581000,208.24000000],[1581683881000,139.50000000],[1581684181000,94.50000000],[1581684481000,211.52000000],[1581684781000,69.56000000],[1581685081000,99.40000000],[1581685381000,105.54000000],[1581685681000,171.80000000],[1581685981000,212.72000000],[1581686281000,143.58000000],[1581686581000,225.00000000],[1581686881000,196.36000000],[1581687181000,180.84000000],[1581687481000,126.82000000],[1581687781000,189.82000000],[1581688081000,166.08000000],[1581688381000,216.80000000],[1581688681000,85.50000000],[1581688981000,146.04000000],[1581689281000,214.36000000],[1581689581000,189.82000000],[1581689881000,222.54000000],[1581690181000,214.78000000],[1581690481000,187.78000000],[1581690781000,191.86000000],[1581691081000,236.04000000],[1581691381000,215.18000000],[1581691681000,207.00000000],[1581691981000,230.32000000],[1581692281000,222.96000000],[1581692581000,266.30000000],[1581692881000,198.40000000],[1581693181000,234.82000000],[1581693481000,255.28000000],[1581693781000,239.72000000],[1581694081000,254.86000000],[1581694381000,238.08000000],[1581694681000,216.82000000],[1581694981000,241.76000000],[1581695281000,279.82000000],[1581695581000,251.20000000],[1581695881000,227.86000000],[1581696181000,263.46000000],[1581696481000,228.28000000],[1581696781000,224.18000000],[1581697081000,245.90000000],[1581697381000,233.60000000],[1581697681000,231.94000000],[1581697981000,220.08000000],[1581698281000,206.58000000],[1581698581000,249.54000000],[1581698881000,235.22000000],[1581699181000,241.38000000],[1581699481000,241.34000000],[1581699781000,221.32000000],[1581700081000,201.28000000],[1581700381000,200.44000000],[1581700681000,182.84000000],[1581700981000,207.40000000],[1581701281000,213.56000000],[1581701581000,226.64000000],[1581701881000,180.02000000],[1581702181000,186.56000000],[1581702481000,245.46000000],[1581702781000,146.06000000],[1581703081000,192.28000000],[1581703381000,138.28000000],[1581703681000,159.14000000],[1581703981000,198.82000000],[1581704281000,189.40000000],[1581704581000,202.08000000],[1581704881000,227.46000000],[1581705181000,216.82000000],[1581705481000,218.86000000],[1581705781000,247.90000000],[1581706081000,233.18000000],[1581706381000,198.40000000],[1581706681000,211.50000000],[1581706981000,129.68000000],[1581707281000,105.14000000],[1581707581000,147.26000000],[1581707881000,225.40000000],[1581708181000,212.74000000],[1581708481000,175.50000000],[1581708781000,184.50000000],[1581709081000,217.22000000],[1581709381000,220.08000000],[1581709681000,216.82000000],[1581709981000,233.18000000],[1581710281000,242.98000000],[1581710581000,241.80000000],[1581710881000,225.00000000],[1581711181000,238.08000000],[1581711481000,222.56000000],[1581711781000,243.82000000],[1581712081000,225.82000000],[1581712381000,211.50000000],[1581712681000,231.96000000],[1581712981000,240.96000000],[1581713281000,251.60000000],[1581713581000,241.76000000],[1581713881000,258.94000000],[1581714181000,227.46000000],[1581714481000,225.00000000],[1581714781000,255.68000000],[1581715081000,240.52000000],[1581715381000,245.04000000],[1581715681000,237.68000000],[1581715981000,267.96000000],[1581716281000,256.90000000],[1581716581000,251.18000000],[1581716881000,260.18000000],[1581717181000,260.18000000],[1581717481000,242.58000000],[1581717781000,216.40000000],[1581718081000,245.46000000],[1581718381000,234.00000000],[1581718681000,247.90000000],[1581718981000,261.42000000],[1581719281000,260.18000000],[1581719581000,247.92000000],[1581719881000,232.78000000],[1581720181000,259.34000000],[1581720481000,234.00000000],[1581720781000,244.64000000],[1581721081000,270.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; }