var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1532642401000,19.76666667],[1532642581000,19.96000000],[1532642881000,20.08000000],[1532643181000,19.90000000],[1532643481000,19.80000000],[1532643781000,19.68000000],[1532644081000,19.60000000],[1532644381000,19.52000000],[1532644681000,19.38000000],[1532644981000,19.36000000],[1532645281000,19.44000000],[1532645581000,19.52000000],[1532645881000,19.46000000],[1532646181000,19.32000000],[1532646481000,19.14000000],[1532646781000,19.02000000],[1532647081000,18.94000000],[1532647381000,18.82000000],[1532647681000,18.72000000],[1532647981000,18.68000000],[1532648281000,18.70000000],[1532648581000,18.62000000],[1532648881000,18.56000000],[1532649181000,18.44000000],[1532649481000,18.40000000],[1532649781000,18.54000000],[1532650081000,18.68000000],[1532650381000,19.02000000],[1532650681000,18.96000000],[1532650981000,18.72000000],[1532651281000,18.50000000],[1532651581000,18.34000000],[1532651882000,18.32000000],[1532652181000,18.40000000],[1532652481000,18.50000000],[1532652782000,18.46000000],[1532653082000,18.34000000],[1532653381000,18.22000000],[1532653681000,18.10000000],[1532653981000,18.08000000],[1532654281000,17.94000000],[1532654582000,17.90000000],[1532654881000,17.82000000],[1532655181000,17.76000000],[1532655481000,17.64000000],[1532655781000,17.50000000],[1532656081000,17.44000000],[1532656381000,17.44000000],[1532656681000,17.34000000],[1532656981000,17.20000000],[1532657281000,17.12000000],[1532657581000,17.12000000],[1532657881000,17.10000000],[1532658181000,17.04000000],[1532658481000,17.00000000],[1532658781000,17.10000000],[1532659081000,17.32000000],[1532659381000,17.36000000],[1532659681000,17.20000000],[1532659981000,17.08000000],[1532660281000,17.02000000],[1532660581000,17.04000000],[1532660882000,16.98000000],[1532661181000,16.86000000],[1532661481000,16.80000000],[1532661781000,16.90000000],[1532662081000,16.80000000],[1532662381000,16.70000000],[1532662681000,16.78000000],[1532662981000,16.98000000],[1532663281000,17.00000000],[1532663581000,17.00000000],[1532663881000,17.02000000],[1532664181000,17.12000000],[1532664481000,17.30000000],[1532664781000,18.02000000],[1532665081000,18.72000000],[1532665381000,19.38000000],[1532665681000,19.82000000],[1532665982000,20.24000000],[1532666281000,20.84000000],[1532666581000,21.14000000],[1532666881000,21.54000000],[1532667181000,21.92000000],[1532667481000,22.14000000],[1532667781000,22.04000000],[1532668081000,21.96000000],[1532668381000,22.58000000],[1532668681000,23.14000000],[1532668981000,23.34000000],[1532669281000,23.58000000],[1532669581000,24.26000000],[1532669881000,24.78000000],[1532670182000,24.90000000],[1532670481000,25.52000000],[1532670781000,25.78000000],[1532671081000,25.92000000],[1532671381000,25.78000000],[1532671682000,26.04000000],[1532671981000,25.86000000],[1532672281000,26.22000000],[1532672581000,26.72000000],[1532672881000,26.84000000],[1532673181000,26.76000000],[1532673481000,26.74000000],[1532673781000,26.78000000],[1532674081000,27.20000000],[1532674381000,27.24000000],[1532674681000,27.54000000],[1532674981000,27.60000000],[1532675282000,27.98000000],[1532675581000,27.94000000],[1532675881000,27.24000000],[1532676181000,27.08000000],[1532676481000,26.60000000],[1532676781000,26.68000000],[1532677081000,26.82000000],[1532677381000,26.78000000],[1532677681000,26.74000000],[1532677981000,26.94000000],[1532678281000,27.22000000],[1532678581000,27.28000000],[1532678881000,27.64000000],[1532679181000,27.88000000],[1532679482000,27.36000000],[1532679781000,27.50000000],[1532680082000,27.72000000],[1532680381000,27.84000000],[1532680681000,28.04000000],[1532680981000,27.84000000],[1532681281000,28.02000000],[1532681581000,28.32000000],[1532681881000,27.92000000],[1532682181000,28.46000000],[1532682481000,27.80000000],[1532682781000,27.94000000],[1532683081000,28.18000000],[1532683381000,27.70000000],[1532683681000,28.38000000],[1532683981000,29.02000000],[1532684281000,28.80000000],[1532684581000,28.70000000],[1532684881000,28.88000000],[1532685181000,29.00000000],[1532685481000,28.44000000],[1532685781000,28.20000000],[1532686081000,28.10000000],[1532686381000,28.42000000],[1532686681000,28.44000000],[1532686981000,28.64000000],[1532687282000,28.80000000],[1532687581000,28.72000000],[1532687881000,28.68000000],[1532688181000,28.26000000],[1532688481000,28.72000000],[1532688781000,29.22000000],[1532689081000,29.38000000],[1532689381000,29.44000000],[1532689682000,29.54000000],[1532689981000,30.18000000],[1532690281000,30.40000000],[1532690581000,30.18000000],[1532690881000,30.26000000],[1532691181000,29.98000000],[1532691481000,30.44000000],[1532691782000,30.64000000],[1532692082000,31.22000000],[1532692381000,31.54000000],[1532692681000,31.12000000],[1532692981000,30.06000000],[1532693282000,29.66000000],[1532693581000,29.98000000],[1532693881000,29.06000000],[1532694181000,28.74000000],[1532694481000,28.64000000],[1532694781000,28.80000000],[1532695081000,28.70000000],[1532695381000,29.02000000],[1532695681000,29.26000000],[1532695981000,29.26000000],[1532696281000,29.26000000],[1532696581000,29.26000000],[1532696881000,29.66000000],[1532697181000,30.30000000],[1532697481000,29.92000000],[1532697781000,29.74000000],[1532698081000,29.28000000],[1532698381000,28.88000000],[1532698681000,29.04000000],[1532698981000,29.64000000],[1532699281000,29.96000000],[1532699582000,29.74000000],[1532699881000,29.88000000],[1532700181000,29.80000000],[1532700481000,29.80000000],[1532700782000,29.74000000],[1532701081000,29.74000000],[1532701381000,29.82000000],[1532701681000,30.16000000],[1532701981000,30.46000000],[1532702281000,30.76000000],[1532702581000,31.10000000],[1532702881000,31.08000000],[1532703181000,31.02000000],[1532703481000,31.06000000],[1532703781000,30.64000000],[1532704081000,30.22000000],[1532704381000,29.80000000],[1532704681000,29.56000000],[1532704981000,29.62000000],[1532705281000,29.74000000],[1532705581000,29.78000000],[1532705881000,30.16000000],[1532706181000,30.18000000],[1532706481000,29.94000000],[1532706781000,29.74000000],[1532707081000,29.66000000],[1532707381000,29.90000000],[1532707681000,30.02000000],[1532707981000,29.94000000],[1532708281000,29.52000000],[1532708581000,28.98000000],[1532708881000,28.96000000],[1532709181000,29.12000000],[1532709481000,29.16000000],[1532709781000,29.10000000],[1532710081000,29.00000000],[1532710381000,28.90000000],[1532710682000,28.62000000],[1532710981000,28.32000000],[1532711281000,28.06000000],[1532711581000,27.96000000],[1532711881000,27.74000000],[1532712181000,27.62000000],[1532712481000,27.50000000],[1532712781000,27.36000000],[1532713081000,27.18000000],[1532713381000,27.06000000],[1532713681000,26.80000000],[1532713981000,26.56000000],[1532714281000,26.36000000],[1532714581000,26.12000000],[1532714881000,25.80000000],[1532715181000,25.42000000],[1532715481000,25.18000000],[1532715781000,25.06000000],[1532716082000,24.72000000],[1532716381000,24.44000000],[1532716681000,24.28000000],[1532716981000,24.08000000],[1532717281000,23.84000000],[1532717581000,23.60000000],[1532717881000,23.36000000],[1532718181000,23.10000000],[1532718481000,22.86000000],[1532718781000,22.64000000],[1532719081000,22.62000000],[1532719381000,22.72000000],[1532719681000,22.62000000],[1532719981000,22.58000000],[1532720281000,22.44000000],[1532720581000,22.18000000],[1532720881000,22.00000000],[1532721181000,21.84000000],[1532721481000,21.72000000],[1532721781000,21.70000000],[1532722081000,21.64000000],[1532722381000,21.46000000],[1532722681000,21.32000000],[1532722981000,21.18000000],[1532723281000,21.10000000],[1532723581000,21.40000000],[1532723882000,19.64000000],[1532724181000,21.94000000],[1532724481000,21.64000000],[1532724781000,21.50000000],[1532725082000,21.54000000],[1532725381000,21.44000000],[1532725681000,21.06000000],[1532725981000,20.78000000],[1532726281000,20.60000000],[1532726581000,20.34000000],[1532726881000,20.18000000],[1532727181000,20.08000000],[1532727481000,20.00000000],[1532727781000,20.00000000],[1532728081000,20.04000000],[1532728381000,19.98000000],[1532728681000,19.90000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1532642401000,19.1],[1532642581000,19.2],[1532642881000,19.3],[1532643181000,19.2],[1532643481000,19.1],[1532643781000,19.1],[1532644081000,19],[1532644381000,19],[1532644681000,18.9],[1532644981000,18.8],[1532645281000,18.9],[1532645581000,19],[1532645881000,18.9],[1532646181000,18.9],[1532646481000,18.8],[1532646781000,18.7],[1532647081000,18.8],[1532647381000,18.7],[1532647681000,18.7],[1532647981000,18.7],[1532648281000,18.7],[1532648581000,18.6],[1532648881000,18.5],[1532649181000,18.4],[1532649481000,18.4],[1532649781000,18.5],[1532650081000,18.6],[1532650381000,18.8],[1532650681000,18.8],[1532650981000,18.7],[1532651281000,18.5],[1532651581000,18.3],[1532651882000,18.3],[1532652181000,18.4],[1532652481000,18.5],[1532652782000,18.4],[1532653082000,18.3],[1532653381000,18.2],[1532653681000,18.1],[1532653981000,18.1],[1532654281000,17.9],[1532654582000,17.9],[1532654881000,17.8],[1532655181000,17.7],[1532655481000,17.6],[1532655781000,17.5],[1532656081000,17.4],[1532656381000,17.4],[1532656681000,17.3],[1532656981000,17.2],[1532657281000,17.1],[1532657581000,17.1],[1532657881000,17.1],[1532658181000,17],[1532658481000,17],[1532658781000,17.1],[1532659081000,17.3],[1532659381000,17.3],[1532659681000,17.2],[1532659981000,17.1],[1532660281000,17],[1532660581000,17],[1532660882000,17],[1532661181000,16.8],[1532661481000,16.8],[1532661781000,16.9],[1532662081000,16.8],[1532662381000,16.7],[1532662681000,16.8],[1532662981000,17],[1532663281000,17],[1532663581000,17],[1532663881000,17],[1532664181000,17.1],[1532664481000,17.3],[1532664781000,18],[1532665081000,18.7],[1532665381000,19.4],[1532665681000,19.7],[1532665982000,20],[1532666281000,20.4],[1532666581000,20.6],[1532666881000,20.8],[1532667181000,21],[1532667481000,21.1],[1532667781000,21.1],[1532668081000,21.2],[1532668381000,21.6],[1532668681000,21.9],[1532668981000,22],[1532669281000,22],[1532669581000,22.2],[1532669881000,22.6],[1532670182000,22.9],[1532670481000,23],[1532670781000,23],[1532671081000,22.8],[1532671381000,23.3],[1532671682000,22.8],[1532671981000,22.7],[1532672281000,22.8],[1532672581000,23],[1532672881000,23.4],[1532673181000,23.1],[1532673481000,22.9],[1532673781000,23.3],[1532674081000,23.1],[1532674381000,23.1],[1532674681000,23.4],[1532674981000,23.3],[1532675282000,23.2],[1532675581000,22.8],[1532675881000,22.6],[1532676181000,22.3],[1532676481000,21.8],[1532676781000,22.1],[1532677081000,21.9],[1532677381000,22],[1532677681000,22],[1532677981000,22.2],[1532678281000,22.1],[1532678581000,22.5],[1532678881000,22.5],[1532679181000,22.6],[1532679482000,22],[1532679781000,22.1],[1532680082000,22.5],[1532680381000,22.6],[1532680681000,22.5],[1532680981000,22.6],[1532681281000,22.8],[1532681581000,22.4],[1532681881000,22.3],[1532682181000,22.8],[1532682481000,22.3],[1532682781000,22.5],[1532683081000,22.5],[1532683381000,22],[1532683681000,22.8],[1532683981000,22.5],[1532684281000,22.1],[1532684581000,22.6],[1532684881000,22.8],[1532685181000,22.7],[1532685481000,22.9],[1532685781000,22.6],[1532686081000,22.6],[1532686381000,22.9],[1532686681000,23],[1532686981000,23],[1532687282000,22.6],[1532687581000,23.2],[1532687881000,23.1],[1532688181000,22.9],[1532688481000,22.9],[1532688781000,22.5],[1532689081000,23.1],[1532689381000,22.7],[1532689682000,22.6],[1532689981000,23.3],[1532690281000,23.7],[1532690581000,23],[1532690881000,23.1],[1532691181000,23.4],[1532691481000,24.3],[1532691782000,23.7],[1532692082000,24.2],[1532692381000,24.8],[1532692681000,24.1],[1532692981000,23.8],[1532693282000,23.7],[1532693581000,24],[1532693881000,23.1],[1532694181000,23.2],[1532694481000,23],[1532694781000,23.2],[1532695081000,23.2],[1532695381000,23.5],[1532695681000,23.7],[1532695981000,22.9],[1532696281000,23.3],[1532696581000,23.3],[1532696881000,23.8],[1532697181000,23.7],[1532697481000,24.2],[1532697781000,24],[1532698081000,23.9],[1532698381000,23.8],[1532698681000,23.9],[1532698981000,24.3],[1532699281000,23.8],[1532699582000,23.5],[1532699881000,23.5],[1532700181000,23],[1532700481000,23.7],[1532700782000,22.9],[1532701081000,23],[1532701381000,23.6],[1532701681000,23.9],[1532701981000,23.9],[1532702281000,23.2],[1532702581000,23.3],[1532702881000,23.6],[1532703181000,23.6],[1532703481000,23.6],[1532703781000,22.2],[1532704081000,22.5],[1532704381000,22.9],[1532704681000,22.6],[1532704981000,21.9],[1532705281000,22.2],[1532705581000,22.1],[1532705881000,22.3],[1532706181000,22.8],[1532706481000,22.5],[1532706781000,22.7],[1532707081000,23.5],[1532707381000,23.3],[1532707681000,23.4],[1532707981000,23.1],[1532708281000,23.4],[1532708581000,23.6],[1532708881000,22.9],[1532709181000,23.8],[1532709481000,23.2],[1532709781000,23.2],[1532710081000,23.1],[1532710381000,23.1],[1532710682000,23.6],[1532710981000,24],[1532711281000,23.9],[1532711581000,24],[1532711881000,23.8],[1532712181000,24],[1532712481000,24.2],[1532712781000,24],[1532713081000,24.1],[1532713381000,24.3],[1532713681000,24.4],[1532713981000,24.4],[1532714281000,24.6],[1532714581000,24.6],[1532714881000,24.6],[1532715181000,24.4],[1532715481000,24.2],[1532715781000,24.2],[1532716082000,24],[1532716381000,23.7],[1532716681000,23.7],[1532716981000,23.4],[1532717281000,23.2],[1532717581000,22.9],[1532717881000,22.7],[1532718181000,22.5],[1532718481000,22.4],[1532718781000,22.1],[1532719081000,22],[1532719381000,22],[1532719681000,22],[1532719981000,22],[1532720281000,21.9],[1532720581000,21.8],[1532720881000,21.6],[1532721181000,21.6],[1532721481000,21.5],[1532721781000,21.5],[1532722081000,21.6],[1532722381000,21.4],[1532722681000,21.3],[1532722981000,21.2],[1532723281000,21.1],[1532723581000,21.3],[1532723882000,17.6],[1532724181000,21.6],[1532724481000,21.5],[1532724781000,21.4],[1532725082000,21.4],[1532725381000,21.4],[1532725681000,21],[1532725981000,20.8],[1532726281000,20.6],[1532726581000,20.3],[1532726881000,20.2],[1532727181000,20.1],[1532727481000,20],[1532727781000,20],[1532728081000,20],[1532728381000,20],[1532728681000,19.9],], 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: [[1532642401000,95.73333333],[1532642581000,95.18000000],[1532642881000,95.18000000],[1532643181000,95.64000000],[1532643481000,95.72000000],[1532643781000,96.28000000],[1532644081000,96.20000000],[1532644381000,96.58000000],[1532644681000,96.78000000],[1532644981000,96.78000000],[1532645281000,96.62000000],[1532645581000,96.58000000],[1532645881000,96.76000000],[1532646181000,97.32000000],[1532646481000,97.76000000],[1532646781000,98.26000000],[1532647081000,98.84000000],[1532647381000,99.28000000],[1532647681000,99.66000000],[1532647981000,99.82000000],[1532648281000,99.88000000],[1532648581000,99.78000000],[1532648881000,99.90000000],[1532649181000,99.90000000],[1532649481000,99.90000000],[1532649781000,99.88000000],[1532650081000,99.72000000],[1532650381000,98.86000000],[1532650681000,98.98000000],[1532650981000,99.62000000],[1532651281000,99.90000000],[1532651581000,99.90000000],[1532651882000,99.90000000],[1532652181000,99.90000000],[1532652481000,99.90000000],[1532652782000,99.90000000],[1532653082000,99.90000000],[1532653381000,99.90000000],[1532653681000,99.90000000],[1532653981000,99.90000000],[1532654281000,99.90000000],[1532654582000,99.90000000],[1532654881000,99.90000000],[1532655181000,99.90000000],[1532655481000,99.90000000],[1532655781000,99.90000000],[1532656081000,99.90000000],[1532656381000,99.90000000],[1532656681000,99.90000000],[1532656981000,99.90000000],[1532657281000,99.90000000],[1532657581000,99.90000000],[1532657881000,99.90000000],[1532658181000,99.90000000],[1532658481000,99.90000000],[1532658781000,99.90000000],[1532659081000,99.90000000],[1532659381000,99.90000000],[1532659681000,99.90000000],[1532659981000,99.90000000],[1532660281000,99.90000000],[1532660581000,99.90000000],[1532660882000,99.90000000],[1532661181000,99.90000000],[1532661481000,99.90000000],[1532661781000,99.90000000],[1532662081000,99.90000000],[1532662381000,99.90000000],[1532662681000,99.90000000],[1532662981000,99.90000000],[1532663281000,99.90000000],[1532663581000,99.90000000],[1532663881000,99.90000000],[1532664181000,99.90000000],[1532664481000,99.90000000],[1532664781000,99.90000000],[1532665081000,99.90000000],[1532665381000,99.90000000],[1532665681000,99.46000000],[1532665982000,98.74000000],[1532666281000,97.30000000],[1532666581000,96.60000000],[1532666881000,95.34000000],[1532667181000,94.28000000],[1532667481000,93.80000000],[1532667781000,94.18000000],[1532668081000,95.56000000],[1532668381000,93.98000000],[1532668681000,92.50000000],[1532668981000,92.28000000],[1532669281000,90.72000000],[1532669581000,88.14000000],[1532669881000,87.62000000],[1532670182000,88.76000000],[1532670481000,85.80000000],[1532670781000,84.56000000],[1532671081000,83.08000000],[1532671381000,86.08000000],[1532671682000,82.52000000],[1532671981000,82.86000000],[1532672281000,81.68000000],[1532672581000,80.32000000],[1532672881000,81.44000000],[1532673181000,80.30000000],[1532673481000,79.64000000],[1532673781000,81.46000000],[1532674081000,78.46000000],[1532674381000,78.06000000],[1532674681000,77.98000000],[1532674981000,77.38000000],[1532675282000,75.48000000],[1532675581000,73.88000000],[1532675881000,75.72000000],[1532676181000,75.22000000],[1532676481000,75.16000000],[1532676781000,76.20000000],[1532677081000,74.34000000],[1532677381000,75.00000000],[1532677681000,75.28000000],[1532677981000,75.14000000],[1532678281000,73.86000000],[1532678581000,75.28000000],[1532678881000,73.66000000],[1532679181000,73.22000000],[1532679482000,72.82000000],[1532679781000,72.50000000],[1532680082000,73.10000000],[1532680381000,73.20000000],[1532680681000,72.04000000],[1532680981000,73.02000000],[1532681281000,73.32000000],[1532681581000,70.30000000],[1532681881000,71.40000000],[1532682181000,71.62000000],[1532682481000,71.88000000],[1532682781000,72.18000000],[1532683081000,71.42000000],[1532683381000,71.38000000],[1532683681000,71.90000000],[1532683981000,68.04000000],[1532684281000,67.02000000],[1532684581000,69.52000000],[1532684881000,69.86000000],[1532685181000,69.02000000],[1532685481000,71.92000000],[1532685781000,71.74000000],[1532686081000,72.32000000],[1532686381000,71.94000000],[1532686681000,72.20000000],[1532686981000,71.62000000],[1532687282000,69.30000000],[1532687581000,72.14000000],[1532687881000,71.78000000],[1532688181000,72.76000000],[1532688481000,70.74000000],[1532688781000,67.26000000],[1532689081000,69.16000000],[1532689381000,67.28000000],[1532689682000,66.42000000],[1532689981000,66.48000000],[1532690281000,67.56000000],[1532690581000,65.42000000],[1532690881000,65.72000000],[1532691181000,67.82000000],[1532691481000,69.78000000],[1532691782000,66.54000000],[1532692082000,66.14000000],[1532692381000,67.58000000],[1532692681000,66.18000000],[1532692981000,69.28000000],[1532693282000,70.20000000],[1532693581000,70.26000000],[1532693881000,70.42000000],[1532694181000,72.04000000],[1532694481000,71.56000000],[1532694781000,71.92000000],[1532695081000,72.24000000],[1532695381000,71.96000000],[1532695681000,71.82000000],[1532695981000,68.62000000],[1532696281000,70.14000000],[1532696581000,70.30000000],[1532696881000,70.72000000],[1532697181000,67.84000000],[1532697481000,71.26000000],[1532697781000,71.42000000],[1532698081000,72.64000000],[1532698381000,73.94000000],[1532698681000,73.92000000],[1532698981000,72.94000000],[1532699281000,69.74000000],[1532699582000,69.30000000],[1532699881000,68.66000000],[1532700181000,66.74000000],[1532700481000,69.74000000],[1532700782000,66.72000000],[1532701081000,67.24000000],[1532701381000,69.10000000],[1532701681000,69.14000000],[1532701981000,67.86000000],[1532702281000,63.98000000],[1532702581000,63.22000000],[1532702881000,64.40000000],[1532703181000,64.50000000],[1532703481000,64.38000000],[1532703781000,60.66000000],[1532704081000,63.50000000],[1532704381000,66.50000000],[1532704681000,66.32000000],[1532704981000,63.36000000],[1532705281000,63.78000000],[1532705581000,63.34000000],[1532705881000,62.86000000],[1532706181000,64.72000000],[1532706481000,64.54000000],[1532706781000,66.10000000],[1532707081000,69.40000000],[1532707381000,67.82000000],[1532707681000,67.74000000],[1532707981000,66.86000000],[1532708281000,69.68000000],[1532708581000,72.86000000],[1532708881000,70.00000000],[1532709181000,72.98000000],[1532709481000,70.20000000],[1532709781000,70.38000000],[1532710081000,70.44000000],[1532710381000,71.06000000],[1532710682000,74.30000000],[1532710981000,77.24000000],[1532711281000,78.08000000],[1532711581000,79.28000000],[1532711881000,79.04000000],[1532712181000,80.46000000],[1532712481000,82.36000000],[1532712781000,82.12000000],[1532713081000,83.44000000],[1532713381000,84.78000000],[1532713681000,86.78000000],[1532713981000,88.04000000],[1532714281000,89.96000000],[1532714581000,91.46000000],[1532714881000,93.02000000],[1532715181000,94.18000000],[1532715481000,94.50000000],[1532715781000,94.80000000],[1532716082000,95.64000000],[1532716381000,95.94000000],[1532716681000,96.40000000],[1532716981000,96.24000000],[1532717281000,96.06000000],[1532717581000,95.68000000],[1532717881000,96.08000000],[1532718181000,96.50000000],[1532718481000,96.98000000],[1532718781000,97.06000000],[1532719081000,96.56000000],[1532719381000,95.96000000],[1532719681000,96.04000000],[1532719981000,96.50000000],[1532720281000,97.00000000],[1532720581000,97.60000000],[1532720881000,97.86000000],[1532721181000,98.36000000],[1532721481000,98.60000000],[1532721781000,98.58000000],[1532722081000,99.54000000],[1532722381000,99.90000000],[1532722681000,99.90000000],[1532722981000,99.90000000],[1532723281000,99.90000000],[1532723581000,99.18000000],[1532723882000,88.22000000],[1532724181000,97.94000000],[1532724481000,98.98000000],[1532724781000,99.34000000],[1532725082000,99.24000000],[1532725381000,99.70000000],[1532725681000,99.90000000],[1532725981000,99.90000000],[1532726281000,99.90000000],[1532726581000,99.90000000],[1532726881000,99.90000000],[1532727181000,99.90000000],[1532727481000,99.90000000],[1532727781000,99.90000000],[1532728081000,99.90000000],[1532728381000,99.90000000],[1532728681000,99.90000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1532642401000,1013.3],[1532642581000,1013.3],[1532642881000,1013.3],[1532643181000,1013.3],[1532643481000,1013.3],[1532643781000,1013.3],[1532644081000,1013.2],[1532644381000,1013.2],[1532644681000,1013.2],[1532644981000,1013.3],[1532645281000,1013.3],[1532645581000,1013.3],[1532645881000,1013.3],[1532646181000,1013.3],[1532646481000,1013.3],[1532646781000,1013.2],[1532647081000,1013.2],[1532647381000,1013.2],[1532647681000,1013.2],[1532647981000,1013.1],[1532648281000,1013.1],[1532648581000,1013],[1532648881000,1013],[1532649181000,1013],[1532649481000,1013],[1532649781000,1013],[1532650081000,1013],[1532650381000,1012.9],[1532650681000,1012.9],[1532650981000,1012.9],[1532651281000,1012.9],[1532651581000,1012.9],[1532651882000,1013],[1532652181000,1013],[1532652481000,1013],[1532652782000,1012.9],[1532653082000,1013],[1532653381000,1012.9],[1532653681000,1012.9],[1532653981000,1012.9],[1532654281000,1012.9],[1532654582000,1012.9],[1532654881000,1013],[1532655181000,1012.9],[1532655481000,1012.8],[1532655781000,1012.8],[1532656081000,1012.8],[1532656381000,1012.8],[1532656681000,1012.8],[1532656981000,1012.8],[1532657281000,1012.9],[1532657581000,1012.9],[1532657881000,1012.9],[1532658181000,1012.8],[1532658481000,1012.8],[1532658781000,1012.8],[1532659081000,1012.7],[1532659381000,1012.8],[1532659681000,1012.9],[1532659981000,1012.9],[1532660281000,1012.9],[1532660581000,1012.9],[1532660882000,1012.9],[1532661181000,1012.9],[1532661481000,1013],[1532661781000,1013],[1532662081000,1013],[1532662381000,1013],[1532662681000,1012.9],[1532662981000,1013],[1532663281000,1013],[1532663581000,1013],[1532663881000,1013.1],[1532664181000,1013],[1532664481000,1012.9],[1532664781000,1012.7],[1532665081000,1012.7],[1532665381000,1012.6],[1532665681000,1012.6],[1532665982000,1012.5],[1532666281000,1012.5],[1532666581000,1012.5],[1532666881000,1012.5],[1532667181000,1012.5],[1532667481000,1012.5],[1532667781000,1012.6],[1532668081000,1012.6],[1532668381000,1012.6],[1532668681000,1012.5],[1532668981000,1012.5],[1532669281000,1012.4],[1532669581000,1012.3],[1532669881000,1012.4],[1532670182000,1012.4],[1532670481000,1012.4],[1532670781000,1012.4],[1532671081000,1012.4],[1532671381000,1012.4],[1532671682000,1012.5],[1532671981000,1012.5],[1532672281000,1012.5],[1532672581000,1012.5],[1532672881000,1012.5],[1532673181000,1012.5],[1532673481000,1012.8],[1532673781000,1012.6],[1532674081000,1012.5],[1532674381000,1012.5],[1532674681000,1012.5],[1532674981000,1012.6],[1532675282000,1012.6],[1532675581000,1012.5],[1532675881000,1012.6],[1532676181000,1012.6],[1532676481000,1012.6],[1532676781000,1012.6],[1532677081000,1012.6],[1532677381000,1012.6],[1532677681000,1012.6],[1532677981000,1012.6],[1532678281000,1012.6],[1532678581000,1012.6],[1532678881000,1012.5],[1532679181000,1012.4],[1532679482000,1012.4],[1532679781000,1012.4],[1532680082000,1012.4],[1532680381000,1012.3],[1532680681000,1012.3],[1532680981000,1012.3],[1532681281000,1012.3],[1532681581000,1012.3],[1532681881000,1012.2],[1532682181000,1012.2],[1532682481000,1012.3],[1532682781000,1012.3],[1532683081000,1012.2],[1532683381000,1012.3],[1532683681000,1012.2],[1532683981000,1012.1],[1532684281000,1012.1],[1532684581000,1012.3],[1532684881000,1012.2],[1532685181000,1012.4],[1532685481000,1012.5],[1532685781000,1012.6],[1532686081000,1012.5],[1532686381000,1012.4],[1532686681000,1012.4],[1532686981000,1011.9],[1532687282000,1012.4],[1532687581000,1012.1],[1532687881000,1012.2],[1532688181000,1012],[1532688481000,1011.7],[1532688781000,1011.8],[1532689081000,1011.8],[1532689381000,1011.4],[1532689682000,1011.3],[1532689981000,1011.1],[1532690281000,1011.1],[1532690581000,1010.9],[1532690881000,1011],[1532691181000,1010.9],[1532691481000,1010.8],[1532691782000,1010.7],[1532692082000,1010.6],[1532692381000,1010.6],[1532692681000,1010.9],[1532692981000,1011.4],[1532693282000,1010.9],[1532693581000,1011.3],[1532693881000,1011.4],[1532694181000,1011.4],[1532694481000,1011.4],[1532694781000,1011.3],[1532695081000,1011.2],[1532695381000,1011],[1532695681000,1011],[1532695981000,1011],[1532696281000,1010.7],[1532696581000,1010.8],[1532696881000,1010.2],[1532697181000,1010.8],[1532697481000,1010.5],[1532697781000,1010.4],[1532698081000,1010.8],[1532698381000,1010.7],[1532698681000,1010.6],[1532698981000,1010.4],[1532699281000,1010.3],[1532699582000,1010.3],[1532699881000,1010.4],[1532700181000,1010.3],[1532700481000,1010.3],[1532700782000,1010.3],[1532701081000,1010.3],[1532701381000,1010.3],[1532701681000,1010],[1532701981000,1009.9],[1532702281000,1009.9],[1532702581000,1009.9],[1532702881000,1009.9],[1532703181000,1010],[1532703481000,1010.1],[1532703781000,1010.2],[1532704081000,1010.3],[1532704381000,1010.3],[1532704681000,1010.2],[1532704981000,1010.2],[1532705281000,1010.1],[1532705581000,1010],[1532705881000,1009.9],[1532706181000,1009.8],[1532706481000,1009.9],[1532706781000,1009.9],[1532707081000,1009.9],[1532707381000,1009.9],[1532707681000,1009.9],[1532707981000,1010],[1532708281000,1010],[1532708581000,1010.1],[1532708881000,1010.2],[1532709181000,1010.2],[1532709481000,1010.4],[1532709781000,1010.4],[1532710081000,1010.4],[1532710381000,1010.5],[1532710682000,1010.6],[1532710981000,1010.6],[1532711281000,1010.6],[1532711581000,1010.8],[1532711881000,1011],[1532712181000,1011.1],[1532712481000,1011.1],[1532712781000,1011.1],[1532713081000,1011.1],[1532713381000,1011],[1532713681000,1011],[1532713981000,1011],[1532714281000,1010.9],[1532714581000,1010.9],[1532714881000,1010.9],[1532715181000,1011],[1532715481000,1011],[1532715781000,1010.9],[1532716082000,1010.8],[1532716381000,1010.9],[1532716681000,1010.9],[1532716981000,1010.9],[1532717281000,1011],[1532717581000,1011],[1532717881000,1010.9],[1532718181000,1010.8],[1532718481000,1011],[1532718781000,1011.1],[1532719081000,1011],[1532719381000,1011.1],[1532719681000,1011.1],[1532719981000,1011.1],[1532720281000,1011.2],[1532720581000,1011.2],[1532720881000,1011.2],[1532721181000,1011.3],[1532721481000,1011.3],[1532721781000,1011.3],[1532722081000,1011.4],[1532722381000,1011.5],[1532722681000,1011.5],[1532722981000,1011.5],[1532723281000,1011.5],[1532723581000,1011.4],[1532723882000,1011.6],[1532724181000,1011.5],[1532724481000,1011.6],[1532724781000,1011.5],[1532725082000,1011.5],[1532725381000,1011.4],[1532725681000,1011.4],[1532725981000,1011.4],[1532726281000,1011.4],[1532726581000,1011.5],[1532726881000,1011.6],[1532727181000,1011.4],[1532727481000,1011.4],[1532727781000,1011.3],[1532728081000,1011.3],[1532728381000,1011.4],[1532728681000,1011.4],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1532642400000,2.760000012],[1532642580000,1.8],[1532642880000,0.864],[1532643180000,2.088],[1532643480000,1.152],[1532643780000,0.216],[1532644080000,0.792],[1532644380000,0.72],[1532644680000,0.216],[1532644980000,1.872],[1532645280000,2.592],[1532645580000,1.08],[1532645880000,0.576],[1532646180000,0],[1532646480000,0],[1532646780000,0],[1532647080000,0],[1532647380000,0],[1532647680000,0],[1532647980000,0],[1532648280000,0],[1532648580000,0],[1532648880000,0],[1532649180000,1.512],[1532649480000,4.68],[1532649780000,0.432],[1532650080000,2.88],[1532650380000,1.08],[1532650680000,0.288],[1532650980000,0.576],[1532651280000,1.368],[1532651580000,3.528],[1532651880000,2.664],[1532652180000,1.728],[1532652480000,2.16],[1532652780000,0.216],[1532653080000,0],[1532653380000,0.504],[1532653680000,0.576],[1532653980000,0.288],[1532654280000,1.944],[1532654580000,0.936],[1532654880000,0],[1532655180000,0],[1532655480000,0],[1532655780000,0],[1532656080000,0.288],[1532656380000,0.648],[1532656680000,0.288],[1532656980000,0],[1532657280000,0],[1532657580000,0.072],[1532657880000,0],[1532658180000,0],[1532658480000,0.288],[1532658780000,0],[1532659080000,0.576],[1532659380000,0.144],[1532659680000,0],[1532659980000,0],[1532660280000,0.864],[1532660580000,0.144],[1532660880000,0],[1532661180000,0.144],[1532661480000,0],[1532661780000,0],[1532662080000,0],[1532662380000,2.808],[1532662680000,1.512],[1532662980000,0],[1532663280000,0],[1532663580000,0],[1532663880000,0],[1532664180000,0],[1532664480000,0.36],[1532664780000,1.224],[1532665080000,1.44],[1532665380000,0.216],[1532665680000,0],[1532665980000,0],[1532666280000,0],[1532666580000,0],[1532666880000,0],[1532667180000,0],[1532667480000,0.144],[1532667780000,0.576],[1532668080000,1.296],[1532668380000,0.216],[1532668680000,0],[1532668980000,0.936],[1532669280000,0.72],[1532669580000,0],[1532669880000,0.864],[1532670180000,0.864],[1532670480000,1.8],[1532670780000,4.176],[1532671080000,3.024],[1532671380000,2.52],[1532671680000,5.544],[1532671980000,3.816],[1532672280000,4.176],[1532672580000,3.6],[1532672880000,3.312],[1532673180000,3.672],[1532673480000,2.736],[1532673780000,3.312],[1532674080000,3.672],[1532674380000,2.376],[1532674680000,2.808],[1532674980000,1.224],[1532675280000,1.296],[1532675580000,1.08],[1532675880000,5.976],[1532676180000,6.84],[1532676480000,6.192],[1532676780000,6.12],[1532677080000,3.528],[1532677380000,3.96],[1532677680000,10.368],[1532677980000,9.648],[1532678280000,8.064],[1532678580000,4.608],[1532678880000,2.664],[1532679180000,2.952],[1532679480000,2.232],[1532679780000,3.24],[1532680080000,6.48],[1532680380000,2.304],[1532680680000,3.96],[1532680980000,1.296],[1532681280000,1.944],[1532681580000,3.168],[1532681880000,1.224],[1532682180000,4.032],[1532682480000,7.776],[1532682780000,5.688],[1532683080000,4.248],[1532683380000,5.904],[1532683680000,4.104],[1532683980000,3.888],[1532684280000,3.384],[1532684580000,5.256],[1532684880000,2.664],[1532685180000,2.664],[1532685480000,1.728],[1532685780000,2.808],[1532686080000,0.864],[1532686380000,1.368],[1532686680000,3.456],[1532686980000,3.24],[1532687280000,3.456],[1532687580000,3.24],[1532687880000,2.016],[1532688180000,2.952],[1532688480000,3.384],[1532688780000,3.6],[1532689080000,1.8],[1532689380000,5.76],[1532689680000,2.664],[1532689980000,3.888],[1532690280000,9.288],[1532690580000,6.336],[1532690880000,6.696],[1532691180000,6.552],[1532691480000,6.912],[1532691780000,4.536],[1532692080000,7.848],[1532692380000,7.272],[1532692680000,3.6],[1532692980000,3.816],[1532693280000,4.392],[1532693580000,5.904],[1532693880000,7.56],[1532694180000,4.536],[1532694480000,1.584],[1532694780000,3.24],[1532695080000,1.728],[1532695380000,3.816],[1532695680000,4.68],[1532695980000,3.384],[1532696280000,0.648],[1532696580000,2.088],[1532696880000,5.184],[1532697180000,3.528],[1532697480000,3.384],[1532697780000,5.04],[1532698080000,3.024],[1532698380000,2.808],[1532698680000,1.512],[1532698980000,0.504],[1532699280000,3.168],[1532699580000,3.528],[1532699880000,3.384],[1532700180000,2.664],[1532700480000,2.376],[1532700780000,2.664],[1532701080000,1.008],[1532701380000,2.88],[1532701680000,3.888],[1532701980000,4.824],[1532702280000,3.672],[1532702580000,3.888],[1532702880000,4.464],[1532703180000,5.04],[1532703480000,3.96],[1532703780000,3.312],[1532704080000,3.168],[1532704380000,4.32],[1532704680000,3.024],[1532704980000,2.016],[1532705280000,2.016],[1532705580000,2.88],[1532705880000,2.592],[1532706180000,6.336],[1532706480000,4.248],[1532706780000,1.368],[1532707080000,3.384],[1532707380000,2.664],[1532707680000,2.52],[1532707980000,0.504],[1532708280000,0.648],[1532708580000,0.936],[1532708880000,0.216],[1532709180000,1.656],[1532709480000,2.376],[1532709780000,0.648],[1532710080000,0.648],[1532710380000,0.144],[1532710680000,0.576],[1532710980000,0.432],[1532711280000,0.072],[1532711580000,0],[1532711880000,0],[1532712180000,0],[1532712480000,0],[1532712780000,0],[1532713080000,0],[1532713380000,0],[1532713680000,0.504],[1532713980000,0],[1532714280000,0],[1532714580000,0],[1532714880000,0],[1532715180000,0],[1532715480000,0],[1532715780000,0],[1532716080000,0],[1532716380000,0],[1532716680000,0],[1532716980000,0.504],[1532717280000,3.312],[1532717580000,2.592],[1532717880000,0.648],[1532718180000,0.576],[1532718480000,0.72],[1532718780000,0.576],[1532719080000,1.152],[1532719380000,0.936],[1532719680000,1.44],[1532719980000,1.512],[1532720280000,0.072],[1532720580000,0],[1532720880000,0],[1532721180000,0],[1532721480000,0],[1532721780000,0],[1532722080000,0.504],[1532722380000,0],[1532722680000,0],[1532722980000,0],[1532723280000,0],[1532723580000,1.368],[1532723880000,0.504],[1532724180000,0],[1532724480000,0.792],[1532724780000,0.072],[1532725080000,0],[1532725380000,0],[1532725680000,0.144],[1532725980000,1.008],[1532726280000,0],[1532726580000,0],[1532726880000,0],[1532727180000,0],[1532727480000,0],[1532727780000,0],[1532728080000,0],[1532728380000,0],[1532728680000,2.639999988],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1532642400000,3.903599988],[1532642580000,2.69568],[1532642880000,1.54656],[1532643180000,3.0924],[1532643480000,1.66248],[1532643780000,0.31176],[1532644080000,1.12392],[1532644380000,1.19088],[1532644680000,0.30024],[1532644980000,2.82024],[1532645280000,3.99888],[1532645580000,1.69848],[1532645880000,0.90432],[1532646180000,0],[1532646480000,0],[1532646780000,0],[1532647080000,0],[1532647380000,0],[1532647680000,0],[1532647980000,0],[1532648280000,0],[1532648580000,0],[1532648880000,0],[1532649180000,2.10456],[1532649480000,6.89688],[1532649780000,0.71928],[1532650080000,4.38768],[1532650380000,1.65312],[1532650680000,0.34272],[1532650980000,0.85536],[1532651280000,1.96848],[1532651580000,5.00184],[1532651880000,3.93408],[1532652180000,2.43648],[1532652480000,3.24288],[1532652780000,0.40032],[1532653080000,0.01008],[1532653380000,0.75528],[1532653680000,0.74376],[1532653980000,0.50688],[1532654280000,2.88],[1532654580000,1.31544],[1532654880000,0.00144],[1532655180000,0],[1532655480000,0],[1532655780000,0],[1532656080000,0.35136],[1532656380000,1.01448],[1532656680000,0.432],[1532656980000,0],[1532657280000,0],[1532657580000,0.0504],[1532657880000,0.00576],[1532658180000,0.01368],[1532658480000,0.40536],[1532658780000,0.03024],[1532659080000,0.92232],[1532659380000,0.162],[1532659680000,0],[1532659980000,0],[1532660280000,1.49904],[1532660580000,0.2124],[1532660880000,0],[1532661180000,0.24984],[1532661480000,0],[1532661780000,0],[1532662080000,0],[1532662380000,3.99816],[1532662680000,2.27304],[1532662980000,0],[1532663280000,0],[1532663580000,0],[1532663880000,0],[1532664180000,0],[1532664480000,0.5472],[1532664780000,1.79712],[1532665080000,2.12328],[1532665380000,0.306],[1532665680000,0],[1532665980000,0],[1532666280000,0],[1532666580000,0],[1532666880000,0.00576],[1532667180000,0],[1532667480000,0.288],[1532667780000,0.87912],[1532668080000,2.08008],[1532668380000,0.25128],[1532668680000,0],[1532668980000,1.44432],[1532669280000,1.17072],[1532669580000,0.00216],[1532669880000,1.34568],[1532670180000,1.37448],[1532670480000,2.57184],[1532670780000,6.37416],[1532671080000,4.914],[1532671380000,4.0248],[1532671680000,8.92656],[1532671980000,6.24528],[1532672280000,6.72408],[1532672580000,5.9256],[1532672880000,4.89888],[1532673180000,5.77296],[1532673480000,4.12632],[1532673780000,5.36544],[1532674080000,5.88672],[1532674380000,3.7152],[1532674680000,4.24296],[1532674980000,1.7316],[1532675280000,1.9584],[1532675580000,1.63944],[1532675880000,10.02168],[1532676180000,11.27304],[1532676480000,14.9616],[1532676780000,9.92952],[1532677080000,5.63688],[1532677380000,6.32304],[1532677680000,17.30376],[1532677980000,15.62832],[1532678280000,13.78008],[1532678580000,7.3224],[1532678880000,4.08312],[1532679180000,4.53456],[1532679480000,3.19752],[1532679780000,4.9356],[1532680080000,10.55304],[1532680380000,3.24432],[1532680680000,6.07392],[1532680980000,1.99152],[1532681280000,3.11328],[1532681580000,5.06664],[1532681880000,1.85112],[1532682180000,6.19776],[1532682480000,12.91104],[1532682780000,8.9172],[1532683080000,6.40584],[1532683380000,9.08496],[1532683680000,6.44544],[1532683980000,6.11424],[1532684280000,5.76432],[1532684580000,8.35272],[1532684880000,4.50864],[1532685180000,4.16664],[1532685480000,2.65536],[1532685780000,4.24368],[1532686080000,1.33272],[1532686380000,2.13768],[1532686680000,5.99472],[1532686980000,4.95648],[1532687280000,5.22144],[1532687580000,5.58216],[1532687880000,2.9664],[1532688180000,4.266],[1532688480000,5.17248],[1532688780000,5.45976],[1532689080000,2.88792],[1532689380000,8.88048],[1532689680000,4.15728],[1532689980000,6.12792],[1532690280000,15.79104],[1532690580000,10.00296],[1532690880000,10.764],[1532691180000,10.68912],[1532691480000,11.08584],[1532691780000,6.94656],[1532692080000,13.4496],[1532692380000,12.98304],[1532692680000,5.67072],[1532692980000,6.17112],[1532693280000,6.732],[1532693580000,9.50976],[1532693880000,11.9592],[1532694180000,7.23384],[1532694480000,2.29536],[1532694780000,4.91544],[1532695080000,2.56536],[1532695380000,5.99184],[1532695680000,7.3332],[1532695980000,4.90176],[1532696280000,0.82944],[1532696580000,3.19896],[1532696880000,8.11512],[1532697180000,6.33672],[1532697480000,5.544],[1532697780000,8.60616],[1532698080000,4.66488],[1532698380000,4.46328],[1532698680000,2.20536],[1532698980000,0.74736],[1532699280000,4.65552],[1532699580000,5.42304],[1532699880000,5.03064],[1532700180000,3.9852],[1532700480000,3.80304],[1532700780000,3.9672],[1532701080000,1.49616],[1532701380000,4.24296],[1532701680000,6.16536],[1532701980000,7.6536],[1532702280000,5.56992],[1532702580000,6.08904],[1532702880000,6.8148],[1532703180000,7.77816],[1532703480000,6.4476],[1532703780000,5.49072],[1532704080000,4.74696],[1532704380000,6.83208],[1532704680000,4.78584],[1532704980000,3.17736],[1532705280000,3.46248],[1532705580000,4.69944],[1532705880000,4.00392],[1532706180000,10.93536],[1532706480000,6.4728],[1532706780000,1.95048],[1532707080000,5.68944],[1532707380000,4.14144],[1532707680000,4.38912],[1532707980000,0.792],[1532708280000,0.92664],[1532708580000,1.48824],[1532708880000,0.31824],[1532709180000,2.68488],[1532709480000,3.60864],[1532709780000,0.8928],[1532710080000,0.8856],[1532710380000,0.08352],[1532710680000,0.7416],[1532710980000,0.68256],[1532711280000,0.17568],[1532711580000,0.00432],[1532711880000,0],[1532712180000,0],[1532712480000,0],[1532712780000,0],[1532713080000,0],[1532713380000,0],[1532713680000,0.6228],[1532713980000,0.00144],[1532714280000,0],[1532714580000,0.01368],[1532714880000,0.0108],[1532715180000,0],[1532715480000,0],[1532715780000,0],[1532716080000,0],[1532716380000,0],[1532716680000,0],[1532716980000,0.6336],[1532717280000,5.10768],[1532717580000,3.84192],[1532717880000,1.03824],[1532718180000,0.91296],[1532718480000,1.07928],[1532718780000,0.7596],[1532719080000,1.85256],[1532719380000,1.36728],[1532719680000,2.29896],[1532719980000,2.13912],[1532720280000,0.0828],[1532720580000,0],[1532720880000,0],[1532721180000,0],[1532721480000,0],[1532721780000,0],[1532722080000,0.73584],[1532722380000,0],[1532722680000,0],[1532722980000,0],[1532723280000,0],[1532723580000,1.94904],[1532723880000,0.72216],[1532724180000,0],[1532724480000,1.16928],[1532724780000,0.03672],[1532725080000,0],[1532725380000,0],[1532725680000,0.20664],[1532725980000,1.57536],[1532726280000,0.0072],[1532726580000,0],[1532726880000,0],[1532727180000,0],[1532727480000,0],[1532727780000,0],[1532728080000,0],[1532728380000,0],[1532728680000,4.041600012],], 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); }); $('.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; }