var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1781128850000,15.92500000],[1781128978000,15.82000000],[1781129298000,15.75000000],[1781129810000,15.80000000],[1781129874000,15.80000000],[1781130210000,15.80000000],[1781130450000,15.80000000],[1781130753000,15.82222222],[1781131074000,15.80000000],[1781131379000,15.83750000],[1781131650000,15.90000000],[1781131953000,15.98888889],[1781132274000,16.00000000],[1781132578000,16.00000000],[1781132850000,16.00000000],[1781133202000,15.88571429],[1781133474000,15.58750000],[1781133922000,15.25000000],[1781134083000,15.22500000],[1781134370000,15.15000000],[1781134818000,14.70000000],[1781135058000,14.30000000],[1781135251000,14.28000000],[1781135571000,14.10000000],[1781136050000,13.75000000],[1781136178000,13.62500000],[1781136450000,13.56250000],[1781136802000,13.55714286],[1781137074000,13.50000000],[1781137378000,13.40000000],[1781137650000,13.40000000],[1781138002000,13.40000000],[1781138274000,13.32500000],[1781138579000,13.30000000],[1781138850000,13.27500000],[1781139202000,13.08571429],[1781139475000,12.96250000],[1781140179000,12.72500000],[1781140435000,12.70000000],[1781140674000,12.60000000],[1781140978000,12.60000000],[1781141250000,12.60000000],[1781141602000,12.50000000],[1781141874000,12.46250000],[1781142178000,12.40000000],[1781142450000,12.46250000],[1781142803000,12.46666667],[1781143074000,12.40000000],[1781143394000,12.40000000],[1781143650000,12.33333333],[1781143970000,12.40000000],[1781144277000,12.40000000],[1781144722000,12.40000000],[1781144850000,12.40000000],[1781145202000,12.38571429],[1781145474000,12.26250000],[1781145778000,12.24285714],[1781146050000,12.20000000],[1781146402000,12.14285714],[1781146674000,12.08888889],[1781146978000,11.82857143],[1781147250000,11.70000000],[1781147602000,11.71428571],[1781147874000,11.80000000],[1781148178000,11.80000000],[1781148450000,11.80000000],[1781148753000,11.80000000],[1781149074000,11.80000000],[1781149378000,11.80000000],[1781149650000,11.80000000],[1781150002000,11.70000000],[1781150274000,11.73750000],[1781150578000,11.84285714],[1781150850000,11.95000000],[1781151202000,12.05000000],[1781151474000,12.05000000],[1781151793000,12.20000000],[1781152050000,12.30000000],[1781152370000,12.44000000],[1781152689000,12.55000000],[1781152994000,12.60000000],[1781153330000,12.90000000],[1781153586000,12.96666667],[1781153890000,12.88333333],[1781154178000,12.90000000],[1781154453000,13.02857143],[1781154802000,13.11250000],[1781155073000,13.25000000],[1781155378000,13.34285714],[1781155650000,13.47142857],[1781155953000,13.55000000],[1781156273000,13.60000000],[1781156577000,13.60000000],[1781156850000,13.70000000],[1781157201000,13.76000000],[1781157474000,13.81428571],[1781157857000,13.76000000],[1781158050000,13.63333333],[1781158352000,13.73333333],[1781158689000,13.80000000],[1781159090000,13.97500000],[1781159281000,14.15000000],[1781159601000,14.28571429],[1781159873000,14.48750000],[1781160177000,14.43750000],[1781160481000,14.63750000],[1781160801000,14.82500000],[1781161073000,15.07142857],[1781161378000,15.25000000],[1781161681000,15.18571429],[1781161953000,14.86666667],[1781162546000,14.00000000],[1781162577000,13.98333333],[1781162881000,14.00000000],[1781163201000,14.07500000],[1781163473000,14.33750000],[1781163777000,14.30000000],[1781164081000,14.40000000],[1781164352000,14.32222222],[1781164674000,14.56250000],[1781164977000,15.22500000],[1781165250000,15.48888889],[1781165552000,15.06000000],[1781165873000,15.20000000],[1781166177000,15.32000000],[1781166481000,15.46250000],[1781166801000,15.18750000],[1781167106000,15.22857143],[1781167377000,15.48750000],[1781167682000,15.68000000],[1781167952000,15.90000000],[1781168353000,15.80000000],[1781168609000,16.40000000],[1781168881000,16.46250000],[1781169154000,16.32857143],[1781169474000,16.02857143],[1781169777000,16.02857143],[1781170050000,16.40000000],[1781170352000,16.63750000],[1781170673000,16.56666667],[1781170977000,16.72222222],[1781171281000,16.81428571],[1781171601000,17.18333333],[1781171873000,17.23750000],[1781172216000,16.62857143],[1781172498000,16.32500000],[1781172769000,16.46666667],[1781173089000,16.44285714],[1781173378000,16.72500000],[1781173681000,16.83750000],[1781173952000,16.78888889],[1781174274000,16.66250000],[1781174577000,16.71250000],[1781174850000,16.98888889],[1781175171000,17.40000000],[1781175473000,17.13333333],[1781175810000,16.61250000],[1781176081000,16.37142857],[1781176609000,16.20000000],[1781176673000,16.35000000],[1781176993000,17.40000000],[1781177281000,17.07500000],[1781177552000,16.77500000],[1781177873000,16.71250000],[1781178177000,16.71250000],[1781178481000,16.57500000],[1781178752000,16.51111111],[1781179105000,16.47142857],[1781179378000,16.26250000],[1781179681000,16.30000000],[1781179953000,16.30000000],[1781180289000,16.30000000],[1781180609000,16.52000000],[1781180929000,16.90000000],[1781181201000,16.90000000],[1781181649000,16.95000000],[1781181777000,17.40000000],[1781182130000,17.48000000],[1781182401000,17.50000000],[1781182673000,17.68750000],[1781182977000,17.72222222],[1781183282000,18.11428571],[1781183553000,17.65714286],[1781183874000,17.43333333],[1781184177000,17.36666667],[1781184481000,17.30000000],[1781184922000,17.20000000],[1781185089000,17.15000000],[1781185409000,16.91250000],[1781185681000,16.95714286],[1781185952000,17.10000000],[1781186273000,17.05555556],[1781186577000,16.94285714],[1781186881000,17.02500000],[1781187152000,17.05000000],[1781187473000,16.88750000],[1781187777000,16.80000000],[1781188084000,16.77142857],[1781188352000,16.70000000],[1781188673000,16.65555556],[1781188977000,16.70000000],[1781189281000,16.62857143],[1781189601000,16.52500000],[1781189970000,16.60000000],[1781190177000,16.55555556],[1781190482000,16.57500000],[1781190769000,16.60000000],[1781191089000,16.60000000],[1781191472000,16.52000000],[1781191681000,16.51428571],[1781191952000,16.50000000],[1781192273000,16.50000000],[1781192577000,16.50000000],[1781192881000,16.50000000],[1781193201000,16.70000000],[1781193473000,16.90000000],[1781193777000,16.86666667],[1781194081000,17.05000000],[1781194352000,17.02857143],[1781194673000,17.26000000],[1781195009000,17.68571429],[1781195312000,17.28571429],[1781195552000,17.15714286],[1781195873000,17.10000000],[1781196208000,16.97142857],[1781196512000,16.90000000],[1781196769000,16.81250000],[1781197104000,16.96666667],[1781197408000,17.00000000],[1781197680000,16.94285714],[1781197953000,16.88750000],[1781198273000,16.78888889],[1781198577000,16.75000000],[1781198880000,16.74285714],[1781199152000,16.62500000],[1781199473000,16.56666667],[1781199777000,16.50000000],[1781200080000,16.46250000],[1781200352000,16.30000000],[1781200672000,15.98750000],[1781200976000,15.88750000],[1781201312000,15.80000000],[1781201568000,15.50000000],[1781201888000,15.38333333],[1781202209000,15.20000000],[1781202512000,15.17500000],[1781202768000,15.06000000],[1781203104000,14.88000000],[1781203488000,14.30000000],[1781203680000,13.95000000],[1781203952000,13.62500000],[1781204304000,13.37142857],[1781204576000,13.17500000],[1781204880000,13.11428571],[1781205152000,13.27500000],[1781205505000,13.32857143],[1781205776000,13.45555556],[1781206112000,13.17142857],[1781206352000,12.71428571],[1781206704000,12.70000000],[1781207265000,13.26666667],[1781207552000,13.15714286],[1781207872000,12.91428571],[1781208192000,12.50000000],[1781208512000,12.40000000],[1781208768000,12.06000000],[1781209088000,12.13750000],[1781209377000,12.67142857],[1781209680000,13.46000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1781128850000,15.4],[1781128978000,15.3],[1781129298000,15.3],[1781129810000,15.3],[1781129874000,15.3],[1781130210000,15.3],[1781130450000,15.3],[1781130753000,15.3],[1781131074000,15.4],[1781131379000,15.5],[1781131650000,15.6],[1781131953000,15.7],[1781132274000,15.7],[1781132578000,15.7],[1781132850000,15.6],[1781133202000,15.4],[1781133474000,15.1],[1781133922000,14.6],[1781134083000,14.6],[1781134370000,14.5],[1781134818000,13.9],[1781135058000,13.7],[1781135251000,13.7],[1781135571000,13.6],[1781136050000,13.3],[1781136178000,13.2],[1781136450000,13.1],[1781136802000,13.1],[1781137074000,13],[1781137378000,12.9],[1781137650000,12.9],[1781138002000,12.9],[1781138274000,12.9],[1781138579000,13],[1781138850000,13],[1781139202000,12.8],[1781139475000,12.7],[1781140179000,12.4],[1781140435000,12.4],[1781140674000,12.3],[1781140978000,12.3],[1781141250000,12.3],[1781141602000,12.2],[1781141874000,12.2],[1781142178000,12.1],[1781142450000,12.2],[1781142803000,12.2],[1781143074000,12.1],[1781143394000,12.1],[1781143650000,12],[1781143970000,12.1],[1781144277000,12.1],[1781144722000,12.1],[1781144850000,12.1],[1781145202000,12.1],[1781145474000,12],[1781145778000,11.9],[1781146050000,11.9],[1781146402000,11.8],[1781146674000,11.8],[1781146978000,11.4],[1781147250000,11.2],[1781147602000,11.1],[1781147874000,11.1],[1781148178000,11],[1781148450000,11],[1781148753000,11],[1781149074000,11],[1781149378000,11],[1781149650000,11],[1781150002000,10.9],[1781150274000,10.8],[1781150578000,10.8],[1781150850000,10.8],[1781151202000,10.9],[1781151474000,10.8],[1781151793000,10.8],[1781152050000,10.9],[1781152370000,10.7],[1781152689000,10.8],[1781152994000,10.6],[1781153330000,10.6],[1781153586000,10.8],[1781153890000,10.7],[1781154178000,10.8],[1781154453000,10.8],[1781154802000,10.5],[1781155073000,10.5],[1781155378000,10.4],[1781155650000,10.4],[1781155953000,10.2],[1781156273000,10.1],[1781156577000,10],[1781156850000,10.1],[1781157201000,9.8],[1781157474000,10],[1781157857000,9.8],[1781158050000,9.6],[1781158352000,9.7],[1781158689000,9.5],[1781159090000,9.5],[1781159281000,9.5],[1781159601000,9.8],[1781159873000,9.8],[1781160177000,9.6],[1781160481000,9.7],[1781160801000,9.7],[1781161073000,9.7],[1781161378000,10],[1781161681000,10],[1781161953000,10],[1781162546000,9.8],[1781162577000,9.8],[1781162881000,9.8],[1781163201000,9.8],[1781163473000,10],[1781163777000,9.7],[1781164081000,9.8],[1781164352000,9.7],[1781164674000,9.9],[1781164977000,10.3],[1781165250000,10.4],[1781165552000,9.9],[1781165873000,10.1],[1781166177000,10],[1781166481000,9.9],[1781166801000,9.8],[1781167106000,9.6],[1781167377000,10],[1781167682000,10.1],[1781167952000,10.4],[1781168353000,10.3],[1781168609000,10.4],[1781168881000,10.4],[1781169154000,10.3],[1781169474000,10],[1781169777000,10],[1781170050000,10.5],[1781170352000,10.6],[1781170673000,10.7],[1781170977000,10.6],[1781171281000,10.7],[1781171601000,10.5],[1781171873000,10.8],[1781172216000,10.2],[1781172498000,10.5],[1781172769000,10.5],[1781173089000,10.3],[1781173378000,10.5],[1781173681000,10.5],[1781173952000,10.5],[1781174274000,10.5],[1781174577000,10.2],[1781174850000,10.2],[1781175171000,10.2],[1781175473000,10],[1781175810000,9.8],[1781176081000,10],[1781176609000,10.5],[1781176673000,10.3],[1781176993000,10.9],[1781177281000,10.5],[1781177552000,10.5],[1781177873000,10.5],[1781178177000,10.5],[1781178481000,10.4],[1781178752000,10.6],[1781179105000,10.4],[1781179378000,10.4],[1781179681000,10.3],[1781179953000,10.4],[1781180289000,10.4],[1781180609000,10.5],[1781180929000,10.4],[1781181201000,10.3],[1781181649000,10.5],[1781181777000,10.6],[1781182130000,10],[1781182401000,10.2],[1781182673000,10.1],[1781182977000,10.5],[1781183282000,10.6],[1781183553000,10.4],[1781183874000,10.2],[1781184177000,10.1],[1781184481000,10.4],[1781184922000,10.1],[1781185089000,10.4],[1781185409000,10.3],[1781185681000,10.2],[1781185952000,10.3],[1781186273000,10.1],[1781186577000,10.2],[1781186881000,10.4],[1781187152000,10.4],[1781187473000,10.4],[1781187777000,10.1],[1781188084000,10],[1781188352000,9.9],[1781188673000,9.8],[1781188977000,10.1],[1781189281000,9.9],[1781189601000,10],[1781189970000,10.2],[1781190177000,9.9],[1781190482000,10.2],[1781190769000,9.8],[1781191089000,9.8],[1781191472000,10.1],[1781191681000,9.9],[1781191952000,10],[1781192273000,10.1],[1781192577000,10.2],[1781192881000,10],[1781193201000,10.5],[1781193473000,10.7],[1781193777000,10.4],[1781194081000,10.6],[1781194352000,10.4],[1781194673000,10.4],[1781195009000,10.7],[1781195312000,10.3],[1781195552000,10],[1781195873000,10],[1781196208000,10],[1781196512000,10.2],[1781196769000,10.1],[1781197104000,10.3],[1781197408000,10.4],[1781197680000,10.1],[1781197953000,10.1],[1781198273000,10],[1781198577000,10],[1781198880000,10.2],[1781199152000,10.1],[1781199473000,10.2],[1781199777000,10.3],[1781200080000,10.2],[1781200352000,10.3],[1781200672000,10.2],[1781200976000,10.3],[1781201312000,10.3],[1781201568000,10.2],[1781201888000,10.3],[1781202209000,10.1],[1781202512000,10.1],[1781202768000,10.1],[1781203104000,10.3],[1781203488000,10.2],[1781203680000,10.2],[1781203952000,10.3],[1781204304000,10.1],[1781204576000,10.1],[1781204880000,10],[1781205152000,10.1],[1781205505000,10],[1781205776000,10],[1781206112000,10.2],[1781206352000,10.1],[1781206704000,9.7],[1781207265000,9.8],[1781207552000,9.5],[1781207872000,9.8],[1781208192000,9.5],[1781208512000,9.4],[1781208768000,9.5],[1781209088000,9.3],[1781209377000,8.7],[1781209680000,8.9],], color: '#5b9f4a' } ]; var options = { xaxes: [{ axisLabel: 'temperature', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1°C' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-temperature-legend' } }; graphs['#chart-temperature'] = $.plot('#chart-temperature', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Vlhkosť (%)', data: [[1781128850000,97.00000000],[1781128978000,97.00000000],[1781129298000,97.00000000],[1781129810000,97.00000000],[1781129874000,97.00000000],[1781130210000,97.00000000],[1781130450000,97.00000000],[1781130753000,97.00000000],[1781131074000,97.22222222],[1781131379000,97.87500000],[1781131650000,98.00000000],[1781131953000,98.00000000],[1781132274000,98.00000000],[1781132578000,98.00000000],[1781132850000,97.50000000],[1781133202000,97.00000000],[1781133474000,97.00000000],[1781133922000,96.00000000],[1781134083000,96.00000000],[1781134370000,95.75000000],[1781134818000,95.00000000],[1781135058000,96.00000000],[1781135251000,96.40000000],[1781135571000,97.00000000],[1781136050000,97.00000000],[1781136178000,97.00000000],[1781136450000,97.00000000],[1781136802000,97.00000000],[1781137074000,97.00000000],[1781137378000,97.00000000],[1781137650000,97.00000000],[1781138002000,97.00000000],[1781138274000,97.12500000],[1781138579000,98.00000000],[1781138850000,98.00000000],[1781139202000,98.00000000],[1781139475000,98.00000000],[1781140179000,98.00000000],[1781140435000,98.00000000],[1781140674000,98.00000000],[1781140978000,98.00000000],[1781141250000,98.00000000],[1781141602000,98.00000000],[1781141874000,98.00000000],[1781142178000,98.00000000],[1781142450000,98.00000000],[1781142803000,98.00000000],[1781143074000,98.00000000],[1781143394000,98.00000000],[1781143650000,98.00000000],[1781143970000,98.00000000],[1781144277000,98.00000000],[1781144722000,98.00000000],[1781144850000,98.00000000],[1781145202000,98.00000000],[1781145474000,98.00000000],[1781145778000,98.00000000],[1781146050000,98.00000000],[1781146402000,97.85714286],[1781146674000,97.88888889],[1781146978000,97.00000000],[1781147250000,97.00000000],[1781147602000,96.00000000],[1781147874000,95.75000000],[1781148178000,95.00000000],[1781148450000,95.00000000],[1781148753000,95.00000000],[1781149074000,95.00000000],[1781149378000,95.00000000],[1781149650000,95.00000000],[1781150002000,95.00000000],[1781150274000,94.25000000],[1781150578000,93.57142857],[1781150850000,93.00000000],[1781151202000,93.00000000],[1781151474000,92.00000000],[1781151793000,91.25000000],[1781152050000,91.00000000],[1781152370000,89.00000000],[1781152689000,89.00000000],[1781152994000,88.00000000],[1781153330000,86.00000000],[1781153586000,86.66666667],[1781153890000,86.83333333],[1781154178000,87.14285714],[1781154453000,86.42857143],[1781154802000,84.25000000],[1781155073000,83.62500000],[1781155378000,82.71428571],[1781155650000,81.57142857],[1781155953000,80.50000000],[1781156273000,79.55555556],[1781156577000,79.14285714],[1781156850000,79.00000000],[1781157201000,77.20000000],[1781157474000,78.14285714],[1781157857000,77.00000000],[1781158050000,76.66666667],[1781158352000,77.00000000],[1781158689000,75.66666667],[1781159090000,74.75000000],[1781159281000,74.00000000],[1781159601000,74.42857143],[1781159873000,73.75000000],[1781160177000,73.00000000],[1781160481000,72.62500000],[1781160801000,71.62500000],[1781161073000,70.28571429],[1781161378000,70.87500000],[1781161681000,71.57142857],[1781161953000,73.00000000],[1781162546000,76.00000000],[1781162577000,76.00000000],[1781162881000,76.20000000],[1781163201000,75.87500000],[1781163473000,75.37500000],[1781163777000,74.11111111],[1781164081000,74.14285714],[1781164352000,74.11111111],[1781164674000,73.62500000],[1781164977000,72.62500000],[1781165250000,72.00000000],[1781165552000,71.40000000],[1781165873000,71.77777778],[1781166177000,70.60000000],[1781166481000,69.50000000],[1781166801000,70.37500000],[1781167106000,69.42857143],[1781167377000,70.00000000],[1781167682000,69.80000000],[1781167952000,69.85714286],[1781168353000,70.00000000],[1781168609000,67.66666667],[1781168881000,67.50000000],[1781169154000,67.85714286],[1781169474000,67.85714286],[1781169777000,67.42857143],[1781170050000,68.44444444],[1781170352000,67.62500000],[1781170673000,68.44444444],[1781170977000,67.44444444],[1781171281000,67.42857143],[1781171601000,65.16666667],[1781171873000,66.25000000],[1781172216000,66.14285714],[1781172498000,68.50000000],[1781172769000,67.83333333],[1781173089000,67.28571429],[1781173378000,67.00000000],[1781173681000,66.25000000],[1781173952000,66.77777778],[1781174274000,67.00000000],[1781174577000,65.75000000],[1781174850000,64.44444444],[1781175171000,62.71428571],[1781175473000,63.22222222],[1781175810000,64.25000000],[1781176081000,66.28571429],[1781176609000,69.00000000],[1781176673000,67.50000000],[1781176993000,66.00000000],[1781177281000,65.25000000],[1781177552000,66.50000000],[1781177873000,67.12500000],[1781178177000,67.00000000],[1781178481000,67.00000000],[1781178752000,68.44444444],[1781179105000,67.71428571],[1781179378000,68.50000000],[1781179681000,67.85714286],[1781179953000,68.16666667],[1781180289000,68.33333333],[1781180609000,67.60000000],[1781180929000,65.66666667],[1781181201000,65.50000000],[1781181649000,66.00000000],[1781181777000,64.40000000],[1781182130000,61.80000000],[1781182401000,62.33333333],[1781182673000,61.50000000],[1781182977000,62.77777778],[1781183282000,61.71428571],[1781183553000,62.71428571],[1781183874000,62.66666667],[1781184177000,62.66666667],[1781184481000,64.00000000],[1781184922000,63.33333333],[1781185089000,64.50000000],[1781185409000,65.12500000],[1781185681000,64.71428571],[1781185952000,64.42857143],[1781186273000,63.77777778],[1781186577000,64.57142857],[1781186881000,65.37500000],[1781187152000,65.12500000],[1781187473000,66.00000000],[1781187777000,65.00000000],[1781188084000,64.57142857],[1781188352000,64.50000000],[1781188673000,64.33333333],[1781188977000,65.37500000],[1781189281000,64.71428571],[1781189601000,65.37500000],[1781189970000,66.00000000],[1781190177000,65.00000000],[1781190482000,66.00000000],[1781190769000,64.50000000],[1781191089000,64.33333333],[1781191472000,65.80000000],[1781191681000,65.14285714],[1781191952000,65.50000000],[1781192273000,66.12500000],[1781192577000,66.33333333],[1781192881000,65.85714286],[1781193201000,66.87500000],[1781193473000,67.25000000],[1781193777000,66.00000000],[1781194081000,65.87500000],[1781194352000,65.14285714],[1781194673000,64.20000000],[1781195009000,63.71428571],[1781195312000,63.57142857],[1781195552000,63.00000000],[1781195873000,63.00000000],[1781196208000,63.85714286],[1781196512000,65.00000000],[1781196769000,65.00000000],[1781197104000,65.00000000],[1781197408000,65.50000000],[1781197680000,64.42857143],[1781197953000,64.62500000],[1781198273000,64.33333333],[1781198577000,64.62500000],[1781198880000,65.57142857],[1781199152000,65.75000000],[1781199473000,66.33333333],[1781199777000,66.87500000],[1781200080000,66.87500000],[1781200352000,68.00000000],[1781200672000,68.75000000],[1781200976000,69.62500000],[1781201312000,70.00000000],[1781201568000,71.00000000],[1781201888000,71.83333333],[1781202209000,72.00000000],[1781202512000,71.75000000],[1781202768000,72.40000000],[1781203104000,74.40000000],[1781203488000,76.66666667],[1781203680000,78.50000000],[1781203952000,80.25000000],[1781204304000,81.00000000],[1781204576000,81.75000000],[1781204880000,81.71428571],[1781205152000,81.12500000],[1781205505000,80.28571429],[1781205776000,80.00000000],[1781206112000,82.57142857],[1781206352000,84.28571429],[1781206704000,82.33333333],[1781207265000,79.44444444],[1781207552000,78.71428571],[1781207872000,81.42857143],[1781208192000,82.00000000],[1781208512000,82.00000000],[1781208768000,84.60000000],[1781209088000,83.12500000],[1781209377000,77.14285714],[1781209680000,74.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: [[1781128850000,1012],[1781128978000,1011.9],[1781129298000,1011.7],[1781129810000,1011.5],[1781129874000,1011.5],[1781130210000,1011.3],[1781130450000,1011.2],[1781130753000,1011.4],[1781131074000,1011.7],[1781131379000,1011.5],[1781131650000,1011.3],[1781131953000,1011.4],[1781132274000,1011.4],[1781132578000,1011.6],[1781132850000,1011.7],[1781133202000,1011.4],[1781133474000,1011.3],[1781133922000,1011.1],[1781134083000,1011.5],[1781134370000,1012.7],[1781134818000,1013.5],[1781135058000,1013.2],[1781135251000,1013.5],[1781135571000,1014.1],[1781136050000,1014.3],[1781136178000,1013.9],[1781136450000,1013.3],[1781136802000,1013.5],[1781137074000,1013.5],[1781137378000,1013.3],[1781137650000,1013.4],[1781138002000,1013.4],[1781138274000,1013.3],[1781138579000,1013.2],[1781138850000,1013.4],[1781139202000,1013.6],[1781139475000,1013.5],[1781140179000,1013.6],[1781140435000,1013.5],[1781140674000,1013.5],[1781140978000,1013.6],[1781141250000,1013.7],[1781141602000,1013.4],[1781141874000,1013.4],[1781142178000,1013.6],[1781142450000,1013.4],[1781142803000,1013.3],[1781143074000,1013.3],[1781143394000,1013.3],[1781143650000,1013.6],[1781143970000,1013.7],[1781144277000,1014],[1781144722000,1013.8],[1781144850000,1013.8],[1781145202000,1013.8],[1781145474000,1013.9],[1781145778000,1013.8],[1781146050000,1013.8],[1781146402000,1014.1],[1781146674000,1014],[1781146978000,1014.3],[1781147250000,1014.4],[1781147602000,1014.5],[1781147874000,1014.7],[1781148178000,1014.7],[1781148450000,1014.7],[1781148753000,1014.9],[1781149074000,1015],[1781149378000,1015],[1781149650000,1015.1],[1781150002000,1015.1],[1781150274000,1015.2],[1781150578000,1015.2],[1781150850000,1015.1],[1781151202000,1015.2],[1781151474000,1015.1],[1781151793000,1015.2],[1781152050000,1015],[1781152370000,1015.1],[1781152689000,1015.1],[1781152994000,1015.2],[1781153330000,1015.1],[1781153586000,1015.1],[1781153890000,1015.2],[1781154178000,1015.2],[1781154453000,1015.3],[1781154802000,1015.2],[1781155073000,1015.4],[1781155378000,1015.4],[1781155650000,1015.4],[1781155953000,1015.5],[1781156273000,1015.7],[1781156577000,1015.8],[1781156850000,1015.9],[1781157201000,1015.9],[1781157474000,1016],[1781157857000,1016.3],[1781158050000,1016.2],[1781158352000,1016.3],[1781158689000,1016.3],[1781159090000,1016.2],[1781159281000,1016.3],[1781159601000,1016.1],[1781159873000,1016.3],[1781160177000,1016.5],[1781160481000,1016.4],[1781160801000,1016.5],[1781161073000,1016.5],[1781161378000,1016.8],[1781161681000,1016.7],[1781161953000,1016.9],[1781162546000,1017],[1781162577000,1017.1],[1781162881000,1017.3],[1781163201000,1017.2],[1781163473000,1017.3],[1781163777000,1017.3],[1781164081000,1017.3],[1781164352000,1017.2],[1781164674000,1017],[1781164977000,1017],[1781165250000,1017],[1781165552000,1017.3],[1781165873000,1017.4],[1781166177000,1017.2],[1781166481000,1017.2],[1781166801000,1017.2],[1781167106000,1017],[1781167377000,1017],[1781167682000,1016.9],[1781167952000,1016.9],[1781168353000,1017],[1781168609000,1017],[1781168881000,1017],[1781169154000,1017.2],[1781169474000,1017.3],[1781169777000,1017.3],[1781170050000,1017.2],[1781170352000,1017.2],[1781170673000,1017.3],[1781170977000,1017.2],[1781171281000,1017.3],[1781171601000,1017.3],[1781171873000,1017.4],[1781172216000,1017.5],[1781172498000,1017.6],[1781172769000,1017.7],[1781173089000,1017.6],[1781173378000,1017.5],[1781173681000,1017.6],[1781173952000,1017.7],[1781174274000,1017.6],[1781174577000,1017.7],[1781174850000,1017.6],[1781175171000,1017.6],[1781175473000,1017.7],[1781175810000,1017.5],[1781176081000,1017.5],[1781176609000,1017.7],[1781176673000,1017.7],[1781176993000,1017.4],[1781177281000,1017.5],[1781177552000,1017.6],[1781177873000,1017.5],[1781178177000,1017.7],[1781178481000,1017.8],[1781178752000,1018],[1781179105000,1017.8],[1781179378000,1018.1],[1781179681000,1018],[1781179953000,1017.9],[1781180289000,1018],[1781180609000,1018],[1781180929000,1017.9],[1781181201000,1017.8],[1781181649000,1017.8],[1781181777000,1017.8],[1781182130000,1017.6],[1781182401000,1017.8],[1781182673000,1017.8],[1781182977000,1017.9],[1781183282000,1017.8],[1781183553000,1017.7],[1781183874000,1017.8],[1781184177000,1017.9],[1781184481000,1018],[1781184922000,1018.2],[1781185089000,1018.2],[1781185409000,1018.2],[1781185681000,1018.1],[1781185952000,1018.1],[1781186273000,1018.1],[1781186577000,1018.2],[1781186881000,1018.2],[1781187152000,1018.1],[1781187473000,1018.2],[1781187777000,1018.2],[1781188084000,1018.3],[1781188352000,1018.4],[1781188673000,1018.3],[1781188977000,1018.2],[1781189281000,1018.2],[1781189601000,1018.2],[1781189970000,1018.2],[1781190177000,1018.2],[1781190482000,1018],[1781190769000,1018.1],[1781191089000,1018.3],[1781191472000,1018.2],[1781191681000,1018.2],[1781191952000,1018.3],[1781192273000,1018.3],[1781192577000,1018.3],[1781192881000,1018.3],[1781193201000,1018.3],[1781193473000,1018.3],[1781193777000,1018.2],[1781194081000,1018.3],[1781194352000,1018.2],[1781194673000,1018.2],[1781195009000,1017.9],[1781195312000,1018],[1781195552000,1018],[1781195873000,1018.1],[1781196208000,1018],[1781196512000,1018],[1781196769000,1018.1],[1781197104000,1018],[1781197408000,1018],[1781197680000,1018.1],[1781197953000,1018.1],[1781198273000,1018.1],[1781198577000,1018.1],[1781198880000,1018.1],[1781199152000,1018.2],[1781199473000,1018.2],[1781199777000,1018.2],[1781200080000,1018.2],[1781200352000,1018.4],[1781200672000,1018.5],[1781200976000,1018.5],[1781201312000,1018.6],[1781201568000,1018.7],[1781201888000,1018.8],[1781202209000,1018.9],[1781202512000,1019],[1781202768000,1019],[1781203104000,1019.1],[1781203488000,1019.3],[1781203680000,1019.2],[1781203952000,1019.4],[1781204304000,1019.5],[1781204576000,1019.6],[1781204880000,1019.7],[1781205152000,1019.8],[1781205505000,1019.8],[1781205776000,1019.8],[1781206112000,1020],[1781206352000,1020],[1781206704000,1020],[1781207265000,1019.9],[1781207552000,1019.8],[1781207872000,1020],[1781208192000,1020],[1781208512000,1019.9],[1781208768000,1019.9],[1781209088000,1020],[1781209377000,1019.9],[1781209680000,1019.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: [[1781128850000,2.88],[1781128978000,0.648],[1781129298000,0],[1781129810000,0],[1781129874000,0],[1781130210000,0],[1781130450000,0.585],[1781130753000,1.44],[1781131074000,0.920000016],[1781131379000,0.72],[1781131650000,2.239999992],[1781131953000,2.88],[1781132274000,3.840000012],[1781132578000,6.165],[1781132850000,7.875],[1781133202000,4.525714296],[1781133474000,5.76],[1781133922000,3.6],[1781134083000,5.22],[1781134370000,18.63],[1781134818000,19.08],[1781135058000,4.59],[1781135251000,6.48],[1781135571000,15.552],[1781136050000,8.1],[1781136178000,3.15],[1781136450000,3.015],[1781136802000,4.834285704],[1781137074000,6.84],[1781137378000,5.194285704],[1781137650000,3.87],[1781138002000,3.915],[1781138274000,4.14],[1781138579000,1.491428556],[1781138850000,6.93],[1781139202000,12.651428556],[1781139475000,10.125],[1781140179000,17.82],[1781140435000,12.24],[1781140674000,12.285],[1781140978000,14.142857148],[1781141250000,12.137142852],[1781141602000,7.714285704],[1781141874000,9.135],[1781142178000,6.531428556],[1781142450000,2.835],[1781142803000,6.360000012],[1781143074000,7.097142852],[1781143394000,4.439999988],[1781143650000,3.24],[1781143970000,3.24],[1781144277000,3.15],[1781144722000,1.8],[1781144850000,1.845],[1781145202000,3.445714296],[1781145474000,2.97],[1781145778000,2.314285704],[1781146050000,3.015],[1781146402000,0.874285704],[1781146674000,2.52],[1781146978000,8.074285704],[1781147250000,6.12],[1781147602000,6.428571444],[1781147874000,5.49],[1781148178000,6.685714296],[1781148450000,5.245714296],[1781148753000,5.13],[1781149074000,4.455],[1781149378000,3.857142852],[1781149650000,2.205],[1781150002000,1.954285704],[1781150274000,4.815],[1781150578000,2.52],[1781150850000,2.925],[1781151202000,3.51],[1781151474000,2.97],[1781151793000,3.69],[1781152050000,0.36],[1781152370000,4.464],[1781152689000,4.95],[1781152994000,5.76],[1781153330000,8.55],[1781153586000,5.699999988],[1781153890000,8.219999988],[1781154178000,5.142857148],[1781154453000,3.651428556],[1781154802000,8.775],[1781155073000,5.49],[1781155378000,8.845714296],[1781155650000,5.708571444],[1781155953000,5.460000012],[1781156273000,9.399999996],[1781156577000,5.965714296],[1781156850000,7.440000012],[1781157201000,10.512],[1781157474000,6.274285704],[1781157857000,10.512],[1781158050000,9.299999988],[1781158352000,7.92],[1781158689000,9.119999988],[1781159090000,5.94],[1781159281000,9.09],[1781159601000,5.502857148],[1781159873000,7.425],[1781160177000,8.685],[1781160481000,9.675],[1781160801000,10.17],[1781161073000,10.182857148],[1781161378000,7.605],[1781161681000,10.748571444],[1781161953000,6.599999988],[1781162546000,10.8],[1781162577000,5.879999988],[1781162881000,4.536],[1781163201000,3.96],[1781163473000,4.185],[1781163777000,5.199999984],[1781164081000,5.091428556],[1781164352000,4.920000012],[1781164674000,5.715],[1781164977000,6.03],[1781165250000,7.120000008],[1781165552000,6.768],[1781165873000,5.479999992],[1781166177000,6.912],[1781166481000,3.915],[1781166801000,7.065],[1781167106000,6.891428556],[1781167377000,7.56],[1781167682000,5.4],[1781167952000,4.011428556],[1781168353000,10.8],[1781168609000,7.56],[1781168881000,7.2],[1781169154000,6.84],[1781169474000,6.222857148],[1781169777000,5.502857148],[1781170050000,3.880000008],[1781170352000,5.805],[1781170673000,3.96],[1781170977000,5.559999984],[1781171281000,3.445714296],[1781171601000,3.24],[1781171873000,3.96],[1781172216000,4.268571444],[1781172498000,3.06],[1781172769000,3.899999988],[1781173089000,3.702857148],[1781173378000,3.105],[1781173681000,3.645],[1781173952000,3.920000004],[1781174274000,3.465],[1781174577000,5.31],[1781174850000,4.240000008],[1781175171000,2.52],[1781175473000,5.960000016],[1781175810000,5.04],[1781176081000,4.988571444],[1781176609000,2.52],[1781176673000,3.69],[1781176993000,5.76],[1781177281000,5.31],[1781177552000,3.69],[1781177873000,5.04],[1781178177000,4.545],[1781178481000,5.715],[1781178752000,4.200000012],[1781179105000,4.885714296],[1781179378000,4.275],[1781179681000,3.96],[1781179953000,4.380000012],[1781180289000,3.24],[1781180609000,5.904],[1781180929000,5.879999988],[1781181201000,4.95],[1781181649000,5.94],[1781181777000,2.304],[1781182130000,6.624],[1781182401000,5.94],[1781182673000,3.465],[1781182977000,6.360000012],[1781183282000,5.708571444],[1781183553000,5.914285704],[1781183874000,5.119999992],[1781184177000,5.439999996],[1781184481000,6.48],[1781184922000,2.52],[1781185089000,3.69],[1781185409000,4.455],[1781185681000,3.805714296],[1781185952000,4.474285704],[1781186273000,4.079999988],[1781186577000,3.6],[1781186881000,2.565],[1781187152000,3.69],[1781187473000,4.41],[1781187777000,4.86],[1781188084000,4.217142852],[1781188352000,4.455],[1781188673000,4.439999988],[1781188977000,2.835],[1781189281000,4.165714296],[1781189601000,3.78],[1781189970000,1.872],[1781190177000,3.24],[1781190482000,2.7],[1781190769000,2.940000012],[1781191089000,3.719999988],[1781191472000,2.808],[1781191681000,2.262857148],[1781191952000,3.465],[1781192273000,1.44],[1781192577000,2.000000016],[1781192881000,2.108571444],[1781193201000,0],[1781193473000,0.72],[1781193777000,0.640000008],[1781194081000,3.555],[1781194352000,1.902857148],[1781194673000,1.44],[1781195009000,1.388571444],[1781195312000,3.188571444],[1781195552000,6.017142852],[1781195873000,2.468571444],[1781196208000,3.188571444],[1781196512000,3.96],[1781196769000,2.025],[1781197104000,1.98],[1781197408000,4.14],[1781197680000,2.725714296],[1781197953000,2.7],[1781198273000,4.119999984],[1781198577000,1.935],[1781198880000,0.925714296],[1781199152000,0.54],[1781199473000,3.399999984],[1781199777000,2.475],[1781200080000,2.025],[1781200352000,0.479999988],[1781200672000,0.99],[1781200976000,0.18],[1781201312000,0.36],[1781201568000,1.944],[1781201888000,0.240000012],[1781202209000,0.936],[1781202512000,1.8],[1781202768000,0.504],[1781203104000,1.44],[1781203488000,0.119999988],[1781203680000,0.135],[1781203952000,0],[1781204304000,0],[1781204576000,0],[1781204880000,0.668571444],[1781205152000,0.855],[1781205505000,1.388571444],[1781205776000,0.439999992],[1781206112000,2.828571444],[1781206352000,2.16],[1781206704000,1.919999988],[1781207265000,1.599999984],[1781207552000,1.44],[1781207872000,0.72],[1781208192000,0.936],[1781208512000,0],[1781208768000,0.36],[1781209088000,0.9],[1781209377000,5.657142852],[1781209680000,3.024],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1781128850000,3.15],[1781128978000,1.008],[1781129298000,0],[1781129810000,0],[1781129874000,0],[1781130210000,0],[1781130450000,0.945],[1781130753000,2.52],[1781131074000,1.400000004],[1781131379000,1.26],[1781131650000,2.52],[1781131953000,3.639999996],[1781132274000,5.320000008],[1781132578000,7.92],[1781132850000,9.585],[1781133202000,5.76],[1781133474000,9.27],[1781133922000,3.78],[1781134083000,8.28],[1781134370000,23.67],[1781134818000,23.04],[1781135058000,5.67],[1781135251000,9.216],[1781135571000,20.016],[1781136050000,12.78],[1781136178000,5.04],[1781136450000,4.455],[1781136802000,6.171428556],[1781137074000,7.92],[1781137378000,6.12],[1781137650000,4.41],[1781138002000,5.04],[1781138274000,5.67],[1781138579000,2.52],[1781138850000,8.28],[1781139202000,15.12],[1781139475000,12.87],[1781140179000,23.04],[1781140435000,14.58],[1781140674000,15.48],[1781140978000,16.92],[1781141250000,15.428571444],[1781141602000,9.514285704],[1781141874000,12.24],[1781142178000,7.662857148],[1781142450000,4.41],[1781142803000,8.1],[1781143074000,9.462857148],[1781143394000,5.879999988],[1781143650000,4.619999988],[1781143970000,4.41],[1781144277000,4.41],[1781144722000,3.15],[1781144850000,3.15],[1781145202000,4.68],[1781145474000,4.095],[1781145778000,3.24],[1781146050000,4.095],[1781146402000,1.8],[1781146674000,3.920000004],[1781146978000,11.725714296],[1781147250000,7.875],[1781147602000,8.331428556],[1781147874000,8.235],[1781148178000,10.182857148],[1781148450000,7.251428556],[1781148753000,7.29],[1781149074000,6.975],[1781149378000,5.04],[1781149650000,3.78],[1781150002000,3.96],[1781150274000,6.66],[1781150578000,4.32],[1781150850000,3.465],[1781151202000,5.67],[1781151474000,4.41],[1781151793000,5.04],[1781152050000,2.52],[1781152370000,5.544],[1781152689000,6.93],[1781152994000,7.56],[1781153330000,10.89],[1781153586000,8.520000012],[1781153890000,10.62],[1781154178000,7.2],[1781154453000,5.4],[1781154802000,13.455],[1781155073000,8.55],[1781155378000,12.857142852],[1781155650000,9.102857148],[1781155953000,7.980000012],[1781156273000,13.960000008],[1781156577000,9.462857148],[1781156850000,10.320000012],[1781157201000,14.904],[1781157474000,8.742857148],[1781157857000,15.912],[1781158050000,14.100000012],[1781158352000,14.519999988],[1781158689000,11.999999988],[1781159090000,7.56],[1781159281000,12.87],[1781159601000,7.92],[1781159873000,9.9],[1781160177000,12.42],[1781160481000,12.105],[1781160801000,16.02],[1781161073000,13.937142852],[1781161378000,10.845],[1781161681000,15.377142852],[1781161953000,8.520000012],[1781162546000,20.52],[1781162577000,7.620000012],[1781162881000,7.056],[1781163201000,6.3],[1781163473000,5.985],[1781163777000,6.760000008],[1781164081000,6.84],[1781164352000,6.999999984],[1781164674000,8.55],[1781164977000,8.28],[1781165250000,9.920000016],[1781165552000,9.216],[1781165873000,7.279999992],[1781166177000,12.312],[1781166481000,6.975],[1781166801000,10.17],[1781167106000,9.462857148],[1781167377000,10.26],[1781167682000,8.64],[1781167952000,5.091428556],[1781168353000,15.48],[1781168609000,10.199999988],[1781168881000,9.585],[1781169154000,8.742857148],[1781169474000,7.971428556],[1781169777000,7.302857148],[1781170050000,4.759999992],[1781170352000,8.91],[1781170673000,5.360000004],[1781170977000,7.359999984],[1781171281000,4.68],[1781171601000,4.619999988],[1781171873000,5.67],[1781172216000,6.171428556],[1781172498000,4.41],[1781172769000,5.460000012],[1781173089000,5.4],[1781173378000,4.095],[1781173681000,5.67],[1781173952000,5.04],[1781174274000,5.355],[1781174577000,7.92],[1781174850000,5.640000012],[1781175171000,3.96],[1781175473000,7.840000008],[1781175810000,6.975],[1781176081000,8.382857148],[1781176609000,5.04],[1781176673000,5.67],[1781176993000,7.56],[1781177281000,6.3],[1781177552000,6.3],[1781177873000,7.56],[1781178177000,6.615],[1781178481000,7.65],[1781178752000,5.919999984],[1781179105000,7.611428556],[1781179378000,5.985],[1781179681000,5.04],[1781179953000,6.779999988],[1781180289000,4.200000012],[1781180609000,7.56],[1781180929000,9.36],[1781181201000,6.39],[1781181649000,9],[1781181777000,4.032],[1781182130000,9.648],[1781182401000,8.520000012],[1781182673000,5.355],[1781182977000,8.759999988],[1781183282000,8.382857148],[1781183553000,7.92],[1781183874000,7.880000004],[1781184177000,7.92],[1781184481000,7.56],[1781184922000,3.359999988],[1781185089000,5.04],[1781185409000,6.975],[1781185681000,5.4],[1781185952000,6.531428556],[1781186273000,5.879999988],[1781186577000,5.4],[1781186881000,4.095],[1781187152000,5.67],[1781187473000,5.985],[1781187777000,6.615],[1781188084000,5.76],[1781188352000,6.345],[1781188673000,6.440000004],[1781188977000,4.095],[1781189281000,6.531428556],[1781189601000,6.03],[1781189970000,3.024],[1781190177000,4.479999984],[1781190482000,3.78],[1781190769000,4.200000012],[1781191089000,5.04],[1781191472000,4.536],[1781191681000,3.24],[1781191952000,4.41],[1781192273000,2.205],[1781192577000,2.52],[1781192881000,3.24],[1781193201000,0],[1781193473000,1.575],[1781193777000,1.119999996],[1781194081000,4.41],[1781194352000,2.88],[1781194673000,2.016],[1781195009000,2.16],[1781195312000,4.68],[1781195552000,8.331428556],[1781195873000,3.24],[1781196208000,5.451428556],[1781196512000,5.04],[1781196769000,3.15],[1781197104000,2.52],[1781197408000,6.3],[1781197680000,3.96],[1781197953000,4.095],[1781198273000,5.04],[1781198577000,3.78],[1781198880000,1.8],[1781199152000,1.575],[1781199473000,5.079999996],[1781199777000,4.095],[1781200080000,3.15],[1781200352000,0.839999988],[1781200672000,2.205],[1781200976000,0.63],[1781201312000,2.52],[1781201568000,3.024],[1781201888000,1.26],[1781202209000,2.016],[1781202512000,2.52],[1781202768000,0.504],[1781203104000,2.52],[1781203488000,0.839999988],[1781203680000,0.63],[1781203952000,0],[1781204304000,0],[1781204576000,0],[1781204880000,1.08],[1781205152000,1.575],[1781205505000,2.16],[1781205776000,0.560000016],[1781206112000,3.24],[1781206352000,2.52],[1781206704000,3.359999988],[1781207265000,2.800000008],[1781207552000,2.52],[1781207872000,1.08],[1781208192000,1.512],[1781208512000,0],[1781208768000,1.008],[1781209088000,1.26],[1781209377000,8.331428556],[1781209680000,4.032],], 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: [[1781128850000,289.75000000],[1781128978000,302.00000000],[1781129298000,322.33333333],[1781129810000,317.00000000],[1781129874000,288.75000000],[1781130210000,274.28571429],[1781130450000,311.25000000],[1781130753000,292.66666667],[1781131074000,301.88888889],[1781131379000,296.37500000],[1781131650000,294.00000000],[1781131953000,292.88888889],[1781132274000,276.33333333],[1781132578000,263.00000000],[1781132850000,268.00000000],[1781133202000,278.14285714],[1781133474000,274.75000000],[1781133922000,237.25000000],[1781134083000,266.25000000],[1781134370000,246.25000000],[1781134818000,257.00000000],[1781135058000,290.50000000],[1781135251000,267.60000000],[1781135571000,264.60000000],[1781136050000,249.50000000],[1781136178000,234.00000000],[1781136450000,289.75000000],[1781136802000,262.85714286],[1781137074000,264.87500000],[1781137378000,268.42857143],[1781137650000,259.87500000],[1781138002000,254.37500000],[1781138274000,226.25000000],[1781138579000,274.28571429],[1781138850000,264.25000000],[1781139202000,255.42857143],[1781139475000,265.62500000],[1781140179000,258.50000000],[1781140435000,253.00000000],[1781140674000,258.62500000],[1781140978000,251.57142857],[1781141250000,259.00000000],[1781141602000,271.57142857],[1781141874000,258.12500000],[1781142178000,277.14285714],[1781142450000,286.62500000],[1781142803000,261.16666667],[1781143074000,276.42857143],[1781143394000,307.00000000],[1781143650000,293.16666667],[1781143970000,276.75000000],[1781144277000,275.25000000],[1781144722000,308.00000000],[1781144850000,294.12500000],[1781145202000,286.57142857],[1781145474000,255.00000000],[1781145778000,315.42857143],[1781146050000,283.62500000],[1781146402000,296.00000000],[1781146674000,285.55555556],[1781146978000,258.00000000],[1781147250000,259.75000000],[1781147602000,284.00000000],[1781147874000,279.12500000],[1781148178000,265.00000000],[1781148450000,251.85714286],[1781148753000,274.00000000],[1781149074000,267.00000000],[1781149378000,279.42857143],[1781149650000,299.25000000],[1781150002000,296.85714286],[1781150274000,302.00000000],[1781150578000,293.00000000],[1781150850000,280.37500000],[1781151202000,275.50000000],[1781151474000,300.25000000],[1781151793000,281.25000000],[1781152050000,301.00000000],[1781152370000,275.00000000],[1781152689000,293.50000000],[1781152994000,280.00000000],[1781153330000,303.00000000],[1781153586000,245.16666667],[1781153890000,291.00000000],[1781154178000,301.71428571],[1781154453000,229.28571429],[1781154802000,252.75000000],[1781155073000,291.62500000],[1781155378000,274.28571429],[1781155650000,291.14285714],[1781155953000,232.33333333],[1781156273000,215.33333333],[1781156577000,193.42857143],[1781156850000,262.66666667],[1781157201000,246.60000000],[1781157474000,216.57142857],[1781157857000,262.60000000],[1781158050000,212.16666667],[1781158352000,285.33333333],[1781158689000,219.00000000],[1781159090000,318.50000000],[1781159281000,317.25000000],[1781159601000,228.57142857],[1781159873000,279.75000000],[1781160177000,256.50000000],[1781160481000,306.87500000],[1781160801000,288.62500000],[1781161073000,307.42857143],[1781161378000,206.50000000],[1781161681000,243.14285714],[1781161953000,184.00000000],[1781162546000,237.00000000],[1781162577000,283.16666667],[1781162881000,279.40000000],[1781163201000,299.62500000],[1781163473000,305.25000000],[1781163777000,230.77777778],[1781164081000,271.57142857],[1781164352000,222.66666667],[1781164674000,302.62500000],[1781164977000,255.00000000],[1781165250000,321.88888889],[1781165552000,72.40000000],[1781165873000,293.00000000],[1781166177000,307.80000000],[1781166481000,229.00000000],[1781166801000,228.50000000],[1781167106000,199.00000000],[1781167377000,161.25000000],[1781167682000,183.80000000],[1781167952000,274.28571429],[1781168353000,282.00000000],[1781168609000,242.33333333],[1781168881000,244.50000000],[1781169154000,280.00000000],[1781169474000,301.42857143],[1781169777000,303.28571429],[1781170050000,288.77777778],[1781170352000,287.25000000],[1781170673000,291.22222222],[1781170977000,261.88888889],[1781171281000,286.71428571],[1781171601000,290.66666667],[1781171873000,174.62500000],[1781172216000,273.57142857],[1781172498000,289.75000000],[1781172769000,257.16666667],[1781173089000,316.57142857],[1781173378000,292.62500000],[1781173681000,208.75000000],[1781173952000,319.11111111],[1781174274000,248.12500000],[1781174577000,277.37500000],[1781174850000,304.00000000],[1781175171000,291.00000000],[1781175473000,273.77777778],[1781175810000,252.62500000],[1781176081000,281.28571429],[1781176609000,339.00000000],[1781176673000,319.50000000],[1781176993000,217.50000000],[1781177281000,324.25000000],[1781177552000,320.25000000],[1781177873000,295.87500000],[1781178177000,315.62500000],[1781178481000,294.00000000],[1781178752000,255.55555556],[1781179105000,240.71428571],[1781179378000,302.50000000],[1781179681000,243.71428571],[1781179953000,272.16666667],[1781180289000,294.66666667],[1781180609000,313.20000000],[1781180929000,191.66666667],[1781181201000,333.25000000],[1781181649000,175.50000000],[1781181777000,212.40000000],[1781182130000,179.40000000],[1781182401000,247.50000000],[1781182673000,236.00000000],[1781182977000,216.00000000],[1781183282000,298.85714286],[1781183553000,246.42857143],[1781183874000,194.00000000],[1781184177000,301.55555556],[1781184481000,9.00000000],[1781184922000,310.33333333],[1781185089000,311.75000000],[1781185409000,248.25000000],[1781185681000,279.00000000],[1781185952000,280.71428571],[1781186273000,288.22222222],[1781186577000,283.42857143],[1781186881000,297.75000000],[1781187152000,244.37500000],[1781187473000,231.50000000],[1781187777000,229.00000000],[1781188084000,297.71428571],[1781188352000,314.62500000],[1781188673000,302.77777778],[1781188977000,296.62500000],[1781189281000,267.57142857],[1781189601000,269.75000000],[1781189970000,240.20000000],[1781190177000,284.33333333],[1781190482000,317.50000000],[1781190769000,332.00000000],[1781191089000,293.33333333],[1781191472000,309.00000000],[1781191681000,257.00000000],[1781191952000,284.37500000],[1781192273000,305.00000000],[1781192577000,280.55555556],[1781192881000,315.42857143],[1781193201000,323.00000000],[1781193473000,300.00000000],[1781193777000,319.88888889],[1781194081000,281.37500000],[1781194352000,306.28571429],[1781194673000,318.00000000],[1781195009000,231.28571429],[1781195312000,235.28571429],[1781195552000,228.71428571],[1781195873000,316.28571429],[1781196208000,297.28571429],[1781196512000,280.00000000],[1781196769000,300.12500000],[1781197104000,287.50000000],[1781197408000,273.50000000],[1781197680000,322.57142857],[1781197953000,281.62500000],[1781198273000,171.55555556],[1781198577000,214.50000000],[1781198880000,265.14285714],[1781199152000,295.25000000],[1781199473000,303.66666667],[1781199777000,295.12500000],[1781200080000,208.00000000],[1781200352000,313.66666667],[1781200672000,298.37500000],[1781200976000,303.87500000],[1781201312000,316.00000000],[1781201568000,293.40000000],[1781201888000,292.50000000],[1781202209000,320.40000000],[1781202512000,321.25000000],[1781202768000,327.00000000],[1781203104000,335.60000000],[1781203488000,319.33333333],[1781203680000,304.50000000],[1781203952000,301.62500000],[1781204304000,306.00000000],[1781204576000,306.00000000],[1781204880000,315.57142857],[1781205152000,314.75000000],[1781205505000,304.14285714],[1781205776000,302.22222222],[1781206112000,283.85714286],[1781206352000,291.28571429],[1781206704000,295.66666667],[1781207265000,308.00000000],[1781207552000,225.71428571],[1781207872000,243.14285714],[1781208192000,267.40000000],[1781208512000,312.00000000],[1781208768000,301.60000000],[1781209088000,290.00000000],[1781209377000,234.85714286],[1781209680000,316.40000000],], 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: [[1781128850000,0.00000000],[1781128978000,0.00000000],[1781129298000,0.00000000],[1781129810000,0.00000000],[1781129874000,0.00000000],[1781130210000,0.00000000],[1781130450000,0.00000000],[1781130753000,0.00000000],[1781131074000,0.00000000],[1781131379000,0.00000000],[1781131650000,0.00000000],[1781131953000,0.00000000],[1781132274000,0.00000000],[1781132578000,0.00000000],[1781132850000,0.00000000],[1781133202000,0.00000000],[1781133474000,0.00000000],[1781133922000,0.00000000],[1781134083000,0.00000000],[1781134370000,0.00000000],[1781134818000,0.00000000],[1781135058000,0.00000000],[1781135251000,0.00000000],[1781135571000,0.00000000],[1781136050000,0.00000000],[1781136178000,0.00000000],[1781136450000,0.00000000],[1781136802000,0.00000000],[1781137074000,0.00000000],[1781137378000,0.00000000],[1781137650000,0.00000000],[1781138002000,0.00000000],[1781138274000,0.00000000],[1781138579000,0.00000000],[1781138850000,0.00000000],[1781139202000,0.00000000],[1781139475000,0.00000000],[1781140179000,0.00000000],[1781140435000,0.00000000],[1781140674000,0.00000000],[1781140978000,0.00000000],[1781141250000,0.00000000],[1781141602000,0.00000000],[1781141874000,0.00000000],[1781142178000,0.00000000],[1781142450000,0.00000000],[1781142803000,0.00000000],[1781143074000,0.00000000],[1781143394000,0.00000000],[1781143650000,0.00000000],[1781143970000,0.00000000],[1781144277000,0.00000000],[1781144722000,0.00000000],[1781144850000,0.00000000],[1781145202000,0.28571429],[1781145474000,1.00000000],[1781145778000,1.00000000],[1781146050000,1.00000000],[1781146402000,1.00000000],[1781146674000,1.88888889],[1781146978000,2.57142857],[1781147250000,3.00000000],[1781147602000,3.57142857],[1781147874000,5.12500000],[1781148178000,4.57142857],[1781148450000,5.71428571],[1781148753000,7.25000000],[1781149074000,9.62500000],[1781149378000,16.71428571],[1781149650000,19.87500000],[1781150002000,19.14285714],[1781150274000,21.50000000],[1781150578000,31.57142857],[1781150850000,42.62500000],[1781151202000,64.00000000],[1781151474000,72.75000000],[1781151793000,63.75000000],[1781152050000,67.00000000],[1781152370000,75.80000000],[1781152689000,77.25000000],[1781152994000,63.00000000],[1781153330000,63.75000000],[1781153586000,64.33333333],[1781153890000,64.16666667],[1781154178000,63.42857143],[1781154453000,60.57142857],[1781154802000,60.50000000],[1781155073000,61.87500000],[1781155378000,62.28571429],[1781155650000,65.00000000],[1781155953000,68.00000000],[1781156273000,70.11111111],[1781156577000,71.42857143],[1781156850000,74.66666667],[1781157201000,75.40000000],[1781157474000,67.71428571],[1781157857000,77.40000000],[1781158050000,66.00000000],[1781158352000,67.00000000],[1781158689000,51.00000000],[1781159090000,467.25000000],[1781159281000,437.50000000],[1781159601000,498.71428571],[1781159873000,518.00000000],[1781160177000,527.00000000],[1781160481000,552.37500000],[1781160801000,580.00000000],[1781161073000,447.14285714],[1781161378000,665.12500000],[1781161681000,231.28571429],[1781161953000,174.66666667],[1781162546000,146.00000000],[1781162577000,151.33333333],[1781162881000,215.20000000],[1781163201000,202.75000000],[1781163473000,196.00000000],[1781163777000,267.88888889],[1781164081000,183.85714286],[1781164352000,170.44444444],[1781164674000,591.37500000],[1781164977000,569.00000000],[1781165250000,404.33333333],[1781165552000,361.80000000],[1781165873000,420.88888889],[1781166177000,426.80000000],[1781166481000,217.75000000],[1781166801000,335.25000000],[1781167106000,698.42857143],[1781167377000,324.50000000],[1781167682000,337.40000000],[1781167952000,272.00000000],[1781168353000,305.00000000],[1781168609000,764.50000000],[1781168881000,498.12500000],[1781169154000,261.85714286],[1781169474000,273.14285714],[1781169777000,303.42857143],[1781170050000,348.66666667],[1781170352000,359.75000000],[1781170673000,325.11111111],[1781170977000,351.77777778],[1781171281000,468.57142857],[1781171601000,402.33333333],[1781171873000,218.50000000],[1781172216000,141.42857143],[1781172498000,167.75000000],[1781172769000,234.66666667],[1781173089000,245.00000000],[1781173378000,370.00000000],[1781173681000,334.00000000],[1781173952000,226.77777778],[1781174274000,277.12500000],[1781174577000,370.62500000],[1781174850000,540.22222222],[1781175171000,375.57142857],[1781175473000,242.88888889],[1781175810000,199.25000000],[1781176081000,232.71428571],[1781176609000,300.00000000],[1781176673000,542.75000000],[1781176993000,569.50000000],[1781177281000,313.50000000],[1781177552000,257.50000000],[1781177873000,256.25000000],[1781178177000,278.37500000],[1781178481000,212.50000000],[1781178752000,240.22222222],[1781179105000,187.28571429],[1781179378000,157.00000000],[1781179681000,179.00000000],[1781179953000,193.66666667],[1781180289000,226.33333333],[1781180609000,343.60000000],[1781180929000,411.33333333],[1781181201000,303.75000000],[1781181649000,449.50000000],[1781181777000,470.40000000],[1781182130000,583.60000000],[1781182401000,506.66666667],[1781182673000,286.50000000],[1781182977000,459.77777778],[1781183282000,380.14285714],[1781183553000,391.42857143],[1781183874000,326.11111111],[1781184177000,349.55555556],[1781184481000,291.00000000],[1781184922000,238.66666667],[1781185089000,189.75000000],[1781185409000,194.00000000],[1781185681000,259.00000000],[1781185952000,269.57142857],[1781186273000,228.88888889],[1781186577000,205.00000000],[1781186881000,203.75000000],[1781187152000,206.75000000],[1781187473000,199.87500000],[1781187777000,180.87500000],[1781188084000,166.71428571],[1781188352000,163.37500000],[1781188673000,149.22222222],[1781188977000,142.37500000],[1781189281000,136.28571429],[1781189601000,127.25000000],[1781189970000,119.00000000],[1781190177000,119.00000000],[1781190482000,126.25000000],[1781190769000,122.50000000],[1781191089000,107.66666667],[1781191472000,108.20000000],[1781191681000,115.28571429],[1781191952000,114.12500000],[1781192273000,95.87500000],[1781192577000,96.33333333],[1781192881000,112.57142857],[1781193201000,109.50000000],[1781193473000,109.87500000],[1781193777000,123.88888889],[1781194081000,153.50000000],[1781194352000,160.57142857],[1781194673000,157.20000000],[1781195009000,138.57142857],[1781195312000,127.85714286],[1781195552000,139.85714286],[1781195873000,123.00000000],[1781196208000,96.57142857],[1781196512000,91.00000000],[1781196769000,80.62500000],[1781197104000,69.83333333],[1781197408000,63.50000000],[1781197680000,58.71428571],[1781197953000,57.00000000],[1781198273000,54.22222222],[1781198577000,47.37500000],[1781198880000,41.85714286],[1781199152000,38.87500000],[1781199473000,34.11111111],[1781199777000,30.87500000],[1781200080000,27.87500000],[1781200352000,24.11111111],[1781200672000,22.62500000],[1781200976000,20.00000000],[1781201312000,17.00000000],[1781201568000,12.60000000],[1781201888000,9.50000000],[1781202209000,7.40000000],[1781202512000,5.75000000],[1781202768000,4.40000000],[1781203104000,3.20000000],[1781203488000,2.00000000],[1781203680000,1.62500000],[1781203952000,1.00000000],[1781204304000,0.85714286],[1781204576000,0.00000000],[1781204880000,0.00000000],[1781205152000,0.00000000],[1781205505000,0.00000000],[1781205776000,0.00000000],[1781206112000,0.00000000],[1781206352000,0.00000000],[1781206704000,0.00000000],[1781207265000,0.00000000],[1781207552000,0.00000000],[1781207872000,0.00000000],[1781208192000,0.00000000],[1781208512000,0.00000000],[1781208768000,0.00000000],[1781209088000,0.00000000],[1781209377000,0.00000000],[1781209680000,0.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: [[1781128850000,0.00000000],[1781128978000,0.00000000],[1781129298000,0.00000000],[1781129810000,0.00000000],[1781129874000,0.00000000],[1781130210000,0.00000000],[1781130450000,0.00000000],[1781130753000,0.00000000],[1781131074000,0.00000000],[1781131379000,0.00000000],[1781131650000,0.00000000],[1781131953000,0.00000000],[1781132274000,0.00000000],[1781132578000,0.00000000],[1781132850000,0.00000000],[1781133202000,0.00000000],[1781133474000,0.00000000],[1781133922000,0.00000000],[1781134083000,0.00000000],[1781134370000,0.00000000],[1781134818000,0.00000000],[1781135058000,0.00000000],[1781135251000,0.00000000],[1781135571000,0.00000000],[1781136050000,0.00000000],[1781136178000,0.00000000],[1781136450000,0.00000000],[1781136802000,0.00000000],[1781137074000,0.00000000],[1781137378000,0.00000000],[1781137650000,0.00000000],[1781138002000,0.00000000],[1781138274000,0.00000000],[1781138579000,0.00000000],[1781138850000,0.00000000],[1781139202000,0.00000000],[1781139475000,0.00000000],[1781140179000,0.00000000],[1781140435000,0.00000000],[1781140674000,0.00000000],[1781140978000,0.00000000],[1781141250000,0.00000000],[1781141602000,0.00000000],[1781141874000,0.00000000],[1781142178000,0.00000000],[1781142450000,0.00000000],[1781142803000,0.00000000],[1781143074000,0.00000000],[1781143394000,0.00000000],[1781143650000,0.00000000],[1781143970000,0.00000000],[1781144277000,0.00000000],[1781144722000,0.00000000],[1781144850000,0.00000000],[1781145202000,0.00000000],[1781145474000,0.00000000],[1781145778000,0.00000000],[1781146050000,0.00000000],[1781146402000,0.00000000],[1781146674000,0.00000000],[1781146978000,0.00000000],[1781147250000,0.00000000],[1781147602000,0.00000000],[1781147874000,0.00000000],[1781148178000,0.00000000],[1781148450000,0.00000000],[1781148753000,0.00000000],[1781149074000,0.00000000],[1781149378000,0.00000000],[1781149650000,0.00000000],[1781150002000,0.00000000],[1781150274000,0.00000000],[1781150578000,0.00000000],[1781150850000,0.00000000],[1781151202000,0.00000000],[1781151474000,0.00000000],[1781151793000,0.00000000],[1781152050000,0.00000000],[1781152370000,0.00000000],[1781152689000,0.00000000],[1781152994000,0.00000000],[1781153330000,0.00000000],[1781153586000,0.00000000],[1781153890000,0.00000000],[1781154178000,0.00000000],[1781154453000,0.00000000],[1781154802000,0.00000000],[1781155073000,0.00000000],[1781155378000,0.00000000],[1781155650000,0.00000000],[1781155953000,0.00000000],[1781156273000,0.00000000],[1781156577000,0.00000000],[1781156850000,0.00000000],[1781157201000,0.00000000],[1781157474000,0.00000000],[1781157857000,0.00000000],[1781158050000,0.00000000],[1781158352000,0.00000000],[1781158689000,0.00000000],[1781159090000,4.00000000],[1781159281000,3.50000000],[1781159601000,4.00000000],[1781159873000,5.00000000],[1781160177000,5.00000000],[1781160481000,5.00000000],[1781160801000,5.00000000],[1781161073000,3.57142857],[1781161378000,6.12500000],[1781161681000,1.57142857],[1781161953000,1.00000000],[1781162546000,1.00000000],[1781162577000,1.00000000],[1781162881000,1.60000000],[1781163201000,1.37500000],[1781163473000,1.25000000],[1781163777000,2.11111111],[1781164081000,1.28571429],[1781164352000,1.00000000],[1781164674000,5.25000000],[1781164977000,5.12500000],[1781165250000,3.66666667],[1781165552000,3.20000000],[1781165873000,3.55555556],[1781166177000,3.60000000],[1781166481000,1.37500000],[1781166801000,2.62500000],[1781167106000,6.28571429],[1781167377000,2.50000000],[1781167682000,2.60000000],[1781167952000,2.14285714],[1781168353000,2.00000000],[1781168609000,6.83333333],[1781168881000,4.25000000],[1781169154000,2.00000000],[1781169474000,2.14285714],[1781169777000,2.42857143],[1781170050000,2.77777778],[1781170352000,2.87500000],[1781170673000,2.55555556],[1781170977000,3.00000000],[1781171281000,4.00000000],[1781171601000,3.50000000],[1781171873000,1.62500000],[1781172216000,1.00000000],[1781172498000,1.00000000],[1781172769000,2.00000000],[1781173089000,1.85714286],[1781173378000,2.87500000],[1781173681000,2.75000000],[1781173952000,2.00000000],[1781174274000,2.12500000],[1781174577000,3.12500000],[1781174850000,5.00000000],[1781175171000,3.42857143],[1781175473000,2.00000000],[1781175810000,1.37500000],[1781176081000,2.00000000],[1781176609000,2.00000000],[1781176673000,4.75000000],[1781176993000,4.75000000],[1781177281000,2.50000000],[1781177552000,2.00000000],[1781177873000,2.12500000],[1781178177000,2.37500000],[1781178481000,1.62500000],[1781178752000,1.88888889],[1781179105000,1.14285714],[1781179378000,1.00000000],[1781179681000,1.00000000],[1781179953000,1.16666667],[1781180289000,2.00000000],[1781180609000,2.80000000],[1781180929000,3.66666667],[1781181201000,2.25000000],[1781181649000,3.50000000],[1781181777000,4.00000000],[1781182130000,5.00000000],[1781182401000,4.33333333],[1781182673000,2.25000000],[1781182977000,3.77777778],[1781183282000,3.14285714],[1781183553000,3.14285714],[1781183874000,2.44444444],[1781184177000,2.88888889],[1781184481000,2.00000000],[1781184922000,2.00000000],[1781185089000,1.00000000],[1781185409000,1.12500000],[1781185681000,2.00000000],[1781185952000,2.00000000],[1781186273000,2.00000000],[1781186577000,1.42857143],[1781186881000,1.25000000],[1781187152000,1.87500000],[1781187473000,1.25000000],[1781187777000,1.00000000],[1781188084000,1.00000000],[1781188352000,1.00000000],[1781188673000,1.00000000],[1781188977000,1.00000000],[1781189281000,1.00000000],[1781189601000,1.00000000],[1781189970000,1.00000000],[1781190177000,1.00000000],[1781190482000,1.00000000],[1781190769000,1.00000000],[1781191089000,1.00000000],[1781191472000,1.00000000],[1781191681000,1.00000000],[1781191952000,1.00000000],[1781192273000,0.12500000],[1781192577000,0.00000000],[1781192881000,1.00000000],[1781193201000,1.00000000],[1781193473000,1.00000000],[1781193777000,1.00000000],[1781194081000,1.00000000],[1781194352000,1.00000000],[1781194673000,1.00000000],[1781195009000,1.00000000],[1781195312000,1.00000000],[1781195552000,1.00000000],[1781195873000,1.00000000],[1781196208000,0.14285714],[1781196512000,0.00000000],[1781196769000,0.00000000],[1781197104000,0.00000000],[1781197408000,0.00000000],[1781197680000,0.00000000],[1781197953000,0.00000000],[1781198273000,0.00000000],[1781198577000,0.00000000],[1781198880000,0.00000000],[1781199152000,0.00000000],[1781199473000,0.00000000],[1781199777000,0.00000000],[1781200080000,0.00000000],[1781200352000,0.00000000],[1781200672000,0.00000000],[1781200976000,0.00000000],[1781201312000,0.00000000],[1781201568000,0.00000000],[1781201888000,0.00000000],[1781202209000,0.00000000],[1781202512000,0.00000000],[1781202768000,0.00000000],[1781203104000,0.00000000],[1781203488000,0.00000000],[1781203680000,0.00000000],[1781203952000,0.00000000],[1781204304000,0.00000000],[1781204576000,0.00000000],[1781204880000,0.00000000],[1781205152000,0.00000000],[1781205505000,0.00000000],[1781205776000,0.00000000],[1781206112000,0.00000000],[1781206352000,0.00000000],[1781206704000,0.00000000],[1781207265000,0.00000000],[1781207552000,0.00000000],[1781207872000,0.00000000],[1781208192000,0.00000000],[1781208512000,0.00000000],[1781208768000,0.00000000],[1781209088000,0.00000000],[1781209377000,0.00000000],[1781209680000,0.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: [[1781128850000,0.00000000],[1781128978000,0.00000000],[1781129298000,0.00000000],[1781129810000,0.00000000],[1781129874000,0.00000000],[1781130210000,0.00000000],[1781130450000,0.00000000],[1781130753000,0.00000000],[1781131074000,0.00000000],[1781131379000,0.00000000],[1781131650000,0.00000000],[1781131953000,0.00000000],[1781132274000,0.00000000],[1781132578000,0.00000000],[1781132850000,0.17762500],[1781133202000,0.59142857],[1781133474000,1.01637500],[1781133922000,1.19400000],[1781134083000,1.42275000],[1781134370000,2.27975000],[1781134818000,5.00400000],[1781135058000,9.49950000],[1781135251000,10.71900000],[1781135571000,11.52660000],[1781136050000,12.05250000],[1781136178000,12.52212500],[1781136450000,13.38900000],[1781136802000,14.35857143],[1781137074000,15.34775000],[1781137378000,15.87128571],[1781137650000,16.15425000],[1781138002000,16.20500000],[1781138274000,16.20500000],[1781138579000,16.51000000],[1781138850000,16.51000000],[1781139202000,16.51000000],[1781139475000,16.51000000],[1781140179000,16.51000000],[1781140435000,16.51000000],[1781140674000,16.51000000],[1781140978000,16.51000000],[1781141250000,16.51000000],[1781141602000,16.51000000],[1781141874000,16.51000000],[1781142178000,16.51000000],[1781142450000,16.51000000],[1781142803000,16.51000000],[1781143074000,16.51000000],[1781143394000,16.51000000],[1781143650000,16.51000000],[1781143970000,16.51000000],[1781144277000,16.51000000],[1781144722000,16.51000000],[1781144850000,16.51000000],[1781145202000,16.51000000],[1781145474000,16.51000000],[1781145778000,16.51000000],[1781146050000,16.51000000],[1781146402000,16.51000000],[1781146674000,16.51000000],[1781146978000,16.51000000],[1781147250000,16.51000000],[1781147602000,16.51000000],[1781147874000,16.51000000],[1781148178000,16.51000000],[1781148450000,16.51000000],[1781148753000,16.51000000],[1781149074000,16.51000000],[1781149378000,16.51000000],[1781149650000,16.51000000],[1781150002000,16.51000000],[1781150274000,16.51000000],[1781150578000,16.51000000],[1781150850000,16.51000000],[1781151202000,16.51000000],[1781151474000,16.51000000],[1781151793000,16.51000000],[1781152050000,16.51000000],[1781152370000,16.51000000],[1781152689000,16.51000000],[1781152994000,16.51000000],[1781153330000,16.51000000],[1781153586000,16.51000000],[1781153890000,16.51000000],[1781154178000,16.51000000],[1781154453000,16.51000000],[1781154802000,16.51000000],[1781155073000,16.51000000],[1781155378000,16.51000000],[1781155650000,16.51000000],[1781155953000,16.51000000],[1781156273000,16.51000000],[1781156577000,16.51000000],[1781156850000,16.51000000],[1781157201000,16.51000000],[1781157474000,16.51000000],[1781157857000,16.51000000],[1781158050000,16.51000000],[1781158352000,16.51000000],[1781158689000,16.51000000],[1781159090000,16.51000000],[1781159281000,16.51000000],[1781159601000,16.51000000],[1781159873000,16.51000000],[1781160177000,16.51000000],[1781160481000,16.51000000],[1781160801000,16.51000000],[1781161073000,16.51000000],[1781161378000,16.51000000],[1781161681000,16.51000000],[1781161953000,16.51000000],[1781162546000,16.51000000],[1781162577000,16.51000000],[1781162881000,16.51000000],[1781163201000,16.51000000],[1781163473000,16.51000000],[1781163777000,16.51000000],[1781164081000,16.51000000],[1781164352000,16.51000000],[1781164674000,16.51000000],[1781164977000,16.51000000],[1781165250000,16.51000000],[1781165552000,16.51000000],[1781165873000,16.51000000],[1781166177000,16.51000000],[1781166481000,16.51000000],[1781166801000,16.51000000],[1781167106000,16.51000000],[1781167377000,16.51000000],[1781167682000,16.51000000],[1781167952000,16.51000000],[1781168353000,16.51000000],[1781168609000,16.51000000],[1781168881000,16.51000000],[1781169154000,16.51000000],[1781169474000,16.51000000],[1781169777000,16.51000000],[1781170050000,16.51000000],[1781170352000,16.51000000],[1781170673000,16.51000000],[1781170977000,16.51000000],[1781171281000,16.51000000],[1781171601000,16.51000000],[1781171873000,16.51000000],[1781172216000,16.51000000],[1781172498000,16.51000000],[1781172769000,16.51000000],[1781173089000,16.51000000],[1781173378000,16.51000000],[1781173681000,16.51000000],[1781173952000,16.51000000],[1781174274000,16.51000000],[1781174577000,16.51000000],[1781174850000,16.51000000],[1781175171000,16.51000000],[1781175473000,16.51000000],[1781175810000,16.51000000],[1781176081000,16.51000000],[1781176609000,16.51000000],[1781176673000,16.51000000],[1781176993000,16.51000000],[1781177281000,16.51000000],[1781177552000,16.51000000],[1781177873000,16.51000000],[1781178177000,16.51000000],[1781178481000,16.51000000],[1781178752000,16.51000000],[1781179105000,16.51000000],[1781179378000,16.51000000],[1781179681000,16.51000000],[1781179953000,16.51000000],[1781180289000,16.51000000],[1781180609000,16.51000000],[1781180929000,16.51000000],[1781181201000,16.51000000],[1781181649000,16.51000000],[1781181777000,16.51000000],[1781182130000,16.51000000],[1781182401000,16.51000000],[1781182673000,16.51000000],[1781182977000,16.51000000],[1781183282000,16.51000000],[1781183553000,16.51000000],[1781183874000,16.51000000],[1781184177000,16.51000000],[1781184481000,16.51000000],[1781184922000,16.51000000],[1781185089000,16.51000000],[1781185409000,16.51000000],[1781185681000,16.51000000],[1781185952000,16.51000000],[1781186273000,16.51000000],[1781186577000,16.51000000],[1781186881000,16.51000000],[1781187152000,16.51000000],[1781187473000,16.51000000],[1781187777000,16.51000000],[1781188084000,16.51000000],[1781188352000,16.51000000],[1781188673000,16.51000000],[1781188977000,16.51000000],[1781189281000,16.51000000],[1781189601000,16.51000000],[1781189970000,16.51000000],[1781190177000,16.51000000],[1781190482000,16.51000000],[1781190769000,16.51000000],[1781191089000,16.51000000],[1781191472000,16.51000000],[1781191681000,16.51000000],[1781191952000,16.51000000],[1781192273000,16.51000000],[1781192577000,16.51000000],[1781192881000,16.51000000],[1781193201000,16.51000000],[1781193473000,16.51000000],[1781193777000,16.51000000],[1781194081000,16.51000000],[1781194352000,16.51000000],[1781194673000,16.51000000],[1781195009000,16.51000000],[1781195312000,16.51000000],[1781195552000,16.51000000],[1781195873000,16.51000000],[1781196208000,16.51000000],[1781196512000,16.51000000],[1781196769000,16.51000000],[1781197104000,16.51000000],[1781197408000,16.51000000],[1781197680000,16.51000000],[1781197953000,16.51000000],[1781198273000,16.51000000],[1781198577000,16.51000000],[1781198880000,16.51000000],[1781199152000,16.51000000],[1781199473000,16.51000000],[1781199777000,16.51000000],[1781200080000,16.51000000],[1781200352000,16.51000000],[1781200672000,16.51000000],[1781200976000,16.51000000],[1781201312000,16.51000000],[1781201568000,16.51000000],[1781201888000,16.51000000],[1781202209000,16.51000000],[1781202512000,16.51000000],[1781202768000,16.51000000],[1781203104000,16.51000000],[1781203488000,16.51000000],[1781203680000,16.51000000],[1781203952000,16.51000000],[1781204304000,16.51000000],[1781204576000,16.51000000],[1781204880000,16.51000000],[1781205152000,16.51000000],[1781205505000,16.51000000],[1781205776000,16.51000000],[1781206112000,16.51000000],[1781206352000,16.51000000],[1781206704000,16.51000000],[1781207265000,16.51000000],[1781207552000,16.51000000],[1781207872000,16.51000000],[1781208192000,16.51000000],[1781208512000,16.51000000],[1781208768000,16.51000000],[1781209088000,16.51000000],[1781209377000,16.51000000],[1781209680000,16.51000000],], 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; }