var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1581721201000,6.70000000],[1581721381000,6.74000000],[1581721681000,6.64000000],[1581721981000,6.52000000],[1581722281000,6.44000000],[1581722581000,6.34000000],[1581722881000,6.30000000],[1581723181000,6.30000000],[1581723481000,6.22000000],[1581723781000,6.20000000],[1581724081000,6.08000000],[1581724381000,6.14000000],[1581724681000,6.12000000],[1581724981000,6.00000000],[1581725281000,6.00000000],[1581725581000,6.00000000],[1581725881000,5.92000000],[1581726181000,5.86000000],[1581726481000,5.86000000],[1581726781000,5.90000000],[1581727081000,5.96000000],[1581727381000,5.98000000],[1581727681000,5.90000000],[1581727981000,5.90000000],[1581728281000,5.90000000],[1581728581000,5.88000000],[1581728881000,5.80000000],[1581729181000,5.72000000],[1581729481000,5.72000000],[1581729781000,5.64000000],[1581730081000,5.54000000],[1581730381000,5.40000000],[1581730681000,5.36000000],[1581730981000,5.40000000],[1581731281000,5.30000000],[1581731581000,5.18000000],[1581731881000,5.06000000],[1581732181000,4.84000000],[1581732481000,4.76000000],[1581732781000,4.58000000],[1581733081000,4.26000000],[1581733381000,4.24000000],[1581733681000,4.12000000],[1581733981000,4.18000000],[1581734281000,4.36000000],[1581734581000,4.56000000],[1581734881000,4.64000000],[1581735181000,4.62000000],[1581735481000,4.66000000],[1581735781000,4.74000000],[1581736081000,4.84000000],[1581736381000,4.90000000],[1581736681000,4.98000000],[1581736981000,5.04000000],[1581737281000,5.00000000],[1581737581000,4.98000000],[1581737881000,4.90000000],[1581738181000,4.88000000],[1581738481000,4.82000000],[1581738781000,4.76000000],[1581739081000,4.74000000],[1581739381000,4.72000000],[1581739681000,4.56000000],[1581739981000,4.36000000],[1581740281000,4.24000000],[1581740581000,4.16000000],[1581740881000,3.98000000],[1581741181000,3.80000000],[1581741481000,3.60000000],[1581741781000,3.46000000],[1581742081000,3.32000000],[1581742381000,3.20000000],[1581742681000,2.96000000],[1581742981000,2.66000000],[1581743281000,2.40000000],[1581743581000,2.14000000],[1581743881000,1.90000000],[1581744181000,1.74000000],[1581744481000,1.70000000],[1581744781000,1.70000000],[1581745081000,1.68000000],[1581745381000,1.54000000],[1581745681000,1.42000000],[1581745981000,1.42000000],[1581746281000,1.46000000],[1581746581000,1.36000000],[1581746881000,1.26000000],[1581747181000,1.30000000],[1581747481000,1.34000000],[1581747781000,1.46000000],[1581748081000,1.64000000],[1581748381000,1.68000000],[1581748681000,1.72000000],[1581748981000,1.92000000],[1581749281000,2.24000000],[1581749581000,2.64000000],[1581749881000,2.94000000],[1581750181000,3.14000000],[1581750481000,3.18000000],[1581750781000,3.20000000],[1581751081000,3.30000000],[1581751381000,3.34000000],[1581751681000,3.52000000],[1581751981000,3.86000000],[1581752281000,4.20000000],[1581752581000,4.82000000],[1581752881000,5.60000000],[1581753181000,5.66000000],[1581753481000,5.72000000],[1581753781000,5.76000000],[1581754081000,5.76000000],[1581754381000,6.12000000],[1581754682000,6.50000000],[1581754981000,6.70000000],[1581755281000,6.92000000],[1581755581000,7.30000000],[1581755881000,8.02000000],[1581756181000,8.16000000],[1581756481000,8.12000000],[1581756781000,8.52000000],[1581757081000,8.70000000],[1581757381000,8.82000000],[1581757681000,8.88000000],[1581757981000,8.88000000],[1581758281000,8.92000000],[1581758581000,9.18000000],[1581758881000,9.22000000],[1581759181000,9.32000000],[1581759481000,9.12000000],[1581759781000,8.96000000],[1581760081000,9.34000000],[1581760381000,9.30000000],[1581760681000,9.10000000],[1581760981000,9.18000000],[1581761281000,8.94000000],[1581761581000,9.54000000],[1581761881000,9.34000000],[1581762181000,9.48000000],[1581762481000,9.84000000],[1581762781000,9.86000000],[1581763081000,10.02000000],[1581763381000,10.12000000],[1581763681000,9.90000000],[1581763981000,10.04000000],[1581764281000,10.12000000],[1581764581000,9.74000000],[1581764881000,9.96000000],[1581765181000,10.16000000],[1581765481000,9.98000000],[1581765781000,10.12000000],[1581766081000,10.24000000],[1581766381000,9.96000000],[1581766681000,9.98000000],[1581766981000,10.42000000],[1581767281000,10.28000000],[1581767581000,10.02000000],[1581767881000,10.58000000],[1581768181000,10.68000000],[1581768481000,10.88000000],[1581768781000,10.46000000],[1581769081000,10.48000000],[1581769381000,10.60000000],[1581769681000,11.20000000],[1581769981000,11.14000000],[1581770281000,10.90000000],[1581770581000,10.92000000],[1581770881000,10.76000000],[1581771181000,11.10000000],[1581771481000,11.22000000],[1581771781000,10.82000000],[1581772081000,10.68000000],[1581772381000,10.58000000],[1581772681000,10.72000000],[1581772981000,10.66000000],[1581773281000,10.70000000],[1581773582000,10.96000000],[1581773881000,11.24000000],[1581774181000,10.94000000],[1581774481000,10.74000000],[1581774781000,10.52000000],[1581775081000,10.52000000],[1581775381000,10.68000000],[1581775681000,10.66000000],[1581775981000,10.52000000],[1581776281000,10.70000000],[1581776581000,10.64000000],[1581776881000,10.82000000],[1581777182000,10.76000000],[1581777481000,10.42000000],[1581777781000,10.54000000],[1581778081000,10.40000000],[1581778381000,10.30000000],[1581778681000,10.20000000],[1581778981000,9.98000000],[1581779281000,9.84000000],[1581779581000,9.72000000],[1581779881000,9.64000000],[1581780181000,9.52000000],[1581780481000,9.42000000],[1581780781000,9.26000000],[1581781081000,9.18000000],[1581781381000,8.98000000],[1581781681000,8.80000000],[1581781981000,8.64000000],[1581782281000,8.46000000],[1581782581000,8.22000000],[1581782881000,7.92000000],[1581783181000,7.56000000],[1581783481000,7.32000000],[1581783781000,6.90000000],[1581784081000,6.46000000],[1581784381000,6.24000000],[1581784681000,6.00000000],[1581784981000,5.82000000],[1581785281000,5.52000000],[1581785581000,5.20000000],[1581785881000,4.92000000],[1581786181000,4.70000000],[1581786481000,4.58000000],[1581786781000,4.50000000],[1581787081000,4.32000000],[1581787381000,4.12000000],[1581787681000,4.02000000],[1581787981000,3.84000000],[1581788281000,3.70000000],[1581788581000,3.70000000],[1581788881000,3.66000000],[1581789181000,3.78000000],[1581789481000,3.80000000],[1581789781000,3.76000000],[1581790081000,3.78000000],[1581790381000,3.82000000],[1581790681000,3.96000000],[1581790981000,4.14000000],[1581791281000,4.50000000],[1581791581000,5.02000000],[1581791881000,5.10000000],[1581792181000,5.12000000],[1581792481000,4.98000000],[1581792782000,5.06000000],[1581793081000,5.22000000],[1581793381000,5.16000000],[1581793681000,5.14000000],[1581793981000,5.18000000],[1581794281000,5.06000000],[1581794581000,4.94000000],[1581794881000,4.90000000],[1581795181000,4.80000000],[1581795481000,4.50000000],[1581795781000,4.38000000],[1581796081000,4.32000000],[1581796381000,4.22000000],[1581796681000,4.34000000],[1581796981000,4.48000000],[1581797281000,4.64000000],[1581797581000,4.58000000],[1581797881000,4.74000000],[1581798181000,4.80000000],[1581798481000,4.68000000],[1581798781000,4.58000000],[1581799081000,4.50000000],[1581799381000,4.70000000],[1581799681000,4.80000000],[1581799981000,4.78000000],[1581800281000,4.64000000],[1581800581000,4.42000000],[1581800881000,4.02000000],[1581801181000,3.52000000],[1581801481000,3.14000000],[1581801781000,2.96000000],[1581802081000,2.76000000],[1581802381000,2.72000000],[1581802681000,2.58000000],[1581802981000,2.54000000],[1581803281000,2.74000000],[1581803581000,3.00000000],[1581803881000,2.94000000],[1581804181000,2.88000000],[1581804481000,2.78000000],[1581804781000,2.80000000],[1581805081000,2.76000000],[1581805381000,2.66000000],[1581805681000,2.50000000],[1581805981000,2.56000000],[1581806281000,2.40000000],[1581806581000,2.22000000],[1581806881000,2.02000000],[1581807181000,1.84000000],[1581807481000,1.80000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1581721201000,6.5],[1581721381000,6.5],[1581721681000,6.5],[1581721981000,6.5],[1581722281000,6.4],[1581722581000,6.3],[1581722881000,6.3],[1581723181000,6.3],[1581723481000,6.2],[1581723781000,6.2],[1581724081000,6.1],[1581724381000,6.1],[1581724681000,6.1],[1581724981000,6],[1581725281000,6],[1581725581000,6],[1581725881000,5.9],[1581726181000,5.9],[1581726481000,5.9],[1581726781000,5.9],[1581727081000,6],[1581727381000,6],[1581727681000,5.9],[1581727981000,5.9],[1581728281000,5.9],[1581728581000,5.9],[1581728881000,5.8],[1581729181000,5.7],[1581729481000,5.7],[1581729781000,5.6],[1581730081000,5.5],[1581730381000,5.4],[1581730681000,5.4],[1581730981000,5.4],[1581731281000,5.3],[1581731581000,5.2],[1581731881000,5.1],[1581732181000,4.8],[1581732481000,4.8],[1581732781000,4.6],[1581733081000,4.3],[1581733381000,4.2],[1581733681000,4.1],[1581733981000,4.2],[1581734281000,4.4],[1581734581000,4.6],[1581734881000,4.6],[1581735181000,4.6],[1581735481000,4.7],[1581735781000,4.7],[1581736081000,4.8],[1581736381000,4.9],[1581736681000,5],[1581736981000,5],[1581737281000,5],[1581737581000,5],[1581737881000,4.9],[1581738181000,4.9],[1581738481000,4.8],[1581738781000,4.8],[1581739081000,4.7],[1581739381000,4.7],[1581739681000,4.6],[1581739981000,4.4],[1581740281000,4.2],[1581740581000,4.2],[1581740881000,4],[1581741181000,3.8],[1581741481000,3.6],[1581741781000,3.5],[1581742081000,3.3],[1581742381000,3.2],[1581742681000,3],[1581742981000,2.7],[1581743281000,2.4],[1581743581000,2.1],[1581743881000,1.9],[1581744181000,1.7],[1581744481000,1.7],[1581744781000,1.7],[1581745081000,1.7],[1581745381000,1.5],[1581745681000,1.4],[1581745981000,1.4],[1581746281000,1.5],[1581746581000,1.4],[1581746881000,1.3],[1581747181000,1.3],[1581747481000,1.3],[1581747781000,1.5],[1581748081000,1.6],[1581748381000,1.7],[1581748681000,1.7],[1581748981000,1.9],[1581749281000,2.2],[1581749581000,2.6],[1581749881000,2.9],[1581750181000,3.1],[1581750481000,3.2],[1581750781000,3.2],[1581751081000,3.3],[1581751381000,3.3],[1581751681000,3.5],[1581751981000,3.9],[1581752281000,4.2],[1581752581000,4.8],[1581752881000,5.6],[1581753181000,5.7],[1581753481000,5.7],[1581753781000,5.8],[1581754081000,5.8],[1581754381000,6.1],[1581754682000,6.5],[1581754981000,6.7],[1581755281000,6.9],[1581755581000,7.3],[1581755881000,7.3],[1581756181000,7.4],[1581756481000,7.2],[1581756781000,7],[1581757081000,7],[1581757381000,7],[1581757681000,7],[1581757981000,6.5],[1581758281000,6.5],[1581758581000,6.4],[1581758881000,6],[1581759181000,6.2],[1581759481000,6],[1581759781000,6.3],[1581760081000,6.5],[1581760381000,6.4],[1581760681000,6],[1581760981000,6.1],[1581761281000,6.1],[1581761581000,5.9],[1581761881000,6],[1581762181000,5.9],[1581762481000,5.9],[1581762781000,5.9],[1581763081000,5.9],[1581763381000,6.2],[1581763681000,5.9],[1581763981000,6],[1581764281000,6.1],[1581764581000,6.1],[1581764881000,6.1],[1581765181000,6.3],[1581765481000,6.1],[1581765781000,6.1],[1581766081000,6.1],[1581766381000,5.9],[1581766681000,6],[1581766981000,5.8],[1581767281000,5.7],[1581767581000,5.5],[1581767881000,5.7],[1581768181000,5.7],[1581768481000,5.6],[1581768781000,5.3],[1581769081000,5],[1581769381000,4.9],[1581769681000,4.8],[1581769981000,4.4],[1581770281000,4.5],[1581770581000,4.9],[1581770881000,4.7],[1581771181000,4.7],[1581771481000,4.3],[1581771781000,4.3],[1581772081000,3.9],[1581772381000,3.5],[1581772681000,4.6],[1581772981000,5],[1581773281000,4.9],[1581773582000,4.7],[1581773881000,4.5],[1581774181000,4.3],[1581774481000,4.1],[1581774781000,2.7],[1581775081000,2.6],[1581775381000,2.7],[1581775681000,3.1],[1581775981000,3],[1581776281000,3.4],[1581776581000,3.4],[1581776881000,3.7],[1581777481000,3],[1581777781000,2.7],[1581778081000,2.4],[1581778381000,3],[1581778681000,3],[1581778981000,3.2],[1581779281000,3.2],[1581779581000,3.3],[1581779881000,3.3],[1581780181000,3.5],[1581780481000,3.6],[1581780781000,3.6],[1581781081000,3.6],[1581781381000,3.6],[1581781681000,3.7],[1581781981000,3.6],[1581782281000,3.6],[1581782581000,3.7],[1581782881000,4.2],[1581783181000,4.1],[1581783481000,4.5],[1581783781000,4.7],[1581784081000,4.9],[1581784381000,5.1],[1581784681000,5.3],[1581784981000,5.5],[1581785281000,5.5],[1581785581000,5.2],[1581785881000,4.9],[1581786181000,4.7],[1581786481000,4.6],[1581786781000,4.5],[1581787081000,4.3],[1581787381000,4.1],[1581787681000,4],[1581787981000,3.8],[1581788281000,3.7],[1581788581000,3.7],[1581788881000,3.7],[1581789181000,3.8],[1581789481000,3.8],[1581789781000,3.8],[1581790081000,3.8],[1581790381000,3.8],[1581790681000,4],[1581790981000,4.1],[1581791281000,4.5],[1581791581000,5],[1581791881000,5.1],[1581792181000,5.1],[1581792481000,5],[1581793081000,5.2],[1581793381000,5.1],[1581793681000,5],[1581793981000,4.9],[1581794281000,5],[1581794581000,4.9],[1581794881000,4.9],[1581795181000,4.8],[1581795481000,4.5],[1581795781000,4.4],[1581796081000,4.3],[1581796381000,4.2],[1581796681000,4.3],[1581796981000,4.5],[1581797281000,4.6],[1581797581000,4.6],[1581797881000,4.5],[1581798181000,4.5],[1581798481000,4.5],[1581798781000,4.5],[1581799081000,4.5],[1581799381000,4.5],[1581799681000,4.5],[1581799981000,4.4],[1581800281000,4.5],[1581800581000,4.4],[1581800881000,4],[1581801181000,3.5],[1581801481000,3.1],[1581801781000,3],[1581802081000,2.8],[1581802381000,2.7],[1581802681000,2.6],[1581802981000,2.5],[1581803281000,2.7],[1581803581000,3],[1581803881000,2.9],[1581804181000,2.9],[1581804481000,2.8],[1581804781000,2.8],[1581805081000,2.8],[1581805381000,2.7],[1581805681000,2.5],[1581805981000,2.6],[1581806281000,2.4],[1581806581000,2.2],[1581806881000,2],[1581807181000,1.8],[1581807481000,1.8],], 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: [[1581721201000,98.56666667],[1581721381000,98.36000000],[1581721681000,99.12000000],[1581721981000,99.80000000],[1581722281000,99.90000000],[1581722581000,100.00000000],[1581722881000,100.00000000],[1581723181000,100.00000000],[1581723481000,100.00000000],[1581723781000,100.00000000],[1581724081000,100.00000000],[1581724381000,100.00000000],[1581724681000,100.00000000],[1581724981000,100.00000000],[1581725281000,100.00000000],[1581725581000,100.00000000],[1581725881000,100.00000000],[1581726181000,100.00000000],[1581726481000,100.00000000],[1581726781000,100.00000000],[1581727081000,100.00000000],[1581727381000,100.00000000],[1581727681000,100.00000000],[1581727981000,100.00000000],[1581728281000,100.00000000],[1581728581000,100.00000000],[1581728881000,100.00000000],[1581729181000,100.00000000],[1581729481000,100.00000000],[1581729781000,100.00000000],[1581730081000,100.00000000],[1581730381000,100.00000000],[1581730681000,100.00000000],[1581730981000,100.00000000],[1581731281000,100.00000000],[1581731581000,100.00000000],[1581731881000,100.00000000],[1581732181000,100.00000000],[1581732481000,100.00000000],[1581732781000,100.00000000],[1581733081000,100.00000000],[1581733381000,100.00000000],[1581733681000,100.00000000],[1581733981000,100.00000000],[1581734281000,100.00000000],[1581734581000,100.00000000],[1581734881000,100.00000000],[1581735181000,100.00000000],[1581735481000,100.00000000],[1581735781000,100.00000000],[1581736081000,100.00000000],[1581736381000,100.00000000],[1581736681000,100.00000000],[1581736981000,100.00000000],[1581737281000,100.00000000],[1581737581000,100.00000000],[1581737881000,100.00000000],[1581738181000,100.00000000],[1581738481000,100.00000000],[1581738781000,100.00000000],[1581739081000,100.00000000],[1581739381000,100.00000000],[1581739681000,100.00000000],[1581739981000,100.00000000],[1581740281000,100.00000000],[1581740581000,100.00000000],[1581740881000,100.00000000],[1581741181000,100.00000000],[1581741481000,100.00000000],[1581741781000,100.00000000],[1581742081000,100.00000000],[1581742381000,100.00000000],[1581742681000,100.00000000],[1581742981000,100.00000000],[1581743281000,100.00000000],[1581743581000,100.00000000],[1581743881000,100.00000000],[1581744181000,100.00000000],[1581744481000,100.00000000],[1581744781000,100.00000000],[1581745081000,100.00000000],[1581745381000,100.00000000],[1581745681000,100.00000000],[1581745981000,100.00000000],[1581746281000,100.00000000],[1581746581000,100.00000000],[1581746881000,100.00000000],[1581747181000,100.00000000],[1581747481000,100.00000000],[1581747781000,100.00000000],[1581748081000,100.00000000],[1581748381000,100.00000000],[1581748681000,100.00000000],[1581748981000,100.00000000],[1581749281000,100.00000000],[1581749581000,100.00000000],[1581749881000,100.00000000],[1581750181000,100.00000000],[1581750481000,100.00000000],[1581750781000,100.00000000],[1581751081000,100.00000000],[1581751381000,100.00000000],[1581751681000,100.00000000],[1581751981000,100.00000000],[1581752281000,100.00000000],[1581752581000,100.00000000],[1581752881000,100.00000000],[1581753181000,100.00000000],[1581753481000,100.00000000],[1581753781000,100.00000000],[1581754081000,100.00000000],[1581754381000,100.00000000],[1581754682000,100.00000000],[1581754981000,100.00000000],[1581755281000,100.00000000],[1581755581000,99.68000000],[1581755881000,95.42000000],[1581756181000,95.28000000],[1581756481000,93.74000000],[1581756781000,90.48000000],[1581757081000,88.92000000],[1581757381000,88.64000000],[1581757681000,87.84000000],[1581757981000,85.20000000],[1581758281000,84.80000000],[1581758581000,82.84000000],[1581758881000,80.30000000],[1581759181000,81.20000000],[1581759481000,81.04000000],[1581759781000,83.48000000],[1581760081000,82.60000000],[1581760381000,82.30000000],[1581760681000,81.14000000],[1581760981000,81.30000000],[1581761281000,82.38000000],[1581761581000,78.22000000],[1581761881000,79.66000000],[1581762181000,78.52000000],[1581762481000,76.86000000],[1581762781000,76.84000000],[1581763081000,75.58000000],[1581763381000,76.82000000],[1581763681000,76.36000000],[1581763981000,76.20000000],[1581764281000,76.16000000],[1581764581000,78.10000000],[1581764881000,77.30000000],[1581765181000,76.92000000],[1581765481000,76.96000000],[1581765781000,76.38000000],[1581766081000,75.50000000],[1581766381000,76.30000000],[1581766681000,76.72000000],[1581766981000,73.50000000],[1581767281000,73.64000000],[1581767581000,73.82000000],[1581767881000,71.98000000],[1581768181000,71.40000000],[1581768481000,70.06000000],[1581768781000,70.58000000],[1581769081000,69.16000000],[1581769381000,68.16000000],[1581769681000,65.22000000],[1581769981000,63.52000000],[1581770281000,64.74000000],[1581770581000,66.58000000],[1581770881000,66.24000000],[1581771181000,64.80000000],[1581771481000,62.70000000],[1581771781000,64.26000000],[1581772081000,63.34000000],[1581772381000,61.86000000],[1581772681000,66.00000000],[1581772981000,68.16000000],[1581773281000,67.56000000],[1581773582000,65.46000000],[1581773881000,63.44000000],[1581774181000,64.08000000],[1581774481000,63.82000000],[1581774781000,58.86000000],[1581775081000,58.22000000],[1581775381000,58.12000000],[1581775681000,59.64000000],[1581775981000,59.94000000],[1581776281000,60.80000000],[1581776581000,61.32000000],[1581776881000,61.58000000],[1581777181000,61.46000000],[1581777481000,60.34000000],[1581777781000,58.78000000],[1581778081000,58.14000000],[1581778381000,60.72000000],[1581778681000,61.40000000],[1581778981000,63.00000000],[1581779281000,63.54000000],[1581779581000,64.42000000],[1581779881000,65.02000000],[1581780181000,66.28000000],[1581780481000,67.16000000],[1581780781000,68.14000000],[1581781081000,68.18000000],[1581781381000,69.40000000],[1581781681000,70.44000000],[1581781981000,70.84000000],[1581782281000,71.94000000],[1581782581000,73.42000000],[1581782881000,77.50000000],[1581783181000,78.78000000],[1581783481000,82.52000000],[1581783781000,86.14000000],[1581784081000,90.10000000],[1581784381000,92.54000000],[1581784681000,95.56000000],[1581784981000,98.12000000],[1581785281000,99.92000000],[1581785581000,100.00000000],[1581785881000,100.00000000],[1581786181000,100.00000000],[1581786481000,100.00000000],[1581786781000,100.00000000],[1581787081000,100.00000000],[1581787381000,100.00000000],[1581787681000,100.00000000],[1581787981000,100.00000000],[1581788281000,100.00000000],[1581788581000,100.00000000],[1581788881000,100.00000000],[1581789181000,100.00000000],[1581789481000,100.00000000],[1581789781000,100.00000000],[1581790081000,100.00000000],[1581790381000,100.00000000],[1581790681000,100.00000000],[1581790981000,100.00000000],[1581791281000,100.00000000],[1581791581000,100.00000000],[1581791881000,100.00000000],[1581792181000,100.00000000],[1581792481000,100.00000000],[1581792781000,99.74000000],[1581793081000,100.00000000],[1581793381000,99.90000000],[1581793681000,99.26000000],[1581793981000,98.38000000],[1581794281000,99.76000000],[1581794581000,100.00000000],[1581794881000,99.92000000],[1581795181000,100.00000000],[1581795481000,100.00000000],[1581795781000,100.00000000],[1581796081000,100.00000000],[1581796381000,100.00000000],[1581796681000,100.00000000],[1581796981000,99.86000000],[1581797281000,99.84000000],[1581797581000,99.82000000],[1581797881000,98.16000000],[1581798181000,98.22000000],[1581798481000,99.08000000],[1581798781000,99.64000000],[1581799081000,99.82000000],[1581799381000,98.52000000],[1581799681000,97.94000000],[1581799981000,97.74000000],[1581800281000,98.98000000],[1581800581000,99.92000000],[1581800881000,100.00000000],[1581801181000,100.00000000],[1581801481000,100.00000000],[1581801781000,100.00000000],[1581802081000,100.00000000],[1581802381000,100.00000000],[1581802681000,100.00000000],[1581802981000,100.00000000],[1581803281000,100.00000000],[1581803581000,100.00000000],[1581803881000,100.00000000],[1581804181000,100.00000000],[1581804481000,100.00000000],[1581804781000,100.00000000],[1581805081000,100.00000000],[1581805381000,100.00000000],[1581805681000,100.00000000],[1581805981000,100.00000000],[1581806281000,100.00000000],[1581806581000,100.00000000],[1581806881000,100.00000000],[1581807181000,100.00000000],[1581807481000,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: [[1581721201000,1026.3],[1581721381000,1026.3],[1581721681000,1026.2],[1581721981000,1026.2],[1581722281000,1026.2],[1581722581000,1026.2],[1581722881000,1026.2],[1581723181000,1026.3],[1581723481000,1026.4],[1581723781000,1026.4],[1581724081000,1026.5],[1581724381000,1026.5],[1581724681000,1026.6],[1581724981000,1026.7],[1581725281000,1026.9],[1581725581000,1026.9],[1581725881000,1026.9],[1581726181000,1026.9],[1581726481000,1027],[1581726781000,1027.1],[1581727081000,1027.1],[1581727381000,1027.2],[1581727681000,1027.2],[1581727981000,1027.2],[1581728281000,1027.3],[1581728581000,1027.3],[1581728881000,1027.2],[1581729181000,1027.3],[1581729481000,1027.3],[1581729781000,1027.3],[1581730081000,1027.3],[1581730381000,1027.3],[1581730681000,1027.3],[1581730981000,1027.4],[1581731281000,1027.4],[1581731581000,1027.4],[1581731881000,1027.5],[1581732181000,1027.6],[1581732481000,1027.6],[1581732781000,1027.6],[1581733081000,1027.6],[1581733381000,1027.6],[1581733681000,1027.6],[1581733981000,1027.6],[1581734281000,1027.6],[1581734581000,1027.7],[1581734881000,1027.6],[1581735181000,1027.7],[1581735481000,1027.7],[1581735781000,1027.7],[1581736081000,1027.7],[1581736381000,1027.7],[1581736681000,1027.9],[1581736981000,1027.9],[1581737281000,1027.9],[1581737581000,1027.9],[1581737881000,1027.9],[1581738181000,1027.9],[1581738481000,1028],[1581738781000,1028.1],[1581739081000,1028.2],[1581739381000,1028.2],[1581739681000,1028.1],[1581739981000,1028.1],[1581740281000,1028.2],[1581740581000,1028.2],[1581740881000,1028.2],[1581741181000,1028.3],[1581741481000,1028.2],[1581741781000,1028.3],[1581742081000,1028.5],[1581742381000,1028.5],[1581742681000,1028.5],[1581742981000,1028.6],[1581743281000,1028.6],[1581743581000,1028.6],[1581743881000,1028.7],[1581744181000,1028.8],[1581744481000,1028.7],[1581744781000,1028.8],[1581745081000,1028.7],[1581745381000,1028.8],[1581745681000,1028.8],[1581745981000,1028.9],[1581746281000,1028.8],[1581746581000,1028.9],[1581746881000,1028.9],[1581747181000,1029],[1581747481000,1029],[1581747781000,1029],[1581748081000,1029],[1581748381000,1029.1],[1581748681000,1029.1],[1581748981000,1029.1],[1581749281000,1029.1],[1581749581000,1029.1],[1581749881000,1029.1],[1581750181000,1029.1],[1581750481000,1029.1],[1581750781000,1029.2],[1581751081000,1029.2],[1581751381000,1029.3],[1581751681000,1029.3],[1581751981000,1029.3],[1581752281000,1029.3],[1581752581000,1029.3],[1581752881000,1029.3],[1581753181000,1029.4],[1581753481000,1029.4],[1581753781000,1029.4],[1581754081000,1029.5],[1581754381000,1029.5],[1581754682000,1029.4],[1581754981000,1029.4],[1581755281000,1029.4],[1581755581000,1029.4],[1581755881000,1029.3],[1581756181000,1029.3],[1581756481000,1029.3],[1581756781000,1029.3],[1581757081000,1029.3],[1581757381000,1029.3],[1581757681000,1029.2],[1581757981000,1029.3],[1581758281000,1029.2],[1581758581000,1029.3],[1581758881000,1029.3],[1581759181000,1029.3],[1581759481000,1029.4],[1581759781000,1029.3],[1581760081000,1029.3],[1581760381000,1029.3],[1581760681000,1029.3],[1581760981000,1029.3],[1581761281000,1029.3],[1581761581000,1029.2],[1581761881000,1029.2],[1581762181000,1029.2],[1581762481000,1029.1],[1581762781000,1029.1],[1581763081000,1029.1],[1581763381000,1029],[1581763681000,1029],[1581763981000,1028.9],[1581764281000,1028.9],[1581764581000,1028.9],[1581764881000,1028.9],[1581765181000,1028.8],[1581765481000,1028.7],[1581765781000,1028.6],[1581766081000,1028.6],[1581766381000,1028.6],[1581766681000,1028.6],[1581766981000,1028.4],[1581767281000,1028.4],[1581767581000,1028.3],[1581767881000,1028.3],[1581768181000,1028.2],[1581768481000,1028.1],[1581768781000,1028.1],[1581769081000,1028.1],[1581769381000,1028],[1581769681000,1028.1],[1581769981000,1028.1],[1581770281000,1028.1],[1581770581000,1028.1],[1581770881000,1028],[1581771181000,1028],[1581771481000,1028],[1581771781000,1028],[1581772081000,1028],[1581772381000,1027.8],[1581772681000,1027.9],[1581772981000,1027.9],[1581773281000,1027.8],[1581773582000,1027.8],[1581773881000,1027.8],[1581774181000,1027.8],[1581774481000,1027.7],[1581774781000,1027.8],[1581775081000,1027.8],[1581775381000,1027.7],[1581775681000,1027.7],[1581775981000,1027.7],[1581776281000,1027.7],[1581776581000,1027.6],[1581776881000,1027.6],[1581777481000,1027.6],[1581777781000,1027.6],[1581778081000,1027.6],[1581778381000,1027.6],[1581778681000,1027.6],[1581778981000,1027.6],[1581779281000,1027.6],[1581779581000,1027.7],[1581779881000,1027.6],[1581780181000,1027.6],[1581780481000,1027.6],[1581780781000,1027.6],[1581781081000,1027.6],[1581781381000,1027.6],[1581781681000,1027.6],[1581781981000,1027.6],[1581782281000,1027.6],[1581782581000,1027.6],[1581782881000,1027.7],[1581783181000,1027.7],[1581783481000,1027.7],[1581783781000,1027.7],[1581784081000,1027.8],[1581784381000,1027.9],[1581784681000,1027.9],[1581784981000,1027.9],[1581785281000,1027.9],[1581785581000,1027.9],[1581785881000,1027.8],[1581786181000,1027.8],[1581786481000,1027.8],[1581786781000,1027.8],[1581787081000,1027.9],[1581787381000,1027.9],[1581787681000,1027.9],[1581787981000,1027.9],[1581788281000,1027.9],[1581788581000,1028],[1581788881000,1028],[1581789181000,1028],[1581789481000,1028],[1581789781000,1028],[1581790081000,1027.9],[1581790381000,1027.9],[1581790681000,1027.9],[1581790981000,1027.9],[1581791281000,1027.9],[1581791581000,1027.9],[1581791881000,1027.9],[1581792181000,1027.9],[1581792481000,1027.8],[1581793081000,1027.8],[1581793381000,1027.7],[1581793681000,1027.8],[1581793981000,1027.8],[1581794281000,1027.8],[1581794581000,1027.9],[1581794881000,1028],[1581795181000,1028],[1581795481000,1027.9],[1581795781000,1027.9],[1581796081000,1027.9],[1581796381000,1028],[1581796681000,1028],[1581796981000,1028],[1581797281000,1028],[1581797581000,1028],[1581797881000,1027.9],[1581798181000,1027.9],[1581798481000,1027.9],[1581798781000,1027.8],[1581799081000,1027.7],[1581799381000,1027.7],[1581799681000,1027.6],[1581799981000,1027.7],[1581800281000,1027.6],[1581800581000,1027.7],[1581800881000,1027.7],[1581801181000,1027.6],[1581801481000,1027.6],[1581801781000,1027.6],[1581802081000,1027.5],[1581802381000,1027.6],[1581802681000,1027.8],[1581802981000,1027.9],[1581803281000,1027.9],[1581803581000,1027.8],[1581803881000,1027.7],[1581804181000,1027.6],[1581804481000,1027.6],[1581804781000,1027.6],[1581805081000,1027.5],[1581805381000,1027.3],[1581805681000,1027.3],[1581805981000,1027.3],[1581806281000,1027.4],[1581806581000,1027.4],[1581806881000,1027.6],[1581807181000,1027.7],[1581807481000,1027.8],], 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: [[1581721201000,31.920000012],[1581721381000,29.88],[1581721681000,31.896],[1581721981000,29.88],[1581722281000,30.528],[1581722581000,31.896],[1581722881000,29.592],[1581723181000,31.032],[1581723481000,31.248],[1581723781000,29.448],[1581724081000,26.064],[1581724381000,24.984],[1581724681000,25.632],[1581724981000,25.92],[1581725281000,23.328],[1581725581000,22.392],[1581725881000,23.976],[1581726181000,17.352],[1581726481000,17.208],[1581726781000,14.544],[1581727081000,14.688],[1581727381000,16.632],[1581727681000,16.992],[1581727981000,13.248],[1581728281000,10.728],[1581728581000,9],[1581728881000,17.64],[1581729181000,17.424],[1581729481000,10.944],[1581729781000,12.168],[1581730081000,5.832],[1581730381000,9.288],[1581730681000,9.072],[1581730981000,8.352],[1581731281000,9.36],[1581731581000,6.624],[1581731881000,4.032],[1581732181000,4.104],[1581732481000,4.968],[1581732781000,2.232],[1581733081000,4.68],[1581733381000,4.824],[1581733681000,5.832],[1581733981000,8.424],[1581734281000,12.168],[1581734581000,13.536],[1581734881000,17.64],[1581735181000,22.824],[1581735481000,24.192],[1581735781000,26.496],[1581736081000,25.56],[1581736381000,24.408],[1581736681000,23.904],[1581736981000,25.416],[1581737281000,21.168],[1581737581000,20.16],[1581737881000,21.672],[1581738181000,22.968],[1581738481000,25.056],[1581738781000,21.456],[1581739081000,16.2],[1581739381000,13.32],[1581739681000,15.552],[1581739981000,15.912],[1581740281000,12.096],[1581740581000,11.232],[1581740881000,7.992],[1581741181000,6.696],[1581741481000,6.264],[1581741781000,6.768],[1581742081000,3.6],[1581742381000,3.6],[1581742681000,3.672],[1581742981000,4.464],[1581743281000,3.888],[1581743581000,2.808],[1581743881000,3.024],[1581744181000,3.024],[1581744481000,3.528],[1581744781000,2.088],[1581745081000,3.6],[1581745381000,3.024],[1581745681000,0.504],[1581745981000,3.744],[1581746281000,3.672],[1581746581000,2.736],[1581746881000,4.104],[1581747181000,3.024],[1581747481000,3.096],[1581747781000,1.584],[1581748081000,1.44],[1581748381000,1.224],[1581748681000,5.256],[1581748981000,4.248],[1581749281000,2.448],[1581749581000,0.792],[1581749881000,1.8],[1581750181000,1.44],[1581750481000,0],[1581750781000,0],[1581751081000,2.376],[1581751381000,2.952],[1581751681000,0.792],[1581751981000,0.432],[1581752281000,1.152],[1581752581000,3.6],[1581752881000,5.328],[1581753181000,10.584],[1581753481000,9.216],[1581753781000,11.16],[1581754081000,10.8],[1581754381000,3.888],[1581754681000,5.976],[1581754981000,4.176],[1581755281000,7.344],[1581755581000,3.456],[1581755881000,2.088],[1581756181000,2.664],[1581756481000,3.672],[1581756781000,3.816],[1581757081000,5.328],[1581757381000,6.696],[1581757681000,6.192],[1581757981000,4.392],[1581758281000,4.896],[1581758581000,3.168],[1581758881000,3.096],[1581759181000,8.856],[1581759481000,7.632],[1581759781000,11.592],[1581760081000,7.992],[1581760381000,11.808],[1581760681000,9.72],[1581760981000,6.768],[1581761281000,9.936],[1581761581000,4.608],[1581761881000,10.728],[1581762181000,8.784],[1581762481000,7.272],[1581762781000,12.96],[1581763081000,6.48],[1581763381000,10.656],[1581763681000,15.696],[1581763981000,8.28],[1581764281000,11.232],[1581764581000,9.36],[1581764881000,9.432],[1581765181000,13.68],[1581765481000,10.656],[1581765781000,13.608],[1581766081000,11.664],[1581766381000,16.704],[1581766681000,11.232],[1581766981000,7.272],[1581767281000,17.28],[1581767581000,5.544],[1581767881000,10.728],[1581768181000,10.152],[1581768481000,7.632],[1581768781000,10.44],[1581769081000,10.224],[1581769381000,6.12],[1581769681000,6.192],[1581769981000,10.08],[1581770281000,12.168],[1581770581000,13.824],[1581770881000,8.568],[1581771181000,11.304],[1581771481000,12.744],[1581771781000,14.688],[1581772081000,16.56],[1581772381000,13.896],[1581772681000,12.816],[1581772981000,12.888],[1581773281000,10.296],[1581773581000,9.576],[1581773881000,10.008],[1581774181000,13.536],[1581774481000,11.592],[1581774781000,12.96],[1581775081000,15.48],[1581775381000,8.784],[1581775681000,15.48],[1581775981000,10.728],[1581776281000,11.952],[1581776581000,8.856],[1581776881000,5.4],[1581777181000,12.312],[1581777481000,13.392],[1581777781000,12.888],[1581778081000,9.36],[1581778381000,9],[1581778681000,8.136],[1581778981000,11.592],[1581779281000,16.344],[1581779581000,12.6],[1581779881000,8.352],[1581780181000,4.464],[1581780481000,4.68],[1581780781000,5.472],[1581781081000,4.032],[1581781381000,4.032],[1581781681000,3.672],[1581781981000,4.176],[1581782281000,2.52],[1581782581000,1.944],[1581782881000,0.936],[1581783181000,2.448],[1581783481000,1.656],[1581783781000,2.16],[1581784081000,2.16],[1581784381000,3.384],[1581784681000,3.312],[1581784981000,2.016],[1581785281000,1.656],[1581785581000,2.592],[1581785881000,3.096],[1581786181000,2.376],[1581786481000,2.88],[1581786781000,2.304],[1581787081000,2.736],[1581787381000,1.44],[1581787681000,0.864],[1581787981000,1.368],[1581788281000,1.944],[1581788581000,2.448],[1581788881000,3.168],[1581789181000,2.808],[1581789481000,2.376],[1581789781000,2.232],[1581790081000,2.52],[1581790381000,2.232],[1581790681000,1.584],[1581790981000,2.664],[1581791281000,2.304],[1581791581000,4.392],[1581791881000,3.024],[1581792181000,2.736],[1581792481000,0.864],[1581792781000,2.664],[1581793081000,1.08],[1581793381000,3.816],[1581793681000,4.032],[1581793981000,1.944],[1581794281000,1.368],[1581794581000,1.152],[1581794881000,0.36],[1581795181000,0.432],[1581795481000,1.44],[1581795781000,1.008],[1581796081000,0.216],[1581796381000,1.512],[1581796681000,2.88],[1581796981000,2.448],[1581797281000,1.8],[1581797581000,4.248],[1581797881000,2.952],[1581798181000,1.728],[1581798481000,2.664],[1581798781000,3.096],[1581799081000,2.952],[1581799381000,4.176],[1581799681000,5.112],[1581799981000,2.52],[1581800281000,1.8],[1581800581000,3.96],[1581800881000,2.592],[1581801181000,2.16],[1581801481000,2.808],[1581801781000,2.448],[1581802081000,1.224],[1581802381000,3.456],[1581802681000,5.76],[1581802981000,5.472],[1581803281000,7.776],[1581803581000,5.4],[1581803881000,5.4],[1581804181000,4.68],[1581804481000,4.608],[1581804781000,3.6],[1581805081000,2.808],[1581805381000,4.824],[1581805681000,4.896],[1581805981000,5.04],[1581806281000,3.888],[1581806581000,0.792],[1581806881000,4.392],[1581807181000,4.968],[1581807481000,3.6],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1581721201000,53.7876],[1581721381000,52.87608],[1581721681000,54.936],[1581721981000,52.13664],[1581722281000,53.06976],[1581722581000,56.52072],[1581722881000,53.766],[1581723181000,55.24992],[1581723481000,53.79912],[1581723781000,51.81264],[1581724081000,45.2988],[1581724381000,43.87608],[1581724681000,43.95744],[1581724981000,45.27936],[1581725281000,39.94272],[1581725581000,37.94904],[1581725881000,40.55616],[1581726181000,29.04336],[1581726481000,28.55448],[1581726781000,24.2352],[1581727081000,24.35328],[1581727381000,28.19376],[1581727681000,28.30824],[1581727981000,23.21856],[1581728281000,17.946],[1581728581000,15.08184],[1581728881000,30.06216],[1581729181000,29.22336],[1581729481000,18.3492],[1581729781000,20.07792],[1581730081000,9.33264],[1581730381000,15.53688],[1581730681000,14.97312],[1581730981000,13.68648],[1581731281000,15.73272],[1581731581000,11.0484],[1581731881000,6.3864],[1581732181000,6.22728],[1581732481000,7.76664],[1581732781000,3.58416],[1581733081000,7.20144],[1581733381000,7.86528],[1581733681000,9.40608],[1581733981000,13.8312],[1581734281000,19.83672],[1581734581000,23.01264],[1581734881000,29.74608],[1581735181000,38.76984],[1581735481000,42.25536],[1581735781000,45.67104],[1581736081000,44.58024],[1581736381000,42.27768],[1581736681000,40.91112],[1581736981000,44.13456],[1581737281000,36.94536],[1581737581000,34.15032],[1581737881000,37.09296],[1581738181000,39.81816],[1581738481000,43.07184],[1581738781000,35.8596],[1581739081000,27.1872],[1581739381000,22.3992],[1581739681000,25.61544],[1581739981000,26.26128],[1581740281000,19.93608],[1581740581000,18.24192],[1581740881000,12.58416],[1581741181000,10.7388],[1581741481000,9.75384],[1581741781000,10.74456],[1581742081000,5.6736],[1581742381000,5.65848],[1581742681000,5.65848],[1581742981000,6.83208],[1581743281000,5.87952],[1581743581000,4.33296],[1581743881000,4.74264],[1581744181000,4.69224],[1581744481000,5.34024],[1581744781000,3.222],[1581745081000,5.48352],[1581745381000,4.52376],[1581745681000,0.75672],[1581745981000,5.5512],[1581746281000,5.562],[1581746581000,4.15728],[1581746881000,6.12288],[1581747181000,4.4784],[1581747481000,4.75776],[1581747781000,2.49624],[1581748081000,2.16],[1581748381000,1.85832],[1581748681000,8.02728],[1581748981000,7.9308],[1581749281000,4.04928],[1581749581000,1.45368],[1581749881000,2.66328],[1581750181000,2.2536],[1581750481000,0],[1581750781000,0],[1581751081000,3.63744],[1581751381000,4.5972],[1581751681000,1.23408],[1581751981000,0.69048],[1581752281000,1.7928],[1581752581000,5.68296],[1581752881000,8.4744],[1581753181000,16.58376],[1581753481000,14.38416],[1581753781000,17.5284],[1581754081000,19.18296],[1581754381000,6.29208],[1581754681000,10.54368],[1581754981000,5.1264],[1581755281000,11.65608],[1581755581000,5.31648],[1581755881000,3.46248],[1581756181000,4.0752],[1581756481000,5.62752],[1581756781000,5.9868],[1581757081000,8.2872],[1581757381000,10.494],[1581757681000,9.7236],[1581757981000,6.68376],[1581758281000,7.49736],[1581758581000,4.8636],[1581758881000,4.77],[1581759181000,13.89528],[1581759481000,12.04056],[1581759781000,18.18072],[1581760081000,12.80016],[1581760381000,19.01232],[1581760681000,15.54984],[1581760981000,11.85192],[1581761281000,15.9444],[1581761581000,7.30152],[1581761881000,17.27208],[1581762181000,14.53536],[1581762481000,13.04568],[1581762781000,21.26808],[1581763081000,10.45728],[1581763381000,17.20944],[1581763681000,25.50024],[1581763981000,13.48488],[1581764281000,18.67392],[1581764581000,15.40296],[1581764881000,15.50808],[1581765181000,22.40496],[1581765481000,17.16984],[1581765781000,22.70304],[1581766081000,18.86544],[1581766381000,26.80632],[1581766681000,18.6912],[1581766981000,11.3328],[1581767281000,27.47664],[1581767581000,8.60616],[1581767881000,17.27784],[1581768181000,16.35552],[1581768481000,12.10176],[1581768781000,16.65216],[1581769081000,16.46352],[1581769381000,9.64224],[1581769681000,10.03392],[1581769981000,16.09848],[1581770281000,19.3932],[1581770581000,21.91032],[1581770881000,13.69656],[1581771181000,18.11448],[1581771481000,20.28816],[1581771781000,23.45328],[1581772081000,26.5284],[1581772381000,21.95856],[1581772681000,20.72736],[1581772981000,21.03552],[1581773281000,16.1316],[1581773581000,15.46776],[1581773881000,15.81984],[1581774181000,21.70152],[1581774481000,18.43848],[1581774781000,20.66904],[1581775081000,24.2424],[1581775381000,13.93128],[1581775681000,24.79032],[1581775981000,16.9344],[1581776281000,18.91152],[1581776581000,14.364],[1581776881000,8.75088],[1581777181000,19.8216],[1581777481000,20.75184],[1581777781000,20.44728],[1581778081000,14.55696],[1581778381000,14.3424],[1581778681000,13.1112],[1581778981000,18.28296],[1581779281000,26.26848],[1581779581000,19.95192],[1581779881000,13.04208],[1581780181000,6.95952],[1581780481000,7.26408],[1581780781000,8.73648],[1581781081000,6.36624],[1581781381000,6.58944],[1581781681000,5.89752],[1581781981000,6.58728],[1581782281000,3.65904],[1581782581000,3.00312],[1581782881000,1.30824],[1581783181000,3.83616],[1581783481000,2.4732],[1581783781000,3.36096],[1581784081000,3.30552],[1581784381000,5.09976],[1581784681000,5.10984],[1581784981000,3.08376],[1581785281000,2.43864],[1581785581000,4.0248],[1581785881000,4.5972],[1581786181000,3.6648],[1581786481000,4.48848],[1581786781000,3.48048],[1581787081000,4.22208],[1581787381000,2.26944],[1581787681000,1.36656],[1581787981000,1.9584],[1581788281000,2.98008],[1581788581000,3.72816],[1581788881000,4.88232],[1581789181000,4.27896],[1581789481000,3.61872],[1581789781000,3.4884],[1581790081000,3.78576],[1581790381000,3.49776],[1581790681000,2.40192],[1581790981000,4.07232],[1581791281000,3.654],[1581791581000,7.02432],[1581791881000,4.5036],[1581792181000,4.32072],[1581792481000,1.30104],[1581792781000,4.2444],[1581793081000,1.62432],[1581793381000,6.27696],[1581793681000,6.4908],[1581793981000,3.18312],[1581794281000,2.21112],[1581794581000,1.82664],[1581794881000,0.414],[1581795181000,0.57024],[1581795481000,2.36016],[1581795781000,1.57464],[1581796081000,0.36216],[1581796381000,2.27448],[1581796681000,4.45968],[1581796981000,3.74256],[1581797281000,2.80944],[1581797581000,6.72408],[1581797881000,4.69512],[1581798181000,2.77056],[1581798481000,3.98592],[1581798781000,5.03136],[1581799081000,4.53312],[1581799381000,6.66864],[1581799681000,8.1108],[1581799981000,3.92328],[1581800281000,2.92464],[1581800581000,5.98176],[1581800881000,4.13712],[1581801181000,3.22416],[1581801481000,4.26384],[1581801781000,3.72024],[1581802081000,1.90008],[1581802381000,5.2632],[1581802681000,8.604],[1581802981000,8.35848],[1581803281000,12.1248],[1581803581000,8.46432],[1581803881000,8.34192],[1581804181000,7.40736],[1581804481000,7.20792],[1581804781000,5.70096],[1581805081000,4.3164],[1581805381000,7.47144],[1581805681000,7.41744],[1581805981000,7.69608],[1581806281000,6.2568],[1581806581000,1.22544],[1581806881000,6.8508],[1581807181000,7.776],[1581807481000,5.706],], 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: [[1581721201000,266.60000000],[1581721381000,266.72000000],[1581721681000,271.64000000],[1581721981000,236.46000000],[1581722281000,227.88000000],[1581722581000,236.04000000],[1581722881000,255.66000000],[1581723181000,246.28000000],[1581723481000,231.54000000],[1581723781000,245.46000000],[1581724081000,258.96000000],[1581724381000,221.30000000],[1581724681000,265.10000000],[1581724981000,229.92000000],[1581725281000,229.90000000],[1581725581000,225.82000000],[1581725881000,277.38000000],[1581726181000,233.60000000],[1581726481000,249.96000000],[1581726781000,245.88000000],[1581727081000,249.94000000],[1581727381000,263.86000000],[1581727681000,226.22000000],[1581727981000,267.54000000],[1581728281000,269.18000000],[1581728581000,226.64000000],[1581728881000,252.42000000],[1581729181000,239.72000000],[1581729481000,234.42000000],[1581729781000,254.44000000],[1581730081000,249.14000000],[1581730381000,249.12000000],[1581730681000,235.64000000],[1581730981000,237.68000000],[1581731281000,234.82000000],[1581731581000,245.86000000],[1581731881000,208.22000000],[1581732181000,217.22000000],[1581732481000,137.46000000],[1581732781000,162.82000000],[1581733081000,182.86000000],[1581733381000,241.78000000],[1581733681000,242.16000000],[1581733981000,229.50000000],[1581734281000,160.38000000],[1581734581000,206.18000000],[1581734881000,229.90000000],[1581735181000,232.76000000],[1581735481000,278.58000000],[1581735781000,275.32000000],[1581736081000,227.46000000],[1581736381000,228.68000000],[1581736681000,271.22000000],[1581736981000,258.52000000],[1581737281000,260.18000000],[1581737581000,243.02000000],[1581737881000,254.44000000],[1581738181000,261.42000000],[1581738481000,295.78000000],[1581738781000,276.14000000],[1581739081000,272.86000000],[1581739381000,248.72000000],[1581739681000,238.92000000],[1581739981000,274.08000000],[1581740281000,245.04000000],[1581740581000,256.08000000],[1581740881000,266.34000000],[1581741181000,276.98000000],[1581741481000,290.86000000],[1581741781000,270.84000000],[1581742081000,258.56000000],[1581742381000,244.64000000],[1581742681000,231.54000000],[1581742981000,193.10000000],[1581743281000,181.64000000],[1581743581000,180.00000000],[1581743881000,180.00000000],[1581744181000,157.90000000],[1581744481000,135.00000000],[1581744781000,135.00000000],[1581745081000,135.00000000],[1581745381000,135.00000000],[1581745681000,135.00000000],[1581745981000,163.64000000],[1581746281000,203.72000000],[1581746581000,216.40000000],[1581746881000,180.00000000],[1581747181000,180.00000000],[1581747481000,181.22000000],[1581747781000,236.86000000],[1581748081000,115.36000000],[1581748381000,118.64000000],[1581748681000,180.00000000],[1581748981000,180.00000000],[1581749281000,158.72000000],[1581749581000,135.00000000],[1581749881000,101.04000000],[1581750181000,45.00000000],[1581750481000,13.90000000],[1581750781000,0.00000000],[1581751081000,150.54000000],[1581751381000,231.96000000],[1581751681000,225.00000000],[1581751981000,191.46000000],[1581752281000,179.60000000],[1581752581000,107.60000000],[1581752881000,135.40000000],[1581753181000,152.60000000],[1581753481000,157.92000000],[1581753781000,157.50000000],[1581754081000,149.72000000],[1581754381000,154.64000000],[1581754681000,183.68000000],[1581754981000,174.28000000],[1581755281000,157.08000000],[1581755581000,161.60000000],[1581755881000,110.44000000],[1581756181000,51.12000000],[1581756481000,81.42000000],[1581756781000,105.54000000],[1581757081000,71.18000000],[1581757381000,36.80000000],[1581757681000,69.96000000],[1581757981000,81.82000000],[1581758281000,39.68000000],[1581758581000,61.78000000],[1581758881000,154.64000000],[1581759181000,173.04000000],[1581759481000,165.26000000],[1581759781000,158.34000000],[1581760081000,139.92000000],[1581760381000,165.68000000],[1581760681000,145.62000000],[1581760981000,144.82000000],[1581761281000,135.82000000],[1581761581000,155.06000000],[1581761881000,162.82000000],[1581762181000,127.64000000],[1581762481000,121.50000000],[1581762781000,185.32000000],[1581763081000,139.92000000],[1581763381000,142.80000000],[1581763681000,153.42000000],[1581763981000,148.52000000],[1581764281000,143.58000000],[1581764581000,130.52000000],[1581764881000,130.48000000],[1581765181000,138.26000000],[1581765481000,117.42000000],[1581765781000,128.02000000],[1581766081000,121.50000000],[1581766381000,153.82000000],[1581766681000,121.90000000],[1581766981000,141.12000000],[1581767281000,174.70000000],[1581767581000,140.72000000],[1581767881000,140.72000000],[1581768181000,148.90000000],[1581768481000,121.92000000],[1581768781000,135.80000000],[1581769081000,138.68000000],[1581769381000,137.88000000],[1581769681000,107.98000000],[1581769981000,139.48000000],[1581770281000,178.76000000],[1581770581000,162.00000000],[1581770881000,155.06000000],[1581771181000,169.38000000],[1581771481000,180.40000000],[1581771781000,169.36000000],[1581772081000,164.90000000],[1581772381000,154.64000000],[1581772681000,160.38000000],[1581772981000,159.54000000],[1581773281000,160.38000000],[1581773581000,112.90000000],[1581773881000,108.02000000],[1581774181000,152.58000000],[1581774481000,153.40000000],[1581774781000,156.28000000],[1581775081000,168.14000000],[1581775381000,148.08000000],[1581775681000,150.56000000],[1581775981000,133.36000000],[1581776281000,139.50000000],[1581776581000,132.94000000],[1581776881000,123.54000000],[1581777181000,144.42000000],[1581777481000,149.72000000],[1581777781000,143.98000000],[1581778081000,137.06000000],[1581778381000,144.82000000],[1581778681000,127.64000000],[1581778981000,144.82000000],[1581779281000,152.16000000],[1581779581000,142.36000000],[1581779881000,139.92000000],[1581780181000,135.84000000],[1581780481000,128.86000000],[1581780781000,133.36000000],[1581781081000,124.36000000],[1581781381000,119.86000000],[1581781681000,132.96000000],[1581781981000,116.18000000],[1581782281000,128.44000000],[1581782581000,98.60000000],[1581782881000,90.00000000],[1581783181000,90.00000000],[1581783481000,90.00000000],[1581783781000,90.00000000],[1581784081000,90.00000000],[1581784381000,90.00000000],[1581784681000,90.00000000],[1581784981000,90.00000000],[1581785281000,90.00000000],[1581785581000,90.00000000],[1581785881000,90.00000000],[1581786181000,90.00000000],[1581786481000,90.00000000],[1581786781000,90.00000000],[1581787081000,90.00000000],[1581787381000,90.00000000],[1581787681000,90.00000000],[1581787981000,90.00000000],[1581788281000,90.00000000],[1581788581000,90.00000000],[1581788881000,90.00000000],[1581789181000,90.00000000],[1581789481000,76.08000000],[1581789781000,302.72000000],[1581790081000,306.00000000],[1581790381000,250.78000000],[1581790681000,207.02000000],[1581790981000,172.64000000],[1581791281000,125.18000000],[1581791581000,114.94000000],[1581791881000,109.24000000],[1581792181000,109.64000000],[1581792481000,186.96000000],[1581792781000,129.68000000],[1581793081000,94.48000000],[1581793381000,128.44000000],[1581793681000,142.78000000],[1581793981000,135.40000000],[1581794281000,143.58000000],[1581794581000,155.48000000],[1581794881000,157.90000000],[1581795181000,124.36000000],[1581795481000,141.54000000],[1581795781000,164.44000000],[1581796081000,96.54000000],[1581796381000,131.72000000],[1581796681000,117.82000000],[1581796981000,94.50000000],[1581797281000,40.52000000],[1581797581000,117.00000000],[1581797881000,141.14000000],[1581798181000,144.40000000],[1581798481000,142.76000000],[1581798781000,181.62000000],[1581799081000,84.28000000],[1581799381000,141.54000000],[1581799681000,132.98000000],[1581799981000,169.38000000],[1581800281000,48.68000000],[1581800581000,156.68000000],[1581800881000,196.78000000],[1581801181000,104.30000000],[1581801481000,18.42000000],[1581801781000,0.00000000],[1581802081000,103.10000000],[1581802381000,23.32000000],[1581802681000,0.82000000],[1581802981000,6.54000000],[1581803281000,24.94000000],[1581803581000,49.52000000],[1581803881000,57.70000000],[1581804181000,45.42000000],[1581804481000,38.88000000],[1581804781000,42.56000000],[1581805081000,66.28000000],[1581805381000,31.52000000],[1581805681000,25.78000000],[1581805981000,24.94000000],[1581806281000,92.86000000],[1581806581000,270.00000000],[1581806881000,222.96000000],[1581807181000,40.92000000],[1581807481000,41.95000000],], 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; }