var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1773442848000,8.50000000],[1773442975000,8.40000000],[1773443280000,8.40000000],[1773443551000,8.28750000],[1773443903000,8.10000000],[1773444176000,7.92857143],[1773444479000,7.80000000],[1773444751000,7.70000000],[1773445071000,7.58000000],[1773445375000,7.50000000],[1773445695000,7.40000000],[1773445951000,7.40000000],[1773446271000,7.32500000],[1773446591000,7.30000000],[1773446943000,7.10000000],[1773447183000,7.10000000],[1773447503000,7.10000000],[1773447903000,7.20000000],[1773448079000,7.15000000],[1773448399000,7.10000000],[1773448863000,7.20000000],[1773448975000,7.00000000],[1773449407000,6.83333333],[1773449599000,6.90000000],[1773450063000,6.85000000],[1773450175000,6.80000000],[1773450495000,6.67500000],[1773450751000,6.60000000],[1773451071000,6.56666667],[1773451391000,6.42500000],[1773451967000,6.30000000],[1773452287000,6.48000000],[1773452607000,6.55000000],[1773452927000,6.35000000],[1773453247000,6.30000000],[1773453503000,6.23333333],[1773453887000,6.06666667],[1773454143000,5.97500000],[1773454399000,5.80000000],[1773454671000,5.72000000],[1773454991000,5.55000000],[1773455311000,5.30000000],[1773455600000,5.00000000],[1773455935000,4.80000000],[1773456287000,4.56666667],[1773456479000,4.38000000],[1773456751000,4.20000000],[1773457103000,4.10000000],[1773457375000,3.98571429],[1773457679000,3.90000000],[1773457952000,3.85000000],[1773458303000,3.87142857],[1773458575000,4.66250000],[1773458879000,5.04285714],[1773459151000,5.52500000],[1773459503000,5.68571429],[1773459775000,5.70000000],[1773460079000,5.78571429],[1773460351000,5.62500000],[1773460704000,5.68571429],[1773460975000,5.80000000],[1773461280000,5.80000000],[1773461551000,5.80000000],[1773461903000,5.88571429],[1773462176000,5.95714286],[1773462479000,6.00000000],[1773462751000,5.97500000],[1773463103000,5.92857143],[1773463375000,5.93750000],[1773463679000,5.90000000],[1773463951000,5.90000000],[1773464303000,5.81428571],[1773464576000,5.67500000],[1773464879000,5.60000000],[1773465152000,5.52500000],[1773465503000,5.40000000],[1773465775000,5.46250000],[1773466079000,5.58571429],[1773466351000,5.80000000],[1773466704000,6.07142857],[1773466975000,6.25714286],[1773467281000,6.48333333],[1773467551000,6.68750000],[1773467903000,6.87142857],[1773468175000,6.91428571],[1773468479000,7.02857143],[1773468751000,7.21250000],[1773469071000,7.38750000],[1773469375000,7.52500000],[1773469679000,7.81250000],[1773469953000,7.92857143],[1773470303000,8.06000000],[1773470703000,8.32500000],[1773470879000,8.47500000],[1773471199000,8.65000000],[1773471551000,8.90000000],[1773471775000,9.02500000],[1773472095000,9.12500000],[1773472351000,9.32000000],[1773472703000,9.60000000],[1773473007000,9.75000000],[1773473312000,9.82500000],[1773473599000,10.00000000],[1773474191000,10.60000000],[1773474511000,10.80000000],[1773474767000,10.96000000],[1773475167000,11.05000000],[1773475407000,11.20000000],[1773475743000,11.52500000],[1773475983000,11.80000000],[1773476287000,12.10000000],[1773476575000,12.13333333],[1773476943000,12.35000000],[1773477151000,12.40000000],[1773477471000,12.76000000],[1773477855000,12.88000000],[1773478111000,13.00000000],[1773478399000,13.31666667],[1773478703000,13.50000000],[1773478975000,13.85000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1773442848000,4.5],[1773442975000,4.4],[1773443280000,4.4],[1773443551000,4.3],[1773443903000,4.2],[1773444176000,4.1],[1773444479000,4],[1773444751000,3.9],[1773445071000,3.8],[1773445375000,3.9],[1773445695000,3.8],[1773445951000,3.8],[1773446271000,3.7],[1773446591000,3.7],[1773446943000,3.5],[1773447183000,3.5],[1773447503000,3.4],[1773447903000,3.4],[1773448079000,3.3],[1773448399000,3.3],[1773448863000,3.2],[1773448975000,3.2],[1773449407000,3],[1773449599000,3.1],[1773450063000,2.9],[1773450175000,2.9],[1773450495000,2.9],[1773450751000,2.8],[1773451071000,2.8],[1773451391000,2.6],[1773451967000,2.5],[1773452287000,2.5],[1773452607000,2.6],[1773452927000,2.6],[1773453247000,2.5],[1773453503000,2.5],[1773453887000,2.5],[1773454143000,2.4],[1773454399000,2.4],[1773454671000,2.3],[1773454991000,2.2],[1773455311000,2.1],[1773455600000,2],[1773455935000,2],[1773456287000,1.9],[1773456479000,1.8],[1773456751000,1.7],[1773457103000,1.8],[1773457375000,1.7],[1773457679000,1.7],[1773457952000,1.7],[1773458303000,1.8],[1773458575000,2],[1773458879000,2],[1773459151000,2.2],[1773459503000,2.3],[1773459775000,2.3],[1773460079000,2.3],[1773460351000,2.2],[1773460704000,2.3],[1773460975000,2.4],[1773461280000,2.4],[1773461551000,2.4],[1773461903000,2.5],[1773462176000,2.5],[1773462479000,2.6],[1773462751000,2.6],[1773463103000,2.5],[1773463375000,2.5],[1773463679000,2.5],[1773463951000,2.5],[1773464303000,2.5],[1773464576000,2.5],[1773464879000,2.4],[1773465152000,2.3],[1773465503000,2.2],[1773465775000,2.2],[1773466079000,2.3],[1773466351000,2.3],[1773466704000,2.4],[1773466975000,2.4],[1773467281000,2.5],[1773467551000,2.6],[1773467903000,2.7],[1773468175000,2.5],[1773468479000,2.5],[1773468751000,2.6],[1773469071000,2.6],[1773469375000,2.5],[1773469679000,2.6],[1773469953000,2.6],[1773470303000,2.7],[1773470703000,2.9],[1773470879000,2.8],[1773471199000,2.9],[1773471551000,3],[1773471775000,3.1],[1773472095000,3.1],[1773472351000,3.2],[1773472703000,3.3],[1773473007000,3.5],[1773473312000,3.4],[1773473599000,3.5],[1773474191000,3.8],[1773474511000,4],[1773474767000,4.1],[1773475167000,4.2],[1773475407000,4.2],[1773475743000,4.4],[1773475983000,4.7],[1773476287000,4.7],[1773476575000,4.8],[1773476943000,4.9],[1773477151000,4.8],[1773477471000,5],[1773477855000,5],[1773478111000,5.2],[1773478399000,5.2],[1773478703000,5.4],[1773478975000,5.7],], 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: [[1773442848000,76.00000000],[1773442975000,76.00000000],[1773443280000,76.00000000],[1773443551000,76.00000000],[1773443903000,76.50000000],[1773444176000,77.00000000],[1773444479000,77.00000000],[1773444751000,77.00000000],[1773445071000,77.40000000],[1773445375000,78.00000000],[1773445695000,78.00000000],[1773445951000,78.00000000],[1773446271000,78.00000000],[1773446591000,78.00000000],[1773446943000,78.00000000],[1773447183000,78.00000000],[1773447503000,77.66666667],[1773447903000,77.00000000],[1773448079000,77.00000000],[1773448399000,77.00000000],[1773448863000,76.00000000],[1773448975000,77.00000000],[1773449407000,77.00000000],[1773449599000,76.75000000],[1773450063000,76.00000000],[1773450175000,76.66666667],[1773450495000,77.00000000],[1773450751000,77.00000000],[1773451071000,77.00000000],[1773451391000,77.00000000],[1773451967000,77.00000000],[1773452287000,76.00000000],[1773452607000,76.00000000],[1773452927000,77.00000000],[1773453247000,77.00000000],[1773453503000,77.00000000],[1773453887000,78.00000000],[1773454143000,78.00000000],[1773454399000,79.00000000],[1773454671000,78.80000000],[1773454991000,79.00000000],[1773455311000,80.00000000],[1773455600000,81.00000000],[1773455935000,82.00000000],[1773456287000,83.00000000],[1773456479000,83.60000000],[1773456751000,84.16666667],[1773457103000,85.00000000],[1773457375000,85.14285714],[1773457679000,86.00000000],[1773457952000,86.00000000],[1773458303000,86.28571429],[1773458575000,83.12500000],[1773458879000,80.85714286],[1773459151000,79.25000000],[1773459503000,79.00000000],[1773459775000,78.75000000],[1773460079000,78.57142857],[1773460351000,79.00000000],[1773460704000,79.00000000],[1773460975000,79.00000000],[1773461280000,79.00000000],[1773461551000,79.00000000],[1773461903000,79.00000000],[1773462176000,79.00000000],[1773462479000,79.00000000],[1773462751000,79.00000000],[1773463103000,79.00000000],[1773463375000,79.00000000],[1773463679000,79.00000000],[1773463951000,79.00000000],[1773464303000,79.57142857],[1773464576000,80.00000000],[1773464879000,80.00000000],[1773465152000,80.00000000],[1773465503000,80.14285714],[1773465775000,80.00000000],[1773466079000,79.42857143],[1773466351000,78.62500000],[1773466704000,77.71428571],[1773466975000,76.71428571],[1773467281000,76.00000000],[1773467551000,75.50000000],[1773467903000,74.85714286],[1773468175000,74.00000000],[1773468479000,73.42857143],[1773468751000,72.87500000],[1773469071000,71.87500000],[1773469375000,71.00000000],[1773469679000,70.00000000],[1773469953000,69.57142857],[1773470303000,69.00000000],[1773470703000,68.75000000],[1773470879000,68.00000000],[1773471199000,67.50000000],[1773471551000,67.00000000],[1773471775000,66.50000000],[1773472095000,66.25000000],[1773472351000,65.80000000],[1773472703000,65.00000000],[1773473007000,65.50000000],[1773473312000,64.50000000],[1773473599000,64.50000000],[1773474191000,63.20000000],[1773474511000,63.00000000],[1773474767000,63.00000000],[1773475167000,63.00000000],[1773475407000,62.50000000],[1773475743000,62.00000000],[1773475983000,62.00000000],[1773476287000,61.00000000],[1773476575000,61.33333333],[1773476943000,60.50000000],[1773477151000,60.00000000],[1773477471000,59.40000000],[1773477855000,59.20000000],[1773478111000,59.25000000],[1773478399000,58.33333333],[1773478703000,58.42857143],[1773478975000,58.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: [[1773442848000,1012.8],[1773442975000,1012.9],[1773443280000,1012.8],[1773443551000,1012.6],[1773443903000,1012.6],[1773444176000,1012.5],[1773444479000,1012.4],[1773444751000,1012.5],[1773445071000,1012.4],[1773445375000,1012.4],[1773445695000,1012.3],[1773445951000,1012.3],[1773446271000,1012.4],[1773446591000,1012.2],[1773446943000,1012.2],[1773447183000,1012.1],[1773447503000,1012.1],[1773447903000,1012],[1773448079000,1012],[1773448399000,1012],[1773448863000,1011.9],[1773448975000,1011.8],[1773449407000,1011.7],[1773449599000,1011.7],[1773450063000,1011.7],[1773450175000,1011.6],[1773450495000,1011.4],[1773450751000,1011.5],[1773451071000,1011.2],[1773451391000,1011.3],[1773451967000,1011.3],[1773452287000,1011],[1773452607000,1011.1],[1773452927000,1011],[1773453247000,1011],[1773453503000,1011],[1773453887000,1010.9],[1773454143000,1010.8],[1773454399000,1011],[1773454671000,1010.8],[1773454991000,1010.7],[1773455311000,1010.7],[1773455600000,1010.6],[1773455935000,1010.6],[1773456287000,1010.6],[1773456479000,1010.6],[1773456751000,1010.6],[1773457103000,1010.5],[1773457375000,1010.5],[1773457679000,1010.6],[1773457952000,1010.5],[1773458303000,1010.5],[1773458575000,1010.5],[1773458879000,1010.3],[1773459151000,1010.3],[1773459503000,1010.3],[1773459775000,1010.2],[1773460079000,1010.1],[1773460351000,1009.9],[1773460704000,1010],[1773460975000,1010],[1773461280000,1009.9],[1773461551000,1009.9],[1773461903000,1009.9],[1773462176000,1009.8],[1773462479000,1009.6],[1773462751000,1009.7],[1773463103000,1009.6],[1773463375000,1009.6],[1773463679000,1009.5],[1773463951000,1009.5],[1773464303000,1009.6],[1773464576000,1009.7],[1773464879000,1009.7],[1773465152000,1009.7],[1773465503000,1009.8],[1773465775000,1009.7],[1773466079000,1009.6],[1773466351000,1009.6],[1773466704000,1009.6],[1773466975000,1009.5],[1773467281000,1009.4],[1773467551000,1009.5],[1773467903000,1009.2],[1773468175000,1009.3],[1773468479000,1009.2],[1773468751000,1009.2],[1773469071000,1009.1],[1773469375000,1009.1],[1773469679000,1009],[1773469953000,1009],[1773470303000,1008.9],[1773470703000,1009],[1773470879000,1009],[1773471199000,1009],[1773471551000,1008.8],[1773471775000,1008.8],[1773472095000,1008.9],[1773472351000,1008.9],[1773472703000,1008.9],[1773473007000,1008.9],[1773473312000,1008.7],[1773473599000,1008.8],[1773474191000,1008.8],[1773474511000,1009],[1773474767000,1008.7],[1773475167000,1008.7],[1773475407000,1008.6],[1773475743000,1008.6],[1773475983000,1008.5],[1773476287000,1008.5],[1773476575000,1008.4],[1773476943000,1008.3],[1773477151000,1008.3],[1773477471000,1008.2],[1773477855000,1008.1],[1773478111000,1008],[1773478399000,1008],[1773478703000,1008],[1773478975000,1007.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: [[1773442848000,1.35],[1773442975000,2.475],[1773443280000,2.999999988],[1773443551000,1.26],[1773443903000,1.320000012],[1773444176000,0.36],[1773444479000,0.308571444],[1773444751000,1.599999984],[1773445071000,0.792],[1773445375000,0.09],[1773445695000,1.44],[1773445951000,0.119999988],[1773446271000,0.45],[1773446591000,0.54],[1773446943000,1.35],[1773447183000,1.44],[1773447503000,1.919999988],[1773447903000,1.919999988],[1773448079000,2.16],[1773448399000,3.06],[1773448863000,0.18],[1773448975000,0],[1773449407000,1.680000012],[1773449599000,1.62],[1773450063000,1.98],[1773450175000,0.960000012],[1773450495000,0.63],[1773450751000,1.8],[1773451071000,0.479999988],[1773451391000,1.17],[1773451967000,1.53],[1773452287000,1.584],[1773452607000,1.08],[1773452927000,2.16],[1773453247000,1.8],[1773453503000,1.320000012],[1773453887000,0.839999988],[1773454143000,0],[1773454399000,0],[1773454671000,0.288],[1773454991000,0],[1773455311000,0],[1773455600000,0],[1773455935000,0],[1773456287000,0],[1773456479000,0],[1773456751000,0],[1773457103000,0],[1773457375000,0],[1773457679000,0],[1773457952000,0.45],[1773458303000,0.36],[1773458575000,0.72],[1773458879000,1.954285704],[1773459151000,2.295],[1773459503000,1.954285704],[1773459775000,2.925],[1773460079000,1.902857148],[1773460351000,1.98],[1773460704000,4.268571444],[1773460975000,3.555],[1773461280000,4.988571444],[1773461551000,5.13],[1773461903000,5.142857148],[1773462176000,5.862857148],[1773462479000,4.422857148],[1773462751000,4.41],[1773463103000,5.965714296],[1773463375000,4.95],[1773463679000,5.502857148],[1773463951000,5.245714296],[1773464303000,2.777142852],[1773464576000,2.385],[1773464879000,3.24],[1773465152000,1.575],[1773465503000,1.44],[1773465775000,1.575],[1773466079000,1.594285704],[1773466351000,1.305],[1773466704000,1.028571444],[1773466975000,1.028571444],[1773467281000,3.96],[1773467551000,3.87],[1773467903000,3.188571444],[1773468175000,4.628571444],[1773468479000,6.017142852],[1773468751000,5.175],[1773469071000,5.895],[1773469375000,5.85],[1773469679000,5.94],[1773469953000,7.405714296],[1773470303000,6.408],[1773470703000,6.75],[1773470879000,7.11],[1773471199000,7.11],[1773471551000,5.04],[1773471775000,7.92],[1773472095000,8.55],[1773472351000,6.48],[1773472703000,7.56],[1773473007000,6.84],[1773473312000,9.9],[1773473599000,10.26],[1773474191000,10.008],[1773474511000,9],[1773474767000,10.368],[1773475167000,9.09],[1773475407000,8.46],[1773475743000,9.36],[1773475983000,9.479999988],[1773476287000,9.36],[1773476575000,12.120000012],[1773476943000,9.72],[1773477151000,10.44],[1773477471000,9.36],[1773477855000,9.864],[1773478111000,9.09],[1773478399000,10.860000012],[1773478703000,8.742857148],[1773478975000,8.64],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1773442848000,1.89],[1773442975000,3.78],[1773443280000,4.619999988],[1773443551000,2.52],[1773443903000,2.099999988],[1773444176000,1.08],[1773444479000,1.08],[1773444751000,2.239999992],[1773445071000,2.016],[1773445375000,0.63],[1773445695000,1.89],[1773445951000,0.839999988],[1773446271000,1.26],[1773446591000,2.52],[1773446943000,2.52],[1773447183000,2.52],[1773447503000,3.359999988],[1773447903000,3.359999988],[1773448079000,3.78],[1773448399000,3.15],[1773448863000,1.26],[1773448975000,0],[1773449407000,2.52],[1773449599000,1.89],[1773450063000,2.52],[1773450175000,2.52],[1773450495000,1.26],[1773450751000,2.52],[1773451071000,0.839999988],[1773451391000,1.89],[1773451967000,3.15],[1773452287000,3.528],[1773452607000,2.52],[1773452927000,3.15],[1773453247000,3.359999988],[1773453503000,1.680000012],[1773453887000,1.680000012],[1773454143000,0],[1773454399000,0],[1773454671000,0.504],[1773454991000,0],[1773455311000,0],[1773455600000,0],[1773455935000,0],[1773456287000,0],[1773456479000,0],[1773456751000,0],[1773457103000,0],[1773457375000,0],[1773457679000,0],[1773457952000,0.63],[1773458303000,0.72],[1773458575000,0.945],[1773458879000,2.88],[1773459151000,3.15],[1773459503000,3.6],[1773459775000,3.78],[1773460079000,3.24],[1773460351000,3.15],[1773460704000,6.12],[1773460975000,5.355],[1773461280000,6.48],[1773461551000,7.245],[1773461903000,7.2],[1773462176000,7.92],[1773462479000,6.12],[1773462751000,5.985],[1773463103000,7.56],[1773463375000,6.615],[1773463679000,7.2],[1773463951000,6.48],[1773464303000,3.96],[1773464576000,3.15],[1773464879000,4.68],[1773465152000,2.835],[1773465503000,2.52],[1773465775000,2.835],[1773466079000,2.52],[1773466351000,2.205],[1773466704000,1.8],[1773466975000,2.88],[1773467281000,5.460000012],[1773467551000,5.04],[1773467903000,5.04],[1773468175000,6.12],[1773468479000,7.971428556],[1773468751000,6.3],[1773469071000,7.875],[1773469375000,8.595],[1773469679000,8.91],[1773469953000,10.594285704],[1773470303000,8.568],[1773470703000,10.17],[1773470879000,8.82],[1773471199000,10.17],[1773471551000,7.56],[1773471775000,12.24],[1773472095000,12.24],[1773472351000,8.568],[1773472703000,9.648],[1773473007000,10.26],[1773473312000,13.41],[1773473599000,13.59],[1773474191000,12.312],[1773474511000,15.48],[1773474767000,14.472],[1773475167000,11.52],[1773475407000,11.52],[1773475743000,14.13],[1773475983000,13.68],[1773476287000,12.78],[1773476575000,15.48],[1773476943000,13.5],[1773477151000,12.96],[1773477471000,12.888],[1773477855000,15.912],[1773478111000,12.87],[1773478399000,14.58],[1773478703000,11.262857148],[1773478975000,11.52],], 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: [[1773442848000,96.50000000],[1773442975000,108.62500000],[1773443280000,120.16666667],[1773443551000,95.25000000],[1773443903000,76.66666667],[1773444176000,84.28571429],[1773444479000,63.85714286],[1773444751000,90.66666667],[1773445071000,131.00000000],[1773445375000,69.25000000],[1773445695000,94.25000000],[1773445951000,74.00000000],[1773446271000,63.75000000],[1773446591000,84.00000000],[1773446943000,89.50000000],[1773447183000,97.75000000],[1773447503000,97.66666667],[1773447903000,96.33333333],[1773448079000,100.50000000],[1773448399000,106.50000000],[1773448863000,93.00000000],[1773448975000,72.00000000],[1773449407000,99.66666667],[1773449599000,103.00000000],[1773450063000,104.50000000],[1773450175000,105.66666667],[1773450495000,83.75000000],[1773450751000,100.00000000],[1773451071000,81.33333333],[1773451391000,78.25000000],[1773451967000,106.50000000],[1773452287000,110.80000000],[1773452607000,111.00000000],[1773452927000,84.25000000],[1773453247000,93.33333333],[1773453503000,85.66666667],[1773453887000,77.00000000],[1773454143000,63.50000000],[1773454399000,83.00000000],[1773454671000,75.80000000],[1773454991000,47.00000000],[1773455311000,53.00000000],[1773455600000,50.20000000],[1773455935000,32.00000000],[1773456287000,26.00000000],[1773456479000,99.80000000],[1773456751000,54.50000000],[1773457103000,41.42857143],[1773457375000,76.14285714],[1773457679000,28.42857143],[1773457952000,66.00000000],[1773458303000,109.71428571],[1773458575000,73.37500000],[1773458879000,95.14285714],[1773459151000,105.62500000],[1773459503000,98.28571429],[1773459775000,81.62500000],[1773460079000,94.57142857],[1773460351000,91.50000000],[1773460704000,122.00000000],[1773460975000,98.50000000],[1773461280000,121.14285714],[1773461551000,108.62500000],[1773461903000,139.14285714],[1773462176000,120.57142857],[1773462479000,97.00000000],[1773462751000,101.00000000],[1773463103000,110.00000000],[1773463375000,97.50000000],[1773463679000,102.71428571],[1773463951000,104.57142857],[1773464303000,95.28571429],[1773464576000,123.62500000],[1773464879000,125.00000000],[1773465152000,81.75000000],[1773465503000,74.71428571],[1773465775000,106.87500000],[1773466079000,84.14285714],[1773466351000,114.50000000],[1773466704000,88.14285714],[1773466975000,96.85714286],[1773467281000,105.16666667],[1773467551000,88.87500000],[1773467903000,107.14285714],[1773468175000,126.57142857],[1773468479000,108.14285714],[1773468751000,98.25000000],[1773469071000,108.37500000],[1773469375000,118.50000000],[1773469679000,115.37500000],[1773469953000,118.57142857],[1773470303000,106.80000000],[1773470703000,118.50000000],[1773470879000,105.25000000],[1773471199000,81.00000000],[1773471551000,107.00000000],[1773471775000,102.50000000],[1773472095000,76.25000000],[1773472351000,152.00000000],[1773472703000,118.40000000],[1773473007000,109.50000000],[1773473312000,105.00000000],[1773473599000,125.25000000],[1773474191000,99.40000000],[1773474511000,136.00000000],[1773474767000,145.80000000],[1773475167000,102.75000000],[1773475407000,58.00000000],[1773475743000,142.50000000],[1773475983000,182.66666667],[1773476287000,148.50000000],[1773476575000,155.66666667],[1773476943000,119.75000000],[1773477151000,191.00000000],[1773477471000,114.40000000],[1773477855000,117.40000000],[1773478111000,86.00000000],[1773478399000,86.83333333],[1773478703000,136.14285714],[1773478975000,110.50000000],], color: '#002f80', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind_direction', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, yaxis: { min: 0, max: 360, ticks: [[0, 'S'], [90, 'V'], [180, 'J'], [270, 'Z'], [360, 'S']] }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: function(label, xval, yval, flotItem) { dir = meteo_wind_direction_name(yval); format_date = moment(xval).format('DD.MM., hh:mm') return format_date+' - '+dir; } }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-direction-legend' } }; graphs['#chart-wind-direction'] = $.plot('#chart-wind-direction', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Slnečné žiarenie (W/m2)', data: [[1773442848000,0.00000000],[1773442975000,0.00000000],[1773443280000,0.00000000],[1773443551000,0.00000000],[1773443903000,0.00000000],[1773444176000,0.00000000],[1773444479000,0.00000000],[1773444751000,0.00000000],[1773445071000,0.00000000],[1773445375000,0.00000000],[1773445695000,0.00000000],[1773445951000,0.00000000],[1773446271000,0.00000000],[1773446591000,0.00000000],[1773446943000,0.00000000],[1773447183000,0.00000000],[1773447503000,0.00000000],[1773447903000,0.00000000],[1773448079000,0.00000000],[1773448399000,0.00000000],[1773448863000,0.00000000],[1773448975000,0.00000000],[1773449407000,0.00000000],[1773449599000,0.00000000],[1773450063000,0.00000000],[1773450175000,0.00000000],[1773450495000,0.00000000],[1773450751000,0.00000000],[1773451071000,0.00000000],[1773451391000,0.00000000],[1773451967000,0.00000000],[1773452287000,0.00000000],[1773452607000,0.00000000],[1773452927000,0.00000000],[1773453247000,0.00000000],[1773453503000,0.00000000],[1773453887000,0.00000000],[1773454143000,0.00000000],[1773454399000,0.00000000],[1773454671000,0.00000000],[1773454991000,0.00000000],[1773455311000,0.00000000],[1773455600000,0.00000000],[1773455935000,0.00000000],[1773456287000,0.00000000],[1773456479000,0.00000000],[1773456751000,0.00000000],[1773457103000,0.00000000],[1773457375000,0.00000000],[1773457679000,0.00000000],[1773457952000,0.00000000],[1773458303000,0.00000000],[1773458575000,0.00000000],[1773458879000,0.00000000],[1773459151000,0.00000000],[1773459503000,0.00000000],[1773459775000,0.00000000],[1773460079000,0.00000000],[1773460351000,0.00000000],[1773460704000,0.00000000],[1773460975000,0.00000000],[1773461280000,0.00000000],[1773461551000,0.00000000],[1773461903000,0.00000000],[1773462176000,0.00000000],[1773462479000,0.00000000],[1773462751000,0.00000000],[1773463103000,0.00000000],[1773463375000,0.00000000],[1773463679000,0.00000000],[1773463951000,0.00000000],[1773464303000,0.00000000],[1773464576000,1.25000000],[1773464879000,2.71428571],[1773465152000,5.50000000],[1773465503000,7.57142857],[1773465775000,10.62500000],[1773466079000,14.28571429],[1773466351000,18.12500000],[1773466704000,22.14285714],[1773466975000,26.00000000],[1773467281000,31.00000000],[1773467551000,33.87500000],[1773467903000,37.28571429],[1773468175000,40.57142857],[1773468479000,47.71428571],[1773468751000,54.87500000],[1773469071000,54.87500000],[1773469375000,63.87500000],[1773469679000,72.87500000],[1773469953000,86.57142857],[1773470303000,104.60000000],[1773470703000,84.75000000],[1773470879000,120.50000000],[1773471199000,131.50000000],[1773471551000,93.00000000],[1773471775000,142.75000000],[1773472095000,128.25000000],[1773472351000,117.60000000],[1773472703000,176.80000000],[1773473007000,195.00000000],[1773473312000,204.25000000],[1773473599000,218.25000000],[1773474191000,229.60000000],[1773474511000,237.00000000],[1773474767000,265.00000000],[1773475167000,267.50000000],[1773475407000,277.00000000],[1773475743000,238.25000000],[1773475983000,292.00000000],[1773476287000,343.00000000],[1773476575000,317.00000000],[1773476943000,192.50000000],[1773477151000,324.00000000],[1773477471000,345.60000000],[1773477855000,334.40000000],[1773478111000,338.50000000],[1773478399000,370.83333333],[1773478703000,336.85714286],[1773478975000,383.00000000],], color: '#ffb92f' } ]; var options = { xaxes: [{ axisLabel: 'solar_radiation', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1W/m2' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-solar-radiation-legend' } }; graphs['#chart-solar-radiation'] = $.plot('#chart-solar-radiation', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'UV žiarenie', data: [[1773442848000,0.00000000],[1773442975000,0.00000000],[1773443280000,0.00000000],[1773443551000,0.00000000],[1773443903000,0.00000000],[1773444176000,0.00000000],[1773444479000,0.00000000],[1773444751000,0.00000000],[1773445071000,0.00000000],[1773445375000,0.00000000],[1773445695000,0.00000000],[1773445951000,0.00000000],[1773446271000,0.00000000],[1773446591000,0.00000000],[1773446943000,0.00000000],[1773447183000,0.00000000],[1773447503000,0.00000000],[1773447903000,0.00000000],[1773448079000,0.00000000],[1773448399000,0.00000000],[1773448863000,0.00000000],[1773448975000,0.00000000],[1773449407000,0.00000000],[1773449599000,0.00000000],[1773450063000,0.00000000],[1773450175000,0.00000000],[1773450495000,0.00000000],[1773450751000,0.00000000],[1773451071000,0.00000000],[1773451391000,0.00000000],[1773451967000,0.00000000],[1773452287000,0.00000000],[1773452607000,0.00000000],[1773452927000,0.00000000],[1773453247000,0.00000000],[1773453503000,0.00000000],[1773453887000,0.00000000],[1773454143000,0.00000000],[1773454399000,0.00000000],[1773454671000,0.00000000],[1773454991000,0.00000000],[1773455311000,0.00000000],[1773455600000,0.00000000],[1773455935000,0.00000000],[1773456287000,0.00000000],[1773456479000,0.00000000],[1773456751000,0.00000000],[1773457103000,0.00000000],[1773457375000,0.00000000],[1773457679000,0.00000000],[1773457952000,0.00000000],[1773458303000,0.00000000],[1773458575000,0.00000000],[1773458879000,0.00000000],[1773459151000,0.00000000],[1773459503000,0.00000000],[1773459775000,0.00000000],[1773460079000,0.00000000],[1773460351000,0.00000000],[1773460704000,0.00000000],[1773460975000,0.00000000],[1773461280000,0.00000000],[1773461551000,0.00000000],[1773461903000,0.00000000],[1773462176000,0.00000000],[1773462479000,0.00000000],[1773462751000,0.00000000],[1773463103000,0.00000000],[1773463375000,0.00000000],[1773463679000,0.00000000],[1773463951000,0.00000000],[1773464303000,0.00000000],[1773464576000,0.00000000],[1773464879000,0.00000000],[1773465152000,0.00000000],[1773465503000,0.00000000],[1773465775000,0.00000000],[1773466079000,0.00000000],[1773466351000,0.00000000],[1773466704000,0.00000000],[1773466975000,0.00000000],[1773467281000,0.00000000],[1773467551000,0.00000000],[1773467903000,0.00000000],[1773468175000,0.00000000],[1773468479000,0.00000000],[1773468751000,0.00000000],[1773469071000,0.00000000],[1773469375000,0.00000000],[1773469679000,0.00000000],[1773469953000,0.00000000],[1773470303000,0.60000000],[1773470703000,0.50000000],[1773470879000,1.00000000],[1773471199000,1.00000000],[1773471551000,0.50000000],[1773471775000,1.00000000],[1773472095000,0.75000000],[1773472351000,0.60000000],[1773472703000,1.00000000],[1773473007000,1.00000000],[1773473312000,1.75000000],[1773473599000,2.00000000],[1773474191000,2.00000000],[1773474511000,2.00000000],[1773474767000,2.00000000],[1773475167000,2.00000000],[1773475407000,2.00000000],[1773475743000,1.75000000],[1773475983000,2.00000000],[1773476287000,3.00000000],[1773476575000,2.66666667],[1773476943000,1.25000000],[1773477151000,3.00000000],[1773477471000,3.00000000],[1773477855000,3.00000000],[1773478111000,3.00000000],[1773478399000,3.00000000],[1773478703000,2.57142857],[1773478975000,3.00000000],], color: '#802674' } ]; var options = { xaxes: [{ axisLabel: 'uv', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.0' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-uv-legend' } }; graphs['#chart-uv'] = $.plot('#chart-uv', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Zrážky', data: [[1773442848000,0.00000000],[1773442975000,0.00000000],[1773443280000,0.00000000],[1773443551000,0.00000000],[1773443903000,0.00000000],[1773444176000,0.00000000],[1773444479000,0.00000000],[1773444751000,0.00000000],[1773445071000,0.00000000],[1773445375000,0.00000000],[1773445695000,0.00000000],[1773445951000,0.00000000],[1773446271000,0.00000000],[1773446591000,0.00000000],[1773446943000,0.00000000],[1773447183000,0.00000000],[1773447503000,0.00000000],[1773447903000,0.00000000],[1773448079000,0.00000000],[1773448399000,0.00000000],[1773448863000,0.00000000],[1773448975000,0.00000000],[1773449407000,0.00000000],[1773449599000,0.00000000],[1773450063000,0.00000000],[1773450175000,0.00000000],[1773450495000,0.00000000],[1773450751000,0.00000000],[1773451071000,0.00000000],[1773451391000,0.00000000],[1773451967000,0.00000000],[1773452287000,0.00000000],[1773452607000,0.00000000],[1773452927000,0.00000000],[1773453247000,0.00000000],[1773453503000,0.00000000],[1773453887000,0.00000000],[1773454143000,0.00000000],[1773454399000,0.00000000],[1773454671000,0.00000000],[1773454991000,0.00000000],[1773455311000,0.00000000],[1773455600000,0.00000000],[1773455935000,0.00000000],[1773456287000,0.00000000],[1773456479000,0.00000000],[1773456751000,0.00000000],[1773457103000,0.00000000],[1773457375000,0.00000000],[1773457679000,0.00000000],[1773457952000,0.00000000],[1773458303000,0.00000000],[1773458575000,0.00000000],[1773458879000,0.00000000],[1773459151000,0.00000000],[1773459503000,0.00000000],[1773459775000,0.00000000],[1773460079000,0.00000000],[1773460351000,0.00000000],[1773460704000,0.00000000],[1773460975000,0.00000000],[1773461280000,0.00000000],[1773461551000,0.00000000],[1773461903000,0.00000000],[1773462176000,0.00000000],[1773462479000,0.00000000],[1773462751000,0.00000000],[1773463103000,0.00000000],[1773463375000,0.00000000],[1773463679000,0.00000000],[1773463951000,0.00000000],[1773464303000,0.00000000],[1773464576000,0.00000000],[1773464879000,0.00000000],[1773465152000,0.00000000],[1773465503000,0.00000000],[1773465775000,0.00000000],[1773466079000,0.00000000],[1773466351000,0.00000000],[1773466704000,0.00000000],[1773466975000,0.00000000],[1773467281000,0.00000000],[1773467551000,0.00000000],[1773467903000,0.00000000],[1773468175000,0.00000000],[1773468479000,0.00000000],[1773468751000,0.00000000],[1773469071000,0.00000000],[1773469375000,0.00000000],[1773469679000,0.00000000],[1773469953000,0.00000000],[1773470303000,0.00000000],[1773470703000,0.00000000],[1773470879000,0.00000000],[1773471199000,0.00000000],[1773471551000,0.00000000],[1773471775000,0.00000000],[1773472095000,0.00000000],[1773472351000,0.00000000],[1773472703000,0.00000000],[1773473007000,0.00000000],[1773473312000,0.00000000],[1773473599000,0.00000000],[1773474191000,0.00000000],[1773474511000,0.00000000],[1773474767000,0.00000000],[1773475167000,0.00000000],[1773475407000,0.00000000],[1773475743000,0.00000000],[1773475983000,0.00000000],[1773476287000,0.00000000],[1773476575000,0.00000000],[1773476943000,0.00000000],[1773477151000,0.00000000],[1773477471000,0.00000000],[1773477855000,0.00000000],[1773478111000,0.00000000],[1773478399000,0.00000000],[1773478703000,0.00000000],[1773478975000,0.00000000],], color: '#008fbf' } ]; var options = { xaxes: [{ axisLabel: 'rain', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, yaxis: { min: 0, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.3mm' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-rain-legend' } }; graphs['#chart-rain'] = $.plot('#chart-rain', dataset, options); }); $('.modal').on('hide.bs.modal', function() { var memory = $(this).html(); $(this).html(memory); }); function meteo_wind_direction_name(wind_direction) { if (wind_direction >= 0.00 && wind_direction <= 11.25) { ret = 'S'; } else if (wind_direction > 11.25 && wind_direction <= 33.75) { ret = 'SSV'; } else if (wind_direction > 33.75 && wind_direction <= 56.25) { ret = 'SV'; } else if (wind_direction > 56.25 && wind_direction <= 78.75) { // 67.5 ret = 'VSV'; } else if (wind_direction > 78.75 && wind_direction <= 101.25) { // 90 ret = 'V'; } else if (wind_direction > 101.25 && wind_direction <= 123.75) { //112.5 ret = 'VJV'; } else if (wind_direction > 123.75 && wind_direction <= 146.25) { // 135 ret = 'JV'; } else if (wind_direction > 146.25 && wind_direction <= 168.75) { // 157.5 ret = 'JJV'; } else if (wind_direction > 168.75 && wind_direction <= 191.25) { // 180 ret = 'J'; } else if (wind_direction > 191.25 && wind_direction <= 213.75) { // 202.5 ret = 'JJZ'; } else if (wind_direction > 213.75 && wind_direction <= 236.25) { // 225 ret = 'JZ'; } else if (wind_direction > 236.25 && wind_direction <= 258.75) { // 247.5 ret = 'ZJZ'; } else if (wind_direction > 258.75 && wind_direction <= 281.25) { // 270 ret = 'Z'; } else if (wind_direction > 281.25 && wind_direction <= 303.75) { // 292.5 ret = 'ZSZ'; } else if (wind_direction > 303.75 && wind_direction <= 326.25) { // 315 ret = 'SZ'; } else if (wind_direction > 326.25 && wind_direction <= 348.75) { // 337.5 ret = 'SSZ'; } else if (wind_direction > 348.75 && wind_direction <= 360.0) { // 337.5 ret = 'S'; } else { return ''; } return ret; }