var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1546815601000,0.00000000],[1546815781000,0.00000000],[1546816081000,0.00000000],[1546816381000,-0.06000000],[1546816681000,-0.24000000],[1546816981000,-0.36000000],[1546817281000,-0.46000000],[1546817581000,-0.52000000],[1546817881000,-0.58000000],[1546818181000,-0.60000000],[1546818481000,-0.60000000],[1546818781000,-0.60000000],[1546819081000,-0.60000000],[1546819381000,-0.68000000],[1546819681000,-0.70000000],[1546819981000,-0.70000000],[1546820281000,-0.74000000],[1546820581000,-0.80000000],[1546820881000,-0.80000000],[1546821181000,-0.84000000],[1546821481000,-0.86000000],[1546821781000,-0.80000000],[1546822081000,-0.80000000],[1546822381000,-0.88000000],[1546822681000,-0.88000000],[1546822981000,-0.90000000],[1546823281000,-0.98000000],[1546823581000,-0.94000000],[1546823881000,-0.90000000],[1546824181000,-0.94000000],[1546824481000,-0.98000000],[1546824781000,-1.00000000],[1546825081000,-1.00000000],[1546825381000,-1.00000000],[1546825681000,-1.04000000],[1546825981000,-1.10000000],[1546826281000,-1.10000000],[1546826581000,-1.16000000],[1546826881000,-1.20000000],[1546827181000,-1.22000000],[1546827481000,-1.24000000],[1546827781000,-1.32000000],[1546828081000,-1.46000000],[1546828381000,-1.52000000],[1546828681000,-1.58000000],[1546828981000,-1.60000000],[1546829281000,-1.72000000],[1546829581000,-1.84000000],[1546829941000,-1.95000000],[1546830181000,-2.06000000],[1546830481000,-2.26000000],[1546830781000,-2.28000000],[1546831081000,-2.20000000],[1546831381000,-2.20000000],[1546831681000,-2.12000000],[1546831981000,-2.22000000],[1546832281000,-2.28000000],[1546832581000,-2.22000000],[1546832881000,-2.26000000],[1546833181000,-2.40000000],[1546833481000,-2.48000000],[1546833781000,-2.38000000],[1546834081000,-2.28000000],[1546834381000,-2.30000000],[1546834681000,-2.40000000],[1546834981000,-2.44000000],[1546835281000,-2.48000000],[1546835581000,-2.58000000],[1546835881000,-2.62000000],[1546836181000,-2.68000000],[1546836481000,-2.80000000],[1546836781000,-2.76000000],[1546837081000,-2.86000000],[1546837381000,-2.90000000],[1546837681000,-3.14000000],[1546837981000,-3.34000000],[1546838281000,-3.34000000],[1546838581000,-3.30000000],[1546838881000,-3.28000000],[1546839181000,-3.40000000],[1546839481000,-3.44000000],[1546839781000,-3.40000000],[1546840081000,-3.38000000],[1546840381000,-3.60000000],[1546840681000,-3.72000000],[1546840981000,-3.84000000],[1546841281000,-3.96000000],[1546841581000,-4.04000000],[1546841881000,-4.02000000],[1546842181000,-4.26000000],[1546842481000,-4.48000000],[1546842781000,-4.70000000],[1546843081000,-4.72000000],[1546843381000,-4.84000000],[1546843681000,-4.90000000],[1546843981000,-4.86000000],[1546844281000,-4.96000000],[1546844581000,-5.00000000],[1546844881000,-5.04000000],[1546845181000,-4.94000000],[1546845481000,-5.10000000],[1546845781000,-5.18000000],[1546846081000,-4.92000000],[1546846381000,-4.86000000],[1546846681000,-4.80000000],[1546846981000,-4.64000000],[1546847281000,-4.60000000],[1546847581000,-4.68000000],[1546847881000,-4.66000000],[1546848181000,-4.50000000],[1546848481000,-4.02000000],[1546848781000,-2.84000000],[1546849081000,-2.38000000],[1546849381000,-2.16000000],[1546849681000,-1.66000000],[1546849981000,-1.38000000],[1546850281000,-1.38000000],[1546850581000,-0.64000000],[1546850881000,-0.76000000],[1546851181000,-1.42000000],[1546851481000,-1.46000000],[1546851781000,-1.18000000],[1546852081000,-0.78000000],[1546852381000,-0.86000000],[1546852681000,-1.24000000],[1546852981000,-1.28000000],[1546853281000,-1.32000000],[1546853581000,-1.54000000],[1546853881000,-1.32000000],[1546854181000,-1.36000000],[1546854481000,-1.28000000],[1546854781000,-1.52000000],[1546855081000,-1.36000000],[1546855381000,-1.16000000],[1546855681000,-1.12000000],[1546855981000,-1.34000000],[1546856281000,-1.34000000],[1546856581000,-1.00000000],[1546856881000,-1.06000000],[1546857181000,-0.66000000],[1546857481000,-0.82000000],[1546857781000,-0.38000000],[1546858141000,0.10000000],[1546858381000,-0.20000000],[1546858681000,-0.46000000],[1546858981000,-0.20000000],[1546859281000,-0.12000000],[1546859581000,0.00000000],[1546859881000,0.13333333],[1546860241000,0.10000000],[1546860481000,-0.16000000],[1546860781000,-0.62500000],[1546861081000,-0.78000000],[1546861381000,-1.02500000],[1546861681000,-1.12000000],[1546861981000,-1.14000000],[1546862281000,-1.28000000],[1546862581000,-1.14000000],[1546862881000,-1.00000000],[1546863181000,-1.04000000],[1546863481000,-0.94000000],[1546863781000,-0.88000000],[1546864081000,-0.68000000],[1546864381000,-0.48000000],[1546864681000,-0.40000000],[1546864981000,-0.34000000],[1546865281000,-0.24000000],[1546865581000,-0.14000000],[1546865881000,-0.22500000],[1546866242000,-0.30000000],[1546866481000,-0.28000000],[1546866781000,-0.18000000],[1546867081000,-0.24000000],[1546867381000,-0.26000000],[1546867681000,-0.26000000],[1546867981000,-0.30000000],[1546868281000,-0.20000000],[1546868581000,-0.22000000],[1546868881000,-0.26000000],[1546869181000,-0.32000000],[1546869481000,-0.38000000],[1546869781000,-0.34000000],[1546870081000,-0.20000000],[1546870381000,-0.40000000],[1546870681000,-0.62000000],[1546870981000,-0.70000000],[1546871281000,-0.80000000],[1546871581000,-0.86000000],[1546871881000,-0.90000000],[1546872181000,-0.98000000],[1546872481000,-0.96000000],[1546872781000,-1.06000000],[1546873082000,-1.10000000],[1546873381000,-1.12000000],[1546873681000,-1.20000000],[1546873981000,-1.26000000],[1546874281000,-1.30000000],[1546874581000,-1.30000000],[1546874881000,-1.36000000],[1546875181000,-1.44000000],[1546875481000,-1.50000000],[1546875781000,-1.56000000],[1546876081000,-1.60000000],[1546876381000,-1.62000000],[1546876681000,-1.70000000],[1546876981000,-1.70000000],[1546877281000,-1.70000000],[1546877581000,-1.76000000],[1546877881000,-1.80000000],[1546878181000,-1.78000000],[1546878481000,-1.80000000],[1546878781000,-1.88000000],[1546879081000,-2.00000000],[1546879381000,-2.10000000],[1546879681000,-2.18000000],[1546879981000,-2.20000000],[1546880281000,-2.20000000],[1546880581000,-2.26000000],[1546880881000,-2.30000000],[1546881181000,-2.34000000],[1546881481000,-2.40000000],[1546881781000,-2.40000000],[1546882141000,-2.40000000],[1546882381000,-2.42000000],[1546882682000,-2.44000000],[1546882981000,-2.40000000],[1546883281000,-2.40000000],[1546883581000,-2.40000000],[1546883881000,-2.40000000],[1546884181000,-2.40000000],[1546884481000,-2.42500000],[1546884781000,-2.40000000],[1546885081000,-2.42000000],[1546885381000,-2.40000000],[1546885681000,-2.40000000],[1546885981000,-2.40000000],[1546886281000,-2.40000000],[1546886581000,-2.42000000],[1546886881000,-2.44000000],[1546887181000,-2.48000000],[1546887481000,-2.48000000],[1546887781000,-2.48000000],[1546888081000,-2.50000000],[1546888381000,-2.52000000],[1546888681000,-2.50000000],[1546888982000,-2.58000000],[1546889281000,-2.60000000],[1546889581000,-2.60000000],[1546889881000,-2.60000000],[1546890181000,-2.64000000],[1546890481000,-2.66000000],[1546890781000,-2.68000000],[1546891081000,-2.62000000],[1546891381000,-2.66000000],[1546891681000,-2.64000000],[1546891981000,-2.70000000],[1546892281000,-2.70000000],[1546892581000,-2.70000000],[1546892881000,-2.66000000],[1546893181000,-2.70000000],[1546893481000,-2.80000000],[1546893781000,-2.86000000],[1546894141000,-2.82500000],[1546894381000,-2.82000000],[1546894681000,-2.82000000],[1546894981000,-2.90000000],[1546895281000,-2.86000000],[1546895581000,-2.87500000],[1546895881000,-2.90000000],[1546896181000,-2.88000000],[1546896481000,-2.88000000],[1546896781000,-2.94000000],[1546897081000,-3.00000000],[1546897381000,-3.00000000],[1546897681000,-3.00000000],[1546897981000,-3.00000000],[1546898281000,-3.06000000],[1546898581000,-3.10000000],[1546898881000,-3.16000000],[1546899181000,-3.10000000],[1546899481000,-3.12000000],[1546899781000,-3.22000000],[1546900081000,-3.20000000],[1546900381000,-3.20000000],[1546900681000,-3.26000000],[1546900981000,-3.30000000],[1546901281000,-3.28000000],[1546901581000,-3.24000000],[1546901881000,-3.20000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1546815601000,-3.6],[1546815781000,-3.6],[1546816081000,-3.6],[1546816381000,-3.9],[1546816681000,-4.3],[1546816981000,-4.8],[1546817281000,-5],[1546817581000,-5.2],[1546817881000,-5.4],[1546818181000,-5.4],[1546818481000,-5.7],[1546818781000,-5.8],[1546819081000,-5.8],[1546819381000,-6],[1546819681000,-6.1],[1546819981000,-6.1],[1546820281000,-5.9],[1546820581000,-5.9],[1546820881000,-5.8],[1546821181000,-5.9],[1546821481000,-6],[1546821781000,-6],[1546822081000,-6],[1546822381000,-5.9],[1546822681000,-6.1],[1546822981000,-6.1],[1546823281000,-6.2],[1546823581000,-6.4],[1546823881000,-6.3],[1546824181000,-6.2],[1546824481000,-6.2],[1546824781000,-6.2],[1546825081000,-6.2],[1546825381000,-6.3],[1546825681000,-6.2],[1546825981000,-6.4],[1546826281000,-6.3],[1546826581000,-6.4],[1546826881000,-6.4],[1546827181000,-6.3],[1546827481000,-6.3],[1546827781000,-6.2],[1546828081000,-6.1],[1546828381000,-6.3],[1546828681000,-6.3],[1546828981000,-6.3],[1546829281000,-6.4],[1546829581000,-6.5],[1546830181000,-6.3],[1546830481000,-6.4],[1546830781000,-6.5],[1546831081000,-6.5],[1546831381000,-6.6],[1546831681000,-6.5],[1546831981000,-6.5],[1546832281000,-6.6],[1546832581000,-6.6],[1546832881000,-6.7],[1546833181000,-6.7],[1546833481000,-6.8],[1546833781000,-6.9],[1546834081000,-6.9],[1546834381000,-6.9],[1546834681000,-7],[1546834981000,-7.1],[1546835281000,-6.9],[1546835581000,-7],[1546835881000,-7.1],[1546836181000,-7.1],[1546836481000,-7],[1546836781000,-6.9],[1546837081000,-7],[1546837381000,-6.9],[1546837681000,-6.8],[1546837981000,-6.9],[1546838281000,-7.1],[1546838581000,-7.1],[1546838881000,-7],[1546839181000,-7],[1546839481000,-6.8],[1546839781000,-6.9],[1546840081000,-6.9],[1546840381000,-7.1],[1546840681000,-7.2],[1546840981000,-7.2],[1546841281000,-7.1],[1546841581000,-7.1],[1546841881000,-7.1],[1546842181000,-7.1],[1546842481000,-7.3],[1546842781000,-7.4],[1546843081000,-7.2],[1546843381000,-7.4],[1546843681000,-7.3],[1546843981000,-7.3],[1546844281000,-7.3],[1546844581000,-7.3],[1546844881000,-7.3],[1546845181000,-7.2],[1546845481000,-7.4],[1546845781000,-7.6],[1546846081000,-7.4],[1546846381000,-7.3],[1546846681000,-7.3],[1546846981000,-7.3],[1546847281000,-7.3],[1546847581000,-7.4],[1546847881000,-7.3],[1546848181000,-7.2],[1546848481000,-7.1],[1546848781000,-6.9],[1546849081000,-6.7],[1546849381000,-6.7],[1546849981000,-7.1],[1546850281000,-7.3],[1546850581000,-7.6],[1546850881000,-7.9],[1546851181000,-8.5],[1546851481000,-8.7],[1546851781000,-8.6],[1546852081000,-8.7],[1546852381000,-8.9],[1546852681000,-9.1],[1546852981000,-9.1],[1546853281000,-8.9],[1546853581000,-9],[1546853881000,-9.2],[1546854181000,-9.2],[1546854481000,-9.1],[1546854781000,-9.3],[1546855081000,-9.3],[1546855381000,-9.2],[1546855681000,-9.4],[1546855981000,-9.2],[1546856281000,-9.4],[1546856581000,-9.4],[1546856881000,-9.2],[1546857181000,-9.1],[1546857481000,-9.2],[1546857781000,-9],[1546858381000,-9],[1546858681000,-8.8],[1546858981000,-9],[1546859281000,-8.8],[1546859581000,-8.8],[1546859881000,-8.5],[1546860481000,-8.7],[1546860781000,-8.7],[1546861081000,-8.3],[1546861381000,-8.5],[1546861681000,-8.7],[1546861981000,-8.5],[1546862281000,-8.6],[1546862581000,-8.7],[1546862881000,-8.8],[1546863181000,-8.6],[1546863481000,-8.4],[1546863781000,-8.5],[1546864081000,-8.4],[1546864381000,-8.5],[1546864681000,-8.4],[1546864981000,-8.3],[1546865281000,-8.3],[1546865581000,-8.2],[1546865881000,-8],[1546866481000,-7.9],[1546866781000,-7.7],[1546867081000,-7.8],[1546867381000,-7.7],[1546867681000,-7.6],[1546867981000,-7.6],[1546868281000,-7.6],[1546868581000,-7.6],[1546868881000,-7.5],[1546869181000,-7.8],[1546869481000,-7.6],[1546869781000,-7.7],[1546870081000,-7.7],[1546870381000,-7.7],[1546870681000,-7.4],[1546870981000,-7.6],[1546871281000,-7.6],[1546871581000,-7.5],[1546871881000,-7.5],[1546872181000,-7.6],[1546872481000,-7.7],[1546872781000,-7.5],[1546873381000,-7.6],[1546873681000,-7.6],[1546873981000,-7.3],[1546874281000,-7.5],[1546874581000,-7.3],[1546874881000,-7.3],[1546875181000,-7.1],[1546875481000,-7],[1546875781000,-7],[1546876081000,-7.1],[1546876381000,-7],[1546876681000,-7.1],[1546876981000,-7.2],[1546877281000,-7.2],[1546877581000,-7.2],[1546877881000,-7.2],[1546878181000,-7.1],[1546878481000,-7.1],[1546878781000,-6.8],[1546879081000,-6.7],[1546879381000,-7.1],[1546879681000,-7],[1546879981000,-7],[1546880281000,-7.1],[1546880581000,-6.9],[1546880881000,-6.9],[1546881181000,-7.1],[1546881481000,-7.1],[1546881781000,-7.3],[1546882381000,-7.6],[1546882682000,-7.7],[1546882981000,-7.8],[1546883281000,-7.7],[1546883581000,-7.7],[1546883881000,-7.6],[1546884181000,-7.5],[1546884481000,-7.5],[1546884781000,-7.5],[1546885081000,-7.6],[1546885381000,-7.7],[1546885681000,-7.7],[1546885981000,-7.5],[1546886281000,-7.6],[1546886581000,-7.7],[1546886881000,-7.7],[1546887181000,-7.8],[1546887481000,-7.7],[1546887781000,-7.3],[1546888081000,-7.2],[1546888381000,-7.2],[1546888681000,-7.2],[1546888982000,-7.3],[1546889281000,-7.2],[1546889581000,-7.2],[1546889881000,-7.4],[1546890181000,-7.8],[1546890481000,-7.9],[1546890781000,-8.1],[1546891081000,-8.2],[1546891381000,-8.5],[1546891681000,-8.3],[1546891981000,-8.2],[1546892281000,-8.3],[1546892581000,-8.2],[1546892881000,-8],[1546893181000,-7.8],[1546893481000,-7.5],[1546893781000,-7.3],[1546894381000,-6.7],[1546894681000,-6.1],[1546894981000,-5.7],[1546895281000,-5.6],[1546895581000,-5.4],[1546895881000,-5.3],[1546896181000,-5.2],[1546896481000,-5.1],[1546896781000,-4.9],[1546897081000,-4.8],[1546897381000,-4.6],[1546897681000,-4.6],[1546897981000,-4.5],[1546898281000,-4.5],[1546898581000,-4.5],[1546898881000,-4.5],[1546899181000,-4.4],[1546899481000,-4.4],[1546899781000,-4.5],[1546900081000,-4.4],[1546900381000,-4.3],[1546900681000,-4.4],[1546900981000,-4.4],[1546901281000,-4.4],[1546901581000,-4.4],[1546901881000,-4.4],], 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: [[1546815601000,77.16666667],[1546815781000,76.82000000],[1546816081000,76.98000000],[1546816381000,75.38000000],[1546816681000,74.24000000],[1546816981000,72.06000000],[1546817281000,71.54000000],[1546817581000,71.12000000],[1546817881000,70.46000000],[1546818181000,70.38000000],[1546818481000,68.64000000],[1546818781000,68.44000000],[1546819081000,68.14000000],[1546819381000,67.72000000],[1546819681000,67.10000000],[1546819981000,67.38000000],[1546820281000,68.16000000],[1546820581000,68.60000000],[1546820881000,69.12000000],[1546821181000,68.92000000],[1546821481000,68.38000000],[1546821781000,68.30000000],[1546822081000,68.44000000],[1546822381000,69.10000000],[1546822681000,68.22000000],[1546822981000,68.12000000],[1546823281000,67.96000000],[1546823581000,66.94000000],[1546823881000,67.34000000],[1546824181000,67.94000000],[1546824481000,67.88000000],[1546824781000,68.06000000],[1546825081000,67.92000000],[1546825381000,67.78000000],[1546825681000,68.30000000],[1546825981000,67.62000000],[1546826281000,68.36000000],[1546826581000,68.04000000],[1546826881000,68.08000000],[1546827181000,68.52000000],[1546827481000,69.08000000],[1546827781000,69.68000000],[1546828081000,70.84000000],[1546828381000,70.44000000],[1546828681000,70.66000000],[1546828981000,70.76000000],[1546829281000,70.88000000],[1546829581000,71.00000000],[1546829881000,71.46000000],[1546830181000,72.80000000],[1546830481000,73.36000000],[1546830781000,73.00000000],[1546831081000,72.50000000],[1546831381000,72.40000000],[1546831681000,72.54000000],[1546831981000,72.78000000],[1546832281000,72.44000000],[1546832581000,72.02000000],[1546832881000,72.10000000],[1546833181000,72.38000000],[1546833481000,72.66000000],[1546833781000,71.42000000],[1546834081000,71.06000000],[1546834381000,70.94000000],[1546834681000,71.06000000],[1546834981000,70.92000000],[1546835281000,71.74000000],[1546835581000,72.14000000],[1546835881000,71.78000000],[1546836181000,72.12000000],[1546836481000,72.86000000],[1546836781000,73.34000000],[1546837081000,73.66000000],[1546837381000,74.16000000],[1546837681000,75.88000000],[1546837981000,76.62000000],[1546838281000,75.78000000],[1546838581000,75.38000000],[1546838881000,75.94000000],[1546839181000,76.20000000],[1546839481000,77.82000000],[1546839781000,77.00000000],[1546840081000,76.80000000],[1546840381000,76.84000000],[1546840681000,77.06000000],[1546840981000,77.84000000],[1546841281000,79.02000000],[1546841581000,79.58000000],[1546841881000,79.24000000],[1546842181000,81.02000000],[1546842481000,80.72000000],[1546842781000,81.92000000],[1546843081000,82.98000000],[1546843381000,82.62000000],[1546843681000,83.46000000],[1546843981000,83.14000000],[1546844281000,83.56000000],[1546844581000,84.20000000],[1546844881000,84.38000000],[1546845181000,84.16000000],[1546845481000,84.06000000],[1546845781000,83.46000000],[1546846081000,83.22000000],[1546846381000,83.06000000],[1546846681000,82.66000000],[1546846981000,82.02000000],[1546847281000,81.50000000],[1546847581000,81.78000000],[1546847881000,81.80000000],[1546848181000,81.36000000],[1546848481000,79.42000000],[1546848781000,74.14000000],[1546849081000,72.42000000],[1546849381000,71.12000000],[1546849682000,67.54000000],[1546849981000,65.60000000],[1546850281000,64.28000000],[1546850581000,59.74000000],[1546850881000,58.92000000],[1546851181000,59.14000000],[1546851481000,58.32000000],[1546851781000,57.62000000],[1546852081000,55.60000000],[1546852381000,55.06000000],[1546852681000,55.56000000],[1546852981000,55.82000000],[1546853281000,56.60000000],[1546853581000,57.10000000],[1546853881000,55.62000000],[1546854181000,55.44000000],[1546854481000,55.76000000],[1546854781000,55.92000000],[1546855081000,55.36000000],[1546855381000,54.96000000],[1546855681000,53.72000000],[1546855981000,55.38000000],[1546856281000,54.46000000],[1546856581000,53.30000000],[1546856881000,54.46000000],[1546857181000,53.20000000],[1546857481000,53.62000000],[1546857781000,52.46000000],[1546858081000,50.70000000],[1546858381000,51.92000000],[1546858681000,53.76000000],[1546858981000,52.06000000],[1546859281000,52.48000000],[1546859581000,52.08000000],[1546859881000,52.70000000],[1546860181000,53.16000000],[1546860481000,53.02000000],[1546860781000,54.86000000],[1546861081000,56.98000000],[1546861381000,57.44000000],[1546861681000,56.82000000],[1546861981000,57.60000000],[1546862281000,57.68000000],[1546862581000,56.76000000],[1546862881000,56.04000000],[1546863181000,57.00000000],[1546863481000,57.20000000],[1546863781000,56.56000000],[1546864081000,56.44000000],[1546864381000,54.96000000],[1546864681000,54.98000000],[1546864981000,55.24000000],[1546865281000,55.08000000],[1546865581000,54.92000000],[1546865881000,56.18000000],[1546866181000,56.76000000],[1546866481000,56.70000000],[1546866781000,57.20000000],[1546867081000,57.30000000],[1546867381000,57.48000000],[1546867681000,57.96000000],[1546867981000,58.42000000],[1546868281000,57.94000000],[1546868581000,57.96000000],[1546868881000,58.64000000],[1546869181000,57.48000000],[1546869481000,58.38000000],[1546869781000,57.92000000],[1546870081000,57.20000000],[1546870381000,58.30000000],[1546870681000,60.60000000],[1546870981000,59.82000000],[1546871281000,60.26000000],[1546871581000,61.02000000],[1546871881000,61.42000000],[1546872181000,60.96000000],[1546872481000,60.72000000],[1546872781000,61.84000000],[1546873081000,62.76000000],[1546873381000,61.86000000],[1546873681000,62.02000000],[1546873981000,63.70000000],[1546874281000,63.32000000],[1546874581000,63.98000000],[1546874881000,64.22000000],[1546875181000,65.66000000],[1546875481000,66.34000000],[1546875781000,66.86000000],[1546876081000,66.26000000],[1546876381000,66.98000000],[1546876681000,66.80000000],[1546876981000,66.50000000],[1546877281000,66.30000000],[1546877581000,66.80000000],[1546877881000,66.98000000],[1546878181000,67.30000000],[1546878481000,67.62000000],[1546878781000,69.22000000],[1546879081000,70.36000000],[1546879381000,68.88000000],[1546879681000,69.84000000],[1546879981000,70.08000000],[1546880281000,69.70000000],[1546880581000,71.04000000],[1546880881000,71.10000000],[1546881181000,70.42000000],[1546881481000,70.46000000],[1546881781000,69.20000000],[1546882081000,68.16000000],[1546882381000,68.20000000],[1546882682000,67.34000000],[1546882981000,67.00000000],[1546883281000,67.52000000],[1546883581000,67.34000000],[1546883881000,68.08000000],[1546884181000,68.46000000],[1546884481000,68.46000000],[1546884781000,68.40000000],[1546885081000,67.86000000],[1546885381000,67.14000000],[1546885681000,67.54000000],[1546885981000,68.26000000],[1546886281000,68.00000000],[1546886581000,67.68000000],[1546886881000,67.50000000],[1546887181000,67.14000000],[1546887481000,67.90000000],[1546887781000,69.56000000],[1546888081000,70.36000000],[1546888381000,70.56000000],[1546888681000,70.70000000],[1546888982000,70.28000000],[1546889281000,70.84000000],[1546889581000,71.00000000],[1546889881000,69.84000000],[1546890181000,67.94000000],[1546890481000,67.54000000],[1546890781000,66.80000000],[1546891081000,65.64000000],[1546891381000,64.74000000],[1546891681000,65.62000000],[1546891981000,66.06000000],[1546892281000,65.82000000],[1546892581000,66.24000000],[1546892881000,67.20000000],[1546893181000,68.48000000],[1546893481000,70.48000000],[1546893781000,71.94000000],[1546894081000,72.42000000],[1546894381000,74.74000000],[1546894681000,78.22000000],[1546894981000,81.12000000],[1546895281000,81.66000000],[1546895581000,82.78000000],[1546895881000,83.82000000],[1546896181000,84.14000000],[1546896481000,84.84000000],[1546896781000,86.62000000],[1546897081000,87.62000000],[1546897381000,88.56000000],[1546897681000,89.00000000],[1546897981000,89.30000000],[1546898281000,89.80000000],[1546898581000,90.26000000],[1546898881000,90.70000000],[1546899181000,90.86000000],[1546899481000,90.98000000],[1546899781000,91.20000000],[1546900081000,91.74000000],[1546900381000,92.00000000],[1546900681000,92.18000000],[1546900981000,92.40000000],[1546901281000,91.86000000],[1546901581000,91.80000000],[1546901881000,91.70000000],], 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: [[1546815601000,1027.8],[1546815781000,1027.8],[1546816081000,1027.9],[1546816381000,1028],[1546816681000,1028],[1546816981000,1028.1],[1546817281000,1028.2],[1546817581000,1028.2],[1546817881000,1028.3],[1546818181000,1028.4],[1546818481000,1028.3],[1546818781000,1028.4],[1546819081000,1028.3],[1546819381000,1028.3],[1546819681000,1028.3],[1546819981000,1028.4],[1546820281000,1028.4],[1546820581000,1028.4],[1546820881000,1028.5],[1546821181000,1028.5],[1546821481000,1028.5],[1546821781000,1028.6],[1546822081000,1028.6],[1546822381000,1028.6],[1546822681000,1028.7],[1546822981000,1028.8],[1546823281000,1028.8],[1546823581000,1028.9],[1546823881000,1028.9],[1546824181000,1028.9],[1546824481000,1028.9],[1546824781000,1028.8],[1546825081000,1028.9],[1546825381000,1028.9],[1546825681000,1028.9],[1546825981000,1028.9],[1546826281000,1029],[1546826581000,1029],[1546826881000,1029],[1546827181000,1029],[1546827481000,1029],[1546827781000,1029],[1546828081000,1029],[1546828381000,1028.9],[1546828681000,1028.8],[1546828981000,1028.8],[1546829281000,1028.8],[1546829581000,1028.8],[1546830181000,1028.8],[1546830481000,1028.8],[1546830781000,1028.8],[1546831081000,1028.9],[1546831381000,1028.8],[1546831681000,1028.8],[1546831981000,1028.8],[1546832281000,1028.8],[1546832581000,1028.9],[1546832881000,1028.9],[1546833181000,1029],[1546833481000,1029.1],[1546833781000,1029.1],[1546834081000,1029.1],[1546834381000,1029.1],[1546834681000,1029.1],[1546834981000,1029.1],[1546835281000,1029.2],[1546835581000,1029.2],[1546835881000,1029.2],[1546836181000,1029.3],[1546836481000,1029.3],[1546836781000,1029.3],[1546837081000,1029.5],[1546837381000,1029.5],[1546837681000,1029.6],[1546837981000,1029.7],[1546838281000,1029.7],[1546838581000,1029.8],[1546838881000,1029.8],[1546839181000,1029.9],[1546839481000,1029.9],[1546839781000,1029.9],[1546840081000,1030],[1546840381000,1030],[1546840681000,1030.1],[1546840981000,1030.2],[1546841281000,1030.2],[1546841581000,1030.2],[1546841881000,1030.3],[1546842181000,1030.2],[1546842481000,1030.3],[1546842781000,1030.4],[1546843081000,1030.5],[1546843381000,1030.5],[1546843681000,1030.5],[1546843981000,1030.5],[1546844281000,1030.6],[1546844581000,1030.7],[1546844881000,1030.7],[1546845181000,1030.8],[1546845481000,1030.8],[1546845781000,1030.9],[1546846081000,1030.9],[1546846381000,1031],[1546846681000,1031.1],[1546846981000,1031.1],[1546847281000,1031.1],[1546847581000,1031],[1546847881000,1031.1],[1546848181000,1031.1],[1546848481000,1031],[1546848781000,1031],[1546849081000,1031],[1546849381000,1031],[1546849981000,1031.1],[1546850281000,1031.2],[1546850581000,1031.2],[1546850881000,1031.2],[1546851181000,1031.2],[1546851481000,1031.2],[1546851781000,1031.3],[1546852081000,1031.3],[1546852381000,1031.3],[1546852681000,1031.3],[1546852981000,1031.4],[1546853281000,1031.4],[1546853581000,1031.4],[1546853881000,1031.3],[1546854181000,1031.3],[1546854481000,1031.2],[1546854781000,1031.2],[1546855081000,1031.1],[1546855381000,1031.1],[1546855681000,1031.1],[1546855981000,1031.1],[1546856281000,1031.1],[1546856581000,1031],[1546856881000,1031],[1546857181000,1030.9],[1546857481000,1030.8],[1546857781000,1030.7],[1546858381000,1030.7],[1546858681000,1030.6],[1546858981000,1030.5],[1546859281000,1030.4],[1546859581000,1030.3],[1546859881000,1030.2],[1546860481000,1030.2],[1546860781000,1030.1],[1546861081000,1030.1],[1546861381000,1030],[1546861681000,1030],[1546861981000,1029.9],[1546862281000,1030],[1546862581000,1029.9],[1546862881000,1029.8],[1546863181000,1029.8],[1546863481000,1029.8],[1546863781000,1029.8],[1546864081000,1029.8],[1546864381000,1029.8],[1546864681000,1029.8],[1546864981000,1029.8],[1546865281000,1029.7],[1546865581000,1029.7],[1546865881000,1029.8],[1546866481000,1029.7],[1546866781000,1029.6],[1546867081000,1029.6],[1546867381000,1029.6],[1546867681000,1029.6],[1546867981000,1029.6],[1546868281000,1029.6],[1546868581000,1029.7],[1546868881000,1029.7],[1546869181000,1029.7],[1546869481000,1029.7],[1546869781000,1029.7],[1546870081000,1029.7],[1546870381000,1029.7],[1546870681000,1029.7],[1546870981000,1029.7],[1546871281000,1029.7],[1546871581000,1029.7],[1546871881000,1029.8],[1546872181000,1029.8],[1546872481000,1029.9],[1546872781000,1029.9],[1546873381000,1029.9],[1546873681000,1029.8],[1546873981000,1029.9],[1546874281000,1029.9],[1546874581000,1029.9],[1546874881000,1029.9],[1546875181000,1029.9],[1546875481000,1029.9],[1546875781000,1029.8],[1546876081000,1029.8],[1546876381000,1029.9],[1546876681000,1029.9],[1546876981000,1029.8],[1546877281000,1029.8],[1546877581000,1029.7],[1546877881000,1029.7],[1546878181000,1029.8],[1546878481000,1029.8],[1546878781000,1029.8],[1546879081000,1029.8],[1546879381000,1029.8],[1546879681000,1029.8],[1546879981000,1029.8],[1546880281000,1029.8],[1546880581000,1029.7],[1546880881000,1029.8],[1546881181000,1029.7],[1546881481000,1029.7],[1546881781000,1029.7],[1546882381000,1029.7],[1546882682000,1029.7],[1546882981000,1029.6],[1546883281000,1029.6],[1546883581000,1029.6],[1546883881000,1029.6],[1546884181000,1029.5],[1546884481000,1029.6],[1546884781000,1029.6],[1546885081000,1029.6],[1546885381000,1029.5],[1546885681000,1029.5],[1546885981000,1029.4],[1546886281000,1029.4],[1546886581000,1029.3],[1546886881000,1029.3],[1546887181000,1029.2],[1546887481000,1029.2],[1546887781000,1029.1],[1546888081000,1029.1],[1546888381000,1029.1],[1546888681000,1029],[1546888982000,1029],[1546889281000,1028.9],[1546889581000,1028.9],[1546889881000,1028.9],[1546890181000,1028.8],[1546890481000,1028.8],[1546890781000,1028.8],[1546891081000,1028.8],[1546891381000,1028.8],[1546891681000,1028.7],[1546891981000,1028.7],[1546892281000,1028.7],[1546892581000,1028.6],[1546892881000,1028.6],[1546893181000,1028.6],[1546893481000,1028.5],[1546893781000,1028.4],[1546894381000,1028.4],[1546894681000,1028.3],[1546894981000,1028.3],[1546895281000,1028.3],[1546895581000,1028.2],[1546895881000,1028.2],[1546896181000,1028.1],[1546896481000,1028],[1546896781000,1028],[1546897081000,1027.9],[1546897381000,1027.8],[1546897681000,1027.8],[1546897981000,1027.7],[1546898281000,1027.6],[1546898581000,1027.5],[1546898881000,1027.5],[1546899181000,1027.4],[1546899481000,1027.3],[1546899781000,1027.2],[1546900081000,1027.2],[1546900381000,1027.1],[1546900681000,1027],[1546900981000,1026.9],[1546901281000,1026.9],[1546901581000,1026.8],[1546901881000,1026.7],], 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: [[1546815601000,19.8],[1546815781000,17.496],[1546816081000,13.896],[1546816381000,20.304],[1546816681000,19.008],[1546816981000,22.32],[1546817281000,23.616],[1546817581000,15.768],[1546817882000,16.056],[1546818181000,14.544],[1546818481000,14.616],[1546818781000,16.488],[1546819082000,9.936],[1546819381000,15.912],[1546819681000,15.264],[1546819981000,13.536],[1546820281000,12.096],[1546820581000,13.968],[1546820881000,11.52],[1546821181000,11.736],[1546821481000,13.536],[1546821781000,10.872],[1546822081000,11.736],[1546822381000,9.792],[1546822681000,4.968],[1546822981000,3.312],[1546823281000,6.768],[1546823581000,5.544],[1546823881000,11.808],[1546824181000,10.584],[1546824481000,11.232],[1546824782000,10.512],[1546825081000,12.024],[1546825381000,13.752],[1546825681000,10.584],[1546825981000,13.968],[1546826281000,10.08],[1546826581000,7.776],[1546826882000,5.76],[1546827181000,6.696],[1546827481000,10.08],[1546827781000,10.368],[1546828081000,14.112],[1546828381000,18.072],[1546828681000,20.304],[1546828981000,20.52],[1546829281000,25.344],[1546829581000,22.824],[1546829881000,23.688],[1546830181000,20.088],[1546830482000,18.792],[1546830781000,20.016],[1546831081000,18.864],[1546831381000,20.88],[1546831681000,18.504],[1546831981000,18.072],[1546832281000,17.064],[1546832581000,13.896],[1546832881000,11.736],[1546833181000,10.512],[1546833481000,8.352],[1546833781000,12.24],[1546834081000,8.784],[1546834381000,11.16],[1546834681000,8.208],[1546834981000,2.232],[1546835281000,4.176],[1546835581000,2.52],[1546835882000,4.968],[1546836181000,1.872],[1546836481000,1.872],[1546836781000,1.008],[1546837082000,1.224],[1546837381000,1.872],[1546837681000,0.864],[1546837981000,4.248],[1546838281000,4.176],[1546838581000,1.224],[1546838881000,0],[1546839181000,1.152],[1546839481000,4.104],[1546839781000,2.592],[1546840081000,6.624],[1546840381000,3.96],[1546840681000,2.232],[1546840981000,3.528],[1546841282000,1.296],[1546841581000,0.36],[1546841881000,0.576],[1546842181000,0.792],[1546842482000,1.296],[1546842781000,0.36],[1546843081000,3.096],[1546843381000,2.304],[1546843681000,0],[1546843981000,0.36],[1546844281000,0.216],[1546844581000,0.864],[1546844881000,0.792],[1546845181000,2.664],[1546845481000,0.216],[1546845781000,1.944],[1546846081000,2.592],[1546846381000,1.512],[1546846681000,2.16],[1546846981000,0.36],[1546847281000,0],[1546847581000,0.144],[1546847881000,0.144],[1546848181000,0.144],[1546848481000,2.736],[1546848781000,3.96],[1546849081000,2.52],[1546849381000,0.072],[1546849681000,0.936],[1546849981000,3.024],[1546850281000,1.512],[1546850581000,4.104],[1546850881000,4.968],[1546851181000,6.552],[1546851481000,4.248],[1546851781000,4.608],[1546852081000,5.544],[1546852381000,5.616],[1546852681000,5.904],[1546852981000,5.544],[1546853281000,6.48],[1546853581000,8.28],[1546853881000,9.648],[1546854181000,8.136],[1546854481000,7.56],[1546854781000,8.28],[1546855082000,5.904],[1546855381000,5.76],[1546855681000,4.752],[1546855981000,5.112],[1546856281000,4.464],[1546856581000,3.312],[1546856881000,4.968],[1546857181000,3.744],[1546857481000,5.544],[1546857781000,4.608],[1546858082000,5.04],[1546858381000,2.304],[1546858681000,4.032],[1546858981000,3.24],[1546859281000,2.88],[1546859581000,3.024],[1546859881000,4.896],[1546860181000,7.632],[1546860481000,5.328],[1546860781000,4.608],[1546861081000,7.272],[1546861381000,5.688],[1546861681000,3.744],[1546861981000,4.032],[1546862281000,3.672],[1546862581000,2.88],[1546862881000,2.376],[1546863181000,3.24],[1546863481000,2.808],[1546863781000,3.6],[1546864081000,0.36],[1546864381000,1.656],[1546864681000,0.792],[1546864981000,0.72],[1546865281000,2.016],[1546865581000,4.464],[1546865881000,3.96],[1546866181000,5.328],[1546866481000,1.944],[1546866781000,4.464],[1546867081000,4.968],[1546867381000,3.96],[1546867681000,5.4],[1546867981000,4.536],[1546868281000,3.24],[1546868581000,3.744],[1546868881000,3.168],[1546869181000,1.8],[1546869481000,1.584],[1546869781000,1.008],[1546870081000,2.304],[1546870381000,3.24],[1546870681000,4.608],[1546870981000,2.232],[1546871281000,2.808],[1546871582000,1.728],[1546871881000,1.656],[1546872181000,2.088],[1546872481000,1.728],[1546872781000,1.728],[1546873081000,1.584],[1546873381000,0.432],[1546873681000,0.288],[1546873981000,2.016],[1546874281000,1.44],[1546874581000,1.656],[1546874881000,2.232],[1546875181000,1.872],[1546875481000,3.384],[1546875781000,4.392],[1546876082000,3.456],[1546876381000,3.312],[1546876681000,2.088],[1546876981000,2.016],[1546877281000,1.8],[1546877581000,3.24],[1546877881000,3.456],[1546878181000,5.4],[1546878481000,4.968],[1546878781000,4.752],[1546879081000,6.696],[1546879382000,9.504],[1546879681000,5.688],[1546879981000,6.912],[1546880281000,8.64],[1546880581000,8.352],[1546880881000,10.8],[1546881181000,9.288],[1546881481000,6.768],[1546881781000,7.2],[1546882081000,6.696],[1546882381000,3.6],[1546882681000,4.176],[1546882981000,2.376],[1546883281000,3.96],[1546883581000,2.16],[1546883881000,2.808],[1546884181000,4.968],[1546884481000,4.104],[1546884781000,2.232],[1546885081000,0.864],[1546885381000,0],[1546885681000,0],[1546885981000,0],[1546886281000,0],[1546886581000,4.104],[1546886881000,1.944],[1546887181000,3.456],[1546887481000,2.88],[1546887781000,2.952],[1546888081000,4.896],[1546888381000,4.176],[1546888681000,6.192],[1546888981000,6.912],[1546889281000,3.528],[1546889581000,2.304],[1546889881000,3.888],[1546890181000,5.904],[1546890481000,7.272],[1546890781000,9.216],[1546891081000,6.552],[1546891381000,6.912],[1546891681000,6.408],[1546891981000,8.424],[1546892281000,7.128],[1546892581000,4.68],[1546892881000,5.472],[1546893181000,7.992],[1546893481000,8.784],[1546893781000,5.328],[1546894081000,4.968],[1546894381000,8.64],[1546894681000,10.728],[1546894981000,11.592],[1546895281000,5.112],[1546895581000,8.064],[1546895881000,7.92],[1546896181000,7.992],[1546896481000,7.704],[1546896781000,12.528],[1546897081000,9.288],[1546897381000,6.624],[1546897681000,7.2],[1546897981000,5.04],[1546898281000,6.984],[1546898581000,5.904],[1546898881000,6.48],[1546899181000,2.736],[1546899482000,4.68],[1546899781000,7.992],[1546900081000,6.552],[1546900381000,8.712],[1546900681000,8.352],[1546900981000,7.56],[1546901281000,3.816],[1546901581000,4.032],[1546901881000,5.4],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1546815601000,34.096799988],[1546815781000,29.67624],[1546816081000,22.86648],[1546816381000,34.38072],[1546816681000,31.7016],[1546816981000,36.55296],[1546817281000,40.26456],[1546817581000,26.36136],[1546817882000,26.73576],[1546818181000,24.6456],[1546818481000,24.72768],[1546818781000,27.40968],[1546819082000,16.04016],[1546819381000,26.16696],[1546819681000,25.13808],[1546819981000,22.04856],[1546820281000,19.58832],[1546820581000,22.99248],[1546820881000,18.78624],[1546821181000,19.31328],[1546821481000,22.79088],[1546821781000,17.91504],[1546822081000,19.30608],[1546822381000,15.96456],[1546822681000,7.90992],[1546822981000,5.21856],[1546823281000,10.78272],[1546823581000,8.85528],[1546823881000,18.88632],[1546824181000,16.73136],[1546824481000,17.71272],[1546824782000,16.80048],[1546825081000,19.77624],[1546825381000,22.68864],[1546825681000,16.99776],[1546825981000,23.44752],[1546826281000,16.26408],[1546826581000,12.51792],[1546826882000,9.22608],[1546827181000,10.60776],[1546827481000,16.33824],[1546827781000,16.76016],[1546828081000,23.95008],[1546828381000,31.38048],[1546828681000,35.28648],[1546828981000,35.0172],[1546829281000,44.9244],[1546829581000,40.43304],[1546829881000,42.70392],[1546830181000,35.51256],[1546830482000,32.8104],[1546830781000,35.99568],[1546831081000,33.5412],[1546831381000,37.43784],[1546831681000,31.61808],[1546831981000,31.06656],[1546832281000,29.76048],[1546832581000,22.97664],[1546832881000,19.7784],[1546833181000,17.838],[1546833481000,13.76784],[1546833781000,20.2536],[1546834081000,14.454],[1546834381000,18.07776],[1546834681000,13.27248],[1546834981000,3.58776],[1546835281000,6.42384],[1546835581000,3.91464],[1546835882000,8.08344],[1546836181000,2.70576],[1546836481000,2.81376],[1546836781000,1.49256],[1546837082000,1.85328],[1546837381000,2.87928],[1546837681000,1.34712],[1546837981000,6.80256],[1546838281000,6.56856],[1546838581000,1.77984],[1546838881000,0],[1546839181000,1.70352],[1546839481000,6.56568],[1546839781000,4.50144],[1546840081000,10.58472],[1546840381000,6.29712],[1546840681000,3.61368],[1546840981000,5.44392],[1546841282000,2.05992],[1546841581000,0.47664],[1546841881000,0.9396],[1546842181000,1.26504],[1546842482000,1.89936],[1546842781000,0.51552],[1546843081000,4.8636],[1546843381000,3.62736],[1546843681000,0],[1546843981000,0.48384],[1546844281000,0.33912],[1546844581000,1.25496],[1546844881000,1.28952],[1546845181000,3.9636],[1546845481000,0.2664],[1546845781000,3.04704],[1546846081000,4.04568],[1546846381000,2.42208],[1546846681000,3.33144],[1546846981000,0.51624],[1546847281000,0],[1546847581000,0.7992],[1546847881000,0.25128],[1546848181000,0.20664],[1546848481000,4.26168],[1546848781000,6.11064],[1546849081000,3.86784],[1546849381000,0.11304],[1546849681000,1.41336],[1546849981000,4.6872],[1546850281000,2.35944],[1546850581000,6.52536],[1546850881000,7.91496],[1546851181000,11.03472],[1546851481000,6.9372],[1546851781000,7.48008],[1546852081000,8.86104],[1546852381000,8.90208],[1546852681000,9.19872],[1546852981000,8.86104],[1546853281000,10.50408],[1546853581000,13.47912],[1546853881000,15.47928],[1546854181000,12.9816],[1546854481000,12.19896],[1546854781000,13.5072],[1546855082000,9.48456],[1546855381000,9.44136],[1546855681000,7.76232],[1546855981000,8.0892],[1546856281000,6.87528],[1546856581000,5.1156],[1546856881000,7.85304],[1546857181000,5.83344],[1546857481000,8.85312],[1546857781000,7.40376],[1546858082000,7.9632],[1546858381000,3.58776],[1546858681000,6.09768],[1546858981000,5.09616],[1546859281000,4.39272],[1546859581000,4.91688],[1546859881000,7.77312],[1546860181000,12.06],[1546860481000,8.26632],[1546860781000,7.4412],[1546861081000,11.75904],[1546861381000,9.1368],[1546861681000,5.9472],[1546861981000,6.46272],[1546862281000,6.51168],[1546862581000,4.42512],[1546862881000,3.70368],[1546863181000,5.16312],[1546863481000,4.5036],[1546863781000,5.67576],[1546864081000,0.52416],[1546864381000,2.47968],[1546864681000,1.1772],[1546864981000,1.10664],[1546865281000,3.13344],[1546865581000,6.94656],[1546865881000,6.29712],[1546866181000,8.37576],[1546866481000,3.13632],[1546866781000,7.01424],[1546867081000,7.9848],[1546867381000,6.02784],[1546867681000,8.74728],[1546867981000,7.53768],[1546868281000,4.98744],[1546868581000,5.81112],[1546868881000,4.92192],[1546869181000,2.8332],[1546869481000,2.4804],[1546869781000,1.50552],[1546870081000,3.61512],[1546870381000,5.1768],[1546870681000,7.34112],[1546870981000,3.54744],[1546871281000,4.38624],[1546871582000,2.65392],[1546871881000,2.48688],[1546872181000,3.40272],[1546872481000,2.67696],[1546872781000,2.68416],[1546873081000,2.5884],[1546873381000,0.68112],[1546873681000,0.44784],[1546873981000,3.19968],[1546874281000,2.36952],[1546874581000,2.60928],[1546874881000,3.4164],[1546875181000,2.99376],[1546875481000,5.28336],[1546875781000,7.08264],[1546876082000,5.62464],[1546876381000,5.21928],[1546876681000,3.11472],[1546876981000,3.07008],[1546877281000,2.73528],[1546877581000,5.1264],[1546877881000,5.5728],[1546878181000,8.47728],[1546878481000,8.03376],[1546878781000,7.72776],[1546879081000,10.73736],[1546879382000,14.87736],[1546879681000,9.14112],[1546879981000,11.09088],[1546880281000,13.95432],[1546880581000,13.34304],[1546880881000,17.07192],[1546881181000,14.59224],[1546881481000,10.66608],[1546881781000,11.19672],[1546882081000,10.3248],[1546882381000,5.61816],[1546882681000,6.38928],[1546882981000,3.70944],[1546883281000,6.22584],[1546883581000,3.26304],[1546883881000,4.50648],[1546884181000,7.91856],[1546884481000,6.3144],[1546884781000,3.40776],[1546885081000,1.26216],[1546885381000,0],[1546885681000,0],[1546885981000,0],[1546886281000,0],[1546886581000,6.39288],[1546886881000,3.03552],[1546887181000,5.29416],[1546887481000,4.38696],[1546887781000,4.45536],[1546888081000,7.53768],[1546888381000,6.46344],[1546888681000,9.79272],[1546888981000,11.28816],[1546889281000,5.48424],[1546889581000,3.6504],[1546889881000,6.06024],[1546890181000,9.35136],[1546890481000,11.29248],[1546890781000,14.42592],[1546891081000,10.4616],[1546891381000,10.9008],[1546891681000,10.09872],[1546891981000,13.25808],[1546892281000,11.2536],[1546892581000,7.43616],[1546892881000,8.39304],[1546893181000,12.61728],[1546893481000,13.73688],[1546893781000,8.27136],[1546894081000,7.6968],[1546894381000,13.51944],[1546894681000,17.43768],[1546894981000,18.74304],[1546895281000,8.16624],[1546895581000,12.77568],[1546895881000,12.4164],[1546896181000,12.69504],[1546896481000,12.28752],[1546896781000,20.67048],[1546897081000,14.84352],[1546897381000,10.6992],[1546897681000,11.60496],[1546897981000,8.04528],[1546898281000,10.98288],[1546898581000,9.36072],[1546898881000,10.05912],[1546899181000,4.0176],[1546899482000,7.25976],[1546899781000,12.51432],[1546900081000,10.4112],[1546900381000,13.74048],[1546900681000,13.32504],[1546900981000,11.9736],[1546901281000,5.87448],[1546901581000,6.32808],[1546901881000,8.4024],], 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: [[1546815601000,44.96666667],[1546815781000,78.54000000],[1546816081000,31.90000000],[1546816381000,19.64000000],[1546816681000,24.96000000],[1546816981000,26.62000000],[1546817281000,16.78000000],[1546817581000,22.08000000],[1546817882000,17.58000000],[1546818181000,31.50000000],[1546818481000,26.20000000],[1546818781000,36.38000000],[1546819082000,13.90000000],[1546819381000,29.88000000],[1546819681000,17.18000000],[1546819981000,25.78000000],[1546820281000,20.04000000],[1546820581000,8.58000000],[1546820881000,11.46000000],[1546821181000,51.12000000],[1546821481000,36.84000000],[1546821781000,32.72000000],[1546822081000,17.18000000],[1546822381000,60.94000000],[1546822681000,40.08000000],[1546822981000,78.14000000],[1546823281000,40.90000000],[1546823581000,33.96000000],[1546823881000,20.04000000],[1546824181000,13.90000000],[1546824481000,11.86000000],[1546824782000,20.88000000],[1546825081000,29.04000000],[1546825381000,29.04000000],[1546825681000,27.38000000],[1546825981000,48.68000000],[1546826281000,10.22000000],[1546826581000,21.68000000],[1546826882000,12.70000000],[1546827181000,38.02000000],[1546827481000,27.80000000],[1546827781000,58.50000000],[1546828081000,87.96000000],[1546828381000,64.26000000],[1546828681000,98.18000000],[1546828981000,43.76000000],[1546829281000,47.88000000],[1546829581000,56.06000000],[1546829881000,51.56000000],[1546830181000,94.48000000],[1546830482000,46.22000000],[1546830781000,51.14000000],[1546831081000,46.64000000],[1546831381000,91.66000000],[1546831681000,66.26000000],[1546831981000,33.94000000],[1546832281000,12.26000000],[1546832581000,43.76000000],[1546832881000,74.84000000],[1546833181000,66.28000000],[1546833481000,84.26000000],[1546833781000,31.52000000],[1546834081000,27.82000000],[1546834381000,31.90000000],[1546834681000,50.32000000],[1546834981000,103.12000000],[1546835281000,54.82000000],[1546835581000,91.24000000],[1546835882000,122.72000000],[1546836181000,87.94000000],[1546836481000,127.64000000],[1546836781000,255.70000000],[1546837082000,85.90000000],[1546837381000,206.18000000],[1546837681000,129.28000000],[1546837981000,97.78000000],[1546838281000,73.22000000],[1546838581000,135.00000000],[1546838881000,220.92000000],[1546839181000,301.10000000],[1546839481000,141.94000000],[1546839781000,173.88000000],[1546840081000,91.64000000],[1546840381000,189.00000000],[1546840681000,92.86000000],[1546840981000,61.78000000],[1546841282000,108.00000000],[1546841581000,153.40000000],[1546841881000,264.28000000],[1546842181000,219.28000000],[1546842482000,269.18000000],[1546842781000,202.08000000],[1546843081000,212.30000000],[1546843381000,188.18000000],[1546843681000,45.40000000],[1546843981000,225.00000000],[1546844281000,155.86000000],[1546844581000,2.46000000],[1546844881000,3.26000000],[1546845181000,176.72000000],[1546845481000,225.00000000],[1546845781000,185.72000000],[1546846081000,228.66000000],[1546846381000,240.56000000],[1546846681000,234.84000000],[1546846981000,225.00000000],[1546847281000,50.72000000],[1546847581000,99.82000000],[1546847881000,180.00000000],[1546848181000,180.00000000],[1546848481000,91.62000000],[1546848781000,198.82000000],[1546849081000,260.98000000],[1546849381000,89.98000000],[1546849681000,17.60000000],[1546849981000,44.18000000],[1546850281000,2.46000000],[1546850581000,84.28000000],[1546850881000,79.76000000],[1546851181000,120.70000000],[1546851481000,110.04000000],[1546851781000,103.88000000],[1546852081000,65.46000000],[1546852381000,93.68000000],[1546852681000,94.92000000],[1546852981000,89.60000000],[1546853281000,96.14000000],[1546853581000,84.26000000],[1546853881000,77.32000000],[1546854181000,71.22000000],[1546854481000,92.86000000],[1546854781000,98.18000000],[1546855082000,88.76000000],[1546855381000,83.06000000],[1546855681000,94.06000000],[1546855981000,94.08000000],[1546856281000,116.60000000],[1546856581000,87.56000000],[1546856881000,102.70000000],[1546857181000,120.68000000],[1546857481000,139.92000000],[1546857781000,156.70000000],[1546858082000,180.80000000],[1546858381000,191.04000000],[1546858681000,67.08000000],[1546858981000,238.10000000],[1546859281000,207.00000000],[1546859581000,72.00000000],[1546859881000,240.54000000],[1546860181000,240.54000000],[1546860481000,247.92000000],[1546860781000,240.16000000],[1546861081000,238.50000000],[1546861381000,232.78000000],[1546861681000,230.70000000],[1546861981000,231.14000000],[1546862281000,238.08000000],[1546862581000,230.74000000],[1546862881000,208.64000000],[1546863181000,218.06000000],[1546863481000,243.82000000],[1546863781000,204.14000000],[1546864081000,234.82000000],[1546864381000,113.34000000],[1546864681000,221.72000000],[1546864981000,197.60000000],[1546865281000,114.14000000],[1546865581000,40.50000000],[1546865881000,103.92000000],[1546866181000,120.68000000],[1546866481000,125.58000000],[1546866781000,104.72000000],[1546867081000,110.04000000],[1546867381000,100.22000000],[1546867681000,118.22000000],[1546867981000,80.58000000],[1546868281000,122.72000000],[1546868581000,157.10000000],[1546868881000,130.50000000],[1546869181000,131.74000000],[1546869481000,155.88000000],[1546869781000,54.42000000],[1546870081000,55.24000000],[1546870381000,123.56000000],[1546870681000,129.66000000],[1546870981000,113.34000000],[1546871281000,96.54000000],[1546871582000,87.56000000],[1546871881000,134.60000000],[1546872181000,72.00000000],[1546872481000,102.28000000],[1546872781000,95.74000000],[1546873081000,83.46000000],[1546873381000,119.86000000],[1546873681000,135.00000000],[1546873981000,68.74000000],[1546874281000,66.28000000],[1546874581000,59.74000000],[1546874881000,57.66000000],[1546875181000,41.32000000],[1546875481000,71.98000000],[1546875781000,58.92000000],[1546876082000,63.80000000],[1546876381000,56.44000000],[1546876681000,60.94000000],[1546876981000,30.26000000],[1546877281000,21.26000000],[1546877581000,51.14000000],[1546877881000,49.50000000],[1546878181000,33.12000000],[1546878481000,56.04000000],[1546878781000,119.86000000],[1546879081000,143.18000000],[1546879382000,147.24000000],[1546879681000,144.00000000],[1546879981000,141.96000000],[1546880281000,137.44000000],[1546880581000,148.50000000],[1546880881000,157.92000000],[1546881181000,146.86000000],[1546881481000,151.38000000],[1546881781000,144.82000000],[1546882081000,155.02000000],[1546882381000,178.38000000],[1546882681000,168.94000000],[1546882981000,157.50000000],[1546883281000,143.18000000],[1546883581000,135.00000000],[1546883881000,135.40000000],[1546884181000,142.36000000],[1546884481000,151.80000000],[1546884781000,167.72000000],[1546885081000,187.38000000],[1546885381000,225.00000000],[1546885681000,225.00000000],[1546885981000,225.00000000],[1546886281000,213.54000000],[1546886581000,136.64000000],[1546886881000,136.64000000],[1546887181000,142.78000000],[1546887481000,155.86000000],[1546887781000,136.64000000],[1546888081000,137.44000000],[1546888381000,147.70000000],[1546888681000,139.90000000],[1546888981000,136.64000000],[1546889281000,150.14000000],[1546889581000,138.68000000],[1546889881000,141.14000000],[1546890181000,160.34000000],[1546890481000,153.42000000],[1546890781000,148.08000000],[1546891081000,147.70000000],[1546891381000,163.22000000],[1546891681000,171.82000000],[1546891981000,165.28000000],[1546892281000,156.66000000],[1546892581000,170.58000000],[1546892881000,160.76000000],[1546893181000,176.74000000],[1546893481000,149.74000000],[1546893781000,182.86000000],[1546894081000,193.08000000],[1546894381000,180.40000000],[1546894681000,170.58000000],[1546894981000,173.88000000],[1546895281000,182.04000000],[1546895581000,153.82000000],[1546895881000,171.00000000],[1546896181000,176.72000000],[1546896481000,170.16000000],[1546896781000,172.22000000],[1546897081000,182.90000000],[1546897381000,180.42000000],[1546897681000,200.88000000],[1546897981000,188.18000000],[1546898281000,175.10000000],[1546898581000,167.72000000],[1546898881000,171.00000000],[1546899181000,167.32000000],[1546899482000,160.38000000],[1546899781000,153.82000000],[1546900081000,143.18000000],[1546900381000,151.36000000],[1546900681000,157.52000000],[1546900981000,155.88000000],[1546901281000,155.46000000],[1546901581000,166.10000000],[1546901881000,164.65000000],], 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); }); $(document).ready(function() { dataset = [ { label: 'Zrážky', data: [[1546862461000,0.27940000],], color: '#008fbf' } ]; var options = { xaxes: [{ axisLabel: 'rain', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, 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.3mm' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-rain-legend' } }; graphs['#chart-rain'] = $.plot('#chart-rain', 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; }