var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1531778401000,20.50000000],[1531778581000,20.48000000],[1531778881000,20.50000000],[1531779181000,20.66000000],[1531779481000,20.58000000],[1531779781000,20.40000000],[1531780081000,20.32000000],[1531780381000,20.38000000],[1531780681000,20.86000000],[1531780981000,20.78000000],[1531781281000,21.32000000],[1531781581000,21.64000000],[1531781882000,21.86000000],[1531782181000,21.82000000],[1531782481000,21.64000000],[1531782781000,21.36000000],[1531783081000,21.26000000],[1531783381000,21.02000000],[1531783681000,21.10000000],[1531783981000,21.12000000],[1531784281000,21.08000000],[1531784581000,20.82000000],[1531784881000,20.52000000],[1531785181000,20.54000000],[1531785481000,20.52000000],[1531785781000,20.42000000],[1531786081000,20.10000000],[1531786381000,19.84000000],[1531786681000,19.34000000],[1531786981000,18.92000000],[1531787281000,19.10000000],[1531787581000,19.20000000],[1531787881000,19.16000000],[1531788181000,18.70000000],[1531788481000,18.28000000],[1531788781000,17.92000000],[1531789081000,17.70000000],[1531789381000,18.24000000],[1531789681000,18.50000000],[1531789981000,18.82000000],[1531790281000,18.78000000],[1531790581000,18.98000000],[1531790881000,19.70000000],[1531791181000,19.62000000],[1531791481000,19.52000000],[1531791781000,19.34000000],[1531792081000,19.18000000],[1531792381000,19.14000000],[1531792681000,19.10000000],[1531792981000,19.28000000],[1531793281000,19.18000000],[1531793581000,19.06000000],[1531793881000,18.98000000],[1531794181000,18.90000000],[1531794481000,19.08000000],[1531794781000,19.16000000],[1531795082000,19.08000000],[1531795381000,18.86000000],[1531795681000,18.80000000],[1531795981000,18.86000000],[1531796281000,18.94000000],[1531796581000,19.02000000],[1531796881000,19.48000000],[1531797181000,19.24000000],[1531797481000,19.12000000],[1531797781000,19.26000000],[1531798081000,19.24000000],[1531798381000,19.10000000],[1531798681000,19.20000000],[1531798981000,19.20000000],[1531799281000,19.34000000],[1531799581000,19.28000000],[1531799881000,19.40000000],[1531800181000,19.46000000],[1531800481000,19.44000000],[1531800781000,19.52000000],[1531801081000,19.64000000],[1531801381000,19.62000000],[1531801681000,19.44000000],[1531801981000,19.50000000],[1531802281000,19.52000000],[1531802581000,19.52000000],[1531802881000,19.72000000],[1531803181000,20.10000000],[1531803481000,20.40000000],[1531803781000,20.40000000],[1531804081000,20.18000000],[1531804381000,19.90000000],[1531804681000,20.20000000],[1531804981000,20.58000000],[1531805281000,20.84000000],[1531805581000,21.02000000],[1531805882000,21.62000000],[1531806181000,21.98000000],[1531806481000,22.26000000],[1531806782000,22.12000000],[1531807081000,21.78000000],[1531807381000,21.66000000],[1531807682000,21.36000000],[1531807981000,21.96000000],[1531808281000,22.08000000],[1531808581000,21.56000000],[1531808881000,21.72000000],[1531809181000,21.36000000],[1531809481000,21.22000000],[1531809782000,21.40000000],[1531810081000,21.80000000],[1531810381000,21.92000000],[1531810681000,21.96000000],[1531810981000,22.64000000],[1531811281000,23.34000000],[1531811581000,22.82000000],[1531811881000,22.02000000],[1531812181000,21.24000000],[1531812481000,20.90000000],[1531812781000,20.76000000],[1531813082000,20.60000000],[1531813381000,20.54000000],[1531813681000,20.62000000],[1531813981000,20.74000000],[1531814281000,20.96000000],[1531814582000,21.22000000],[1531814881000,21.56000000],[1531815182000,22.06000000],[1531815481000,22.42000000],[1531815781000,22.74000000],[1531816081000,23.16000000],[1531816381000,23.42000000],[1531816682000,23.92000000],[1531816981000,24.38000000],[1531817281000,24.12000000],[1531817582000,24.24000000],[1531817881000,24.34000000],[1531818181000,25.48000000],[1531818481000,26.18000000],[1531818781000,25.56000000],[1531819081000,24.98000000],[1531819381000,25.12000000],[1531819681000,25.80000000],[1531819981000,25.68000000],[1531820281000,25.72000000],[1531820581000,26.60000000],[1531820881000,26.90000000],[1531821181000,27.40000000],[1531821481000,27.34000000],[1531821781000,27.38000000],[1531822081000,27.60000000],[1531822381000,27.36000000],[1531822681000,27.56000000],[1531822981000,27.52000000],[1531823281000,27.12000000],[1531823581000,27.18000000],[1531823881000,27.00000000],[1531824181000,27.02000000],[1531824481000,27.24000000],[1531824781000,27.64000000],[1531825081000,27.08000000],[1531825381000,27.18000000],[1531825681000,27.48000000],[1531825981000,27.80000000],[1531826281000,27.60000000],[1531826581000,27.46000000],[1531826881000,27.80000000],[1531827181000,27.90000000],[1531827481000,27.98000000],[1531827781000,28.10000000],[1531828081000,28.18000000],[1531828381000,28.36000000],[1531828681000,28.46000000],[1531828981000,28.18000000],[1531829281000,28.08000000],[1531829581000,28.52000000],[1531829881000,28.48000000],[1531830182000,27.60000000],[1531830481000,25.86000000],[1531830781000,21.86000000],[1531831081000,18.68000000],[1531831381000,18.20000000],[1531831681000,18.42000000],[1531831981000,18.62000000],[1531832281000,18.70000000],[1531832581000,18.96000000],[1531832881000,19.60000000],[1531833181000,20.74000000],[1531833481000,21.68000000],[1531833781000,22.50000000],[1531834081000,23.22000000],[1531834381000,23.80000000],[1531834681000,23.80000000],[1531834981000,23.74000000],[1531835281000,23.80000000],[1531835581000,23.62000000],[1531835881000,23.44000000],[1531836181000,23.32000000],[1531836481000,23.16000000],[1531836781000,22.98000000],[1531837081000,22.84000000],[1531837381000,22.90000000],[1531837681000,23.14000000],[1531837981000,23.24000000],[1531838281000,23.24000000],[1531838581000,23.42000000],[1531838882000,23.80000000],[1531839181000,24.22000000],[1531839481000,24.34000000],[1531839781000,24.50000000],[1531840081000,24.42000000],[1531840381000,24.58000000],[1531840681000,24.80000000],[1531840981000,25.22000000],[1531841281000,24.88000000],[1531841581000,24.72000000],[1531841881000,25.00000000],[1531842181000,25.20000000],[1531842481000,25.46000000],[1531842781000,25.16000000],[1531843081000,24.90000000],[1531843381000,24.76000000],[1531843681000,24.54000000],[1531843981000,24.24000000],[1531844281000,24.00000000],[1531844581000,23.78000000],[1531844881000,23.68000000],[1531845181000,23.68000000],[1531845481000,23.70000000],[1531845781000,23.72000000],[1531846081000,23.72000000],[1531846381000,23.70000000],[1531846682000,23.70000000],[1531846981000,23.62000000],[1531847281000,23.46000000],[1531847581000,23.36000000],[1531847881000,23.30000000],[1531848181000,23.22000000],[1531848481000,23.06000000],[1531848781000,22.92000000],[1531849081000,22.80000000],[1531849381000,22.66000000],[1531849681000,22.44000000],[1531849981000,22.34000000],[1531850281000,22.26000000],[1531850581000,22.20000000],[1531850881000,22.08000000],[1531851181000,21.90000000],[1531851481000,21.68000000],[1531851781000,21.46000000],[1531852081000,21.22000000],[1531852381000,21.04000000],[1531852682000,20.98000000],[1531852981000,20.78000000],[1531853281000,20.48000000],[1531853581000,20.28000000],[1531853881000,20.10000000],[1531854181000,19.96000000],[1531854481000,19.90000000],[1531854781000,19.86000000],[1531855081000,19.76000000],[1531855381000,19.72000000],[1531855681000,19.78000000],[1531855981000,19.78000000],[1531856281000,19.80000000],[1531856581000,19.88000000],[1531856881000,19.80000000],[1531857181000,19.64000000],[1531857481000,19.60000000],[1531857781000,19.54000000],[1531858081000,19.44000000],[1531858381000,19.54000000],[1531858681000,19.52000000],[1531858981000,19.66000000],[1531859282000,19.52000000],[1531859581000,19.28000000],[1531859882000,19.38000000],[1531860181000,19.58000000],[1531860481000,19.52000000],[1531860781000,19.42000000],[1531861081000,19.42000000],[1531861381000,19.58000000],[1531861681000,19.70000000],[1531861981000,19.76000000],[1531862281000,19.80000000],[1531862581000,19.74000000],[1531862881000,19.62000000],[1531863181000,19.66000000],[1531863481000,19.88000000],[1531863781000,19.78000000],[1531864082000,19.66000000],[1531864381000,19.56000000],[1531864682000,19.45000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1531778401000,16.5],[1531778581000,16.3],[1531778881000,16.7],[1531779181000,16.6],[1531779481000,16.6],[1531779781000,16.7],[1531780081000,16.8],[1531780381000,16.3],[1531780681000,16.4],[1531780981000,16],[1531781281000,15.8],[1531781581000,15.5],[1531781882000,15.5],[1531782181000,15.6],[1531782481000,15.6],[1531782781000,15.7],[1531783081000,15.9],[1531783381000,15.8],[1531783681000,15.7],[1531783981000,15.7],[1531784281000,15.7],[1531784581000,15.8],[1531784881000,15.7],[1531785181000,15.8],[1531785481000,15.6],[1531785781000,15.6],[1531786081000,15.9],[1531786381000,16],[1531786681000,16.2],[1531786981000,15.9],[1531787281000,15.8],[1531787581000,15.8],[1531787881000,16.2],[1531788181000,16.1],[1531788481000,16.2],[1531788781000,16.2],[1531789081000,16],[1531789381000,16],[1531789681000,16],[1531789981000,16.2],[1531790281000,16.2],[1531790581000,15.9],[1531790881000,15.8],[1531791181000,15.7],[1531791481000,15.8],[1531791781000,15.9],[1531792081000,15.7],[1531792381000,15.7],[1531792681000,15.6],[1531792981000,15.4],[1531793281000,15.5],[1531793581000,15.5],[1531793881000,15.4],[1531794181000,15.2],[1531794481000,15.3],[1531794781000,15.3],[1531795082000,15.4],[1531795381000,15.4],[1531795681000,15.3],[1531795981000,15.4],[1531796281000,15.4],[1531796581000,15.3],[1531796881000,15.2],[1531797181000,15.3],[1531797481000,15.2],[1531797781000,15.2],[1531798081000,15.3],[1531798381000,15.3],[1531798681000,15.3],[1531798981000,15.3],[1531799281000,15.2],[1531799581000,15.3],[1531799881000,15.2],[1531800181000,15.1],[1531800481000,15.2],[1531800781000,15.3],[1531801081000,15.2],[1531801381000,15.4],[1531801681000,15.3],[1531801981000,15.1],[1531802281000,15.2],[1531802581000,15.3],[1531802881000,15.5],[1531803181000,15.6],[1531803481000,15.6],[1531803781000,15.5],[1531804081000,15.8],[1531804381000,15.5],[1531804681000,15.8],[1531804981000,15.9],[1531805281000,15.8],[1531805581000,15.8],[1531805882000,16.1],[1531806181000,16.1],[1531806481000,16.5],[1531806782000,16.4],[1531807081000,16.3],[1531807381000,16.3],[1531807682000,16.2],[1531807981000,16.8],[1531808281000,16.1],[1531808581000,16.1],[1531808881000,16.4],[1531809181000,16.5],[1531809481000,16.6],[1531809782000,16.7],[1531810081000,16.6],[1531810381000,16.7],[1531810681000,16.7],[1531810981000,17.1],[1531811281000,17.6],[1531811581000,17.2],[1531811881000,17],[1531812181000,17],[1531812481000,17.1],[1531812781000,17.2],[1531813082000,17.1],[1531813381000,17.1],[1531813681000,17.2],[1531813981000,17.4],[1531814281000,17.5],[1531814582000,17.6],[1531814881000,17.6],[1531815182000,17.6],[1531815481000,17.6],[1531815781000,17.4],[1531816081000,17.7],[1531816381000,17.6],[1531816682000,17.6],[1531816981000,17.4],[1531817281000,17],[1531817582000,17],[1531817881000,17.1],[1531818181000,18],[1531818481000,18],[1531818781000,17.2],[1531819081000,16.9],[1531819381000,17],[1531819681000,17.3],[1531819981000,17.3],[1531820281000,17],[1531820581000,17.9],[1531820881000,17.5],[1531821181000,17.7],[1531821481000,16.8],[1531821781000,17.5],[1531822081000,17.7],[1531822381000,17.1],[1531822681000,17.9],[1531822981000,17.3],[1531823281000,17.2],[1531823581000,17.3],[1531823881000,17.1],[1531824181000,17.3],[1531824481000,17.3],[1531824781000,18.1],[1531825081000,16.9],[1531825381000,17.4],[1531825681000,17.3],[1531825981000,17.6],[1531826281000,17],[1531826581000,17.2],[1531826881000,17.6],[1531827181000,17.3],[1531827481000,17.2],[1531827781000,17.3],[1531828081000,17],[1531828381000,17.2],[1531828681000,17],[1531828981000,16.5],[1531829281000,16.7],[1531829581000,16.8],[1531829881000,16.2],[1531830182000,16.1],[1531830481000,16.8],[1531830781000,18.4],[1531831081000,17.6],[1531831381000,17],[1531831681000,17.3],[1531831981000,17.8],[1531832281000,18.2],[1531832581000,18.7],[1531832881000,19.1],[1531833181000,20.2],[1531833481000,20.5],[1531833781000,20.6],[1531834081000,20.6],[1531834381000,19.8],[1531834681000,18.8],[1531834981000,18.6],[1531835281000,18.4],[1531835581000,18.7],[1531835881000,19.1],[1531836181000,17.7],[1531836481000,17.2],[1531836781000,17.8],[1531837081000,17.8],[1531837381000,17.7],[1531837681000,17.7],[1531837981000,18],[1531838281000,17.3],[1531838581000,17.4],[1531838882000,17.7],[1531839181000,17.7],[1531839481000,18.4],[1531839781000,18.9],[1531840081000,18.1],[1531840381000,17.3],[1531840681000,17.3],[1531840981000,17.1],[1531841281000,16.8],[1531841581000,16.9],[1531841881000,16.7],[1531842181000,16.8],[1531842481000,17.2],[1531842781000,16.6],[1531843081000,16.6],[1531843381000,16.7],[1531843681000,16.7],[1531843981000,16.5],[1531844281000,16.4],[1531844581000,16.8],[1531844881000,16.7],[1531845181000,16.8],[1531845481000,16.7],[1531845781000,16.7],[1531846081000,16.6],[1531846381000,17],[1531846682000,17.1],[1531846981000,17.1],[1531847281000,16.7],[1531847581000,16.8],[1531847881000,17.4],[1531848181000,17.8],[1531848481000,17.3],[1531848781000,17.3],[1531849081000,17.3],[1531849381000,17.4],[1531849681000,17.4],[1531849981000,17.5],[1531850281000,17.8],[1531850581000,17.8],[1531850881000,18],[1531851181000,18.3],[1531851481000,17.9],[1531851781000,17.8],[1531852081000,18.1],[1531852381000,18.2],[1531852682000,18.2],[1531852981000,18.7],[1531853281000,18.6],[1531853581000,18.7],[1531853881000,18.6],[1531854181000,18.4],[1531854481000,18.4],[1531854781000,18.4],[1531855081000,18.2],[1531855381000,18.1],[1531855681000,18.1],[1531855981000,18.1],[1531856281000,18.1],[1531856581000,18.2],[1531856881000,18.3],[1531857181000,18.2],[1531857481000,18.2],[1531857781000,18.1],[1531858081000,18],[1531858381000,17.8],[1531858681000,17.8],[1531858981000,17.5],[1531859282000,17.5],[1531859581000,17.6],[1531859882000,17.3],[1531860181000,17.3],[1531860481000,17.3],[1531860781000,17.2],[1531861081000,17.2],[1531861381000,16.8],[1531861681000,16.8],[1531861981000,16.7],[1531862281000,16.7],[1531862581000,16.8],[1531862881000,16.9],[1531863181000,16.6],[1531863481000,16.6],[1531863781000,16.6],[1531864082000,16.7],[1531864381000,16.8],[1531864682000,16.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: [[1531778401000,77.83333333],[1531778581000,77.30000000],[1531778881000,78.78000000],[1531779181000,77.48000000],[1531779481000,78.18000000],[1531779781000,79.24000000],[1531780081000,80.44000000],[1531780381000,77.54000000],[1531780681000,75.84000000],[1531780981000,74.18000000],[1531781281000,70.86000000],[1531781581000,68.40000000],[1531781882000,67.44000000],[1531782181000,67.78000000],[1531782481000,68.78000000],[1531782781000,70.28000000],[1531783081000,71.84000000],[1531783381000,72.06000000],[1531783681000,71.62000000],[1531783981000,71.32000000],[1531784281000,71.54000000],[1531784581000,73.34000000],[1531784881000,74.20000000],[1531785181000,74.26000000],[1531785481000,73.76000000],[1531785781000,74.04000000],[1531786081000,76.88000000],[1531786381000,78.44000000],[1531786681000,82.00000000],[1531786981000,82.60000000],[1531787281000,81.12000000],[1531787581000,80.74000000],[1531787881000,82.96000000],[1531788181000,85.10000000],[1531788481000,87.60000000],[1531788781000,89.82000000],[1531789081000,89.88000000],[1531789381000,87.14000000],[1531789681000,85.58000000],[1531789981000,84.60000000],[1531790281000,85.06000000],[1531790581000,82.40000000],[1531790881000,78.14000000],[1531791181000,78.26000000],[1531791481000,79.04000000],[1531791781000,80.52000000],[1531792081000,80.52000000],[1531792381000,80.52000000],[1531792681000,80.44000000],[1531792981000,78.56000000],[1531793281000,79.42000000],[1531793581000,79.96000000],[1531793881000,80.02000000],[1531794181000,79.30000000],[1531794481000,78.86000000],[1531794781000,78.26000000],[1531795082000,79.60000000],[1531795381000,80.20000000],[1531795681000,80.42000000],[1531795981000,80.44000000],[1531796281000,79.86000000],[1531796581000,79.14000000],[1531796881000,76.44000000],[1531797181000,77.94000000],[1531797481000,78.26000000],[1531797781000,77.32000000],[1531798081000,78.22000000],[1531798381000,78.54000000],[1531798681000,78.20000000],[1531798981000,78.28000000],[1531799281000,77.08000000],[1531799581000,77.72000000],[1531799881000,76.76000000],[1531800181000,76.04000000],[1531800481000,76.80000000],[1531800781000,76.84000000],[1531801081000,75.74000000],[1531801381000,76.50000000],[1531801681000,77.12000000],[1531801981000,75.68000000],[1531802281000,76.20000000],[1531802581000,76.74000000],[1531802881000,76.78000000],[1531803181000,75.24000000],[1531803481000,74.08000000],[1531803781000,73.52000000],[1531804081000,76.00000000],[1531804381000,75.96000000],[1531804681000,76.12000000],[1531804981000,74.80000000],[1531805281000,72.92000000],[1531805581000,72.10000000],[1531805882000,71.06000000],[1531806181000,69.46000000],[1531806481000,70.12000000],[1531806782000,70.30000000],[1531807081000,71.06000000],[1531807381000,71.78000000],[1531807682000,72.62000000],[1531807981000,72.78000000],[1531808281000,69.20000000],[1531808581000,71.18000000],[1531808881000,71.94000000],[1531809181000,73.90000000],[1531809481000,74.98000000],[1531809782000,74.64000000],[1531810081000,72.56000000],[1531810381000,72.48000000],[1531810681000,72.16000000],[1531810981000,70.92000000],[1531811281000,70.24000000],[1531811581000,70.72000000],[1531811881000,73.46000000],[1531812181000,77.00000000],[1531812481000,78.92000000],[1531812781000,80.02000000],[1531813082000,80.62000000],[1531813381000,80.74000000],[1531813681000,80.76000000],[1531813981000,81.10000000],[1531814281000,80.84000000],[1531814582000,79.74000000],[1531814881000,78.30000000],[1531815182000,76.04000000],[1531815481000,74.24000000],[1531815781000,71.94000000],[1531816081000,71.28000000],[1531816381000,69.78000000],[1531816682000,67.92000000],[1531816981000,65.34000000],[1531817281000,64.40000000],[1531817582000,64.24000000],[1531817881000,64.02000000],[1531818181000,63.48000000],[1531818481000,60.62000000],[1531818781000,59.96000000],[1531819081000,60.92000000],[1531819381000,60.86000000],[1531819681000,59.52000000],[1531819981000,59.92000000],[1531820281000,58.82000000],[1531820581000,58.96000000],[1531820881000,56.48000000],[1531821181000,55.32000000],[1531821481000,52.76000000],[1531821781000,55.00000000],[1531822081000,54.92000000],[1531822381000,53.68000000],[1531822681000,55.50000000],[1531822981000,53.70000000],[1531823281000,54.78000000],[1531823581000,54.86000000],[1531823881000,54.68000000],[1531824181000,55.40000000],[1531824481000,54.76000000],[1531824781000,56.06000000],[1531825081000,53.66000000],[1531825381000,55.10000000],[1531825681000,53.82000000],[1531825981000,53.88000000],[1531826281000,52.40000000],[1531826581000,53.46000000],[1531826881000,53.80000000],[1531827181000,52.48000000],[1531827481000,52.02000000],[1531827781000,52.00000000],[1531828081000,50.68000000],[1531828381000,50.66000000],[1531828681000,49.90000000],[1531828981000,49.26000000],[1531829281000,50.12000000],[1531829581000,49.04000000],[1531829881000,47.28000000],[1531830182000,49.52000000],[1531830481000,57.46000000],[1531830781000,80.68000000],[1531831081000,93.70000000],[1531831381000,92.96000000],[1531831681000,93.52000000],[1531831981000,95.06000000],[1531832281000,96.80000000],[1531832581000,98.12000000],[1531832881000,97.04000000],[1531833181000,96.66000000],[1531833481000,92.84000000],[1531833781000,89.00000000],[1531834081000,85.40000000],[1531834381000,78.32000000],[1531834681000,73.54000000],[1531834981000,72.96000000],[1531835281000,72.02000000],[1531835581000,74.24000000],[1531835881000,76.66000000],[1531836181000,70.88000000],[1531836481000,69.42000000],[1531836781000,72.62000000],[1531837081000,73.24000000],[1531837381000,72.54000000],[1531837681000,71.56000000],[1531837981000,72.66000000],[1531838281000,69.44000000],[1531838581000,68.88000000],[1531838882000,68.70000000],[1531839181000,67.10000000],[1531839481000,69.56000000],[1531839781000,70.96000000],[1531840081000,67.82000000],[1531840381000,63.90000000],[1531840681000,62.96000000],[1531840981000,60.96000000],[1531841281000,60.76000000],[1531841581000,62.02000000],[1531841881000,59.90000000],[1531842181000,59.82000000],[1531842481000,60.20000000],[1531842781000,59.28000000],[1531843081000,59.88000000],[1531843381000,60.94000000],[1531843681000,61.76000000],[1531843981000,62.24000000],[1531844281000,62.44000000],[1531844581000,64.92000000],[1531844881000,65.04000000],[1531845181000,65.52000000],[1531845481000,64.88000000],[1531845781000,64.80000000],[1531846081000,64.44000000],[1531846381000,66.40000000],[1531846682000,66.58000000],[1531846981000,66.82000000],[1531847281000,66.04000000],[1531847581000,66.92000000],[1531847881000,69.56000000],[1531848181000,71.62000000],[1531848481000,70.26000000],[1531848781000,70.56000000],[1531849081000,71.10000000],[1531849381000,72.48000000],[1531849681000,73.18000000],[1531849981000,74.36000000],[1531850281000,76.18000000],[1531850581000,76.48000000],[1531850881000,77.82000000],[1531851181000,79.88000000],[1531851481000,79.26000000],[1531851781000,79.66000000],[1531852081000,82.30000000],[1531852381000,83.86000000],[1531852682000,84.40000000],[1531852981000,87.94000000],[1531853281000,88.96000000],[1531853581000,90.60000000],[1531853881000,90.92000000],[1531854181000,90.98000000],[1531854481000,91.06000000],[1531854781000,91.30000000],[1531855081000,90.92000000],[1531855381000,90.40000000],[1531855681000,90.28000000],[1531855981000,89.98000000],[1531856281000,90.16000000],[1531856581000,90.32000000],[1531856881000,91.16000000],[1531857181000,91.50000000],[1531857481000,91.84000000],[1531857781000,91.38000000],[1531858081000,91.48000000],[1531858381000,89.98000000],[1531858681000,89.96000000],[1531858981000,87.58000000],[1531859282000,88.12000000],[1531859581000,89.92000000],[1531859882000,87.58000000],[1531860181000,86.52000000],[1531860481000,87.06000000],[1531860781000,87.16000000],[1531861081000,86.84000000],[1531861381000,84.30000000],[1531861681000,83.42000000],[1531861981000,82.78000000],[1531862281000,82.52000000],[1531862581000,83.10000000],[1531862881000,84.24000000],[1531863181000,82.60000000],[1531863481000,81.38000000],[1531863781000,82.18000000],[1531864082000,83.00000000],[1531864381000,84.00000000],[1531864682000,85.40000000],], 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: [[1531778401000,1009.7],[1531778581000,1009.6],[1531778881000,1009.5],[1531779181000,1009.6],[1531779481000,1009.4],[1531779781000,1009.4],[1531780081000,1009.4],[1531780381000,1009.3],[1531780681000,1009.4],[1531780981000,1009.3],[1531781281000,1009.3],[1531781581000,1009.2],[1531781882000,1009.2],[1531782181000,1009.2],[1531782481000,1009.1],[1531782781000,1009],[1531783081000,1008.9],[1531783381000,1008.9],[1531783681000,1008.9],[1531783981000,1009],[1531784281000,1009],[1531784581000,1009.1],[1531784881000,1009.1],[1531785181000,1009.1],[1531785481000,1009.2],[1531785781000,1009.2],[1531786081000,1009.2],[1531786381000,1009.3],[1531786681000,1009.3],[1531786981000,1009.3],[1531787281000,1009.3],[1531787581000,1009.3],[1531787881000,1009.2],[1531788181000,1009.2],[1531788481000,1009.2],[1531788781000,1009.3],[1531789081000,1009.3],[1531789381000,1009.3],[1531789681000,1009.2],[1531789981000,1009.2],[1531790281000,1009.3],[1531790581000,1009.3],[1531790881000,1009.1],[1531791181000,1009.1],[1531791481000,1009.1],[1531791781000,1009.1],[1531792081000,1009.2],[1531792381000,1009.2],[1531792681000,1009.2],[1531792981000,1009.3],[1531793281000,1009.3],[1531793581000,1009.3],[1531793881000,1009.3],[1531794181000,1009.3],[1531794481000,1009.3],[1531794781000,1009.4],[1531795082000,1009.4],[1531795381000,1009.4],[1531795681000,1009.4],[1531795981000,1009.4],[1531796281000,1009.4],[1531796581000,1009.3],[1531796881000,1009.4],[1531797181000,1009.4],[1531797481000,1009.3],[1531797781000,1009.3],[1531798081000,1009.3],[1531798381000,1009.2],[1531798681000,1009.1],[1531798981000,1009.2],[1531799281000,1009.2],[1531799581000,1009.1],[1531799881000,1009.2],[1531800181000,1009.1],[1531800481000,1009],[1531800781000,1009],[1531801081000,1009.1],[1531801381000,1009.3],[1531801681000,1009.4],[1531801981000,1009.3],[1531802281000,1009.2],[1531802581000,1009.1],[1531802881000,1008.8],[1531803181000,1008.7],[1531803481000,1008.6],[1531803781000,1008.8],[1531804081000,1009.1],[1531804381000,1009],[1531804681000,1008.9],[1531804981000,1008.6],[1531805281000,1008.6],[1531805581000,1008.5],[1531805882000,1008.4],[1531806181000,1008.5],[1531806481000,1008.5],[1531806782000,1008.8],[1531807081000,1008.9],[1531807381000,1009.1],[1531807682000,1008.8],[1531807981000,1008.6],[1531808281000,1009],[1531808581000,1009],[1531808881000,1009.1],[1531809181000,1009.2],[1531809481000,1009.2],[1531809782000,1008.7],[1531810081000,1009.1],[1531810381000,1008.8],[1531810681000,1008.7],[1531810981000,1008.4],[1531811281000,1008.4],[1531811581000,1008.6],[1531811881000,1009.1],[1531812181000,1009.4],[1531812481000,1009.4],[1531812781000,1009.4],[1531813082000,1009.4],[1531813381000,1009.5],[1531813681000,1009.5],[1531813981000,1009.5],[1531814281000,1009.5],[1531814582000,1009.6],[1531814881000,1009.5],[1531815182000,1009.5],[1531815481000,1009.5],[1531815781000,1009.4],[1531816081000,1009.2],[1531816381000,1009.2],[1531816682000,1008.9],[1531816981000,1009.1],[1531817281000,1009.1],[1531817582000,1009.2],[1531817881000,1008.8],[1531818181000,1008.5],[1531818481000,1008.8],[1531818781000,1009.2],[1531819081000,1009],[1531819381000,1008.6],[1531819681000,1008.9],[1531819981000,1008.9],[1531820281000,1008.5],[1531820581000,1008.4],[1531820881000,1008.3],[1531821181000,1008.2],[1531821481000,1008.3],[1531821781000,1008.3],[1531822081000,1008.3],[1531822381000,1008.2],[1531822681000,1008.2],[1531822981000,1008.3],[1531823281000,1008.2],[1531823581000,1008.2],[1531823881000,1008.2],[1531824181000,1008.2],[1531824481000,1008.2],[1531824781000,1008.2],[1531825081000,1008.1],[1531825381000,1008.1],[1531825681000,1008],[1531825981000,1007.9],[1531826281000,1007.9],[1531826581000,1007.8],[1531826881000,1007.8],[1531827181000,1007.6],[1531827481000,1007.6],[1531827781000,1007.5],[1531828081000,1007.5],[1531828381000,1007.5],[1531828681000,1007.4],[1531828981000,1007.3],[1531829281000,1007.3],[1531829581000,1007.1],[1531829881000,1007.3],[1531830182000,1007.9],[1531830481000,1008.8],[1531830781000,1009.9],[1531831081000,1010],[1531831381000,1009.5],[1531831681000,1009.3],[1531831981000,1009.2],[1531832281000,1009.1],[1531832581000,1009],[1531832881000,1008.9],[1531833181000,1008.5],[1531833481000,1008.2],[1531833781000,1008.4],[1531834081000,1008],[1531834381000,1008.2],[1531834681000,1008.4],[1531834981000,1008.5],[1531835281000,1008.7],[1531835581000,1008.8],[1531835881000,1008.9],[1531836181000,1008.9],[1531836481000,1009.1],[1531836781000,1009.1],[1531837081000,1009],[1531837381000,1009],[1531837681000,1009],[1531837981000,1009],[1531838281000,1009],[1531838581000,1008.9],[1531838882000,1008.8],[1531839181000,1008.9],[1531839481000,1009],[1531839781000,1009.1],[1531840081000,1009],[1531840381000,1008.9],[1531840681000,1008.8],[1531840981000,1008.9],[1531841281000,1009.1],[1531841581000,1008.9],[1531841881000,1009],[1531842181000,1009],[1531842481000,1009],[1531842781000,1009],[1531843081000,1009.1],[1531843381000,1009.2],[1531843681000,1009.3],[1531843981000,1009.4],[1531844281000,1009.4],[1531844581000,1009.4],[1531844881000,1009.4],[1531845181000,1009.3],[1531845481000,1009.3],[1531845781000,1009.3],[1531846081000,1009.4],[1531846381000,1009.4],[1531846682000,1009.4],[1531846981000,1009.5],[1531847281000,1009.5],[1531847581000,1009.4],[1531847881000,1009.5],[1531848181000,1009.6],[1531848481000,1009.5],[1531848781000,1009.5],[1531849081000,1009.5],[1531849381000,1009.5],[1531849681000,1009.6],[1531849981000,1009.6],[1531850281000,1009.7],[1531850581000,1009.7],[1531850881000,1009.7],[1531851181000,1009.7],[1531851481000,1009.6],[1531851781000,1009.7],[1531852081000,1009.7],[1531852381000,1009.8],[1531852682000,1009.8],[1531852981000,1009.9],[1531853281000,1009.9],[1531853581000,1010],[1531853881000,1010],[1531854181000,1010.1],[1531854481000,1010.2],[1531854781000,1010.2],[1531855081000,1010.2],[1531855381000,1010.2],[1531855681000,1010.3],[1531855981000,1010.3],[1531856281000,1010.2],[1531856581000,1010.2],[1531856881000,1010.2],[1531857181000,1010.2],[1531857481000,1010.2],[1531857781000,1010.1],[1531858081000,1010.2],[1531858381000,1010.2],[1531858681000,1010.2],[1531858981000,1010.2],[1531859282000,1010.1],[1531859581000,1010.2],[1531859882000,1010.2],[1531860181000,1010.2],[1531860481000,1010.2],[1531860781000,1010.2],[1531861081000,1010.3],[1531861381000,1010.2],[1531861681000,1010.3],[1531861981000,1010.3],[1531862281000,1010.3],[1531862581000,1010.2],[1531862881000,1010.3],[1531863181000,1010.3],[1531863481000,1010.3],[1531863781000,1010.3],[1531864082000,1010.3],[1531864381000,1010.4],[1531864682000,1010.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: [[1531778400000,2.279999988],[1531778580000,4.176],[1531778880000,5.616],[1531779180000,1.512],[1531779480000,0.792],[1531779780000,0.432],[1531780080000,6.696],[1531780380000,6.048],[1531780680000,3.744],[1531780980000,9.864],[1531781280000,6.624],[1531781580000,6.912],[1531781880000,9.72],[1531782180000,9],[1531782480000,5.688],[1531782780000,6.264],[1531783080000,4.32],[1531783380000,10.152],[1531783680000,7.2],[1531783980000,7.704],[1531784280000,3.744],[1531784580000,0.936],[1531784880000,3.816],[1531785180000,4.176],[1531785480000,2.52],[1531785780000,1.872],[1531786080000,3.816],[1531786380000,1.872],[1531786680000,0],[1531786980000,2.736],[1531787280000,2.376],[1531787580000,1.152],[1531787880000,0.504],[1531788180000,0.072],[1531788480000,0],[1531788780000,1.8],[1531789080000,3.672],[1531789380000,4.968],[1531789680000,3.816],[1531789980000,2.16],[1531790280000,5.112],[1531790580000,14.544],[1531790880000,11.592],[1531791180000,12.096],[1531791480000,9.648],[1531791780000,4.32],[1531792080000,7.056],[1531792380000,6.12],[1531792680000,9.144],[1531792980000,9.144],[1531793280000,11.088],[1531793580000,9],[1531793880000,8.136],[1531794180000,5.76],[1531794480000,3.024],[1531794780000,3.96],[1531795080000,3.888],[1531795380000,4.032],[1531795680000,2.952],[1531795980000,4.536],[1531796280000,12.24],[1531796580000,14.256],[1531796880000,9.72],[1531797180000,16.56],[1531797480000,16.056],[1531797780000,20.16],[1531798080000,13.464],[1531798380000,23.832],[1531798680000,20.376],[1531798980000,17.712],[1531799280000,10.872],[1531799580000,18.576],[1531799880000,10.584],[1531800180000,18.432],[1531800480000,12.888],[1531800780000,13.392],[1531801080000,17.136],[1531801380000,10.656],[1531801680000,13.248],[1531801980000,7.128],[1531802280000,10.728],[1531802580000,9.432],[1531802880000,7.632],[1531803180000,7.2],[1531803480000,11.16],[1531803780000,10.152],[1531804080000,7.56],[1531804380000,6.768],[1531804680000,5.616],[1531804980000,11.592],[1531805280000,8.424],[1531805580000,5.112],[1531805880000,9.36],[1531806180000,7.704],[1531806480000,9.144],[1531806780000,8.208],[1531807080000,6.984],[1531807380000,7.704],[1531807680000,7.2],[1531807980000,8.928],[1531808280000,12.384],[1531808580000,8.712],[1531808880000,11.88],[1531809180000,5.76],[1531809480000,8.136],[1531809780000,12.456],[1531810080000,7.344],[1531810380000,7.704],[1531810680000,11.232],[1531810980000,11.664],[1531811280000,11.736],[1531811580000,15.768],[1531811880000,11.592],[1531812180000,12.024],[1531812480000,9.072],[1531812780000,12.096],[1531813080000,14.688],[1531813380000,13.752],[1531813680000,15.768],[1531813980000,9.144],[1531814280000,10.296],[1531814580000,9.144],[1531814880000,8.784],[1531815180000,9.288],[1531815480000,11.16],[1531815780000,8.208],[1531816080000,7.2],[1531816380000,11.808],[1531816680000,9.576],[1531816980000,15.48],[1531817280000,13.104],[1531817580000,11.52],[1531817880000,9.144],[1531818180000,7.92],[1531818480000,9.864],[1531818780000,10.08],[1531819080000,11.304],[1531819380000,8.136],[1531819680000,8.208],[1531819980000,10.512],[1531820280000,12.816],[1531820580000,7.704],[1531820880000,9.936],[1531821180000,11.376],[1531821480000,16.128],[1531821780000,11.952],[1531822080000,12.816],[1531822380000,12.816],[1531822680000,12.168],[1531822980000,18.576],[1531823280000,16.344],[1531823580000,15.048],[1531823880000,18],[1531824180000,12.816],[1531824480000,15.408],[1531824780000,14.328],[1531825080000,16.992],[1531825380000,12.24],[1531825680000,14.976],[1531825980000,16.92],[1531826280000,22.104],[1531826580000,13.608],[1531826880000,20.376],[1531827180000,17.496],[1531827480000,15.912],[1531827780000,17.064],[1531828080000,19.152],[1531828380000,15.984],[1531828680000,19.08],[1531828980000,20.736],[1531829280000,19.296],[1531829580000,21.384],[1531829880000,20.232],[1531830180000,16.344],[1531830480000,21.744],[1531830780000,22.248],[1531831080000,20.664],[1531831380000,11.736],[1531831680000,8.496],[1531831980000,6.48],[1531832280000,6.768],[1531832580000,7.56],[1531832880000,8.568],[1531833180000,7.776],[1531833480000,13.752],[1531833780000,7.992],[1531834080000,10.008],[1531834380000,14.616],[1531834680000,13.392],[1531834980000,14.832],[1531835280000,11.88],[1531835580000,9.36],[1531835880000,11.376],[1531836180000,12.456],[1531836480000,10.728],[1531836780000,8.352],[1531837080000,8.64],[1531837380000,9.072],[1531837680000,9.72],[1531837980000,8.208],[1531838280000,11.088],[1531838580000,12.456],[1531838880000,10.656],[1531839180000,7.992],[1531839480000,4.968],[1531839780000,6.696],[1531840080000,7.344],[1531840380000,12.456],[1531840680000,6.912],[1531840980000,11.376],[1531841280000,9.72],[1531841580000,9.864],[1531841880000,8.064],[1531842180000,6.48],[1531842480000,11.376],[1531842780000,7.416],[1531843080000,9.144],[1531843380000,10.008],[1531843680000,8.568],[1531843980000,6.552],[1531844280000,6.552],[1531844580000,6.48],[1531844880000,5.544],[1531845180000,5.544],[1531845480000,6.192],[1531845780000,6.48],[1531846080000,6.048],[1531846380000,5.04],[1531846680000,4.608],[1531846980000,4.464],[1531847280000,4.824],[1531847580000,3.096],[1531847880000,1.944],[1531848180000,2.592],[1531848480000,4.248],[1531848780000,3.672],[1531849080000,3.096],[1531849380000,2.736],[1531849680000,3.24],[1531849980000,2.88],[1531850280000,0.864],[1531850580000,0.432],[1531850880000,1.08],[1531851180000,0.288],[1531851480000,0],[1531851780000,0.288],[1531852080000,1.224],[1531852380000,1.296],[1531852680000,0.576],[1531852980000,0.504],[1531853280000,0.792],[1531853580000,2.448],[1531853880000,2.736],[1531854180000,0.144],[1531854480000,1.872],[1531854780000,2.664],[1531855080000,0.864],[1531855380000,0.936],[1531855680000,1.8],[1531855980000,1.512],[1531856280000,1.008],[1531856580000,0],[1531856880000,0],[1531857180000,0],[1531857480000,0],[1531857780000,0],[1531858080000,2.232],[1531858380000,2.448],[1531858680000,0],[1531858980000,0],[1531859280000,0],[1531859580000,1.224],[1531859880000,1.224],[1531860180000,0],[1531860480000,0],[1531860780000,0],[1531861080000,1.584],[1531861380000,3.816],[1531861680000,3.96],[1531861980000,4.392],[1531862280000,1.656],[1531862580000,1.296],[1531862880000,1.944],[1531863180000,5.184],[1531863480000,3.744],[1531863780000,3.6],[1531864080000,3.024],[1531864380000,0.576],[1531864680000,0.240000012],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1531778400000,3.411600012],[1531778580000,6.5376],[1531778880000,8.9064],[1531779180000,2.50488],[1531779480000,1.30608],[1531779780000,0.61056],[1531780080000,11.56104],[1531780380000,9.24336],[1531780680000,5.80824],[1531780980000,16.24608],[1531781280000,10.51704],[1531781580000,11.11464],[1531781880000,18.756],[1531782180000,14.24952],[1531782480000,9.02376],[1531782780000,10.1376],[1531783080000,7.00128],[1531783380000,17.34048],[1531783680000,12.05064],[1531783980000,13.10544],[1531784280000,5.81832],[1531784580000,1.36296],[1531784880000,6.012],[1531785180000,7.4196],[1531785480000,3.8412],[1531785780000,2.83752],[1531786080000,6.53616],[1531786380000,2.8656],[1531786680000,0],[1531786980000,4.12848],[1531787280000,3.8412],[1531787580000,1.74024],[1531787880000,0.87264],[1531788180000,0.01368],[1531788480000,0.02088],[1531788780000,2.71224],[1531789080000,5.66712],[1531789380000,7.7868],[1531789680000,6.02496],[1531789980000,3.40632],[1531790280000,8.93664],[1531790580000,26.45712],[1531790880000,20.85336],[1531791180000,21.77496],[1531791480000,17.25912],[1531791780000,7.52544],[1531792080000,12.0564],[1531792380000,10.66968],[1531792680000,15.70896],[1531792980000,17.30376],[1531793280000,19.2384],[1531793580000,15.04584],[1531793880000,13.39272],[1531794180000,9.66816],[1531794480000,4.68504],[1531794780000,6.57864],[1531795080000,6.02136],[1531795380000,6.21792],[1531795680000,4.71312],[1531795980000,8.02872],[1531796280000,21.07008],[1531796580000,24.2568],[1531796880000,16.51536],[1531797180000,29.53944],[1531797480000,30.47616],[1531797780000,30.8871],[1531798080000,24.3936],[1531798380000,38.5533],[1531798680000,39.63024],[1531798980000,32.50224],[1531799280000,19.29096],[1531799580000,34.68744],[1531799880000,18.2016],[1531800180000,33.32376],[1531800480000,22.15008],[1531800780000,23.83056],[1531801080000,30.55536],[1531801380000,19.54512],[1531801680000,23.47848],[1531801980000,11.9952],[1531802280000,18.24336],[1531802580000,15.94512],[1531802880000,13.50864],[1531803180000,11.65104],[1531803480000,18.9576],[1531803780000,17.03808],[1531804080000,12.25944],[1531804380000,11.052],[1531804680000,9.11376],[1531804980000,19.09656],[1531805280000,14.31072],[1531805580000,8.20872],[1531805880000,16.29216],[1531806180000,13.2984],[1531806480000,15.97608],[1531806780000,14.31288],[1531807080000,12.30912],[1531807380000,14.03424],[1531807680000,12.01968],[1531807980000,15.29136],[1531808280000,22.74192],[1531808580000,15.55128],[1531808880000,20.1312],[1531809180000,9.57528],[1531809480000,13.86648],[1531809780000,21.50496],[1531810080000,12.37104],[1531810380000,13.03992],[1531810680000,19.74816],[1531810980000,20.268],[1531811280000,21.25944],[1531811580000,27.85896],[1531811880000,21.77928],[1531812180000,21.4704],[1531812480000,16.2],[1531812780000,21.20472],[1531813080000,27.31752],[1531813380000,25.68528],[1531813680000,27.85104],[1531813980000,15.42168],[1531814280000,17.5392],[1531814580000,15.01488],[1531814880000,14.44392],[1531815180000,15.49008],[1531815480000,19.06488],[1531815780000,13.7952],[1531816080000,11.88792],[1531816380000,21.23496],[1531816680000,16.47576],[1531816980000,27.11304],[1531817280000,24.01056],[1531817580000,19.4724],[1531817880000,15.4044],[1531818180000,13.19328],[1531818480000,16.84656],[1531818780000,17.00424],[1531819080000,19.39536],[1531819380000,13.55328],[1531819680000,13.62456],[1531819980000,18.26352],[1531820280000,24.10272],[1531820580000,13.10328],[1531820880000,17.48736],[1531821180000,20.37816],[1531821480000,28.82448],[1531821780000,20.54592],[1531822080000,23.79384],[1531822380000,22.37184],[1531822680000,21.61152],[1531822980000,33.75216],[1531823280000,30.13416],[1531823580000,28.05984],[1531823880000,32.094],[1531824180000,22.6152],[1531824480000,27.74736],[1531824780000,25.54056],[1531825080000,30.42288],[1531825380000,21.92112],[1531825680000,27.28584],[1531825980000,31.98384],[1531826280000,42.174],[1531826580000,23.41224],[1531826880000,38.75112],[1531827180000,32.37768],[1531827480000,28.89936],[1531827780000,32.1336],[1531828080000,36.20016],[1531828380000,28.30536],[1531828680000,35.02656],[1531828980000,38.2896],[1531829340000,32.1282],[1531829580000,39.8052],[1531829880000,36.53208],[1531830180000,30.03192],[1531830480000,38.5956],[1531830780000,43.78752],[1531831080000,38.27448],[1531831380000,20.7396],[1531831680000,14.8428],[1531831980000,10.66032],[1531832280000,10.8828],[1531832580000,12.74472],[1531832880000,14.02704],[1531833180000,12.70368],[1531833480000,25.09272],[1531833780000,14.2848],[1531834080000,17.34264],[1531834380000,26.4168],[1531834680000,23.98896],[1531834980000,27.15336],[1531835280000,21.47904],[1531835580000,16.08264],[1531835880000,19.57608],[1531836180000,22.20408],[1531836480000,18.14688],[1531836780000,14.05944],[1531837080000,14.93928],[1531837380000,15.4512],[1531837680000,16.59024],[1531837980000,14.35536],[1531838280000,19.37304],[1531838580000,21.75768],[1531838880000,17.91],[1531839180000,13.5792],[1531839480000,8.06112],[1531839780000,10.84392],[1531840080000,12.00888],[1531840380000,21.85128],[1531840680000,11.32848],[1531840980000,19.95048],[1531841280000,16.20216],[1531841580000,17.63568],[1531841880000,13.72896],[1531842180000,10.6632],[1531842480000,19.29744],[1531842780000,12.27096],[1531843080000,15.64488],[1531843380000,17.8956],[1531843680000,14.93928],[1531843980000,11.14344],[1531844280000,11.74752],[1531844580000,10.73952],[1531844880000,9.18504],[1531845180000,9.144],[1531845480000,10.2204],[1531845780000,10.80072],[1531846080000,9.8244],[1531846380000,8.32968],[1531846680000,7.2792],[1531846980000,7.18704],[1531847280000,7.71336],[1531847580000,4.92624],[1531847880000,3.09816],[1531848180000,4.12272],[1531848480000,6.67296],[1531848780000,5.82264],[1531849080000,4.83624],[1531849380000,4.35024],[1531849680000,5.19192],[1531849980000,4.30272],[1531850280000,1.2492],[1531850580000,0.53712],[1531850880000,1.64664],[1531851180000,0.33264],[1531851480000,0],[1531851780000,0.3312],[1531852080000,1.77552],[1531852380000,1.86336],[1531852680000,0.8892],[1531852980000,0.66096],[1531853280000,1.24704],[1531853580000,3.54816],[1531853880000,4.30848],[1531854180000,0.20808],[1531854480000,2.71944],[1531854780000,3.99528],[1531855080000,1.28088],[1531855380000,1.51344],[1531855680000,2.68776],[1531855980000,2.27016],[1531856280000,1.61784],[1531856580000,0],[1531856880000,0],[1531857180000,0],[1531857480000,0],[1531857780000,0],[1531858080000,3.60288],[1531858380000,4.36968],[1531858680000,0],[1531858980000,0],[1531859280000,0],[1531859580000,2.08368],[1531859880000,1.89576],[1531860180000,0],[1531860480000,0.02088],[1531860780000,0.02808],[1531861080000,2.69856],[1531861380000,6.0588],[1531861680000,6.1704],[1531861980000,7.2648],[1531862280000,2.412],[1531862580000,2.03904],[1531862880000,2.98008],[1531863180000,8.47224],[1531863480000,6.48864],[1531863780000,5.95872],[1531864080000,4.78296],[1531864380000,0.75888],[1531864680000,0.258000012],], 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; }