var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1579820401000,-2.70000000],[1579820581000,-2.68000000],[1579820881000,-2.72000000],[1579821181000,-2.74000000],[1579821481000,-2.76000000],[1579821781000,-2.80000000],[1579822081000,-2.86000000],[1579822381000,-2.90000000],[1579822681000,-2.94000000],[1579822981000,-2.94000000],[1579823281000,-2.98000000],[1579823581000,-3.00000000],[1579823881000,-3.04000000],[1579824181000,-3.10000000],[1579824481000,-3.24000000],[1579824781000,-3.26000000],[1579825081000,-3.30000000],[1579825381000,-3.38000000],[1579825681000,-3.38000000],[1579825981000,-3.34000000],[1579826281000,-3.34000000],[1579826581000,-3.30000000],[1579826881000,-3.30000000],[1579827181000,-3.26000000],[1579827481000,-3.28000000],[1579827781000,-3.30000000],[1579828081000,-3.40000000],[1579828381000,-3.40000000],[1579828681000,-3.50000000],[1579828981000,-3.50000000],[1579829281000,-3.58000000],[1579829581000,-3.62000000],[1579829881000,-3.70000000],[1579830181000,-3.80000000],[1579830481000,-3.78000000],[1579830781000,-3.76000000],[1579831081000,-3.80000000],[1579831381000,-3.80000000],[1579831681000,-3.82000000],[1579831981000,-3.86000000],[1579832281000,-3.80000000],[1579832581000,-3.80000000],[1579832881000,-3.80000000],[1579833181000,-3.72000000],[1579833481000,-3.66000000],[1579833781000,-3.54000000],[1579834081000,-3.44000000],[1579834381000,-3.34000000],[1579834681000,-3.26000000],[1579834981000,-3.16000000],[1579835281000,-3.10000000],[1579835581000,-3.02000000],[1579835881000,-2.90000000],[1579836181000,-2.82000000],[1579836481000,-2.70000000],[1579836781000,-2.70000000],[1579837081000,-2.70000000],[1579837381000,-2.64000000],[1579837681000,-2.70000000],[1579837981000,-2.70000000],[1579838281000,-2.64000000],[1579838581000,-2.64000000],[1579838881000,-2.68000000],[1579839181000,-2.70000000],[1579839481000,-2.70000000],[1579839781000,-2.70000000],[1579840081000,-2.70000000],[1579840381000,-2.70000000],[1579840681000,-2.70000000],[1579840981000,-2.68000000],[1579841281000,-2.66000000],[1579841581000,-2.60000000],[1579841881000,-2.60000000],[1579842181000,-2.60000000],[1579842481000,-2.60000000],[1579842781000,-2.60000000],[1579843081000,-2.52000000],[1579843381000,-2.50000000],[1579843681000,-2.50000000],[1579843981000,-2.48000000],[1579844281000,-2.44000000],[1579844581000,-2.40000000],[1579844881000,-2.34000000],[1579845181000,-2.30000000],[1579845481000,-2.34000000],[1579845781000,-2.30000000],[1579846081000,-2.30000000],[1579846381000,-2.30000000],[1579846681000,-2.30000000],[1579846981000,-2.30000000],[1579847281000,-2.26000000],[1579847581000,-2.24000000],[1579847881000,-2.20000000],[1579848181000,-2.16000000],[1579848481000,-2.14000000],[1579848781000,-2.10000000],[1579849081000,-2.10000000],[1579849381000,-2.00000000],[1579849681000,-1.94000000],[1579849981000,-1.90000000],[1579850281000,-1.90000000],[1579850581000,-1.88000000],[1579850881000,-1.84000000],[1579851181000,-1.86000000],[1579851481000,-1.80000000],[1579851781000,-1.80000000],[1579852081000,-1.80000000],[1579852381000,-1.80000000],[1579852681000,-1.80000000],[1579852981000,-1.80000000],[1579853281000,-1.80000000],[1579853581000,-1.80000000],[1579853881000,-1.74000000],[1579854181000,-1.70000000],[1579854481000,-1.70000000],[1579854781000,-1.66000000],[1579855081000,-1.62000000],[1579855381000,-1.70000000],[1579855681000,-1.70000000],[1579855981000,-1.60000000],[1579856281000,-1.60000000],[1579856581000,-1.60000000],[1579856881000,-1.60000000],[1579857181000,-1.60000000],[1579857481000,-1.60000000],[1579857781000,-1.50000000],[1579858081000,-1.50000000],[1579858381000,-1.50000000],[1579858681000,-1.50000000],[1579858981000,-1.50000000],[1579859281000,-1.42000000],[1579859581000,-1.40000000],[1579859881000,-1.40000000],[1579860181000,-1.46000000],[1579860481000,-1.36000000],[1579860781000,-1.34000000],[1579861081000,-1.36000000],[1579861381000,-1.32000000],[1579861681000,-1.30000000],[1579861981000,-1.26000000],[1579862281000,-1.30000000],[1579862581000,-1.30000000],[1579862881000,-1.30000000],[1579863181000,-1.20000000],[1579863481000,-1.20000000],[1579863781000,-1.24000000],[1579864081000,-1.30000000],[1579864381000,-1.30000000],[1579864681000,-1.30000000],[1579864981000,-1.24000000],[1579865281000,-1.20000000],[1579865581000,-1.30000000],[1579865881000,-1.30000000],[1579866181000,-1.24000000],[1579866481000,-1.20000000],[1579866781000,-1.20000000],[1579867081000,-1.20000000],[1579867381000,-1.18000000],[1579867681000,-1.24000000],[1579867981000,-1.20000000],[1579868281000,-1.20000000],[1579868581000,-1.20000000],[1579868881000,-1.16000000],[1579869181000,-1.18000000],[1579869481000,-1.12000000],[1579869781000,-1.14000000],[1579870081000,-1.14000000],[1579870381000,-1.10000000],[1579870681000,-1.04000000],[1579870981000,-1.06000000],[1579871281000,-1.06000000],[1579871581000,-1.10000000],[1579871881000,-1.10000000],[1579872181000,-1.10000000],[1579872481000,-1.10000000],[1579872781000,-1.10000000],[1579873081000,-1.10000000],[1579873381000,-1.12000000],[1579873681000,-1.20000000],[1579873981000,-1.16000000],[1579874281000,-1.16000000],[1579874581000,-1.10000000],[1579874881000,-1.16000000],[1579875181000,-1.18000000],[1579875481000,-1.20000000],[1579875781000,-1.20000000],[1579876081000,-1.20000000],[1579876381000,-1.20000000],[1579876681000,-1.24000000],[1579876981000,-1.26000000],[1579877281000,-1.28000000],[1579877581000,-1.30000000],[1579877881000,-1.30000000],[1579878181000,-1.30000000],[1579878481000,-1.30000000],[1579878781000,-1.30000000],[1579879081000,-1.30000000],[1579879381000,-1.30000000],[1579879681000,-1.30000000],[1579879981000,-1.30000000],[1579880281000,-1.30000000],[1579880581000,-1.30000000],[1579880881000,-1.30000000],[1579881181000,-1.32000000],[1579881482000,-1.32000000],[1579881781000,-1.38000000],[1579882081000,-1.40000000],[1579882381000,-1.44000000],[1579882681000,-1.50000000],[1579882981000,-1.48000000],[1579883281000,-1.46000000],[1579883581000,-1.44000000],[1579883881000,-1.46000000],[1579884181000,-1.48000000],[1579884481000,-1.50000000],[1579884781000,-1.50000000],[1579885081000,-1.50000000],[1579885381000,-1.50000000],[1579885681000,-1.50000000],[1579885981000,-1.50000000],[1579886281000,-1.56000000],[1579886581000,-1.60000000],[1579886881000,-1.60000000],[1579887181000,-1.60000000],[1579887481000,-1.58000000],[1579887781000,-1.50000000],[1579888081000,-1.50000000],[1579888381000,-1.52000000],[1579888681000,-1.56000000],[1579888981000,-1.60000000],[1579889281000,-1.60000000],[1579889581000,-1.64000000],[1579889881000,-1.70000000],[1579890181000,-1.70000000],[1579890481000,-1.70000000],[1579890781000,-1.72000000],[1579891081000,-1.70000000],[1579891381000,-1.72000000],[1579891681000,-1.80000000],[1579891981000,-1.80000000],[1579892281000,-1.80000000],[1579892581000,-1.80000000],[1579892881000,-1.80000000],[1579893181000,-1.84000000],[1579893481000,-1.90000000],[1579893781000,-1.88000000],[1579894081000,-1.90000000],[1579894381000,-1.88000000],[1579894681000,-1.90000000],[1579894981000,-1.90000000],[1579895281000,-1.90000000],[1579895581000,-1.90000000],[1579895881000,-1.90000000],[1579896181000,-1.86000000],[1579896481000,-1.82000000],[1579896781000,-1.90000000],[1579897081000,-1.90000000],[1579897381000,-1.90000000],[1579897681000,-1.90000000],[1579897981000,-1.82000000],[1579898281000,-1.82000000],[1579898581000,-1.90000000],[1579898881000,-1.90000000],[1579899182000,-1.90000000],[1579899481000,-1.90000000],[1579899781000,-1.90000000],[1579900081000,-1.90000000],[1579900381000,-1.90000000],[1579900681000,-1.94000000],[1579900981000,-1.94000000],[1579901281000,-1.94000000],[1579901581000,-1.98000000],[1579901881000,-1.98000000],[1579902181000,-1.98000000],[1579902481000,-1.90000000],[1579902781000,-1.90000000],[1579903081000,-1.90000000],[1579903381000,-1.94000000],[1579903681000,-1.94000000],[1579903981000,-1.90000000],[1579904281000,-1.90000000],[1579904581000,-1.90000000],[1579904881000,-1.90000000],[1579905181000,-1.88000000],[1579905481000,-1.90000000],[1579905781000,-1.90000000],[1579906081000,-1.90000000],[1579906381000,-1.90000000],[1579906681000,-1.90000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1579820401000,-2.7],[1579820581000,-2.7],[1579820881000,-2.7],[1579821181000,-2.7],[1579821481000,-2.8],[1579821781000,-2.8],[1579822081000,-2.9],[1579822381000,-2.9],[1579822681000,-2.9],[1579822981000,-2.9],[1579823281000,-3],[1579823581000,-3],[1579823881000,-3],[1579824181000,-3.1],[1579824481000,-3.2],[1579824781000,-3.3],[1579825081000,-3.3],[1579825381000,-3.4],[1579825681000,-3.4],[1579825981000,-3.3],[1579826281000,-3.3],[1579826581000,-3.3],[1579826881000,-3.3],[1579827181000,-3.3],[1579827481000,-3.3],[1579827781000,-3.3],[1579828081000,-3.4],[1579828381000,-3.4],[1579828681000,-3.5],[1579828981000,-3.5],[1579829281000,-3.6],[1579829581000,-3.6],[1579829881000,-3.7],[1579830181000,-3.8],[1579830481000,-3.8],[1579830781000,-3.8],[1579831081000,-3.8],[1579831381000,-3.8],[1579831681000,-3.8],[1579831981000,-3.9],[1579832281000,-3.8],[1579832581000,-3.8],[1579832881000,-3.8],[1579833181000,-3.7],[1579833481000,-3.7],[1579833781000,-3.5],[1579834081000,-3.4],[1579834381000,-3.3],[1579834681000,-3.3],[1579834981000,-3.2],[1579835281000,-3.1],[1579835581000,-3],[1579835881000,-2.9],[1579836181000,-2.8],[1579836481000,-2.7],[1579836781000,-2.7],[1579837081000,-2.7],[1579837381000,-2.6],[1579837681000,-2.7],[1579837981000,-2.7],[1579838281000,-2.6],[1579838581000,-2.6],[1579838881000,-2.7],[1579839181000,-2.7],[1579839481000,-2.7],[1579839781000,-2.7],[1579840081000,-2.7],[1579840381000,-2.7],[1579840681000,-2.7],[1579840981000,-2.7],[1579841281000,-2.7],[1579841581000,-2.6],[1579841881000,-2.6],[1579842181000,-2.6],[1579842481000,-2.6],[1579842781000,-2.6],[1579843081000,-2.5],[1579843381000,-2.5],[1579843681000,-2.5],[1579843981000,-2.5],[1579844281000,-2.4],[1579844581000,-2.4],[1579844881000,-2.3],[1579845181000,-2.3],[1579845481000,-2.3],[1579845781000,-2.3],[1579846081000,-2.3],[1579846381000,-2.3],[1579846681000,-2.3],[1579846981000,-2.3],[1579847281000,-2.3],[1579847581000,-2.2],[1579847881000,-2.2],[1579848181000,-2.2],[1579848481000,-2.1],[1579848781000,-2.1],[1579849081000,-2.1],[1579849381000,-2],[1579849681000,-1.9],[1579849981000,-1.9],[1579850281000,-1.9],[1579850581000,-1.9],[1579850881000,-1.8],[1579851181000,-1.9],[1579851481000,-1.8],[1579852081000,-1.8],[1579852381000,-1.8],[1579852681000,-1.8],[1579852981000,-1.8],[1579853281000,-1.8],[1579853581000,-1.8],[1579853881000,-1.7],[1579854181000,-1.7],[1579854481000,-1.7],[1579854781000,-1.7],[1579855081000,-1.6],[1579855381000,-1.7],[1579855681000,-1.7],[1579855981000,-1.6],[1579856281000,-1.6],[1579856581000,-1.6],[1579856881000,-1.6],[1579857181000,-1.6],[1579857481000,-1.6],[1579857781000,-1.5],[1579858081000,-1.5],[1579858381000,-1.5],[1579858681000,-1.5],[1579858981000,-1.5],[1579859281000,-1.4],[1579859581000,-1.4],[1579859881000,-1.4],[1579860181000,-1.5],[1579860481000,-1.4],[1579860781000,-1.3],[1579861081000,-1.4],[1579861381000,-1.3],[1579861681000,-1.3],[1579861981000,-1.3],[1579862281000,-1.3],[1579862581000,-1.3],[1579862881000,-1.3],[1579863181000,-1.2],[1579863481000,-1.2],[1579863781000,-1.2],[1579864081000,-1.3],[1579864381000,-1.3],[1579864681000,-1.3],[1579864981000,-1.2],[1579865281000,-1.2],[1579865581000,-1.3],[1579865881000,-1.3],[1579866181000,-1.2],[1579866481000,-1.2],[1579866781000,-1.2],[1579867081000,-1.2],[1579867381000,-1.2],[1579867681000,-1.2],[1579867981000,-1.2],[1579868281000,-1.2],[1579868581000,-1.2],[1579868881000,-1.2],[1579869181000,-1.2],[1579869481000,-1.1],[1579869781000,-1.1],[1579870081000,-1.1],[1579870381000,-1.1],[1579870681000,-1],[1579870981000,-1.1],[1579871281000,-1.1],[1579871581000,-1.1],[1579871881000,-1.1],[1579872181000,-1.1],[1579872481000,-1.1],[1579872781000,-1.1],[1579873081000,-1.1],[1579873381000,-1.1],[1579873681000,-1.2],[1579873981000,-1.2],[1579874281000,-1.2],[1579874581000,-1.1],[1579874881000,-1.2],[1579875181000,-1.2],[1579875481000,-1.2],[1579875781000,-1.2],[1579876081000,-1.2],[1579876381000,-1.2],[1579876681000,-1.2],[1579876981000,-1.3],[1579877281000,-1.3],[1579877581000,-1.3],[1579877881000,-1.3],[1579878181000,-1.3],[1579878481000,-1.3],[1579878781000,-1.3],[1579879081000,-1.3],[1579879381000,-1.3],[1579879681000,-1.3],[1579879981000,-1.3],[1579880281000,-1.3],[1579880581000,-1.3],[1579880881000,-1.3],[1579881181000,-1.3],[1579881482000,-1.3],[1579881781000,-1.4],[1579882081000,-1.4],[1579882381000,-1.4],[1579882681000,-1.5],[1579882981000,-1.5],[1579883281000,-1.5],[1579883581000,-1.4],[1579883881000,-1.5],[1579884181000,-1.5],[1579884481000,-1.5],[1579884781000,-1.5],[1579885081000,-1.5],[1579885381000,-1.5],[1579885681000,-1.5],[1579885981000,-1.5],[1579886281000,-1.6],[1579886581000,-1.6],[1579886881000,-1.6],[1579887181000,-1.6],[1579887481000,-1.6],[1579887781000,-1.5],[1579888081000,-1.5],[1579888381000,-1.5],[1579888681000,-1.6],[1579888981000,-1.6],[1579889281000,-1.6],[1579889581000,-1.6],[1579889881000,-1.7],[1579890181000,-1.7],[1579890481000,-1.7],[1579890781000,-1.7],[1579891081000,-1.7],[1579891381000,-1.7],[1579891681000,-1.8],[1579891981000,-1.8],[1579892281000,-1.8],[1579892581000,-1.8],[1579892881000,-1.8],[1579893181000,-1.8],[1579893481000,-1.9],[1579893781000,-1.9],[1579894081000,-1.9],[1579894381000,-1.9],[1579894681000,-1.9],[1579894981000,-1.9],[1579895281000,-1.9],[1579895581000,-1.9],[1579895881000,-1.9],[1579896181000,-1.9],[1579896481000,-1.8],[1579896781000,-1.9],[1579897081000,-1.9],[1579897381000,-1.9],[1579897681000,-1.9],[1579897981000,-1.8],[1579898281000,-1.8],[1579898581000,-1.9],[1579898881000,-1.9],[1579899182000,-1.9],[1579899481000,-1.9],[1579899781000,-1.9],[1579900081000,-1.9],[1579900381000,-1.9],[1579900681000,-1.9],[1579900981000,-1.9],[1579901281000,-1.9],[1579901581000,-2],[1579901881000,-2],[1579902181000,-2],[1579902481000,-1.9],[1579902781000,-1.9],[1579903081000,-1.9],[1579903381000,-1.9],[1579903681000,-1.9],[1579903981000,-1.9],[1579904281000,-1.9],[1579904581000,-1.9],[1579904881000,-1.9],[1579905181000,-1.9],[1579905481000,-1.9],[1579905781000,-1.9],[1579906081000,-1.9],[1579906381000,-1.9],[1579906681000,-1.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: [[1579820401000,100.00000000],[1579820581000,100.00000000],[1579820881000,100.00000000],[1579821181000,100.00000000],[1579821481000,100.00000000],[1579821781000,100.00000000],[1579822081000,100.00000000],[1579822381000,100.00000000],[1579822681000,100.00000000],[1579822981000,100.00000000],[1579823281000,100.00000000],[1579823581000,100.00000000],[1579823881000,100.00000000],[1579824181000,100.00000000],[1579824481000,100.00000000],[1579824781000,100.00000000],[1579825081000,100.00000000],[1579825381000,100.00000000],[1579825681000,100.00000000],[1579825981000,100.00000000],[1579826281000,100.00000000],[1579826581000,100.00000000],[1579826881000,100.00000000],[1579827181000,100.00000000],[1579827481000,100.00000000],[1579827781000,100.00000000],[1579828081000,100.00000000],[1579828381000,100.00000000],[1579828681000,100.00000000],[1579828981000,100.00000000],[1579829281000,100.00000000],[1579829581000,100.00000000],[1579829881000,100.00000000],[1579830181000,100.00000000],[1579830481000,100.00000000],[1579830781000,100.00000000],[1579831081000,100.00000000],[1579831381000,100.00000000],[1579831681000,100.00000000],[1579831981000,100.00000000],[1579832281000,100.00000000],[1579832581000,100.00000000],[1579832881000,100.00000000],[1579833181000,100.00000000],[1579833481000,100.00000000],[1579833781000,100.00000000],[1579834081000,100.00000000],[1579834381000,100.00000000],[1579834681000,100.00000000],[1579834981000,100.00000000],[1579835281000,100.00000000],[1579835581000,100.00000000],[1579835881000,100.00000000],[1579836181000,100.00000000],[1579836481000,100.00000000],[1579836781000,100.00000000],[1579837081000,100.00000000],[1579837381000,100.00000000],[1579837681000,100.00000000],[1579837981000,100.00000000],[1579838281000,100.00000000],[1579838581000,100.00000000],[1579838881000,100.00000000],[1579839181000,100.00000000],[1579839481000,100.00000000],[1579839781000,100.00000000],[1579840081000,100.00000000],[1579840381000,100.00000000],[1579840681000,100.00000000],[1579840981000,100.00000000],[1579841281000,100.00000000],[1579841581000,100.00000000],[1579841881000,100.00000000],[1579842181000,100.00000000],[1579842481000,100.00000000],[1579842781000,100.00000000],[1579843081000,100.00000000],[1579843381000,100.00000000],[1579843681000,100.00000000],[1579843981000,100.00000000],[1579844281000,100.00000000],[1579844581000,100.00000000],[1579844881000,100.00000000],[1579845181000,100.00000000],[1579845481000,100.00000000],[1579845781000,100.00000000],[1579846081000,100.00000000],[1579846381000,100.00000000],[1579846681000,100.00000000],[1579846981000,100.00000000],[1579847281000,100.00000000],[1579847581000,100.00000000],[1579847881000,100.00000000],[1579848181000,100.00000000],[1579848481000,100.00000000],[1579848781000,100.00000000],[1579849081000,100.00000000],[1579849381000,100.00000000],[1579849681000,100.00000000],[1579849981000,100.00000000],[1579850281000,100.00000000],[1579850581000,100.00000000],[1579850881000,100.00000000],[1579851181000,100.00000000],[1579851481000,100.00000000],[1579851782000,100.00000000],[1579852081000,100.00000000],[1579852381000,100.00000000],[1579852681000,100.00000000],[1579852981000,100.00000000],[1579853281000,100.00000000],[1579853581000,100.00000000],[1579853881000,100.00000000],[1579854181000,100.00000000],[1579854481000,100.00000000],[1579854781000,100.00000000],[1579855081000,100.00000000],[1579855381000,100.00000000],[1579855681000,100.00000000],[1579855981000,100.00000000],[1579856281000,100.00000000],[1579856581000,100.00000000],[1579856881000,100.00000000],[1579857181000,100.00000000],[1579857481000,100.00000000],[1579857781000,100.00000000],[1579858081000,100.00000000],[1579858381000,100.00000000],[1579858681000,100.00000000],[1579858981000,100.00000000],[1579859281000,100.00000000],[1579859581000,100.00000000],[1579859881000,100.00000000],[1579860181000,100.00000000],[1579860481000,100.00000000],[1579860781000,100.00000000],[1579861081000,100.00000000],[1579861381000,100.00000000],[1579861681000,100.00000000],[1579861981000,100.00000000],[1579862281000,100.00000000],[1579862581000,100.00000000],[1579862881000,100.00000000],[1579863181000,100.00000000],[1579863481000,100.00000000],[1579863781000,100.00000000],[1579864081000,100.00000000],[1579864381000,100.00000000],[1579864681000,100.00000000],[1579864981000,100.00000000],[1579865281000,100.00000000],[1579865581000,100.00000000],[1579865881000,100.00000000],[1579866181000,100.00000000],[1579866481000,100.00000000],[1579866781000,100.00000000],[1579867081000,100.00000000],[1579867381000,100.00000000],[1579867681000,100.00000000],[1579867981000,100.00000000],[1579868281000,100.00000000],[1579868581000,100.00000000],[1579868881000,100.00000000],[1579869181000,100.00000000],[1579869481000,100.00000000],[1579869781000,100.00000000],[1579870081000,100.00000000],[1579870381000,100.00000000],[1579870681000,100.00000000],[1579870981000,100.00000000],[1579871281000,100.00000000],[1579871581000,100.00000000],[1579871881000,100.00000000],[1579872181000,100.00000000],[1579872481000,100.00000000],[1579872781000,100.00000000],[1579873081000,100.00000000],[1579873381000,100.00000000],[1579873681000,100.00000000],[1579873981000,100.00000000],[1579874281000,100.00000000],[1579874581000,100.00000000],[1579874881000,100.00000000],[1579875181000,100.00000000],[1579875481000,100.00000000],[1579875781000,100.00000000],[1579876081000,100.00000000],[1579876381000,100.00000000],[1579876681000,100.00000000],[1579876981000,100.00000000],[1579877281000,100.00000000],[1579877581000,100.00000000],[1579877881000,100.00000000],[1579878181000,100.00000000],[1579878481000,100.00000000],[1579878781000,100.00000000],[1579879081000,100.00000000],[1579879381000,100.00000000],[1579879681000,100.00000000],[1579879981000,100.00000000],[1579880281000,100.00000000],[1579880581000,100.00000000],[1579880881000,100.00000000],[1579881181000,100.00000000],[1579881482000,100.00000000],[1579881781000,100.00000000],[1579882081000,100.00000000],[1579882381000,100.00000000],[1579882681000,100.00000000],[1579882981000,100.00000000],[1579883281000,100.00000000],[1579883581000,100.00000000],[1579883881000,100.00000000],[1579884181000,100.00000000],[1579884481000,100.00000000],[1579884781000,100.00000000],[1579885081000,100.00000000],[1579885381000,100.00000000],[1579885681000,100.00000000],[1579885981000,100.00000000],[1579886281000,100.00000000],[1579886581000,100.00000000],[1579886881000,100.00000000],[1579887181000,100.00000000],[1579887481000,100.00000000],[1579887781000,100.00000000],[1579888081000,100.00000000],[1579888381000,100.00000000],[1579888681000,100.00000000],[1579888981000,100.00000000],[1579889281000,100.00000000],[1579889581000,100.00000000],[1579889881000,100.00000000],[1579890181000,100.00000000],[1579890481000,100.00000000],[1579890781000,100.00000000],[1579891081000,100.00000000],[1579891381000,100.00000000],[1579891681000,100.00000000],[1579891981000,100.00000000],[1579892281000,100.00000000],[1579892581000,100.00000000],[1579892881000,100.00000000],[1579893181000,100.00000000],[1579893481000,100.00000000],[1579893781000,100.00000000],[1579894081000,100.00000000],[1579894381000,100.00000000],[1579894681000,100.00000000],[1579894981000,100.00000000],[1579895281000,100.00000000],[1579895581000,100.00000000],[1579895881000,100.00000000],[1579896181000,100.00000000],[1579896481000,100.00000000],[1579896781000,100.00000000],[1579897081000,100.00000000],[1579897381000,100.00000000],[1579897681000,100.00000000],[1579897981000,100.00000000],[1579898281000,100.00000000],[1579898581000,100.00000000],[1579898881000,100.00000000],[1579899182000,100.00000000],[1579899481000,100.00000000],[1579899781000,100.00000000],[1579900081000,100.00000000],[1579900381000,100.00000000],[1579900681000,100.00000000],[1579900981000,100.00000000],[1579901281000,100.00000000],[1579901581000,100.00000000],[1579901881000,100.00000000],[1579902181000,100.00000000],[1579902481000,100.00000000],[1579902781000,100.00000000],[1579903081000,100.00000000],[1579903381000,100.00000000],[1579903681000,100.00000000],[1579903981000,100.00000000],[1579904281000,100.00000000],[1579904581000,100.00000000],[1579904881000,100.00000000],[1579905181000,100.00000000],[1579905481000,100.00000000],[1579905781000,100.00000000],[1579906081000,100.00000000],[1579906381000,100.00000000],[1579906681000,100.00000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1579820401000,1032.1],[1579820581000,1032],[1579820881000,1032],[1579821181000,1032],[1579821481000,1031.9],[1579821781000,1031.9],[1579822081000,1031.8],[1579822381000,1031.7],[1579822681000,1031.5],[1579822981000,1031.4],[1579823281000,1031.3],[1579823581000,1031.3],[1579823881000,1031.2],[1579824181000,1031.2],[1579824481000,1031.2],[1579824781000,1031.1],[1579825081000,1031.1],[1579825381000,1031.1],[1579825681000,1031.1],[1579825981000,1031.1],[1579826281000,1031],[1579826581000,1031],[1579826881000,1030.9],[1579827181000,1030.9],[1579827481000,1030.9],[1579827781000,1030.9],[1579828081000,1030.9],[1579828381000,1030.8],[1579828681000,1030.8],[1579828981000,1030.7],[1579829281000,1030.7],[1579829581000,1030.6],[1579829881000,1030.5],[1579830181000,1030.4],[1579830481000,1030.4],[1579830781000,1030.3],[1579831081000,1030.3],[1579831381000,1030.2],[1579831681000,1030.2],[1579831981000,1030.1],[1579832281000,1030],[1579832581000,1030],[1579832881000,1030],[1579833181000,1030],[1579833481000,1030],[1579833781000,1030],[1579834081000,1029.9],[1579834381000,1030],[1579834681000,1030],[1579834981000,1029.9],[1579835281000,1029.9],[1579835581000,1029.9],[1579835881000,1029.9],[1579836181000,1029.8],[1579836481000,1029.8],[1579836781000,1029.9],[1579837081000,1029.9],[1579837381000,1029.9],[1579837681000,1029.8],[1579837981000,1029.7],[1579838281000,1029.7],[1579838581000,1029.8],[1579838881000,1029.8],[1579839181000,1029.8],[1579839481000,1029.8],[1579839781000,1029.8],[1579840081000,1029.8],[1579840381000,1029.9],[1579840681000,1029.9],[1579840981000,1029.8],[1579841281000,1029.8],[1579841581000,1029.7],[1579841881000,1029.8],[1579842181000,1029.8],[1579842481000,1029.8],[1579842781000,1029.9],[1579843081000,1029.9],[1579843381000,1029.9],[1579843681000,1029.9],[1579843981000,1030],[1579844281000,1029.9],[1579844581000,1029.9],[1579844881000,1029.9],[1579845181000,1029.9],[1579845481000,1029.9],[1579845781000,1029.8],[1579846081000,1029.9],[1579846381000,1029.9],[1579846681000,1030],[1579846981000,1030],[1579847281000,1030],[1579847581000,1030.1],[1579847881000,1030.1],[1579848181000,1030.2],[1579848481000,1030.2],[1579848781000,1030.2],[1579849081000,1030.2],[1579849381000,1030.1],[1579849681000,1030.1],[1579849981000,1030.1],[1579850281000,1030.2],[1579850581000,1030.2],[1579850881000,1030.1],[1579851181000,1030.1],[1579851481000,1030.1],[1579852081000,1030.1],[1579852381000,1030.1],[1579852681000,1030.1],[1579852981000,1030.1],[1579853281000,1030.1],[1579853581000,1030.1],[1579853881000,1030],[1579854181000,1030],[1579854481000,1029.9],[1579854781000,1029.9],[1579855081000,1029.9],[1579855381000,1029.9],[1579855681000,1029.9],[1579855981000,1029.9],[1579856281000,1030],[1579856581000,1029.9],[1579856881000,1030],[1579857181000,1030],[1579857481000,1029.9],[1579857781000,1029.9],[1579858081000,1029.9],[1579858381000,1029.9],[1579858681000,1029.9],[1579858981000,1029.9],[1579859281000,1029.9],[1579859581000,1029.9],[1579859881000,1029.9],[1579860181000,1029.9],[1579860481000,1029.9],[1579860781000,1029.8],[1579861081000,1029.7],[1579861381000,1029.6],[1579861681000,1029.6],[1579861981000,1029.6],[1579862281000,1029.6],[1579862581000,1029.5],[1579862881000,1029.4],[1579863181000,1029.3],[1579863481000,1029.2],[1579863781000,1029.2],[1579864081000,1029.2],[1579864381000,1029],[1579864681000,1029],[1579864981000,1028.9],[1579865281000,1028.8],[1579865581000,1028.8],[1579865881000,1028.7],[1579866181000,1028.7],[1579866481000,1028.7],[1579866781000,1028.7],[1579867081000,1028.7],[1579867381000,1028.6],[1579867681000,1028.6],[1579867981000,1028.5],[1579868281000,1028.4],[1579868581000,1028.3],[1579868881000,1028.2],[1579869181000,1028.1],[1579869481000,1028.1],[1579869781000,1028],[1579870081000,1027.9],[1579870381000,1027.8],[1579870681000,1027.7],[1579870981000,1027.7],[1579871281000,1027.6],[1579871581000,1027.6],[1579871881000,1027.6],[1579872181000,1027.5],[1579872481000,1027.5],[1579872781000,1027.5],[1579873081000,1027.5],[1579873381000,1027.4],[1579873681000,1027.4],[1579873981000,1027.3],[1579874281000,1027.3],[1579874581000,1027.4],[1579874881000,1027.4],[1579875181000,1027.4],[1579875481000,1027.3],[1579875781000,1027.2],[1579876081000,1027.2],[1579876381000,1027.3],[1579876681000,1027.3],[1579876981000,1027.2],[1579877281000,1027.2],[1579877581000,1027.1],[1579877881000,1027.1],[1579878181000,1027.2],[1579878481000,1027.2],[1579878781000,1027.1],[1579879081000,1027.1],[1579879381000,1027],[1579879681000,1027],[1579879981000,1027],[1579880281000,1027],[1579880581000,1027],[1579880881000,1026.9],[1579881181000,1026.9],[1579881482000,1026.9],[1579881781000,1027],[1579882081000,1026.9],[1579882381000,1026.8],[1579882681000,1026.8],[1579882981000,1026.9],[1579883281000,1026.9],[1579883581000,1026.9],[1579883881000,1026.9],[1579884181000,1026.8],[1579884481000,1026.9],[1579884781000,1026.9],[1579885081000,1026.9],[1579885381000,1026.8],[1579885681000,1026.8],[1579885981000,1026.8],[1579886281000,1026.8],[1579886581000,1026.8],[1579886881000,1026.7],[1579887181000,1026.7],[1579887481000,1026.7],[1579887781000,1026.7],[1579888081000,1026.8],[1579888381000,1026.8],[1579888681000,1026.8],[1579888981000,1026.8],[1579889281000,1026.8],[1579889581000,1026.9],[1579889881000,1026.9],[1579890181000,1026.9],[1579890481000,1026.9],[1579890781000,1026.8],[1579891081000,1026.8],[1579891381000,1026.8],[1579891681000,1026.9],[1579891981000,1027],[1579892281000,1027],[1579892581000,1027.1],[1579892881000,1027.1],[1579893181000,1027.2],[1579893481000,1027.2],[1579893781000,1027.2],[1579894081000,1027.3],[1579894381000,1027.2],[1579894681000,1027.1],[1579894981000,1027.1],[1579895281000,1027.1],[1579895581000,1027.1],[1579895881000,1027.2],[1579896181000,1027.2],[1579896481000,1027.1],[1579896781000,1027.1],[1579897081000,1027],[1579897381000,1026.9],[1579897681000,1027],[1579897981000,1027],[1579898281000,1027],[1579898581000,1027.1],[1579898881000,1027.1],[1579899182000,1027.1],[1579899481000,1027.1],[1579899781000,1027.1],[1579900081000,1027.1],[1579900381000,1027.1],[1579900681000,1027],[1579900981000,1026.9],[1579901281000,1026.8],[1579901581000,1026.7],[1579901881000,1026.7],[1579902181000,1026.7],[1579902481000,1026.7],[1579902781000,1026.7],[1579903081000,1026.7],[1579903381000,1026.6],[1579903681000,1026.7],[1579903981000,1026.7],[1579904281000,1026.6],[1579904581000,1026.6],[1579904881000,1026.6],[1579905181000,1026.5],[1579905481000,1026.5],[1579905781000,1026.4],[1579906081000,1026.4],[1579906381000,1026.4],[1579906681000,1026.4],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1579820401000,7.56],[1579820581000,8.064],[1579820881000,8.208],[1579821181000,8.28],[1579821481000,5.544],[1579821781000,5.112],[1579822081000,7.056],[1579822381000,6.912],[1579822681000,6.696],[1579822981000,7.704],[1579823281000,7.488],[1579823581000,7.488],[1579823881000,6.84],[1579824181000,7.92],[1579824481000,6.84],[1579824781000,7.848],[1579825081000,6.696],[1579825381000,7.128],[1579825681000,7.92],[1579825981000,6.696],[1579826281000,9.144],[1579826581000,8.424],[1579826881000,9.792],[1579827181000,9.072],[1579827481000,9],[1579827781000,10.224],[1579828081000,11.16],[1579828381000,9.648],[1579828681000,10.584],[1579828981000,11.232],[1579829281000,11.088],[1579829581000,9.792],[1579829881000,9.576],[1579830181000,10.368],[1579830481000,10.296],[1579830781000,13.104],[1579831081000,11.808],[1579831381000,11.52],[1579831681000,12.816],[1579831981000,11.376],[1579832281000,13.248],[1579832581000,13.32],[1579832881000,11.52],[1579833181000,11.952],[1579833481000,11.016],[1579833781000,8.928],[1579834081000,8.064],[1579834381000,6.912],[1579834681000,8.208],[1579834981000,4.824],[1579835281000,5.832],[1579835581000,5.688],[1579835881000,4.608],[1579836181000,6.48],[1579836481000,6.624],[1579836781000,7.488],[1579837081000,4.824],[1579837381000,5.976],[1579837681000,8.928],[1579837981000,8.352],[1579838281000,7.488],[1579838581000,6.048],[1579838881000,6.12],[1579839181000,5.4],[1579839481000,6.552],[1579839781000,6.192],[1579840081000,7.488],[1579840381000,6.48],[1579840681000,4.464],[1579840981000,7.2],[1579841281000,7.416],[1579841581000,4.896],[1579841881000,6.84],[1579842181000,5.616],[1579842481000,8.208],[1579842781000,7.776],[1579843081000,6.696],[1579843381000,6.048],[1579843681000,6.048],[1579843981000,7.056],[1579844281000,7.2],[1579844581000,5.904],[1579844881000,5.976],[1579845181000,5.184],[1579845481000,7.848],[1579845781000,5.256],[1579846081000,5.976],[1579846381000,5.976],[1579846681000,6.84],[1579846981000,7.56],[1579847281000,7.128],[1579847581000,4.896],[1579847881000,6.984],[1579848181000,7.2],[1579848481000,5.616],[1579848781000,6.408],[1579849081000,5.328],[1579849381000,7.92],[1579849681000,6.336],[1579849981000,12.312],[1579850281000,11.088],[1579850581000,9.72],[1579850881000,13.032],[1579851181000,14.328],[1579851481000,12.744],[1579851781000,13.248],[1579852081000,14.904],[1579852381000,16.776],[1579852681000,14.112],[1579852981000,18.576],[1579853281000,19.584],[1579853581000,19.8],[1579853881000,13.464],[1579854181000,14.76],[1579854481000,16.272],[1579854781000,12.816],[1579855081000,13.248],[1579855381000,15.048],[1579855681000,12.24],[1579855981000,10.728],[1579856281000,11.808],[1579856581000,11.952],[1579856881000,9.504],[1579857181000,9.648],[1579857481000,11.952],[1579857781000,7.848],[1579858081000,10.08],[1579858381000,11.88],[1579858681000,10.872],[1579858981000,9.936],[1579859281000,11.592],[1579859581000,11.736],[1579859881000,10.656],[1579860181000,9.288],[1579860481000,10.944],[1579860781000,13.392],[1579861081000,16.272],[1579861381000,14.616],[1579861681000,13.032],[1579861981000,10.008],[1579862281000,8.856],[1579862581000,13.824],[1579862881000,8.712],[1579863181000,9.072],[1579863481000,10.512],[1579863781000,11.664],[1579864081000,13.968],[1579864381000,12.456],[1579864681000,10.368],[1579864981000,8.424],[1579865281000,11.232],[1579865581000,14.976],[1579865881000,10.872],[1579866181000,7.56],[1579866481000,9.864],[1579866781000,11.088],[1579867081000,13.68],[1579867381000,13.32],[1579867681000,11.592],[1579867981000,12.384],[1579868281000,11.448],[1579868581000,8.64],[1579868881000,12.888],[1579869181000,10.008],[1579869481000,7.92],[1579869781000,10.008],[1579870081000,9.36],[1579870381000,6.336],[1579870681000,6.48],[1579870981000,8.352],[1579871281000,9.936],[1579871581000,10.656],[1579871881000,6.768],[1579872181000,7.992],[1579872481000,5.544],[1579872781000,8.712],[1579873081000,8.064],[1579873381000,8.28],[1579873681000,5.4],[1579873981000,6.624],[1579874281000,6.264],[1579874581000,4.896],[1579874881000,6.912],[1579875181000,7.056],[1579875481000,5.472],[1579875781000,5.832],[1579876081000,5.616],[1579876381000,2.88],[1579876681000,5.76],[1579876981000,5.184],[1579877281000,5.688],[1579877581000,3.456],[1579877881000,5.544],[1579878181000,6.12],[1579878481000,7.056],[1579878781000,5.112],[1579879081000,7.704],[1579879381000,4.032],[1579879681000,4.968],[1579879981000,3.96],[1579880281000,3.672],[1579880581000,2.376],[1579880881000,6.408],[1579881181000,9.648],[1579881481000,8.784],[1579881781000,13.68],[1579882081000,13.392],[1579882381000,11.952],[1579882681000,9.936],[1579882981000,8.856],[1579883281000,8.568],[1579883581000,11.664],[1579883881000,11.232],[1579884181000,11.952],[1579884481000,12.096],[1579884781000,10.224],[1579885081000,10.656],[1579885381000,6.984],[1579885681000,6.984],[1579885981000,9.432],[1579886281000,7.704],[1579886581000,7.2],[1579886881000,8.568],[1579887181000,8.568],[1579887481000,9.72],[1579887781000,9.432],[1579888081000,11.52],[1579888381000,10.8],[1579888681000,11.304],[1579888981000,12.168],[1579889281000,7.992],[1579889581000,10.296],[1579889881000,6.264],[1579890181000,9.144],[1579890481000,7.416],[1579890781000,7.2],[1579891081000,7.2],[1579891381000,9.288],[1579891681000,8.28],[1579891981000,4.176],[1579892281000,9.144],[1579892581000,5.04],[1579892881000,4.536],[1579893181000,7.632],[1579893481000,3.024],[1579893781000,5.112],[1579894081000,1.872],[1579894381000,2.808],[1579894681000,5.112],[1579894981000,3.6],[1579895281000,1.08],[1579895581000,1.944],[1579895881000,5.472],[1579896181000,3.024],[1579896481000,1.44],[1579896781000,0.36],[1579897081000,0.288],[1579897381000,0],[1579897681000,0.792],[1579897981000,5.04],[1579898281000,5.904],[1579898581000,4.68],[1579898881000,5.256],[1579899181000,5.904],[1579899481000,6.408],[1579899781000,5.328],[1579900081000,3.96],[1579900381000,3.24],[1579900681000,6.912],[1579900981000,6.624],[1579901281000,6.12],[1579901581000,1.728],[1579901881000,4.464],[1579902181000,3.096],[1579902481000,1.944],[1579902781000,1.008],[1579903081000,1.944],[1579903381000,4.752],[1579903681000,1.368],[1579903981000,2.304],[1579904281000,4.104],[1579904581000,4.032],[1579904881000,4.608],[1579905181000,3.24],[1579905481000,4.68],[1579905781000,5.4],[1579906081000,2.664],[1579906381000,1.872],[1579906681000,3.42],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1579820401000,11.715599988],[1579820581000,12.73536],[1579820881000,13.27896],[1579821181000,13.00032],[1579821481000,8.68896],[1579821781000,8.2872],[1579822081000,11.07864],[1579822381000,10.75896],[1579822681000,10.48104],[1579822981000,11.82816],[1579823281000,11.67552],[1579823581000,11.66904],[1579823881000,10.94328],[1579824181000,12.51504],[1579824481000,10.7712],[1579824781000,12.3444],[1579825081000,10.48752],[1579825381000,11.11896],[1579825681000,12.60288],[1579825981000,10.62],[1579826281000,14.60016],[1579826581000,13.18896],[1579826881000,15.40368],[1579827181000,14.202],[1579827481000,14.05368],[1579827781000,16.61256],[1579828081000,18.32328],[1579828381000,15.4908],[1579828681000,17.07048],[1579828981000,17.63856],[1579829281000,18.00648],[1579829581000,15.82992],[1579829881000,15.34176],[1579830181000,16.3584],[1579830481000,16.4124],[1579830781000,21.63744],[1579831081000,18.79272],[1579831381000,18.38664],[1579831681000,20.71656],[1579831981000,18.4536],[1579832281000,21.41424],[1579832581000,21.456],[1579832881000,18.5832],[1579833181000,18.99576],[1579833481000,17.75304],[1579833781000,14.1696],[1579834081000,13.13208],[1579834381000,11.16576],[1579834681000,13.35888],[1579834981000,7.81488],[1579835281000,9.522],[1579835581000,9.16488],[1579835881000,7.35552],[1579836181000,10.53648],[1579836481000,10.69848],[1579836781000,11.92968],[1579837081000,7.80768],[1579837381000,9.50544],[1579837681000,14.6844],[1579837981000,13.8636],[1579838281000,12.57984],[1579838581000,9.8856],[1579838881000,9.81864],[1579839181000,8.57088],[1579839481000,10.56672],[1579839781000,10.1124],[1579840081000,11.7936],[1579840381000,10.40328],[1579840681000,7.16904],[1579840981000,11.54088],[1579841281000,11.79072],[1579841581000,7.75368],[1579841881000,11.09088],[1579842181000,9.11664],[1579842481000,13.37832],[1579842781000,12.5964],[1579843081000,10.57824],[1579843381000,9.54792],[1579843681000,9.6012],[1579843981000,11.16216],[1579844281000,11.67192],[1579844581000,9.45504],[1579844881000,9.57456],[1579845181000,8.25912],[1579845481000,12.77856],[1579845781000,8.38728],[1579846081000,9.5724],[1579846381000,9.67968],[1579846681000,11.13768],[1579846981000,12.4848],[1579847281000,11.86704],[1579847581000,7.95312],[1579847881000,11.31624],[1579848181000,11.94768],[1579848481000,9.04608],[1579848781000,10.16496],[1579849081000,8.83296],[1579849381000,13.0356],[1579849681000,10.31904],[1579849981000,19.78704],[1579850281000,18.32904],[1579850581000,15.79896],[1579850881000,21.63024],[1579851181000,23.40792],[1579851481000,20.86344],[1579851781000,21.22272],[1579852081000,24.61536],[1579852381000,27.36648],[1579852681000,22.63032],[1579852981000,30.12696],[1579853281000,32.1264],[1579853581000,32.3604],[1579853881000,22.23504],[1579854181000,24.31944],[1579854481000,26.21448],[1579854781000,21.11544],[1579855081000,22.04208],[1579855381000,24.92352],[1579855681000,20.466],[1579855981000,17.75088],[1579856281000,19.656],[1579856581000,19.61568],[1579856881000,15.44904],[1579857181000,15.84504],[1579857481000,19.6884],[1579857781000,12.78864],[1579858081000,16.85304],[1579858381000,19.8072],[1579858681000,18.19872],[1579858981000,16.52544],[1579859281000,19.2096],[1579859581000,19.52208],[1579859881000,17.76312],[1579860181000,15.17976],[1579860481000,18.21888],[1579860781000,21.5532],[1579861081000,26.22672],[1579861381000,24.25032],[1579861681000,21.35376],[1579861981000,16.70688],[1579862281000,14.9616],[1579862581000,21.96864],[1579862881000,13.74984],[1579863181000,14.89104],[1579863481000,17.84232],[1579863781000,19.27224],[1579864081000,22.23504],[1579864381000,20.87424],[1579864681000,17.6976],[1579864981000,14.07888],[1579865281000,18.54864],[1579865581000,24.32376],[1579865881000,17.8848],[1579866181000,12.27384],[1579866481000,16.07472],[1579866781000,18.48744],[1579867081000,22.51512],[1579867381000,22.2372],[1579867681000,18.73728],[1579867981000,20.17944],[1579868281000,18.34848],[1579868581000,14.14656],[1579868881000,21.3336],[1579869181000,16.73352],[1579869481000,12.69432],[1579869781000,16.66584],[1579870081000,15.10776],[1579870381000,10.2204],[1579870681000,10.39104],[1579870981000,13.46544],[1579871281000,16.03008],[1579871581000,17.88192],[1579871881000,11.03256],[1579872181000,13.16592],[1579872481000,8.964],[1579872781000,14.13576],[1579873081000,12.98952],[1579873381000,13.42368],[1579873681000,8.63928],[1579873981000,10.76544],[1579874281000,10.13976],[1579874581000,7.8948],[1579874881000,11.35224],[1579875181000,11.33928],[1579875481000,8.71632],[1579875781000,9.3348],[1579876081000,9.1188],[1579876381000,4.70232],[1579876681000,8.96904],[1579876981000,8.424],[1579877281000,9.1584],[1579877581000,5.54184],[1579877881000,8.74584],[1579878181000,9.576],[1579878481000,11.46456],[1579878781000,8.27856],[1579879081000,12.13776],[1579879381000,6.3648],[1579879681000,8.0136],[1579879981000,6.39792],[1579880281000,5.63904],[1579880581000,3.74328],[1579880881000,9.8964],[1579881181000,15.06744],[1579881481000,13.72608],[1579881781000,21.6468],[1579882081000,21.38616],[1579882381000,18.89928],[1579882681000,15.33024],[1579882981000,14.0256],[1579883281000,13.43592],[1579883581000,18.06624],[1579883881000,17.49528],[1579884181000,18.702],[1579884481000,18.94608],[1579884781000,16.51176],[1579885081000,16.67232],[1579885381000,10.99656],[1579885681000,11.07936],[1579885981000,14.60304],[1579886281000,11.98728],[1579886581000,11.50488],[1579886881000,13.47912],[1579887181000,13.63248],[1579887481000,15.23808],[1579887781000,14.93568],[1579888081000,18.17136],[1579888381000,17.07696],[1579888681000,18.15264],[1579888981000,19.46376],[1579889281000,12.54312],[1579889581000,16.68888],[1579889881000,9.94032],[1579890181000,14.11128],[1579890481000,11.80512],[1579890781000,11.15712],[1579891081000,11.30256],[1579891381000,14.76],[1579891681000,12.71952],[1579891981000,6.5196],[1579892281000,13.99896],[1579892581000,7.90488],[1579892881000,7.08264],[1579893181000,12.01536],[1579893481000,4.88232],[1579893781000,7.88184],[1579894081000,3.08016],[1579894381000,4.35528],[1579894681000,8.02224],[1579894981000,5.8464],[1579895281000,1.71144],[1579895581000,2.97576],[1579895881000,8.51112],[1579896181000,4.71024],[1579896481000,2.20608],[1579896781000,0.65664],[1579897081000,0.48312],[1579897381000,0],[1579897681000,1.27224],[1579897981000,7.7868],[1579898281000,9.15696],[1579898581000,7.2432],[1579898881000,8.21232],[1579899181000,9.04968],[1579899481000,9.7524],[1579899781000,8.02368],[1579900081000,6.14448],[1579900381000,4.94136],[1579900681000,10.37592],[1579900981000,10.17216],[1579901281000,9.1476],[1579901581000,2.75112],[1579901881000,6.948],[1579902181000,4.93128],[1579902481000,3.07296],[1579902781000,1.59408],[1579903081000,3.10752],[1579903381000,7.2],[1579903681000,2.14776],[1579903981000,3.4236],[1579904281000,6.40296],[1579904581000,6.2388],[1579904881000,6.98904],[1579905181000,4.9284],[1579905481000,7.12152],[1579905781000,8.20368],[1579906081000,4.12848],[1579906381000,2.83752],[1579906681000,5.4594],], 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: [[1579820401000,28.63333333],[1579820581000,36.02000000],[1579820881000,37.62000000],[1579821181000,33.12000000],[1579821481000,41.74000000],[1579821781000,42.16000000],[1579822081000,36.40000000],[1579822381000,31.50000000],[1579822681000,33.14000000],[1579822981000,35.20000000],[1579823281000,33.54000000],[1579823581000,29.46000000],[1579823881000,37.24000000],[1579824181000,35.60000000],[1579824481000,39.28000000],[1579824781000,31.12000000],[1579825081000,39.26000000],[1579825381000,29.46000000],[1579825681000,29.46000000],[1579825981000,33.56000000],[1579826281000,40.10000000],[1579826581000,26.18000000],[1579826881000,22.08000000],[1579827181000,22.50000000],[1579827481000,30.24000000],[1579827781000,38.48000000],[1579828081000,32.72000000],[1579828381000,43.36000000],[1579828681000,32.74000000],[1579828981000,25.36000000],[1579829281000,29.84000000],[1579829581000,45.82000000],[1579829881000,30.28000000],[1579830181000,36.82000000],[1579830481000,33.54000000],[1579830781000,34.36000000],[1579831081000,30.66000000],[1579831381000,26.18000000],[1579831681000,30.28000000],[1579831981000,42.14000000],[1579832281000,23.32000000],[1579832581000,31.50000000],[1579832881000,24.52000000],[1579833181000,26.18000000],[1579833481000,23.70000000],[1579833781000,27.40000000],[1579834081000,32.32000000],[1579834381000,52.78000000],[1579834681000,46.62000000],[1579834981000,60.96000000],[1579835281000,68.32000000],[1579835581000,67.52000000],[1579835881000,92.04000000],[1579836181000,110.44000000],[1579836481000,101.84000000],[1579836781000,76.50000000],[1579837081000,95.34000000],[1579837381000,109.20000000],[1579837681000,98.60000000],[1579837981000,105.96000000],[1579838281000,112.10000000],[1579838581000,101.06000000],[1579838881000,90.80000000],[1579839181000,111.70000000],[1579839481000,77.72000000],[1579839781000,77.32000000],[1579840081000,77.72000000],[1579840381000,85.08000000],[1579840681000,105.96000000],[1579840981000,88.36000000],[1579841281000,85.50000000],[1579841581000,112.10000000],[1579841881000,88.36000000],[1579842181000,79.38000000],[1579842481000,85.92000000],[1579842781000,87.14000000],[1579843081000,76.90000000],[1579843381000,81.00000000],[1579843681000,84.68000000],[1579843981000,103.50000000],[1579844281000,104.32000000],[1579844581000,96.12000000],[1579844881000,92.86000000],[1579845181000,84.68000000],[1579845481000,79.78000000],[1579845781000,97.38000000],[1579846081000,99.82000000],[1579846381000,99.82000000],[1579846681000,107.60000000],[1579846981000,99.84000000],[1579847281000,105.94000000],[1579847581000,109.66000000],[1579847881000,111.70000000],[1579848181000,130.50000000],[1579848481000,115.80000000],[1579848781000,106.80000000],[1579849081000,120.30000000],[1579849381000,128.06000000],[1579849681000,133.36000000],[1579849981000,145.64000000],[1579850281000,135.02000000],[1579850581000,142.36000000],[1579850881000,137.48000000],[1579851181000,139.10000000],[1579851481000,146.44000000],[1579851781000,162.00000000],[1579852081000,149.32000000],[1579852381000,150.14000000],[1579852681000,158.74000000],[1579852981000,153.00000000],[1579853281000,141.54000000],[1579853581000,152.20000000],[1579853881000,146.46000000],[1579854181000,143.60000000],[1579854481000,151.76000000],[1579854781000,157.08000000],[1579855081000,142.36000000],[1579855381000,141.56000000],[1579855681000,134.60000000],[1579855981000,142.78000000],[1579856281000,143.60000000],[1579856581000,135.80000000],[1579856881000,139.08000000],[1579857181000,138.26000000],[1579857481000,144.00000000],[1579857781000,127.64000000],[1579858081000,78.54000000],[1579858381000,105.96000000],[1579858681000,69.54000000],[1579858981000,51.12000000],[1579859281000,87.52000000],[1579859581000,89.18000000],[1579859881000,97.78000000],[1579860181000,61.34000000],[1579860481000,82.22000000],[1579860781000,121.92000000],[1579861081000,122.74000000],[1579861381000,103.48000000],[1579861681000,104.30000000],[1579861981000,98.16000000],[1579862281000,95.74000000],[1579862581000,56.46000000],[1579862881000,81.02000000],[1579863181000,78.54000000],[1579863481000,90.82000000],[1579863781000,93.30000000],[1579864081000,76.08000000],[1579864381000,87.56000000],[1579864681000,93.28000000],[1579864981000,86.72000000],[1579865281000,85.92000000],[1579865581000,71.20000000],[1579865881000,98.20000000],[1579866181000,98.18000000],[1579866481000,83.44000000],[1579866781000,94.50000000],[1579867081000,83.46000000],[1579867381000,84.26000000],[1579867681000,81.00000000],[1579867981000,95.72000000],[1579868281000,80.98000000],[1579868581000,83.46000000],[1579868881000,81.00000000],[1579869181000,81.00000000],[1579869481000,93.28000000],[1579869781000,83.44000000],[1579870081000,74.86000000],[1579870381000,71.20000000],[1579870681000,79.76000000],[1579870981000,69.54000000],[1579871281000,102.70000000],[1579871581000,95.32000000],[1579871881000,102.70000000],[1579872181000,103.50000000],[1579872481000,97.78000000],[1579872781000,106.38000000],[1579873081000,85.10000000],[1579873381000,96.54000000],[1579873681000,52.34000000],[1579873981000,85.10000000],[1579874281000,82.64000000],[1579874581000,97.36000000],[1579874881000,111.28000000],[1579875181000,99.82000000],[1579875481000,100.24000000],[1579875781000,121.10000000],[1579876081000,125.60000000],[1579876381000,115.34000000],[1579876681000,86.72000000],[1579876981000,129.28000000],[1579877281000,114.54000000],[1579877581000,86.72000000],[1579877881000,83.44000000],[1579878181000,101.46000000],[1579878481000,105.14000000],[1579878781000,72.44000000],[1579879081000,95.72000000],[1579879381000,110.88000000],[1579879681000,99.84000000],[1579879981000,76.52000000],[1579880281000,93.66000000],[1579880581000,109.62000000],[1579880881000,81.02000000],[1579881181000,127.22000000],[1579881481000,105.94000000],[1579881781000,135.38000000],[1579882081000,149.32000000],[1579882381000,130.10000000],[1579882681000,138.68000000],[1579882981000,130.90000000],[1579883281000,166.50000000],[1579883581000,136.26000000],[1579883881000,141.14000000],[1579884181000,125.16000000],[1579884481000,111.68000000],[1579884781000,138.68000000],[1579885081000,134.98000000],[1579885381000,146.04000000],[1579885681000,131.72000000],[1579885981000,144.82000000],[1579886281000,114.54000000],[1579886581000,125.60000000],[1579886881000,144.84000000],[1579887181000,128.86000000],[1579887481000,136.22000000],[1579887781000,146.04000000],[1579888081000,158.32000000],[1579888381000,142.76000000],[1579888681000,154.64000000],[1579888981000,158.72000000],[1579889281000,122.72000000],[1579889581000,149.30000000],[1579889881000,110.88000000],[1579890181000,125.18000000],[1579890481000,121.90000000],[1579890781000,123.58000000],[1579891081000,127.64000000],[1579891381000,147.70000000],[1579891681000,149.72000000],[1579891981000,120.68000000],[1579892281000,142.38000000],[1579892581000,133.76000000],[1579892881000,157.10000000],[1579893181000,152.18000000],[1579893481000,110.48000000],[1579893781000,136.24000000],[1579894081000,103.90000000],[1579894381000,75.68000000],[1579894681000,141.14000000],[1579894981000,132.94000000],[1579895281000,130.08000000],[1579895581000,166.92000000],[1579895881000,93.28000000],[1579896181000,178.36000000],[1579896481000,323.18000000],[1579896781000,49.10000000],[1579897081000,38.44000000],[1579897381000,122.72000000],[1579897681000,156.68000000],[1579897981000,150.14000000],[1579898281000,124.76000000],[1579898581000,126.84000000],[1579898881000,132.96000000],[1579899181000,187.78000000],[1579899481000,189.00000000],[1579899781000,162.00000000],[1579900081000,108.82000000],[1579900381000,139.48000000],[1579900681000,197.60000000],[1579900981000,82.20000000],[1579901281000,98.58000000],[1579901581000,70.36000000],[1579901881000,108.42000000],[1579902181000,86.34000000],[1579902481000,235.62000000],[1579902781000,215.60000000],[1579903081000,132.96000000],[1579903381000,153.82000000],[1579903681000,98.18000000],[1579903981000,125.16000000],[1579904281000,113.72000000],[1579904581000,78.14000000],[1579904881000,127.22000000],[1579905181000,158.74000000],[1579905481000,119.06000000],[1579905781000,130.10000000],[1579906081000,175.50000000],[1579906381000,130.52000000],[1579906681000,125.80000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $('.modal').on('hide.bs.modal', function() { var memory = $(this).html(); $(this).html(memory); }); function meteo_wind_direction_name(wind_direction) { if (wind_direction >= 0.00 && wind_direction <= 11.25) { ret = 'S'; } else if (wind_direction > 11.25 && wind_direction <= 33.75) { ret = 'SSV'; } else if (wind_direction > 33.75 && wind_direction <= 56.25) { ret = 'SV'; } else if (wind_direction > 56.25 && wind_direction <= 78.75) { // 67.5 ret = 'VSV'; } else if (wind_direction > 78.75 && wind_direction <= 101.25) { // 90 ret = 'V'; } else if (wind_direction > 101.25 && wind_direction <= 123.75) { //112.5 ret = 'VJV'; } else if (wind_direction > 123.75 && wind_direction <= 146.25) { // 135 ret = 'JV'; } else if (wind_direction > 146.25 && wind_direction <= 168.75) { // 157.5 ret = 'JJV'; } else if (wind_direction > 168.75 && wind_direction <= 191.25) { // 180 ret = 'J'; } else if (wind_direction > 191.25 && wind_direction <= 213.75) { // 202.5 ret = 'JJZ'; } else if (wind_direction > 213.75 && wind_direction <= 236.25) { // 225 ret = 'JZ'; } else if (wind_direction > 236.25 && wind_direction <= 258.75) { // 247.5 ret = 'ZJZ'; } else if (wind_direction > 258.75 && wind_direction <= 281.25) { // 270 ret = 'Z'; } else if (wind_direction > 281.25 && wind_direction <= 303.75) { // 292.5 ret = 'ZSZ'; } else if (wind_direction > 303.75 && wind_direction <= 326.25) { // 315 ret = 'SZ'; } else if (wind_direction > 326.25 && wind_direction <= 348.75) { // 337.5 ret = 'SSZ'; } else if (wind_direction > 348.75 && wind_direction <= 360.0) { // 337.5 ret = 'S'; } else { return ''; } return ret; }