var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1674687620000,1.70000000],[1674687792000,1.72000000],[1674688093000,1.72000000],[1674688392000,1.80000000],[1674688694000,1.80000000],[1674688993000,1.70000000],[1674689294000,1.70000000],[1674689593000,1.68000000],[1674689893000,1.66000000],[1674690193000,1.72000000],[1674690493000,1.76000000],[1674690792000,1.86000000],[1674691093000,1.80000000],[1674691393000,1.74000000],[1674691693000,1.82000000],[1674691993000,1.80000000],[1674692294000,1.82000000],[1674692594000,1.88000000],[1674692894000,2.02000000],[1674693193000,1.92000000],[1674693493000,1.94000000],[1674693793000,1.92000000],[1674694093000,1.94000000],[1674694393000,2.00000000],[1674694692000,2.14000000],[1674694993000,2.24000000],[1674695293000,1.90000000],[1674695593000,1.78000000],[1674695893000,1.90000000],[1674696194000,2.00000000],[1674696493000,2.08000000],[1674696793000,2.02000000],[1674697092000,2.00000000],[1674697393000,2.02000000],[1674697695000,1.90000000],[1674697993000,1.90000000],[1674698293000,1.90000000],[1674698593000,1.94000000],[1674698894000,1.96000000],[1674699193000,2.02000000],[1674699493000,2.08000000],[1674699793000,2.06000000],[1674700093000,2.10000000],[1674700393000,2.22000000],[1674700693000,2.24000000],[1674700993000,2.06000000],[1674701293000,2.00000000],[1674701593000,2.00000000],[1674701893000,1.98000000],[1674702193000,2.00000000],[1674702493000,1.96000000],[1674702793000,1.92000000],[1674703093000,1.90000000],[1674703393000,1.98000000],[1674703693000,2.00000000],[1674703993000,2.00000000],[1674704295000,2.06000000],[1674704593000,2.10000000],[1674704893000,2.06000000],[1674705194000,2.04000000],[1674705492000,2.00000000],[1674705797000,2.00000000],[1674706093000,2.06000000],[1674706394000,2.10000000],[1674706692000,2.10000000],[1674706993000,2.08000000],[1674707293000,2.08000000],[1674707594000,2.08000000],[1674707892000,2.18000000],[1674708193000,2.16000000],[1674708493000,2.14000000],[1674708793000,2.28000000],[1674709093000,2.24000000],[1674709393000,2.22000000],[1674709693000,2.20000000],[1674709993000,2.20000000],[1674710293000,2.20000000],[1674710594000,2.10000000],[1674710893000,2.02000000],[1674711193000,2.00000000],[1674711493000,2.10000000],[1674711793000,2.00000000],[1674712093000,1.98000000],[1674712393000,2.04000000],[1674712693000,2.08000000],[1674712993000,2.16000000],[1674713293000,2.16000000],[1674713593000,2.16000000],[1674713892000,2.02000000],[1674714193000,2.04000000],[1674714496000,2.06000000],[1674714794000,2.10000000],[1674715092000,2.20000000],[1674715393000,2.24000000],[1674719653000,2.40000000],[1674719893000,2.40000000],[1674720198000,2.50000000],[1674720494000,2.27500000],[1674720793000,2.18000000],[1674721093000,2.00000000],[1674721398000,2.14000000],[1674721693000,2.16000000],[1674721995000,2.16000000],[1674722293000,2.04000000],[1674722600000,2.10000000],[1674722956000,2.20000000],[1674723193000,2.14000000],[1674723492000,2.16000000],[1674723794000,2.18000000],[1674724093000,2.08000000],[1674724393000,2.22000000],[1674724692000,2.08000000],[1674724995000,2.02000000],[1674725304000,1.98000000],[1674725593000,2.00000000],[1674725893000,2.08000000],[1674726200000,2.04000000],[1674726493000,2.13333333],[1674726793000,2.30000000],[1674727093000,2.40000000],[1674727395000,2.28000000],[1674727693000,2.14000000],[1674728055000,2.27500000],[1674728316000,2.36000000],[1674728593000,2.42000000],[1674728896000,2.46000000],[1674729193000,2.48000000],[1674729493000,2.40000000],[1674729793000,2.26000000],[1674730097000,2.38000000],[1674730393000,2.16000000],[1674730695000,2.26000000],[1674730994000,2.18000000],[1674731293000,2.32000000],[1674731593000,2.12000000],[1674731892000,2.26000000],[1674732196000,2.38000000],[1674732496000,2.26000000],[1674732794000,2.20000000],[1674733093000,2.26000000],[1674733393000,2.32000000],[1674733693000,2.38000000],[1674733993000,2.46000000],[1674734295000,2.32000000],[1674734594000,2.42000000],[1674734893000,2.54000000],[1674735193000,2.50000000],[1674735492000,2.42500000],[1674735793000,2.46000000],[1674736094000,2.50000000],[1674736393000,2.46000000],[1674736698000,2.56000000],[1674736993000,2.60000000],[1674737294000,2.70000000],[1674737593000,2.72500000],[1674737892000,2.70000000],[1674738204000,2.82500000],[1674738495000,2.78000000],[1674738793000,2.76000000],[1674739095000,2.72000000],[1674739394000,2.64000000],[1674739693000,2.70000000],[1674739993000,2.64000000],[1674740293000,2.68000000],[1674740594000,2.68000000],[1674740893000,2.67500000],[1674741195000,2.78000000],[1674741493000,2.80000000],[1674741794000,2.72000000],[1674742093000,2.80000000],[1674742393000,2.78000000],[1674742693000,2.84000000],[1674742993000,2.80000000],[1674743293000,2.72000000],[1674743595000,2.72000000],[1674743893000,2.76000000],[1674744193000,2.80000000],[1674744493000,2.80000000],[1674744793000,2.74000000],[1674745093000,2.72000000],[1674745398000,2.68000000],[1674745693000,2.78000000],[1674745994000,2.60000000],[1674746293000,2.62000000],[1674746593000,2.70000000],[1674746893000,2.68000000],[1674747193000,2.64000000],[1674747492000,2.72000000],[1674747793000,2.72000000],[1674748094000,2.62000000],[1674748393000,2.62000000],[1674748694000,2.58000000],[1674748996000,2.66000000],[1674749294000,2.64000000],[1674749593000,2.54000000],[1674749893000,2.56000000],[1674750193000,2.50000000],[1674750493000,2.50000000],[1674750792000,2.54000000],[1674751094000,2.54000000],[1674751393000,2.62000000],[1674751694000,2.44000000],[1674751992000,2.44000000],[1674752293000,2.52000000],[1674752593000,2.48000000],[1674752893000,2.46000000],[1674753193000,2.50000000],[1674753495000,2.58000000],[1674753792000,2.48000000],[1674754093000,2.42000000],[1674754392000,2.40000000],[1674754693000,2.32000000],[1674754992000,2.34000000],[1674755295000,2.36000000],[1674755593000,2.28000000],[1674755893000,2.30000000],[1674756194000,2.30000000],[1674756493000,2.32000000],[1674756796000,2.30000000],[1674757093000,2.30000000],[1674757392000,2.30000000],[1674757695000,2.28000000],[1674757994000,2.24000000],[1674758293000,2.20000000],[1674758594000,2.20000000],[1674758893000,2.28000000],[1674759193000,2.28000000],[1674759493000,2.30000000],[1674759794000,2.20000000],[1674760093000,2.20000000],[1674760393000,2.20000000],[1674760693000,2.30000000],[1674760994000,2.20000000],[1674761292000,2.20000000],[1674761594000,2.22000000],[1674761893000,2.14000000],[1674762196000,2.10000000],[1674762493000,2.00000000],[1674762794000,2.10000000],[1674763093000,2.14000000],[1674763394000,2.10000000],[1674763692000,2.00000000],[1674763994000,1.94000000],[1674764293000,2.00000000],[1674764593000,2.00000000],[1674764893000,2.00000000],[1674765193000,2.00000000],[1674765493000,1.92000000],[1674765793000,1.92000000],[1674766093000,1.94000000],[1674766392000,1.88000000],[1674766693000,1.90000000],[1674766994000,1.84000000],[1674767293000,1.82000000],[1674767593000,1.80000000],[1674767893000,1.80000000],[1674768193000,1.82000000],[1674768493000,1.88000000],[1674768796000,1.84000000],[1674769095000,1.88000000],[1674769395000,1.82000000],[1674769695000,1.88000000],[1674769993000,1.78000000],[1674770294000,1.76000000],[1674770592000,1.70000000],[1674770893000,1.70000000],[1674771192000,1.74000000],[1674771494000,1.70000000],[1674771792000,1.64000000],[1674772093000,1.60000000],[1674772392000,1.60000000],[1674772693000,1.60000000],[1674772993000,1.60000000],[1674773293000,1.60000000],[1674773593000,1.56000000],[1674773893000,1.55000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1674687620000,-1.2],[1674687792000,-1.2],[1674688093000,-1.2],[1674688392000,-1.1],[1674688694000,-1.2],[1674688993000,-1.3],[1674689294000,-1.3],[1674689593000,-1.3],[1674689893000,-1.4],[1674690193000,-1.3],[1674690493000,-1.3],[1674690792000,-1.2],[1674691093000,-1.3],[1674691393000,-1.3],[1674691693000,-1.2],[1674691993000,-1.3],[1674692294000,-1.3],[1674692594000,-1.2],[1674692894000,-1.1],[1674693193000,-1.1],[1674693493000,-1.1],[1674693793000,-1.1],[1674694093000,-1.1],[1674694393000,-1],[1674694692000,-0.9],[1674694993000,-0.8],[1674695293000,-1.2],[1674695593000,-1.4],[1674695893000,-1.2],[1674696194000,-1.1],[1674696493000,-1],[1674696793000,-1.1],[1674697092000,-1.1],[1674697393000,-1.1],[1674697695000,-1.2],[1674697993000,-1.2],[1674698293000,-1.2],[1674698593000,-1.1],[1674698894000,-1.1],[1674699193000,-1],[1674699493000,-1],[1674699793000,-1],[1674700093000,-0.9],[1674700393000,-0.8],[1674700693000,-0.8],[1674700993000,-0.9],[1674701293000,-0.9],[1674701593000,-0.9],[1674701893000,-0.9],[1674702193000,-0.9],[1674702493000,-0.9],[1674702793000,-0.9],[1674703093000,-0.9],[1674703393000,-0.8],[1674703693000,-0.8],[1674703993000,-0.8],[1674704295000,-0.7],[1674704593000,-0.7],[1674704893000,-0.7],[1674705194000,-0.7],[1674705492000,-0.7],[1674705797000,-0.7],[1674706093000,-0.7],[1674706394000,-0.7],[1674706692000,-0.7],[1674706993000,-0.7],[1674707293000,-0.7],[1674707594000,-0.7],[1674707892000,-0.6],[1674708193000,-0.7],[1674708493000,-0.7],[1674708793000,-0.6],[1674709093000,-0.6],[1674709393000,-0.6],[1674709693000,-0.7],[1674709993000,-0.7],[1674710293000,-0.6],[1674710594000,-0.8],[1674710893000,-0.8],[1674711193000,-0.8],[1674711493000,-0.7],[1674711793000,-0.8],[1674712093000,-0.9],[1674712393000,-0.8],[1674712693000,-0.8],[1674712993000,-0.7],[1674713293000,-0.7],[1674713593000,-0.7],[1674713892000,-0.8],[1674714193000,-0.8],[1674714496000,-0.8],[1674714794000,-0.7],[1674715092000,-0.6],[1674715393000,-0.6],[1674719653000,-0.5],[1674719893000,-0.5],[1674720198000,-0.4],[1674720494000,-0.7],[1674720793000,-0.7],[1674721093000,-0.9],[1674721398000,-0.7],[1674721693000,-0.7],[1674721995000,-0.7],[1674722293000,-0.8],[1674722600000,-0.8],[1674722956000,-0.7],[1674723193000,-0.7],[1674723492000,-0.7],[1674723794000,-0.7],[1674724093000,-0.8],[1674724393000,-0.6],[1674724692000,-0.8],[1674724995000,-0.8],[1674725304000,-0.8],[1674725593000,-0.8],[1674725893000,-0.7],[1674726200000,-0.8],[1674726493000,-0.7],[1674726793000,-0.5],[1674727093000,-0.4],[1674727395000,-0.6],[1674727693000,-0.7],[1674728055000,-0.5],[1674728316000,-0.5],[1674728593000,-0.5],[1674728896000,-0.4],[1674729193000,-0.4],[1674729493000,-0.5],[1674729793000,-0.7],[1674730097000,-0.5],[1674730393000,-0.8],[1674730695000,-0.6],[1674730994000,-0.7],[1674731293000,-0.6],[1674731593000,-0.8],[1674731892000,-0.6],[1674732196000,-0.5],[1674732496000,-0.7],[1674732794000,-0.8],[1674733093000,-0.7],[1674733393000,-0.6],[1674733693000,-0.6],[1674733993000,-0.5],[1674734295000,-0.7],[1674734594000,-0.6],[1674734893000,-0.5],[1674735193000,-0.6],[1674735492000,-0.7],[1674735793000,-0.7],[1674736094000,-0.6],[1674736393000,-0.7],[1674736698000,-0.6],[1674736993000,-0.6],[1674737294000,-0.5],[1674737593000,-0.5],[1674737892000,-0.6],[1674738204000,-0.4],[1674738495000,-0.5],[1674738793000,-0.6],[1674739095000,-0.6],[1674739394000,-0.7],[1674739693000,-0.6],[1674739993000,-0.7],[1674740293000,-0.7],[1674740594000,-0.7],[1674740893000,-0.7],[1674741195000,-0.6],[1674741493000,-0.6],[1674741794000,-0.7],[1674742093000,-0.6],[1674742393000,-0.6],[1674742693000,-0.6],[1674742993000,-0.6],[1674743293000,-0.7],[1674743595000,-0.7],[1674743893000,-0.7],[1674744193000,-0.6],[1674744493000,-0.6],[1674744793000,-0.7],[1674745093000,-0.7],[1674745398000,-0.7],[1674745693000,-0.6],[1674745994000,-0.8],[1674746293000,-0.8],[1674746593000,-0.7],[1674746893000,-0.7],[1674747193000,-0.7],[1674747492000,-0.6],[1674747793000,-0.7],[1674748094000,-0.8],[1674748393000,-0.8],[1674748694000,-0.8],[1674748996000,-0.7],[1674749294000,-0.7],[1674749593000,-0.9],[1674749893000,-0.8],[1674750193000,-0.9],[1674750493000,-0.9],[1674750792000,-0.8],[1674751094000,-0.8],[1674751393000,-0.8],[1674751694000,-1],[1674751992000,-0.9],[1674752293000,-0.8],[1674752593000,-0.9],[1674752893000,-0.9],[1674753193000,-0.9],[1674753495000,-0.8],[1674753792000,-0.9],[1674754093000,-1],[1674754392000,-1],[1674754693000,-1],[1674754992000,-1],[1674755295000,-1],[1674755593000,-1],[1674755893000,-1],[1674756194000,-1],[1674756493000,-1],[1674756796000,-1],[1674757093000,-1.1],[1674757392000,-1.1],[1674757695000,-1.2],[1674757994000,-1.2],[1674758293000,-1.3],[1674758594000,-1.3],[1674758893000,-1.2],[1674759193000,-1.2],[1674759493000,-1.2],[1674759794000,-1.3],[1674760093000,-1.3],[1674760393000,-1.3],[1674760693000,-1.2],[1674760994000,-1.3],[1674761292000,-1.3],[1674761594000,-1.2],[1674761893000,-1.3],[1674762196000,-1.3],[1674762493000,-1.4],[1674762794000,-1.3],[1674763093000,-1.3],[1674763394000,-1.3],[1674763692000,-1.4],[1674763994000,-1.4],[1674764293000,-1.3],[1674764593000,-1.3],[1674764893000,-1.3],[1674765193000,-1.3],[1674765493000,-1.4],[1674765793000,-1.4],[1674766093000,-1.4],[1674766392000,-1.4],[1674766693000,-1.3],[1674766994000,-1.4],[1674767293000,-1.4],[1674767593000,-1.4],[1674767893000,-1.3],[1674768193000,-1.3],[1674768493000,-1.3],[1674768796000,-1.3],[1674769095000,-1.2],[1674769395000,-1.3],[1674769695000,-1.3],[1674769993000,-1.3],[1674770294000,-1.3],[1674770592000,-1.4],[1674770893000,-1.4],[1674771192000,-1.4],[1674771494000,-1.4],[1674771792000,-1.5],[1674772093000,-1.5],[1674772392000,-1.5],[1674772693000,-1.5],[1674772993000,-1.5],[1674773293000,-1.5],[1674773593000,-1.6],[1674773893000,-1.6],], 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: [[1674687620000,81.20000000],[1674687792000,81.10000000],[1674688093000,81.12000000],[1674688392000,81.04000000],[1674688694000,80.86000000],[1674688993000,80.52500000],[1674689294000,80.58000000],[1674689593000,80.60000000],[1674689893000,80.60000000],[1674690193000,80.74000000],[1674690493000,80.60000000],[1674690792000,80.38000000],[1674691093000,80.38000000],[1674691393000,80.46000000],[1674691693000,80.40000000],[1674691993000,80.20000000],[1674692294000,80.24000000],[1674692594000,80.18000000],[1674692894000,80.18000000],[1674693193000,80.40000000],[1674693493000,80.50000000],[1674693793000,80.44000000],[1674694093000,80.52000000],[1674694393000,80.58000000],[1674694692000,80.64000000],[1674694993000,80.44000000],[1674695293000,79.96000000],[1674695593000,79.84000000],[1674695893000,80.14000000],[1674696194000,80.04000000],[1674696493000,80.22000000],[1674696793000,80.18000000],[1674697092000,80.24000000],[1674697393000,80.26000000],[1674697695000,80.32000000],[1674697993000,80.30000000],[1674698293000,80.42000000],[1674698593000,80.60000000],[1674698894000,80.58000000],[1674699193000,80.58000000],[1674699493000,80.58000000],[1674699793000,80.62000000],[1674700093000,80.68000000],[1674700393000,80.80000000],[1674700693000,80.74000000],[1674700993000,80.90000000],[1674701293000,81.14000000],[1674701593000,81.30000000],[1674701893000,81.34000000],[1674702193000,81.56000000],[1674702493000,81.52000000],[1674702793000,81.64000000],[1674703093000,81.84000000],[1674703393000,81.92000000],[1674703693000,81.94000000],[1674703993000,81.98000000],[1674704295000,82.04000000],[1674704593000,82.18000000],[1674704893000,82.16000000],[1674705194000,82.24000000],[1674705492000,82.40000000],[1674705797000,82.30000000],[1674706093000,82.22000000],[1674706394000,82.18000000],[1674706692000,82.20000000],[1674706993000,82.18000000],[1674707293000,82.12000000],[1674707594000,81.98000000],[1674707892000,82.00000000],[1674708193000,81.86000000],[1674708493000,81.88000000],[1674708793000,81.78000000],[1674709093000,81.68000000],[1674709393000,81.58000000],[1674709693000,81.58000000],[1674709993000,81.60000000],[1674710293000,81.68000000],[1674710594000,81.58000000],[1674710893000,81.62000000],[1674711193000,81.70000000],[1674711493000,81.76000000],[1674711793000,81.70000000],[1674712093000,81.72000000],[1674712393000,81.76000000],[1674712693000,81.68000000],[1674712993000,81.72000000],[1674713293000,81.66000000],[1674713593000,81.60000000],[1674713892000,81.64000000],[1674714193000,81.76000000],[1674714496000,81.78000000],[1674714794000,81.88000000],[1674715092000,81.78000000],[1674715393000,81.72000000],[1674719653000,81.22500000],[1674719893000,81.18000000],[1674720198000,81.28000000],[1674720494000,81.17500000],[1674720793000,81.30000000],[1674721093000,81.32000000],[1674721398000,81.62000000],[1674721693000,81.52000000],[1674721995000,81.48000000],[1674722293000,81.50000000],[1674722600000,81.50000000],[1674722956000,81.42500000],[1674723193000,81.52000000],[1674723492000,81.52000000],[1674723794000,81.54000000],[1674724093000,81.60000000],[1674724393000,81.76000000],[1674724692000,81.62000000],[1674724995000,81.82000000],[1674725304000,81.90000000],[1674725593000,82.00000000],[1674725893000,82.02000000],[1674726200000,81.90000000],[1674726493000,82.00000000],[1674726793000,81.96666667],[1674727093000,81.70000000],[1674727395000,81.54000000],[1674727693000,81.66000000],[1674728055000,81.82500000],[1674728316000,81.58000000],[1674728593000,81.54000000],[1674728896000,81.40000000],[1674729193000,81.30000000],[1674729493000,81.20000000],[1674729793000,81.22000000],[1674730097000,81.44000000],[1674730393000,81.22000000],[1674730695000,81.36000000],[1674730994000,81.38000000],[1674731293000,81.34000000],[1674731593000,81.26000000],[1674731892000,81.54000000],[1674732196000,81.46000000],[1674732496000,81.06000000],[1674732794000,81.04000000],[1674733093000,81.14000000],[1674733393000,81.08000000],[1674733693000,81.04000000],[1674733993000,81.04000000],[1674734295000,80.62000000],[1674734594000,80.54000000],[1674734893000,80.40000000],[1674735193000,80.08000000],[1674735492000,80.05000000],[1674735793000,80.18000000],[1674736094000,80.24000000],[1674736393000,79.86000000],[1674736698000,79.86000000],[1674736993000,79.72000000],[1674737294000,79.74000000],[1674737593000,79.62500000],[1674737892000,79.22000000],[1674738204000,79.50000000],[1674738495000,79.18000000],[1674738793000,78.94000000],[1674739095000,78.78000000],[1674739394000,78.66000000],[1674739693000,78.94000000],[1674739993000,78.68000000],[1674740293000,78.52000000],[1674740594000,78.54000000],[1674740893000,78.57500000],[1674741195000,78.62000000],[1674741493000,78.68000000],[1674741794000,78.48000000],[1674742093000,78.64000000],[1674742393000,78.58000000],[1674742693000,78.58000000],[1674742993000,78.50000000],[1674743293000,78.32000000],[1674743595000,78.52000000],[1674743893000,78.38000000],[1674744193000,78.42000000],[1674744493000,78.48000000],[1674744793000,78.44000000],[1674745093000,78.40000000],[1674745398000,78.44000000],[1674745693000,78.72000000],[1674745994000,78.54000000],[1674746293000,78.70000000],[1674746593000,78.80000000],[1674746893000,78.56000000],[1674747193000,78.70000000],[1674747492000,78.76000000],[1674747793000,78.64000000],[1674748094000,78.48000000],[1674748393000,78.56000000],[1674748694000,78.70000000],[1674748996000,78.78000000],[1674749294000,78.62000000],[1674749593000,78.58000000],[1674749893000,78.72000000],[1674750193000,78.72000000],[1674750493000,78.78000000],[1674750792000,78.66000000],[1674751094000,78.62000000],[1674751393000,78.70000000],[1674751694000,78.46000000],[1674751992000,78.72000000],[1674752293000,78.76000000],[1674752593000,78.72000000],[1674752893000,78.68000000],[1674753193000,78.64000000],[1674753495000,78.62000000],[1674753792000,78.38000000],[1674754093000,78.24000000],[1674754392000,78.62000000],[1674754693000,78.90000000],[1674754992000,78.94000000],[1674755295000,78.98000000],[1674755593000,78.96000000],[1674755893000,79.02000000],[1674756194000,79.02000000],[1674756493000,79.04000000],[1674756796000,78.84000000],[1674757093000,78.60000000],[1674757392000,78.70000000],[1674757695000,78.18000000],[1674757994000,78.10000000],[1674758293000,77.82000000],[1674758594000,78.12000000],[1674758893000,78.06000000],[1674759193000,78.22000000],[1674759493000,77.88000000],[1674759794000,77.90000000],[1674760093000,78.02000000],[1674760393000,77.94000000],[1674760693000,78.00000000],[1674760994000,78.08000000],[1674761292000,78.10000000],[1674761594000,78.22000000],[1674761893000,78.26000000],[1674762196000,78.26000000],[1674762493000,78.34000000],[1674762794000,78.36000000],[1674763093000,78.28000000],[1674763394000,78.40000000],[1674763692000,78.66000000],[1674763994000,78.96000000],[1674764293000,79.04000000],[1674764593000,79.10000000],[1674764893000,79.10000000],[1674765193000,79.06000000],[1674765493000,79.08000000],[1674765793000,79.04000000],[1674766093000,79.04000000],[1674766392000,79.28000000],[1674766693000,79.38000000],[1674766994000,79.50000000],[1674767293000,79.62000000],[1674767593000,79.82000000],[1674767893000,79.90000000],[1674768193000,79.90000000],[1674768493000,79.86000000],[1674768796000,80.00000000],[1674769095000,80.00000000],[1674769395000,79.94000000],[1674769695000,79.94000000],[1674769993000,80.04000000],[1674770294000,80.20000000],[1674770592000,80.18000000],[1674770893000,80.18000000],[1674771192000,80.04000000],[1674771494000,80.10000000],[1674771792000,80.18000000],[1674772093000,80.26000000],[1674772392000,80.24000000],[1674772693000,80.20000000],[1674772993000,80.14000000],[1674773293000,80.00000000],[1674773593000,80.04000000],[1674773893000,80.05000000],], 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: [[1674687620000,1025.4],[1674687792000,1025.3],[1674688093000,1025.3],[1674688392000,1025.2],[1674688694000,1025.1],[1674688993000,1025.1],[1674689294000,1025],[1674689593000,1025],[1674689893000,1025],[1674690193000,1024.9],[1674690493000,1024.9],[1674690792000,1024.9],[1674691093000,1024.8],[1674691393000,1024.8],[1674691693000,1024.8],[1674691993000,1024.8],[1674692294000,1024.7],[1674692594000,1024.7],[1674692894000,1024.7],[1674693193000,1024.7],[1674693493000,1024.6],[1674693793000,1024.6],[1674694093000,1024.5],[1674694393000,1024.5],[1674694692000,1024.4],[1674694993000,1024.4],[1674695293000,1024.4],[1674695593000,1024.4],[1674695893000,1024.4],[1674696194000,1024.3],[1674696493000,1024.2],[1674696793000,1024.2],[1674697092000,1024.1],[1674697393000,1024],[1674697695000,1024],[1674697993000,1023.9],[1674698293000,1023.9],[1674698593000,1023.8],[1674698894000,1023.7],[1674699193000,1023.7],[1674699493000,1023.6],[1674699793000,1023.6],[1674700093000,1023.4],[1674700393000,1023.4],[1674700693000,1023.2],[1674700993000,1023.2],[1674701293000,1023.1],[1674701593000,1023],[1674701893000,1023],[1674702193000,1023],[1674702493000,1022.9],[1674702793000,1023],[1674703093000,1022.9],[1674703393000,1022.9],[1674703693000,1022.8],[1674703993000,1022.7],[1674704295000,1022.7],[1674704593000,1022.6],[1674704893000,1022.6],[1674705194000,1022.6],[1674705492000,1022.5],[1674705797000,1022.4],[1674706093000,1022.4],[1674706394000,1022.3],[1674706692000,1022.3],[1674706993000,1022.3],[1674707293000,1022.2],[1674707594000,1022.1],[1674707892000,1022],[1674708193000,1022],[1674708493000,1022],[1674708793000,1021.9],[1674709093000,1021.9],[1674709393000,1021.9],[1674709693000,1021.9],[1674709993000,1021.9],[1674710293000,1021.9],[1674710594000,1021.9],[1674710893000,1021.9],[1674711193000,1021.9],[1674711493000,1021.9],[1674711793000,1021.9],[1674712093000,1021.9],[1674712393000,1021.8],[1674712693000,1021.8],[1674712993000,1021.9],[1674713293000,1021.9],[1674713593000,1021.9],[1674713892000,1021.9],[1674714193000,1021.9],[1674714496000,1021.9],[1674714794000,1021.9],[1674715092000,1021.9],[1674715393000,1021.9],[1674719653000,1021.8],[1674719893000,1021.8],[1674720198000,1021.8],[1674720494000,1021.8],[1674720793000,1021.8],[1674721093000,1021.8],[1674721398000,1021.8],[1674721693000,1021.7],[1674721995000,1021.7],[1674722293000,1021.7],[1674722600000,1021.7],[1674722956000,1021.6],[1674723193000,1021.7],[1674723492000,1021.7],[1674723794000,1021.6],[1674724093000,1021.6],[1674724393000,1021.6],[1674724692000,1021.7],[1674724995000,1021.6],[1674725304000,1021.7],[1674725593000,1021.6],[1674725893000,1021.6],[1674726200000,1021.5],[1674726493000,1021.5],[1674726793000,1021.4],[1674727093000,1021.4],[1674727395000,1021.4],[1674727693000,1021.4],[1674728055000,1021.4],[1674728316000,1021.3],[1674728593000,1021.3],[1674728896000,1021.3],[1674729193000,1021.2],[1674729493000,1021.2],[1674729793000,1021.1],[1674730097000,1021],[1674730393000,1021],[1674730695000,1020.9],[1674730994000,1020.9],[1674731293000,1020.8],[1674731593000,1020.7],[1674731892000,1020.7],[1674732196000,1020.6],[1674732496000,1020.5],[1674732794000,1020.5],[1674733093000,1020.5],[1674733393000,1020.4],[1674733693000,1020.3],[1674733993000,1020.2],[1674734295000,1020.1],[1674734594000,1020],[1674734893000,1020],[1674735193000,1019.9],[1674735492000,1019.9],[1674735793000,1019.8],[1674736094000,1019.8],[1674736393000,1019.8],[1674736698000,1019.8],[1674736993000,1019.8],[1674737294000,1019.7],[1674737593000,1019.7],[1674737892000,1019.8],[1674738204000,1019.8],[1674738495000,1019.8],[1674738793000,1019.8],[1674739095000,1019.8],[1674739394000,1019.8],[1674739693000,1019.9],[1674739993000,1019.9],[1674740293000,1020],[1674740594000,1019.9],[1674740893000,1020],[1674741195000,1020],[1674741493000,1020],[1674741794000,1019.9],[1674742093000,1019.9],[1674742393000,1020],[1674742693000,1020],[1674742993000,1020],[1674743293000,1020],[1674743595000,1020.1],[1674743893000,1020.1],[1674744193000,1020.1],[1674744493000,1020],[1674744793000,1020],[1674745093000,1020],[1674745398000,1020],[1674745693000,1020],[1674745994000,1020],[1674746293000,1020],[1674746593000,1020],[1674746893000,1020],[1674747193000,1020],[1674747492000,1020],[1674747793000,1020],[1674748094000,1020],[1674748393000,1020.1],[1674748694000,1020.1],[1674748996000,1020],[1674749294000,1020],[1674749593000,1020],[1674749893000,1020],[1674750193000,1020],[1674750493000,1020],[1674750792000,1020],[1674751094000,1020],[1674751393000,1020],[1674751694000,1020],[1674751992000,1020],[1674752293000,1020],[1674752593000,1020],[1674752893000,1019.9],[1674753193000,1019.9],[1674753495000,1020],[1674753792000,1020],[1674754093000,1020.1],[1674754392000,1020],[1674754693000,1020],[1674754992000,1020],[1674755295000,1020],[1674755593000,1020],[1674755893000,1019.9],[1674756194000,1019.9],[1674756493000,1019.9],[1674756796000,1019.9],[1674757093000,1019.9],[1674757392000,1019.9],[1674757695000,1019.9],[1674757994000,1019.9],[1674758293000,1020],[1674758594000,1020.1],[1674758893000,1020],[1674759193000,1019.9],[1674759493000,1019.9],[1674759794000,1019.9],[1674760093000,1020],[1674760393000,1020],[1674760693000,1019.9],[1674760994000,1019.9],[1674761292000,1019.9],[1674761594000,1020],[1674761893000,1020],[1674762196000,1020],[1674762493000,1020],[1674762794000,1020],[1674763093000,1019.9],[1674763394000,1019.9],[1674763692000,1019.9],[1674763994000,1019.9],[1674764293000,1019.9],[1674764593000,1019.8],[1674764893000,1019.8],[1674765193000,1019.7],[1674765493000,1019.7],[1674765793000,1019.6],[1674766093000,1019.6],[1674766392000,1019.6],[1674766693000,1019.5],[1674766994000,1019.5],[1674767293000,1019.4],[1674767593000,1019.4],[1674767893000,1019.4],[1674768193000,1019.4],[1674768493000,1019.4],[1674768796000,1019.4],[1674769095000,1019.4],[1674769395000,1019.4],[1674769695000,1019.4],[1674769993000,1019.4],[1674770294000,1019.3],[1674770592000,1019.3],[1674770893000,1019.2],[1674771192000,1019.2],[1674771494000,1019.1],[1674771792000,1019.1],[1674772093000,1019.1],[1674772392000,1019],[1674772693000,1018.9],[1674772993000,1018.9],[1674773293000,1018.9],[1674773593000,1018.8],[1674773893000,1018.7],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $('.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; }