var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1782424857000,18.50000000],[1782424985000,18.46000000],[1782425305000,18.40000000],[1782425561000,18.36000000],[1782425881000,18.22000000],[1782426201000,17.90000000],[1782426456000,17.78000000],[1782426777000,17.66000000],[1782427097000,17.55000000],[1782427353000,17.42000000],[1782427673000,17.54000000],[1782427993000,17.50000000],[1782428313000,17.45000000],[1782428569000,17.32000000],[1782428889000,17.30000000],[1782429209000,17.15000000],[1782429465000,16.96000000],[1782429785000,16.84000000],[1782430105000,16.70000000],[1782430361000,16.62000000],[1782430680000,16.64000000],[1782431000000,16.85000000],[1782431256000,16.68000000],[1782431576000,16.60000000],[1782431912000,16.60000000],[1782432157000,16.56000000],[1782432488000,16.28000000],[1782432808000,16.12500000],[1782433053000,16.10000000],[1782433384000,16.02000000],[1782433704000,15.90000000],[1782433960000,15.96000000],[1782434280000,15.84000000],[1782434600000,15.72500000],[1782434852000,15.80000000],[1782435176000,15.76000000],[1782435496000,15.70000000],[1782435752000,15.64000000],[1782436072000,15.54000000],[1782436391000,15.66000000],[1782436712000,15.80000000],[1782436957000,15.58000000],[1782437288000,15.40000000],[1782437552000,15.36000000],[1782437880000,15.26000000],[1782438200000,15.20000000],[1782438452000,15.12000000],[1782438776000,15.10000000],[1782439096000,15.00000000],[1782439352000,14.74000000],[1782439672000,14.88000000],[1782439992000,14.80000000],[1782440311000,14.70000000],[1782440567000,14.74000000],[1782440887000,14.62000000],[1782441208000,14.60000000],[1782441463000,14.56000000],[1782441800000,14.42500000],[1782442052000,14.40000000],[1782442375000,14.40000000],[1782442695000,14.35000000],[1782442957000,14.38000000],[1782443288000,14.30000000],[1782443608000,14.30000000],[1782443863000,14.34000000],[1782444185000,14.40000000],[1782444457000,14.46000000],[1782444792000,14.52000000],[1782445118000,14.70000000],[1782445400000,15.02500000],[1782445656000,15.32000000],[1782445977000,15.80000000],[1782446297000,16.65000000],[1782446553000,17.28000000],[1782446872000,17.56000000],[1782447208000,17.75000000],[1782447481000,17.98000000],[1782447800000,18.45000000],[1782448056000,19.08000000],[1782448376000,20.06000000],[1782448697000,20.70000000],[1782448953000,21.06000000],[1782449272000,21.40000000],[1782449608000,21.75000000],[1782449864000,22.46000000],[1782450186000,23.38000000],[1782450504000,23.75000000],[1782450760000,23.38000000],[1782451080000,23.18000000],[1782451400000,23.47500000],[1782451655000,23.94000000],[1782451992000,24.14000000],[1782452312000,24.62500000],[1782452568000,25.56000000],[1782452889000,26.52000000],[1782453216000,26.77500000],[1782453481000,26.78000000],[1782453800000,27.12500000],[1782454064000,27.66000000],[1782454394000,29.12000000],[1782454713000,29.12500000],[1782454968000,28.94000000],[1782455288000,29.96000000],[1782455608000,29.90000000],[1782455864000,30.22000000],[1782456184000,30.66000000],[1782456505000,30.55000000],[1782456760000,30.58000000],[1782457080000,30.66000000],[1782457401000,31.00000000],[1782457655000,30.74000000],[1782457978000,30.88000000],[1782458296000,31.10000000],[1782458568000,30.84000000],[1782458887000,31.00000000],[1782459207000,31.75000000],[1782459453000,32.12000000],[1782459783000,31.96000000],[1782460103000,31.17500000],[1782460352000,31.68000000],[1782460679000,31.26000000],[1782460999000,31.60000000],[1782461252000,31.88000000],[1782461575000,31.64000000],[1782461895000,31.75000000],[1782462151000,32.06000000],[1782462471000,32.72000000],[1782462791000,32.76000000],[1782463111000,32.92500000],[1782463357000,32.60000000],[1782463687000,32.56000000],[1782464007000,32.97500000],[1782464253000,32.78000000],[1782464583000,33.26000000],[1782464903000,33.37500000],[1782465152000,33.48000000],[1782465479000,33.56000000],[1782465799000,33.27500000],[1782466052000,33.28000000],[1782466375000,33.10000000],[1782466695000,33.30000000],[1782466951000,33.36000000],[1782467271000,33.44000000],[1782467591000,33.78000000],[1782467912000,33.55000000],[1782468168000,33.62000000],[1782468488000,33.72000000],[1782468808000,34.07500000],[1782469064000,34.06000000],[1782469384000,33.70000000],[1782469654000,34.20000000],[1782469976000,34.20000000],[1782470296000,34.15000000],[1782470553000,34.36000000],[1782470873000,34.48000000],[1782471192000,34.54000000],[1782471513000,34.30000000],[1782471768000,34.38000000],[1782472089000,33.97500000],[1782472352000,34.12000000],[1782472679000,34.78000000],[1782472999000,34.72500000],[1782473271000,34.34000000],[1782473591000,35.26000000],[1782473911000,35.32500000],[1782474167000,35.28000000],[1782474487000,34.47500000],[1782474752000,34.88000000],[1782475095000,35.00000000],[1782475351000,35.06000000],[1782475671000,35.10000000],[1782475991000,35.48000000],[1782476311000,35.57500000],[1782476567000,35.62000000],[1782476887000,35.62000000],[1782477207000,35.62500000],[1782477463000,36.10000000],[1782477783000,36.26000000],[1782478103000,35.90000000],[1782478359000,34.78000000],[1782478679000,34.90000000],[1782478951000,35.62000000],[1782479271000,36.10000000],[1782479591000,36.00000000],[1782479854000,36.10000000],[1782480215000,35.65000000],[1782480514000,35.60000000],[1782480776000,36.24000000],[1782481096000,36.60000000],[1782481352000,36.36000000],[1782481672000,36.12000000],[1782482007000,36.22500000],[1782482253000,35.54000000],[1782482583000,35.54000000],[1782482903000,35.55000000],[1782483152000,35.78000000],[1782483479000,35.92000000],[1782483799000,35.70000000],[1782484052000,35.60000000],[1782484408000,35.87500000],[1782484665000,35.38000000],[1782484999000,35.52500000],[1782485253000,35.66000000],[1782485575000,35.80000000],[1782485895000,35.92500000],[1782486151000,35.60000000],[1782486471000,35.50000000],[1782486791000,35.70000000],[1782487111000,36.07500000],[1782487367000,36.40000000],[1782487687000,36.42000000],[1782488007000,35.97500000],[1782488253000,35.58000000],[1782488583000,35.56000000],[1782488904000,35.25000000],[1782489160000,35.36000000],[1782489497000,35.62500000],[1782489752000,35.34000000],[1782490088000,35.32500000],[1782490352000,35.32000000],[1782490681000,35.20000000],[1782491000000,35.40000000],[1782491253000,35.24000000],[1782491577000,35.07500000],[1782491853000,35.20000000],[1782492184000,35.17500000],[1782492455000,35.20000000],[1782492775000,35.06000000],[1782493095000,35.02500000],[1782493351000,35.10000000],[1782493671000,35.06000000],[1782493991000,34.82000000],[1782494311000,34.55000000],[1782494567000,34.44000000],[1782494887000,34.24000000],[1782495207000,33.60000000],[1782495463000,33.28000000],[1782495783000,32.88000000],[1782496104000,32.65000000],[1782496360000,32.16000000],[1782496680000,31.54000000],[1782497000000,30.77500000],[1782497256000,30.32000000],[1782497576000,29.86000000],[1782497896000,29.42500000],[1782498152000,29.02000000],[1782498472000,28.64000000],[1782498792000,28.30000000],[1782499064000,27.90000000],[1782499384000,27.38000000],[1782499704000,26.87500000],[1782499976000,26.44000000],[1782500296000,26.15000000],[1782500557000,25.82000000],[1782500914000,25.47500000],[1782501175000,25.18000000],[1782501511000,24.90000000],[1782501768000,24.58000000],[1782502088000,24.30000000],[1782502408000,24.12500000],[1782502664000,24.04000000],[1782502984000,23.86000000],[1782503304000,23.62500000],[1782503560000,23.44000000],[1782503880000,23.24000000],[1782504216000,23.07500000],[1782504472000,22.84000000],[1782504791000,22.72000000],[1782505112000,22.62500000],[1782505367000,22.54000000],[1782505687000,22.40000000],[1782506008000,22.27500000],[1782506264000,22.14000000],[1782506584000,22.00000000],[1782506916000,21.90000000],[1782507176000,21.78000000],[1782507496000,21.70000000],[1782507757000,21.68000000],[1782508088000,21.54000000],[1782508407000,21.40000000],[1782508664000,21.24000000],[1782508984000,21.20000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1782424857000,15.2],[1782424985000,15.1],[1782425305000,15.1],[1782425561000,15.1],[1782425881000,15.1],[1782426201000,14.8],[1782426456000,14.8],[1782426777000,14.7],[1782427097000,14.6],[1782427353000,14.6],[1782427673000,14.7],[1782427993000,14.7],[1782428313000,14.7],[1782428569000,14.6],[1782428889000,14.7],[1782429209000,14.6],[1782429465000,14.5],[1782429785000,14.4],[1782430105000,14.3],[1782430361000,14.3],[1782430680000,14.4],[1782431000000,14.6],[1782431256000,14.3],[1782431576000,14.4],[1782431912000,14.4],[1782432157000,14.4],[1782432488000,14.2],[1782432808000,14.1],[1782433053000,14.2],[1782433384000,14.2],[1782433704000,14.1],[1782433960000,14.2],[1782434280000,14],[1782434600000,14.1],[1782434852000,14.1],[1782435176000,14.1],[1782435496000,14],[1782435752000,14],[1782436072000,14],[1782436391000,14.2],[1782436712000,14.1],[1782436957000,14],[1782437288000,13.9],[1782437552000,13.9],[1782437880000,13.9],[1782438200000,13.9],[1782438452000,13.8],[1782438776000,13.8],[1782439096000,13.7],[1782439352000,13.5],[1782439672000,13.7],[1782439992000,13.7],[1782440311000,13.6],[1782440567000,13.6],[1782440887000,13.5],[1782441208000,13.6],[1782441463000,13.6],[1782441800000,13.5],[1782442052000,13.4],[1782442375000,13.4],[1782442695000,13.4],[1782442957000,13.5],[1782443288000,13.4],[1782443608000,13.5],[1782443863000,13.5],[1782444185000,13.6],[1782444457000,13.7],[1782444792000,13.7],[1782445118000,13.9],[1782445400000,14.3],[1782445656000,14.5],[1782445977000,14.7],[1782446297000,15.2],[1782446553000,15.2],[1782446872000,15.1],[1782447208000,15.4],[1782447481000,15.4],[1782447800000,15.6],[1782448056000,15.9],[1782448376000,16.4],[1782448697000,16.8],[1782448953000,16.9],[1782449272000,17],[1782449608000,17.1],[1782449864000,17.4],[1782450186000,17.6],[1782450504000,17.7],[1782450760000,17.6],[1782451080000,17.5],[1782451400000,17.6],[1782451655000,17.7],[1782451992000,17.3],[1782452312000,17.7],[1782452568000,18],[1782452889000,18.5],[1782453216000,18.6],[1782453481000,19.1],[1782453800000,19],[1782454064000,19.6],[1782454394000,20],[1782454713000,18.8],[1782454968000,17.4],[1782455288000,17.4],[1782455608000,17.4],[1782455864000,17.4],[1782456184000,18.8],[1782456505000,18.4],[1782456760000,17.9],[1782457080000,17.5],[1782457401000,16.5],[1782457655000,16.4],[1782457978000,16.5],[1782458296000,16.6],[1782458568000,16.6],[1782458887000,16.8],[1782459207000,16.5],[1782459453000,17.3],[1782459783000,17.2],[1782460103000,16],[1782460352000,16.9],[1782460679000,16.2],[1782460999000,16.7],[1782461252000,16.2],[1782461575000,16],[1782461895000,16.3],[1782462151000,16.9],[1782462471000,17.6],[1782462791000,16.7],[1782463111000,17.5],[1782463357000,17.2],[1782463687000,17.3],[1782464007000,17.2],[1782464253000,17.2],[1782464583000,17.3],[1782464903000,17.3],[1782465152000,17.2],[1782465479000,17.2],[1782465799000,17.3],[1782466052000,16.6],[1782466375000,16.5],[1782466695000,16.9],[1782466951000,16.5],[1782467271000,17.1],[1782467591000,16.9],[1782467912000,16.9],[1782468168000,16.6],[1782468488000,16.8],[1782468808000,17.9],[1782469064000,16.2],[1782469384000,17],[1782469654000,17],[1782469976000,16.6],[1782470296000,16.5],[1782470553000,17.3],[1782470873000,17.5],[1782471192000,17.4],[1782471513000,17.4],[1782471768000,17.2],[1782472089000,16.3],[1782472352000,17.5],[1782472679000,18.2],[1782472999000,17.6],[1782473271000,17.5],[1782473591000,18.1],[1782473911000,17.9],[1782474167000,17.1],[1782474487000,17],[1782474752000,17.7],[1782475095000,17.5],[1782475351000,17.5],[1782475671000,18.3],[1782475991000,17.8],[1782476311000,18.5],[1782476567000,18.3],[1782476887000,17.8],[1782477207000,18],[1782477463000,18.6],[1782477783000,18.7],[1782478103000,18.6],[1782478359000,18.6],[1782478679000,18.4],[1782478951000,18.3],[1782479271000,19.1],[1782479591000,19.4],[1782479854000,19],[1782480215000,19.1],[1782480514000,18.2],[1782480776000,18.9],[1782481096000,18.7],[1782481352000,18.2],[1782481672000,18.5],[1782482007000,18.9],[1782482253000,19],[1782482583000,18.6],[1782482903000,18.9],[1782483152000,19],[1782483479000,19.1],[1782483799000,19.1],[1782484052000,18.8],[1782484408000,19],[1782484665000,18.7],[1782484999000,18.4],[1782485253000,18],[1782485575000,18.3],[1782485895000,18.1],[1782486151000,18.1],[1782486471000,17.9],[1782486791000,18.2],[1782487111000,18.3],[1782487367000,18.2],[1782487687000,18],[1782488007000,18],[1782488253000,17.7],[1782488583000,17.5],[1782488904000,17.8],[1782489160000,17.9],[1782489497000,17.5],[1782489752000,17.4],[1782490088000,17.9],[1782490352000,18.2],[1782490681000,18.1],[1782491000000,18.4],[1782491253000,18.8],[1782491577000,18.3],[1782491853000,18.3],[1782492184000,18.3],[1782492455000,18.5],[1782492775000,18.6],[1782493095000,18.3],[1782493351000,18.7],[1782493671000,18.4],[1782493991000,18.7],[1782494311000,18.7],[1782494567000,19],[1782494887000,19.3],[1782495207000,19.2],[1782495463000,19.5],[1782495783000,19.1],[1782496104000,19.6],[1782496360000,19.9],[1782496680000,20.2],[1782497000000,20],[1782497256000,20.1],[1782497576000,20],[1782497896000,20],[1782498152000,19.8],[1782498472000,19.7],[1782498792000,19.7],[1782499064000,19.7],[1782499384000,19.6],[1782499704000,19.6],[1782499976000,19.5],[1782500296000,19.4],[1782500557000,19.1],[1782500914000,19.1],[1782501175000,19.2],[1782501511000,19],[1782501768000,18.7],[1782502088000,18.8],[1782502408000,18.7],[1782502664000,18.7],[1782502984000,18.6],[1782503304000,18.5],[1782503560000,18.5],[1782503880000,18.6],[1782504216000,18.4],[1782504472000,18.3],[1782504791000,18.4],[1782505112000,18.5],[1782505367000,18.5],[1782505687000,18.3],[1782506008000,18.3],[1782506264000,18.3],[1782506584000,18.4],[1782506916000,18.3],[1782507176000,18.3],[1782507496000,18.3],[1782507757000,18.3],[1782508088000,18.2],[1782508407000,18.2],[1782508664000,18.2],[1782508984000,18.2],], 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: [[1782424857000,81.00000000],[1782424985000,81.00000000],[1782425305000,81.00000000],[1782425561000,81.40000000],[1782425881000,82.20000000],[1782426201000,82.00000000],[1782426456000,82.80000000],[1782426777000,83.00000000],[1782427097000,83.00000000],[1782427353000,83.80000000],[1782427673000,83.60000000],[1782427993000,83.80000000],[1782428313000,84.00000000],[1782428569000,84.00000000],[1782428889000,85.00000000],[1782429209000,85.00000000],[1782429465000,85.60000000],[1782429785000,85.80000000],[1782430105000,86.00000000],[1782430361000,86.40000000],[1782430680000,87.00000000],[1782431000000,86.75000000],[1782431256000,86.00000000],[1782431576000,87.00000000],[1782431912000,87.00000000],[1782432157000,87.00000000],[1782432488000,87.80000000],[1782432808000,88.00000000],[1782433053000,88.80000000],[1782433384000,89.00000000],[1782433704000,89.00000000],[1782433960000,89.60000000],[1782434280000,89.20000000],[1782434600000,90.00000000],[1782434852000,90.00000000],[1782435176000,90.00000000],[1782435496000,90.00000000],[1782435752000,90.00000000],[1782436072000,90.60000000],[1782436391000,91.00000000],[1782436712000,90.00000000],[1782436957000,90.40000000],[1782437288000,91.00000000],[1782437552000,91.00000000],[1782437880000,91.80000000],[1782438200000,92.00000000],[1782438452000,92.00000000],[1782438776000,92.00000000],[1782439096000,92.00000000],[1782439352000,92.20000000],[1782439672000,93.00000000],[1782439992000,93.00000000],[1782440311000,93.00000000],[1782440567000,93.00000000],[1782440887000,93.00000000],[1782441208000,93.50000000],[1782441463000,94.00000000],[1782441800000,94.00000000],[1782442052000,94.00000000],[1782442375000,94.00000000],[1782442695000,94.00000000],[1782442957000,94.20000000],[1782443288000,94.60000000],[1782443608000,95.00000000],[1782443863000,95.00000000],[1782444185000,95.00000000],[1782444457000,95.00000000],[1782444792000,95.00000000],[1782445118000,95.00000000],[1782445400000,95.25000000],[1782445656000,95.00000000],[1782445977000,93.40000000],[1782446297000,91.00000000],[1782446553000,87.60000000],[1782446872000,85.60000000],[1782447208000,86.00000000],[1782447481000,85.20000000],[1782447800000,83.75000000],[1782448056000,82.00000000],[1782448376000,79.80000000],[1782448697000,78.25000000],[1782448953000,77.20000000],[1782449272000,76.20000000],[1782449608000,75.00000000],[1782449864000,73.00000000],[1782450186000,70.00000000],[1782450504000,69.00000000],[1782450760000,70.00000000],[1782451080000,70.60000000],[1782451400000,69.50000000],[1782451655000,68.00000000],[1782451992000,65.60000000],[1782452312000,65.25000000],[1782452568000,63.00000000],[1782452889000,61.60000000],[1782453216000,60.75000000],[1782453481000,63.00000000],[1782453800000,61.00000000],[1782454064000,61.60000000],[1782454394000,57.80000000],[1782454713000,53.75000000],[1782454968000,49.80000000],[1782455288000,46.80000000],[1782455608000,47.00000000],[1782455864000,46.20000000],[1782456184000,49.00000000],[1782456505000,48.25000000],[1782456760000,46.80000000],[1782457080000,45.20000000],[1782457401000,41.75000000],[1782457655000,42.00000000],[1782457978000,42.00000000],[1782458296000,41.75000000],[1782458568000,42.20000000],[1782458887000,42.60000000],[1782459207000,40.00000000],[1782459453000,41.00000000],[1782459783000,41.20000000],[1782460103000,40.00000000],[1782460352000,41.20000000],[1782460679000,40.20000000],[1782460999000,40.75000000],[1782461252000,38.80000000],[1782461575000,38.80000000],[1782461895000,39.50000000],[1782462151000,40.20000000],[1782462471000,40.40000000],[1782462791000,38.20000000],[1782463111000,39.75000000],[1782463357000,39.80000000],[1782463687000,40.20000000],[1782464007000,39.00000000],[1782464253000,39.40000000],[1782464583000,38.60000000],[1782464903000,38.25000000],[1782465152000,37.80000000],[1782465479000,37.60000000],[1782465799000,38.50000000],[1782466052000,36.80000000],[1782466375000,37.00000000],[1782466695000,37.50000000],[1782466951000,36.40000000],[1782467271000,37.60000000],[1782467591000,36.40000000],[1782467912000,37.00000000],[1782468168000,36.00000000],[1782468488000,36.40000000],[1782468808000,38.25000000],[1782469064000,34.40000000],[1782469384000,36.75000000],[1782469654000,35.80000000],[1782469976000,34.80000000],[1782470296000,34.75000000],[1782470553000,36.20000000],[1782470873000,36.40000000],[1782471192000,36.00000000],[1782471513000,36.50000000],[1782471768000,35.80000000],[1782472089000,34.75000000],[1782472352000,37.20000000],[1782472679000,37.40000000],[1782472999000,36.00000000],[1782473271000,36.60000000],[1782473591000,36.20000000],[1782473911000,35.50000000],[1782474167000,34.00000000],[1782474487000,35.25000000],[1782474752000,36.00000000],[1782475095000,35.25000000],[1782475351000,35.20000000],[1782475671000,37.00000000],[1782475991000,35.00000000],[1782476311000,36.50000000],[1782476567000,36.00000000],[1782476887000,34.80000000],[1782477207000,35.25000000],[1782477463000,35.60000000],[1782477783000,35.40000000],[1782478103000,36.00000000],[1782478359000,38.40000000],[1782478679000,37.50000000],[1782478951000,35.80000000],[1782479271000,36.80000000],[1782479591000,37.75000000],[1782479854000,36.60000000],[1782480215000,37.75000000],[1782480514000,35.75000000],[1782480776000,36.00000000],[1782481096000,34.75000000],[1782481352000,34.20000000],[1782481672000,35.40000000],[1782482007000,36.00000000],[1782482253000,37.60000000],[1782482583000,36.80000000],[1782482903000,37.50000000],[1782483152000,37.20000000],[1782483479000,37.20000000],[1782483799000,37.50000000],[1782484052000,37.00000000],[1782484408000,37.00000000],[1782484665000,37.20000000],[1782484999000,36.25000000],[1782485253000,35.20000000],[1782485575000,35.60000000],[1782485895000,34.75000000],[1782486151000,35.40000000],[1782486471000,35.20000000],[1782486791000,35.40000000],[1782487111000,35.00000000],[1782487367000,34.20000000],[1782487687000,33.60000000],[1782488007000,34.50000000],[1782488253000,34.60000000],[1782488583000,34.20000000],[1782488904000,35.50000000],[1782489160000,35.60000000],[1782489497000,34.00000000],[1782489752000,34.40000000],[1782490088000,35.50000000],[1782490352000,36.20000000],[1782490681000,36.40000000],[1782491000000,36.50000000],[1782491253000,37.80000000],[1782491577000,37.00000000],[1782491853000,36.80000000],[1782492184000,36.75000000],[1782492455000,37.20000000],[1782492775000,37.80000000],[1782493095000,37.00000000],[1782493351000,37.80000000],[1782493671000,37.20000000],[1782493991000,38.40000000],[1782494311000,39.00000000],[1782494567000,40.00000000],[1782494887000,41.40000000],[1782495207000,42.50000000],[1782495463000,44.20000000],[1782495783000,44.20000000],[1782496104000,46.00000000],[1782496360000,48.40000000],[1782496680000,51.00000000],[1782497000000,52.50000000],[1782497256000,54.20000000],[1782497576000,55.40000000],[1782497896000,57.00000000],[1782498152000,57.60000000],[1782498472000,58.40000000],[1782498792000,59.75000000],[1782499064000,61.20000000],[1782499384000,62.40000000],[1782499704000,64.50000000],[1782499976000,65.60000000],[1782500296000,66.50000000],[1782500557000,66.40000000],[1782500914000,68.00000000],[1782501175000,69.40000000],[1782501511000,69.75000000],[1782501768000,70.00000000],[1782502088000,71.40000000],[1782502408000,72.00000000],[1782502664000,72.00000000],[1782502984000,72.40000000],[1782503304000,73.25000000],[1782503560000,74.00000000],[1782503880000,75.20000000],[1782504216000,75.00000000],[1782504472000,75.60000000],[1782504791000,76.80000000],[1782505112000,77.50000000],[1782505367000,77.80000000],[1782505687000,77.80000000],[1782506008000,78.25000000],[1782506264000,79.20000000],[1782506584000,80.00000000],[1782506916000,80.00000000],[1782507176000,80.80000000],[1782507496000,81.25000000],[1782507757000,81.00000000],[1782508088000,81.40000000],[1782508407000,82.00000000],[1782508664000,83.00000000],[1782508984000,83.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: [[1782424857000,1019.7],[1782424985000,1019.7],[1782425305000,1019.8],[1782425561000,1019.9],[1782425881000,1020],[1782426201000,1020.1],[1782426456000,1020],[1782426777000,1020.1],[1782427097000,1020.1],[1782427353000,1020.1],[1782427673000,1020.1],[1782427993000,1020.1],[1782428313000,1020.2],[1782428569000,1020.2],[1782428889000,1020.3],[1782429209000,1020.2],[1782429465000,1020.3],[1782429785000,1020.3],[1782430105000,1020.4],[1782430361000,1020.3],[1782430680000,1020.4],[1782431000000,1020.3],[1782431256000,1020.4],[1782431576000,1020.5],[1782431912000,1020.4],[1782432157000,1020.5],[1782432488000,1020.5],[1782432808000,1020.6],[1782433053000,1020.6],[1782433384000,1020.5],[1782433704000,1020.6],[1782433960000,1020.6],[1782434280000,1020.6],[1782434600000,1020.5],[1782434852000,1020.5],[1782435176000,1020.5],[1782435496000,1020.5],[1782435752000,1020.6],[1782436072000,1020.6],[1782436391000,1020.5],[1782436712000,1020.5],[1782436957000,1020.5],[1782437288000,1020.5],[1782437552000,1020.6],[1782437880000,1020.6],[1782438200000,1020.7],[1782438452000,1020.6],[1782438776000,1020.6],[1782439096000,1020.7],[1782439352000,1020.7],[1782439672000,1020.7],[1782439992000,1020.7],[1782440311000,1020.7],[1782440567000,1020.7],[1782440887000,1020.7],[1782441208000,1020.8],[1782441463000,1020.8],[1782441800000,1020.8],[1782442052000,1020.8],[1782442375000,1020.9],[1782442695000,1020.8],[1782442957000,1021],[1782443288000,1020.9],[1782443608000,1021],[1782443863000,1021.1],[1782444185000,1021],[1782444457000,1021],[1782444792000,1021.1],[1782445118000,1021.1],[1782445400000,1021],[1782445656000,1021.1],[1782445977000,1021],[1782446297000,1021],[1782446553000,1020.9],[1782446872000,1020.9],[1782447208000,1021.1],[1782447481000,1021.1],[1782447800000,1021.1],[1782448056000,1021.1],[1782448376000,1021.1],[1782448697000,1021.1],[1782448953000,1021],[1782449272000,1021],[1782449608000,1021.1],[1782449864000,1020.9],[1782450186000,1020.9],[1782450504000,1020.8],[1782450760000,1021],[1782451080000,1020.9],[1782451400000,1020.9],[1782451655000,1020.9],[1782451992000,1020.8],[1782452312000,1020.8],[1782452568000,1020.8],[1782452889000,1020.8],[1782453216000,1020.9],[1782453481000,1020.7],[1782453800000,1020.7],[1782454064000,1020.8],[1782454394000,1020.6],[1782454713000,1020.8],[1782454968000,1020.6],[1782455288000,1020.7],[1782455608000,1020.7],[1782455864000,1020.8],[1782456184000,1020.7],[1782456505000,1020.7],[1782456760000,1020.8],[1782457080000,1020.8],[1782457401000,1020.8],[1782457655000,1020.8],[1782457978000,1020.8],[1782458296000,1020.7],[1782458568000,1020.8],[1782458887000,1020.8],[1782459207000,1020.7],[1782459453000,1020.8],[1782459783000,1020.7],[1782460103000,1020.7],[1782460352000,1020.7],[1782460679000,1020.7],[1782460999000,1020.6],[1782461252000,1020.6],[1782461575000,1020.7],[1782461895000,1020.6],[1782462151000,1020.6],[1782462471000,1020.6],[1782462791000,1020.5],[1782463111000,1020.5],[1782463357000,1020.5],[1782463687000,1020.4],[1782464007000,1020.3],[1782464253000,1020.4],[1782464583000,1020.4],[1782464903000,1020.6],[1782465152000,1020.4],[1782465479000,1020.4],[1782465799000,1020.4],[1782466052000,1020.3],[1782466375000,1020.4],[1782466695000,1020.4],[1782466951000,1020.3],[1782467271000,1020.2],[1782467591000,1020.2],[1782467912000,1020.2],[1782468168000,1020.2],[1782468488000,1020.1],[1782468808000,1020],[1782469064000,1019.9],[1782469384000,1020],[1782469654000,1019.8],[1782469976000,1019.8],[1782470296000,1019.9],[1782470553000,1019.8],[1782470873000,1019.8],[1782471192000,1019.7],[1782471513000,1019.9],[1782471768000,1019.8],[1782472089000,1019.8],[1782472352000,1019.8],[1782472679000,1019.7],[1782472999000,1019.6],[1782473271000,1019.6],[1782473591000,1019.5],[1782473911000,1019.4],[1782474167000,1019.3],[1782474487000,1019.4],[1782474752000,1019.2],[1782475095000,1019.2],[1782475351000,1019.2],[1782475671000,1019.2],[1782475991000,1019.2],[1782476311000,1019.1],[1782476567000,1019.1],[1782476887000,1019],[1782477207000,1018.9],[1782477463000,1018.9],[1782477783000,1019],[1782478103000,1018.9],[1782478359000,1019.1],[1782478679000,1019],[1782478951000,1019],[1782479271000,1018.9],[1782479591000,1018.8],[1782479854000,1018.9],[1782480215000,1018.9],[1782480514000,1018.9],[1782480776000,1018.6],[1782481096000,1018.6],[1782481352000,1018.7],[1782481672000,1018.7],[1782482007000,1018.8],[1782482253000,1018.8],[1782482583000,1018.8],[1782482903000,1018.8],[1782483152000,1018.7],[1782483479000,1018.6],[1782483799000,1018.6],[1782484052000,1018.5],[1782484408000,1018.6],[1782484665000,1018.5],[1782484999000,1018.4],[1782485253000,1018.5],[1782485575000,1018.5],[1782485895000,1018.4],[1782486151000,1018.4],[1782486471000,1018.4],[1782486791000,1018.5],[1782487111000,1018.4],[1782487367000,1018.2],[1782487687000,1018.2],[1782488007000,1018.2],[1782488253000,1018.4],[1782488583000,1018.3],[1782488904000,1018.3],[1782489160000,1018.2],[1782489497000,1018.3],[1782489752000,1018.3],[1782490088000,1018.3],[1782490352000,1018.2],[1782490681000,1018.2],[1782491000000,1018.2],[1782491253000,1018.3],[1782491577000,1018.3],[1782491853000,1018.2],[1782492184000,1018.2],[1782492455000,1018.1],[1782492775000,1018.2],[1782493095000,1018.2],[1782493351000,1018.3],[1782493671000,1018.3],[1782493991000,1018.3],[1782494311000,1018.3],[1782494567000,1018.4],[1782494887000,1018.4],[1782495207000,1018.5],[1782495463000,1018.5],[1782495783000,1018.5],[1782496104000,1018.5],[1782496360000,1018.6],[1782496680000,1018.6],[1782497000000,1018.7],[1782497256000,1018.7],[1782497576000,1018.8],[1782497896000,1018.8],[1782498152000,1018.8],[1782498472000,1018.9],[1782498792000,1018.8],[1782499064000,1019],[1782499384000,1019.1],[1782499704000,1019.2],[1782499976000,1019.3],[1782500296000,1019.4],[1782500557000,1019.5],[1782500914000,1019.4],[1782501175000,1019.6],[1782501511000,1019.7],[1782501768000,1019.7],[1782502088000,1019.9],[1782502408000,1019.9],[1782502664000,1020],[1782502984000,1020],[1782503304000,1020.2],[1782503560000,1020.2],[1782503880000,1020.2],[1782504216000,1020.3],[1782504472000,1020.3],[1782504791000,1020.3],[1782505112000,1020.4],[1782505367000,1020.3],[1782505687000,1020.4],[1782506008000,1020.5],[1782506264000,1020.6],[1782506584000,1020.6],[1782506916000,1020.7],[1782507176000,1020.6],[1782507496000,1020.6],[1782507757000,1020.7],[1782508088000,1020.7],[1782508407000,1020.7],[1782508664000,1020.8],[1782508984000,1020.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: [[1782424857000,0],[1782424985000,0],[1782425305000,0],[1782425561000,0],[1782425881000,0],[1782426201000,0],[1782426456000,0],[1782426777000,0],[1782427097000,0],[1782427353000,0],[1782427673000,0],[1782427993000,0],[1782428313000,0],[1782428569000,0],[1782428889000,0],[1782429209000,0],[1782429465000,0],[1782429785000,0],[1782430105000,0],[1782430361000,0],[1782430680000,0],[1782431000000,0],[1782431256000,0],[1782431576000,0],[1782431912000,0],[1782432157000,0],[1782432488000,0],[1782432808000,0],[1782433053000,0],[1782433384000,0],[1782433704000,0],[1782433960000,0],[1782434280000,0],[1782434600000,0],[1782434852000,0],[1782435176000,0],[1782435496000,0],[1782435752000,0],[1782436072000,0],[1782436391000,0],[1782436712000,0],[1782436957000,0],[1782437288000,0],[1782437552000,0],[1782437880000,0],[1782438200000,0],[1782438452000,0],[1782438776000,0],[1782439096000,0],[1782439352000,0],[1782439672000,0],[1782439992000,0],[1782440311000,0],[1782440567000,0],[1782440887000,0],[1782441208000,0],[1782441463000,0],[1782441800000,0],[1782442052000,0],[1782442375000,0],[1782442695000,0],[1782442957000,0],[1782443288000,0],[1782443608000,0],[1782443863000,0],[1782444185000,0],[1782444457000,0],[1782444792000,0],[1782445118000,0],[1782445400000,0],[1782445656000,0],[1782445977000,0],[1782446297000,0],[1782446553000,0],[1782446872000,0],[1782447208000,0],[1782447481000,0],[1782447800000,0],[1782448056000,0],[1782448376000,0],[1782448697000,0],[1782448953000,0],[1782449272000,0],[1782449608000,0],[1782449864000,0],[1782450186000,0],[1782450504000,0],[1782450760000,0],[1782451080000,0],[1782451400000,0],[1782451655000,0],[1782451992000,0],[1782452312000,0],[1782452568000,0],[1782452889000,0],[1782453216000,0],[1782453481000,0],[1782453800000,0],[1782454064000,0],[1782454394000,0],[1782454713000,0],[1782454968000,0],[1782455288000,0],[1782455608000,0],[1782455864000,0],[1782456184000,0],[1782456505000,0],[1782456760000,0],[1782457080000,0],[1782457401000,0],[1782457655000,0],[1782457978000,0],[1782458296000,0],[1782458568000,0],[1782458887000,0],[1782459207000,0],[1782459453000,0],[1782459783000,0],[1782460103000,0],[1782460352000,1.512],[1782460679000,3.024],[1782460999000,1.08],[1782461252000,3.456],[1782461575000,6.696],[1782461895000,1.8],[1782462151000,0],[1782462471000,1.368],[1782462791000,2.376],[1782463111000,3.33],[1782463357000,2.664],[1782463687000,1.152],[1782464007000,4.86],[1782464253000,0.936],[1782464583000,0.864],[1782464903000,1.71],[1782465152000,2.376],[1782465479000,1.656],[1782465799000,2.07],[1782466052000,0.864],[1782466375000,2.088],[1782466695000,2.16],[1782466951000,4.032],[1782467271000,1.296],[1782467591000,3.6],[1782467912000,3.24],[1782468168000,2.448],[1782468488000,2.664],[1782468808000,1.89],[1782469064000,4.536],[1782469384000,2.43],[1782469654000,1.8],[1782469976000,3.096],[1782470296000,3.51],[1782470553000,4.464],[1782470873000,3.096],[1782471192000,3.456],[1782471513000,1.44],[1782471768000,4.608],[1782472089000,3.15],[1782472352000,1.008],[1782472679000,2.16],[1782472999000,6.84],[1782473271000,3.6],[1782473591000,1.728],[1782473911000,2.79],[1782474167000,4.032],[1782474487000,3.6],[1782474752000,2.592],[1782475095000,1.8],[1782475351000,2.304],[1782475671000,2.16],[1782475991000,3.024],[1782476311000,4.32],[1782476567000,3.24],[1782476887000,4.896],[1782477207000,3.24],[1782477463000,2.952],[1782477783000,3.168],[1782478103000,3.78],[1782478359000,3.312],[1782478679000,3.42],[1782478951000,0.864],[1782479271000,3.528],[1782479591000,3.42],[1782479854000,4.032],[1782480215000,3.69],[1782480514000,2.25],[1782480776000,1.44],[1782481096000,3.6],[1782481352000,5.4],[1782481672000,2.016],[1782482007000,8.19],[1782482253000,4.608],[1782482583000,4.104],[1782482903000,1.98],[1782483152000,2.376],[1782483479000,3.528],[1782483799000,3.6],[1782484052000,3.096],[1782484408000,2.79],[1782484665000,4.752],[1782484999000,3.87],[1782485253000,3.96],[1782485575000,1.584],[1782485895000,5.4],[1782486151000,5.04],[1782486471000,2.448],[1782486791000,2.448],[1782487111000,0.63],[1782487367000,0.432],[1782487687000,2.232],[1782488007000,2.43],[1782488253000,3.168],[1782488583000,3.672],[1782488904000,1.08],[1782489160000,1.296],[1782489497000,4.41],[1782489752000,3.6],[1782490088000,1.17],[1782490352000,3.888],[1782490681000,1.296],[1782491000000,2.61],[1782491253000,2.448],[1782491577000,3.24],[1782491853000,2.232],[1782492184000,1.17],[1782492455000,2.52],[1782492775000,1.224],[1782493095000,1.17],[1782493351000,1.008],[1782493671000,2.448],[1782493991000,1.944],[1782494311000,2.34],[1782494567000,0.576],[1782494887000,0.936],[1782495207000,2.25],[1782495463000,0.072],[1782495783000,0],[1782496104000,0],[1782496360000,0],[1782496680000,0],[1782497000000,0],[1782497256000,0],[1782497576000,0],[1782497896000,0],[1782498152000,0],[1782498472000,0],[1782498792000,0],[1782499064000,0],[1782499384000,0],[1782499704000,0],[1782499976000,0],[1782500296000,0],[1782500557000,0],[1782500914000,0],[1782501175000,0],[1782501511000,0],[1782501768000,0],[1782502088000,0],[1782502408000,0],[1782502664000,0],[1782502984000,0],[1782503304000,0],[1782503560000,0],[1782503880000,0],[1782504216000,0],[1782504472000,0],[1782504791000,0],[1782505112000,0],[1782505367000,0],[1782505687000,0],[1782506008000,0],[1782506264000,0],[1782506584000,0],[1782506916000,0],[1782507176000,0],[1782507496000,0],[1782507757000,0],[1782508088000,0],[1782508407000,0],[1782508664000,0],[1782508984000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1782424857000,0],[1782424985000,0],[1782425305000,0],[1782425561000,0],[1782425881000,0],[1782426201000,0],[1782426456000,0],[1782426777000,0],[1782427097000,0],[1782427353000,0],[1782427673000,0],[1782427993000,0],[1782428313000,0],[1782428569000,0],[1782428889000,0],[1782429209000,0],[1782429465000,0],[1782429785000,0],[1782430105000,0],[1782430361000,0],[1782430680000,0],[1782431000000,0],[1782431256000,0],[1782431576000,0],[1782431912000,0],[1782432157000,0],[1782432488000,0],[1782432808000,0],[1782433053000,0],[1782433384000,0],[1782433704000,0],[1782433960000,0],[1782434280000,0],[1782434600000,0],[1782434852000,0],[1782435176000,0],[1782435496000,0],[1782435752000,0],[1782436072000,0],[1782436391000,0],[1782436712000,0],[1782436957000,0],[1782437288000,0],[1782437552000,0],[1782437880000,0],[1782438200000,0],[1782438452000,0],[1782438776000,0],[1782439096000,0],[1782439352000,0],[1782439672000,0],[1782439992000,0],[1782440311000,0],[1782440567000,0],[1782440887000,0],[1782441208000,0],[1782441463000,0],[1782441800000,0],[1782442052000,0],[1782442375000,0],[1782442695000,0],[1782442957000,0],[1782443288000,0],[1782443608000,0],[1782443863000,0],[1782444185000,0],[1782444457000,0],[1782444792000,0],[1782445118000,0],[1782445400000,0],[1782445656000,0],[1782445977000,0],[1782446297000,0],[1782446553000,0],[1782446872000,0],[1782447208000,0],[1782447481000,0],[1782447800000,0],[1782448056000,0],[1782448376000,0],[1782448697000,0],[1782448953000,0],[1782449272000,0],[1782449608000,0],[1782449864000,0],[1782450186000,0],[1782450504000,0],[1782450760000,0],[1782451080000,0],[1782451400000,0],[1782451655000,0],[1782451992000,0],[1782452312000,0],[1782452568000,0],[1782452889000,0],[1782453216000,0],[1782453481000,0],[1782453800000,0],[1782454064000,0],[1782454394000,0],[1782454713000,0],[1782454968000,0],[1782455288000,0],[1782455608000,0],[1782455864000,0],[1782456184000,0],[1782456505000,0],[1782456760000,0],[1782457080000,0],[1782457401000,0],[1782457655000,0],[1782457978000,0],[1782458296000,0],[1782458568000,0],[1782458887000,0],[1782459207000,0],[1782459453000,0],[1782459783000,0],[1782460103000,0],[1782460352000,1.512],[1782460679000,4.032],[1782460999000,1.26],[1782461252000,4.536],[1782461575000,8.64],[1782461895000,3.78],[1782462151000,0],[1782462471000,2.016],[1782462791000,4.032],[1782463111000,4.41],[1782463357000,4.536],[1782463687000,2.016],[1782464007000,6.3],[1782464253000,1.512],[1782464583000,1.512],[1782464903000,3.15],[1782465152000,5.04],[1782465479000,3.528],[1782465799000,3.78],[1782466052000,1.512],[1782466375000,4.536],[1782466695000,4.41],[1782466951000,6.552],[1782467271000,3.024],[1782467591000,5.544],[1782467912000,5.04],[1782468168000,3.528],[1782468488000,4.608],[1782468808000,3.15],[1782469064000,8.208],[1782469384000,3.78],[1782469654000,3.528],[1782469976000,7.128],[1782470296000,5.04],[1782470553000,6.048],[1782470873000,5.544],[1782471192000,5.04],[1782471513000,2.52],[1782471768000,7.128],[1782472089000,3.78],[1782472352000,2.016],[1782472679000,3.024],[1782472999000,10.8],[1782473271000,4.536],[1782473591000,3.528],[1782473911000,5.76],[1782474167000,6.624],[1782474487000,5.04],[1782474752000,5.04],[1782475095000,1.89],[1782475351000,4.032],[1782475671000,4.032],[1782475991000,4.536],[1782476311000,6.3],[1782476567000,4.536],[1782476887000,6.552],[1782477207000,4.41],[1782477463000,6.12],[1782477783000,4.536],[1782478103000,5.67],[1782478359000,4.536],[1782478679000,5.04],[1782478951000,1.008],[1782479271000,5.112],[1782479591000,5.67],[1782479854000,6.552],[1782480215000,4.41],[1782480514000,3.78],[1782480776000,2.52],[1782481096000,4.5],[1782481352000,8.064],[1782481672000,3.024],[1782482007000,10.8],[1782482253000,7.56],[1782482583000,5.544],[1782482903000,3.78],[1782483152000,3.528],[1782483479000,4.536],[1782483799000,5.67],[1782484052000,4.536],[1782484408000,4.41],[1782484665000,6.12],[1782484999000,5.04],[1782485253000,5.04],[1782485575000,2.52],[1782485895000,8.19],[1782486151000,6.624],[1782486471000,3.528],[1782486791000,3.024],[1782487111000,0.63],[1782487367000,1.512],[1782487687000,3.024],[1782488007000,4.41],[1782488253000,4.536],[1782488583000,5.04],[1782488904000,1.89],[1782489160000,3.024],[1782489497000,6.93],[1782489752000,4.536],[1782490088000,3.15],[1782490352000,6.048],[1782490681000,2.52],[1782491000000,3.78],[1782491253000,4.032],[1782491577000,5.04],[1782491853000,2.52],[1782492184000,1.26],[1782492455000,5.04],[1782492775000,3.024],[1782493095000,1.89],[1782493351000,1.512],[1782493671000,3.528],[1782493991000,4.032],[1782494311000,3.15],[1782494567000,1.512],[1782494887000,1.512],[1782495207000,3.15],[1782495463000,0.504],[1782495783000,0],[1782496104000,0],[1782496360000,0],[1782496680000,0],[1782497000000,0],[1782497256000,0],[1782497576000,0],[1782497896000,0],[1782498152000,0],[1782498472000,0],[1782498792000,0],[1782499064000,0],[1782499384000,0],[1782499704000,0],[1782499976000,0],[1782500296000,0],[1782500557000,0],[1782500914000,0],[1782501175000,0],[1782501511000,0],[1782501768000,0],[1782502088000,0],[1782502408000,0],[1782502664000,0],[1782502984000,0],[1782503304000,0],[1782503560000,0],[1782503880000,0],[1782504216000,0],[1782504472000,0],[1782504791000,0],[1782505112000,0],[1782505367000,0],[1782505687000,0],[1782506008000,0],[1782506264000,0],[1782506584000,0],[1782506916000,0],[1782507176000,0],[1782507496000,0],[1782507757000,0],[1782508088000,0],[1782508407000,0],[1782508664000,0],[1782508984000,0],], 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: [[1782424857000,8.50000000],[1782424985000,32.80000000],[1782425305000,31.75000000],[1782425561000,12.40000000],[1782425881000,15.00000000],[1782426201000,14.50000000],[1782426456000,24.60000000],[1782426777000,24.20000000],[1782427097000,22.00000000],[1782427353000,12.80000000],[1782427673000,217.40000000],[1782427993000,79.20000000],[1782428313000,14.50000000],[1782428569000,9.60000000],[1782428889000,14.20000000],[1782429209000,18.00000000],[1782429465000,18.80000000],[1782429785000,20.00000000],[1782430105000,15.00000000],[1782430361000,14.20000000],[1782430680000,35.40000000],[1782431000000,102.00000000],[1782431256000,80.00000000],[1782431576000,147.00000000],[1782431912000,176.25000000],[1782432157000,9.80000000],[1782432488000,9.80000000],[1782432808000,10.00000000],[1782433053000,11.40000000],[1782433384000,12.20000000],[1782433704000,12.00000000],[1782433960000,13.00000000],[1782434280000,12.60000000],[1782434600000,10.25000000],[1782434852000,11.80000000],[1782435176000,28.00000000],[1782435496000,11.50000000],[1782435752000,23.60000000],[1782436072000,7.20000000],[1782436391000,18.80000000],[1782436712000,31.50000000],[1782436957000,25.80000000],[1782437288000,15.25000000],[1782437552000,15.00000000],[1782437880000,15.00000000],[1782438200000,15.00000000],[1782438452000,139.40000000],[1782438776000,343.00000000],[1782439096000,101.25000000],[1782439352000,13.20000000],[1782439672000,11.00000000],[1782439992000,11.00000000],[1782440311000,10.50000000],[1782440567000,74.80000000],[1782440887000,11.00000000],[1782441208000,11.00000000],[1782441463000,11.00000000],[1782441800000,11.00000000],[1782442052000,11.00000000],[1782442375000,11.00000000],[1782442695000,11.00000000],[1782442957000,11.00000000],[1782443288000,11.00000000],[1782443608000,11.00000000],[1782443863000,11.00000000],[1782444185000,11.00000000],[1782444457000,11.00000000],[1782444792000,10.60000000],[1782445118000,9.00000000],[1782445400000,9.75000000],[1782445656000,10.00000000],[1782445977000,9.60000000],[1782446297000,10.00000000],[1782446553000,10.00000000],[1782446872000,10.00000000],[1782447208000,10.00000000],[1782447481000,11.40000000],[1782447800000,12.75000000],[1782448056000,13.20000000],[1782448376000,12.80000000],[1782448697000,14.00000000],[1782448953000,84.40000000],[1782449272000,31.20000000],[1782449608000,36.00000000],[1782449864000,37.00000000],[1782450186000,37.00000000],[1782450504000,37.75000000],[1782450760000,38.00000000],[1782451080000,42.60000000],[1782451400000,44.00000000],[1782451655000,44.00000000],[1782451992000,146.60000000],[1782452312000,126.00000000],[1782452568000,69.20000000],[1782452889000,91.20000000],[1782453216000,243.75000000],[1782453481000,203.00000000],[1782453800000,186.00000000],[1782454064000,80.80000000],[1782454394000,27.60000000],[1782454713000,348.75000000],[1782454968000,234.80000000],[1782455288000,98.00000000],[1782455608000,245.50000000],[1782455864000,43.20000000],[1782456184000,281.40000000],[1782456505000,193.25000000],[1782456760000,146.00000000],[1782457080000,137.60000000],[1782457401000,58.25000000],[1782457655000,213.80000000],[1782457978000,84.60000000],[1782458296000,143.50000000],[1782458568000,66.00000000],[1782458887000,146.60000000],[1782459207000,76.00000000],[1782459453000,160.40000000],[1782459783000,123.00000000],[1782460103000,193.50000000],[1782460352000,173.20000000],[1782460679000,184.60000000],[1782460999000,165.75000000],[1782461252000,157.20000000],[1782461575000,174.60000000],[1782461895000,229.75000000],[1782462151000,22.00000000],[1782462471000,142.60000000],[1782462791000,177.40000000],[1782463111000,133.50000000],[1782463357000,101.80000000],[1782463687000,141.20000000],[1782464007000,181.25000000],[1782464253000,143.60000000],[1782464583000,210.40000000],[1782464903000,172.25000000],[1782465152000,213.40000000],[1782465479000,98.60000000],[1782465799000,195.25000000],[1782466052000,281.00000000],[1782466375000,162.00000000],[1782466695000,217.00000000],[1782466951000,211.20000000],[1782467271000,196.20000000],[1782467591000,272.60000000],[1782467912000,107.25000000],[1782468168000,173.40000000],[1782468488000,75.40000000],[1782468808000,317.25000000],[1782469064000,164.40000000],[1782469384000,16.50000000],[1782469654000,244.00000000],[1782469976000,136.20000000],[1782470296000,276.75000000],[1782470553000,173.00000000],[1782470873000,221.00000000],[1782471192000,147.20000000],[1782471513000,242.50000000],[1782471768000,273.40000000],[1782472089000,246.75000000],[1782472352000,163.40000000],[1782472679000,116.00000000],[1782472999000,151.00000000],[1782473271000,218.20000000],[1782473591000,206.20000000],[1782473911000,179.50000000],[1782474167000,184.60000000],[1782474487000,122.50000000],[1782474752000,166.20000000],[1782475095000,260.00000000],[1782475351000,228.00000000],[1782475671000,107.40000000],[1782475991000,209.40000000],[1782476311000,141.25000000],[1782476567000,158.00000000],[1782476887000,245.00000000],[1782477207000,220.00000000],[1782477463000,174.00000000],[1782477783000,178.20000000],[1782478103000,103.25000000],[1782478359000,268.20000000],[1782478679000,246.75000000],[1782478951000,204.00000000],[1782479271000,170.40000000],[1782479591000,225.00000000],[1782479854000,94.40000000],[1782480215000,203.25000000],[1782480514000,216.00000000],[1782480776000,211.60000000],[1782481096000,161.25000000],[1782481352000,100.00000000],[1782481672000,281.60000000],[1782482007000,38.75000000],[1782482253000,142.60000000],[1782482583000,347.00000000],[1782482903000,101.00000000],[1782483152000,85.20000000],[1782483479000,137.40000000],[1782483799000,138.75000000],[1782484052000,254.80000000],[1782484408000,171.00000000],[1782484665000,140.80000000],[1782484999000,97.75000000],[1782485253000,285.60000000],[1782485575000,217.20000000],[1782485895000,256.50000000],[1782486151000,266.60000000],[1782486471000,139.80000000],[1782486791000,143.60000000],[1782487111000,146.75000000],[1782487367000,258.60000000],[1782487687000,341.40000000],[1782488007000,164.25000000],[1782488253000,216.80000000],[1782488583000,270.60000000],[1782488904000,33.25000000],[1782489160000,153.00000000],[1782489497000,181.50000000],[1782489752000,157.60000000],[1782490088000,187.25000000],[1782490352000,196.20000000],[1782490681000,331.20000000],[1782491000000,335.75000000],[1782491253000,49.40000000],[1782491577000,343.25000000],[1782491853000,211.20000000],[1782492184000,255.25000000],[1782492455000,210.80000000],[1782492775000,213.00000000],[1782493095000,264.50000000],[1782493351000,277.80000000],[1782493671000,271.00000000],[1782493991000,216.40000000],[1782494311000,263.50000000],[1782494567000,223.20000000],[1782494887000,213.60000000],[1782495207000,264.50000000],[1782495463000,6.60000000],[1782495783000,354.80000000],[1782496104000,12.00000000],[1782496360000,28.60000000],[1782496680000,44.00000000],[1782497000000,44.50000000],[1782497256000,37.00000000],[1782497576000,37.00000000],[1782497896000,37.00000000],[1782498152000,36.60000000],[1782498472000,36.00000000],[1782498792000,36.00000000],[1782499064000,23.60000000],[1782499384000,24.80000000],[1782499704000,22.50000000],[1782499976000,19.00000000],[1782500296000,19.50000000],[1782500557000,24.80000000],[1782500914000,24.00000000],[1782501175000,24.00000000],[1782501511000,24.00000000],[1782501768000,24.00000000],[1782502088000,20.00000000],[1782502408000,18.00000000],[1782502664000,21.80000000],[1782502984000,21.60000000],[1782503304000,19.00000000],[1782503560000,19.00000000],[1782503880000,19.00000000],[1782504216000,19.00000000],[1782504472000,19.00000000],[1782504791000,19.00000000],[1782505112000,19.00000000],[1782505367000,19.00000000],[1782505687000,19.00000000],[1782506008000,19.50000000],[1782506264000,19.00000000],[1782506584000,19.00000000],[1782506916000,19.00000000],[1782507176000,19.00000000],[1782507496000,19.00000000],[1782507757000,19.00000000],[1782508088000,19.00000000],[1782508407000,19.00000000],[1782508664000,16.40000000],[1782508984000,18.00000000],], 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: [[1782424857000,0.00000000],[1782424985000,0.00000000],[1782425305000,0.00000000],[1782425561000,0.00000000],[1782425881000,0.00000000],[1782426201000,0.00000000],[1782426456000,0.00000000],[1782426777000,0.00000000],[1782427097000,0.00000000],[1782427353000,0.00000000],[1782427673000,0.00000000],[1782427993000,0.00000000],[1782428313000,0.00000000],[1782428569000,0.00000000],[1782428889000,0.00000000],[1782429209000,0.00000000],[1782429465000,0.00000000],[1782429785000,0.00000000],[1782430105000,0.00000000],[1782430361000,0.00000000],[1782430680000,0.00000000],[1782431000000,0.00000000],[1782431256000,0.00000000],[1782431576000,0.00000000],[1782431912000,0.00000000],[1782432157000,0.00000000],[1782432488000,0.00000000],[1782432808000,0.00000000],[1782433053000,0.00000000],[1782433384000,0.00000000],[1782433704000,0.00000000],[1782433960000,0.00000000],[1782434280000,0.00000000],[1782434600000,0.00000000],[1782434852000,0.00000000],[1782435176000,0.00000000],[1782435496000,0.00000000],[1782435752000,0.00000000],[1782436072000,0.00000000],[1782436391000,0.00000000],[1782436712000,0.00000000],[1782436957000,0.00000000],[1782437288000,0.00000000],[1782437552000,0.00000000],[1782437880000,0.00000000],[1782438200000,0.00000000],[1782438452000,0.00000000],[1782438776000,0.00000000],[1782439096000,0.00000000],[1782439352000,0.00000000],[1782439672000,0.00000000],[1782439992000,0.00000000],[1782440311000,0.00000000],[1782440567000,0.00000000],[1782440887000,0.00000000],[1782441208000,0.00000000],[1782441463000,0.00000000],[1782441800000,1.25000000],[1782442052000,2.20000000],[1782442375000,3.60000000],[1782442695000,5.00000000],[1782442957000,6.80000000],[1782443288000,9.20000000],[1782443608000,11.25000000],[1782443863000,12.80000000],[1782444185000,15.00000000],[1782444457000,16.80000000],[1782444792000,19.60000000],[1782445118000,21.75000000],[1782445400000,25.25000000],[1782445656000,29.00000000],[1782445977000,32.80000000],[1782446297000,33.00000000],[1782446553000,31.80000000],[1782446872000,35.40000000],[1782447208000,42.00000000],[1782447481000,44.60000000],[1782447800000,54.25000000],[1782448056000,60.00000000],[1782448376000,65.40000000],[1782448697000,67.50000000],[1782448953000,71.60000000],[1782449272000,106.80000000],[1782449608000,118.75000000],[1782449864000,109.00000000],[1782450186000,68.40000000],[1782450504000,48.25000000],[1782450760000,55.40000000],[1782451080000,92.20000000],[1782451400000,52.25000000],[1782451655000,96.00000000],[1782451992000,224.40000000],[1782452312000,265.50000000],[1782452568000,281.80000000],[1782452889000,277.20000000],[1782453216000,281.25000000],[1782453481000,324.80000000],[1782453800000,339.75000000],[1782454064000,332.80000000],[1782454394000,333.00000000],[1782454713000,393.50000000],[1782454968000,424.20000000],[1782455288000,433.80000000],[1782455608000,463.25000000],[1782455864000,494.80000000],[1782456184000,511.80000000],[1782456505000,537.00000000],[1782456760000,540.60000000],[1782457080000,565.80000000],[1782457401000,586.75000000],[1782457655000,601.40000000],[1782457978000,618.40000000],[1782458296000,659.25000000],[1782458568000,681.40000000],[1782458887000,681.60000000],[1782459207000,704.25000000],[1782459453000,713.00000000],[1782459783000,705.80000000],[1782460103000,720.25000000],[1782460352000,732.20000000],[1782460679000,737.00000000],[1782460999000,756.25000000],[1782461252000,730.40000000],[1782461575000,737.40000000],[1782461895000,765.00000000],[1782462151000,766.00000000],[1782462471000,749.20000000],[1782462791000,751.80000000],[1782463111000,768.75000000],[1782463357000,722.40000000],[1782463687000,750.40000000],[1782464007000,797.50000000],[1782464253000,810.80000000],[1782464583000,805.60000000],[1782464903000,784.50000000],[1782465152000,778.40000000],[1782465479000,778.00000000],[1782465799000,781.00000000],[1782466052000,779.60000000],[1782466375000,722.40000000],[1782466695000,674.50000000],[1782466951000,682.80000000],[1782467271000,701.60000000],[1782467591000,681.40000000],[1782467912000,679.25000000],[1782468168000,657.00000000],[1782468488000,631.40000000],[1782468808000,596.25000000],[1782469064000,685.40000000],[1782469384000,776.25000000],[1782469654000,760.80000000],[1782469976000,711.60000000],[1782470296000,722.00000000],[1782470553000,741.60000000],[1782470873000,745.60000000],[1782471192000,751.40000000],[1782471513000,751.50000000],[1782471768000,694.40000000],[1782472089000,611.00000000],[1782472352000,526.40000000],[1782472679000,410.80000000],[1782472999000,363.00000000],[1782473271000,342.00000000],[1782473591000,337.20000000],[1782473911000,337.75000000],[1782474167000,337.80000000],[1782474487000,338.50000000],[1782474752000,338.20000000],[1782475095000,339.00000000],[1782475351000,349.60000000],[1782475671000,369.80000000],[1782475991000,392.80000000],[1782476311000,451.00000000],[1782476567000,555.80000000],[1782476887000,597.00000000],[1782477207000,627.50000000],[1782477463000,624.00000000],[1782477783000,651.40000000],[1782478103000,211.00000000],[1782478359000,480.40000000],[1782478679000,649.75000000],[1782478951000,659.00000000],[1782479271000,679.40000000],[1782479591000,685.25000000],[1782479854000,666.60000000],[1782480215000,471.75000000],[1782480514000,625.00000000],[1782480776000,598.60000000],[1782481096000,626.75000000],[1782481352000,609.00000000],[1782481672000,585.20000000],[1782482007000,573.00000000],[1782482253000,541.40000000],[1782482583000,537.40000000],[1782482903000,532.25000000],[1782483152000,511.80000000],[1782483479000,494.00000000],[1782483799000,475.00000000],[1782484052000,455.20000000],[1782484408000,405.00000000],[1782484665000,413.20000000],[1782484999000,423.50000000],[1782485253000,400.20000000],[1782485575000,399.20000000],[1782485895000,377.25000000],[1782486151000,353.60000000],[1782486471000,341.00000000],[1782486791000,351.60000000],[1782487111000,355.50000000],[1782487367000,344.00000000],[1782487687000,312.20000000],[1782488007000,273.00000000],[1782488253000,186.00000000],[1782488583000,197.00000000],[1782488904000,162.50000000],[1782489160000,112.20000000],[1782489497000,175.50000000],[1782489752000,240.40000000],[1782490088000,212.00000000],[1782490352000,185.00000000],[1782490681000,178.60000000],[1782491000000,172.50000000],[1782491253000,175.20000000],[1782491577000,163.00000000],[1782491853000,149.40000000],[1782492184000,137.50000000],[1782492455000,126.80000000],[1782492775000,109.60000000],[1782493095000,100.50000000],[1782493351000,93.20000000],[1782493671000,81.40000000],[1782493991000,70.80000000],[1782494311000,62.25000000],[1782494567000,55.40000000],[1782494887000,45.40000000],[1782495207000,39.00000000],[1782495463000,36.40000000],[1782495783000,33.20000000],[1782496104000,31.25000000],[1782496360000,28.20000000],[1782496680000,25.40000000],[1782497000000,22.50000000],[1782497256000,20.00000000],[1782497576000,16.60000000],[1782497896000,13.75000000],[1782498152000,11.40000000],[1782498472000,8.80000000],[1782498792000,6.25000000],[1782499064000,4.60000000],[1782499384000,2.60000000],[1782499704000,1.25000000],[1782499976000,0.20000000],[1782500296000,0.00000000],[1782500557000,0.00000000],[1782500914000,0.00000000],[1782501175000,0.00000000],[1782501511000,0.00000000],[1782501768000,0.00000000],[1782502088000,0.00000000],[1782502408000,0.00000000],[1782502664000,0.00000000],[1782502984000,0.00000000],[1782503304000,0.00000000],[1782503560000,0.00000000],[1782503880000,0.00000000],[1782504216000,0.00000000],[1782504472000,0.00000000],[1782504791000,0.00000000],[1782505112000,0.00000000],[1782505367000,0.00000000],[1782505687000,0.00000000],[1782506008000,0.00000000],[1782506264000,0.00000000],[1782506584000,0.00000000],[1782506916000,0.00000000],[1782507176000,0.00000000],[1782507496000,0.00000000],[1782507757000,0.00000000],[1782508088000,0.00000000],[1782508407000,0.00000000],[1782508664000,0.00000000],[1782508984000,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: [[1782424857000,0.00000000],[1782424985000,0.00000000],[1782425305000,0.00000000],[1782425561000,0.00000000],[1782425881000,0.00000000],[1782426201000,0.00000000],[1782426456000,0.00000000],[1782426777000,0.00000000],[1782427097000,0.00000000],[1782427353000,0.00000000],[1782427673000,0.00000000],[1782427993000,0.00000000],[1782428313000,0.00000000],[1782428569000,0.00000000],[1782428889000,0.00000000],[1782429209000,0.00000000],[1782429465000,0.00000000],[1782429785000,0.00000000],[1782430105000,0.00000000],[1782430361000,0.00000000],[1782430680000,0.00000000],[1782431000000,0.00000000],[1782431256000,0.00000000],[1782431576000,0.00000000],[1782431912000,0.00000000],[1782432157000,0.00000000],[1782432488000,0.00000000],[1782432808000,0.00000000],[1782433053000,0.00000000],[1782433384000,0.00000000],[1782433704000,0.00000000],[1782433960000,0.00000000],[1782434280000,0.00000000],[1782434600000,0.00000000],[1782434852000,0.00000000],[1782435176000,0.00000000],[1782435496000,0.00000000],[1782435752000,0.00000000],[1782436072000,0.00000000],[1782436391000,0.00000000],[1782436712000,0.00000000],[1782436957000,0.00000000],[1782437288000,0.00000000],[1782437552000,0.00000000],[1782437880000,0.00000000],[1782438200000,0.00000000],[1782438452000,0.00000000],[1782438776000,0.00000000],[1782439096000,0.00000000],[1782439352000,0.00000000],[1782439672000,0.00000000],[1782439992000,0.00000000],[1782440311000,0.00000000],[1782440567000,0.00000000],[1782440887000,0.00000000],[1782441208000,0.00000000],[1782441463000,0.00000000],[1782441800000,0.00000000],[1782442052000,0.00000000],[1782442375000,0.00000000],[1782442695000,0.00000000],[1782442957000,0.00000000],[1782443288000,0.00000000],[1782443608000,0.00000000],[1782443863000,0.00000000],[1782444185000,0.00000000],[1782444457000,0.00000000],[1782444792000,0.00000000],[1782445118000,0.00000000],[1782445400000,0.00000000],[1782445656000,0.00000000],[1782445977000,0.00000000],[1782446297000,0.00000000],[1782446553000,0.00000000],[1782446872000,0.00000000],[1782447208000,0.00000000],[1782447481000,0.00000000],[1782447800000,0.00000000],[1782448056000,0.00000000],[1782448376000,0.00000000],[1782448697000,0.00000000],[1782448953000,0.00000000],[1782449272000,0.80000000],[1782449608000,1.00000000],[1782449864000,0.60000000],[1782450186000,0.00000000],[1782450504000,0.00000000],[1782450760000,0.00000000],[1782451080000,0.60000000],[1782451400000,0.00000000],[1782451655000,0.40000000],[1782451992000,1.80000000],[1782452312000,2.00000000],[1782452568000,2.00000000],[1782452889000,2.00000000],[1782453216000,2.50000000],[1782453481000,3.00000000],[1782453800000,3.00000000],[1782454064000,3.00000000],[1782454394000,3.00000000],[1782454713000,3.25000000],[1782454968000,4.00000000],[1782455288000,4.00000000],[1782455608000,4.00000000],[1782455864000,4.00000000],[1782456184000,4.40000000],[1782456505000,5.00000000],[1782456760000,5.00000000],[1782457080000,5.00000000],[1782457401000,5.00000000],[1782457655000,5.00000000],[1782457978000,5.40000000],[1782458296000,6.00000000],[1782458568000,6.00000000],[1782458887000,6.00000000],[1782459207000,6.00000000],[1782459453000,6.00000000],[1782459783000,6.00000000],[1782460103000,6.50000000],[1782460352000,7.00000000],[1782460679000,7.00000000],[1782460999000,7.00000000],[1782461252000,7.00000000],[1782461575000,7.00000000],[1782461895000,7.00000000],[1782462151000,7.00000000],[1782462471000,7.00000000],[1782462791000,7.00000000],[1782463111000,7.00000000],[1782463357000,6.40000000],[1782463687000,7.00000000],[1782464007000,7.00000000],[1782464253000,7.00000000],[1782464583000,7.00000000],[1782464903000,7.00000000],[1782465152000,7.00000000],[1782465479000,7.00000000],[1782465799000,7.00000000],[1782466052000,7.00000000],[1782466375000,6.60000000],[1782466695000,6.00000000],[1782466951000,6.00000000],[1782467271000,6.00000000],[1782467591000,6.00000000],[1782467912000,6.00000000],[1782468168000,6.00000000],[1782468488000,5.80000000],[1782468808000,5.00000000],[1782469064000,6.00000000],[1782469384000,7.00000000],[1782469654000,6.60000000],[1782469976000,6.40000000],[1782470296000,6.75000000],[1782470553000,7.00000000],[1782470873000,7.00000000],[1782471192000,7.00000000],[1782471513000,7.00000000],[1782471768000,6.40000000],[1782472089000,5.25000000],[1782472352000,4.60000000],[1782472679000,3.40000000],[1782472999000,3.00000000],[1782473271000,3.00000000],[1782473591000,3.00000000],[1782473911000,3.00000000],[1782474167000,3.00000000],[1782474487000,3.00000000],[1782474752000,3.00000000],[1782475095000,3.00000000],[1782475351000,3.00000000],[1782475671000,3.00000000],[1782475991000,3.20000000],[1782476311000,4.00000000],[1782476567000,4.80000000],[1782476887000,5.00000000],[1782477207000,6.00000000],[1782477463000,5.60000000],[1782477783000,6.00000000],[1782478103000,1.25000000],[1782478359000,4.20000000],[1782478679000,5.75000000],[1782478951000,6.00000000],[1782479271000,6.00000000],[1782479591000,6.00000000],[1782479854000,6.00000000],[1782480215000,4.25000000],[1782480514000,5.75000000],[1782480776000,5.00000000],[1782481096000,6.00000000],[1782481352000,5.20000000],[1782481672000,5.00000000],[1782482007000,5.00000000],[1782482253000,5.00000000],[1782482583000,5.00000000],[1782482903000,5.00000000],[1782483152000,4.40000000],[1782483479000,4.00000000],[1782483799000,4.00000000],[1782484052000,4.00000000],[1782484408000,3.00000000],[1782484665000,3.60000000],[1782484999000,4.00000000],[1782485253000,3.00000000],[1782485575000,3.40000000],[1782485895000,3.00000000],[1782486151000,3.00000000],[1782486471000,3.00000000],[1782486791000,3.00000000],[1782487111000,3.00000000],[1782487367000,3.00000000],[1782487687000,2.60000000],[1782488007000,2.00000000],[1782488253000,1.40000000],[1782488583000,1.20000000],[1782488904000,1.00000000],[1782489160000,0.80000000],[1782489497000,1.25000000],[1782489752000,2.00000000],[1782490088000,2.00000000],[1782490352000,1.20000000],[1782490681000,1.00000000],[1782491000000,1.00000000],[1782491253000,1.00000000],[1782491577000,1.00000000],[1782491853000,1.00000000],[1782492184000,1.00000000],[1782492455000,1.00000000],[1782492775000,1.00000000],[1782493095000,0.50000000],[1782493351000,0.20000000],[1782493671000,0.00000000],[1782493991000,0.00000000],[1782494311000,0.00000000],[1782494567000,0.00000000],[1782494887000,0.00000000],[1782495207000,0.00000000],[1782495463000,0.00000000],[1782495783000,0.00000000],[1782496104000,0.00000000],[1782496360000,0.00000000],[1782496680000,0.00000000],[1782497000000,0.00000000],[1782497256000,0.00000000],[1782497576000,0.00000000],[1782497896000,0.00000000],[1782498152000,0.00000000],[1782498472000,0.00000000],[1782498792000,0.00000000],[1782499064000,0.00000000],[1782499384000,0.00000000],[1782499704000,0.00000000],[1782499976000,0.00000000],[1782500296000,0.00000000],[1782500557000,0.00000000],[1782500914000,0.00000000],[1782501175000,0.00000000],[1782501511000,0.00000000],[1782501768000,0.00000000],[1782502088000,0.00000000],[1782502408000,0.00000000],[1782502664000,0.00000000],[1782502984000,0.00000000],[1782503304000,0.00000000],[1782503560000,0.00000000],[1782503880000,0.00000000],[1782504216000,0.00000000],[1782504472000,0.00000000],[1782504791000,0.00000000],[1782505112000,0.00000000],[1782505367000,0.00000000],[1782505687000,0.00000000],[1782506008000,0.00000000],[1782506264000,0.00000000],[1782506584000,0.00000000],[1782506916000,0.00000000],[1782507176000,0.00000000],[1782507496000,0.00000000],[1782507757000,0.00000000],[1782508088000,0.00000000],[1782508407000,0.00000000],[1782508664000,0.00000000],[1782508984000,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: [[1782424857000,0.00000000],[1782424985000,0.00000000],[1782425305000,0.00000000],[1782425561000,0.00000000],[1782425881000,0.00000000],[1782426201000,0.00000000],[1782426456000,0.00000000],[1782426777000,0.00000000],[1782427097000,0.00000000],[1782427353000,0.00000000],[1782427673000,0.00000000],[1782427993000,0.00000000],[1782428313000,0.00000000],[1782428569000,0.00000000],[1782428889000,0.00000000],[1782429209000,0.00000000],[1782429465000,0.00000000],[1782429785000,0.00000000],[1782430105000,0.00000000],[1782430361000,0.00000000],[1782430680000,0.00000000],[1782431000000,0.00000000],[1782431256000,0.00000000],[1782431576000,0.00000000],[1782431912000,0.00000000],[1782432157000,0.00000000],[1782432488000,0.00000000],[1782432808000,0.00000000],[1782433053000,0.00000000],[1782433384000,0.00000000],[1782433704000,0.00000000],[1782433960000,0.00000000],[1782434280000,0.00000000],[1782434600000,0.00000000],[1782434852000,0.00000000],[1782435176000,0.00000000],[1782435496000,0.00000000],[1782435752000,0.00000000],[1782436072000,0.00000000],[1782436391000,0.00000000],[1782436712000,0.00000000],[1782436957000,0.00000000],[1782437288000,0.00000000],[1782437552000,0.00000000],[1782437880000,0.00000000],[1782438200000,0.00000000],[1782438452000,0.00000000],[1782438776000,0.00000000],[1782439096000,0.00000000],[1782439352000,0.00000000],[1782439672000,0.00000000],[1782439992000,0.00000000],[1782440311000,0.00000000],[1782440567000,0.00000000],[1782440887000,0.00000000],[1782441208000,0.00000000],[1782441463000,0.00000000],[1782441800000,0.00000000],[1782442052000,0.00000000],[1782442375000,0.00000000],[1782442695000,0.00000000],[1782442957000,0.00000000],[1782443288000,0.00000000],[1782443608000,0.00000000],[1782443863000,0.00000000],[1782444185000,0.00000000],[1782444457000,0.00000000],[1782444792000,0.00000000],[1782445118000,0.00000000],[1782445400000,0.00000000],[1782445656000,0.00000000],[1782445977000,0.00000000],[1782446297000,0.00000000],[1782446553000,0.00000000],[1782446872000,0.00000000],[1782447208000,0.00000000],[1782447481000,0.00000000],[1782447800000,0.00000000],[1782448056000,0.00000000],[1782448376000,0.00000000],[1782448697000,0.00000000],[1782448953000,0.00000000],[1782449272000,0.00000000],[1782449608000,0.00000000],[1782449864000,0.00000000],[1782450186000,0.00000000],[1782450504000,0.00000000],[1782450760000,0.00000000],[1782451080000,0.00000000],[1782451400000,0.00000000],[1782451655000,0.00000000],[1782451992000,0.00000000],[1782452312000,0.00000000],[1782452568000,0.00000000],[1782452889000,0.00000000],[1782453216000,0.00000000],[1782453481000,0.00000000],[1782453800000,0.00000000],[1782454064000,0.00000000],[1782454394000,0.00000000],[1782454713000,0.00000000],[1782454968000,0.00000000],[1782455288000,0.00000000],[1782455608000,0.00000000],[1782455864000,0.00000000],[1782456184000,0.00000000],[1782456505000,0.00000000],[1782456760000,0.00000000],[1782457080000,0.00000000],[1782457401000,0.00000000],[1782457655000,0.00000000],[1782457978000,0.00000000],[1782458296000,0.00000000],[1782458568000,0.00000000],[1782458887000,0.00000000],[1782459207000,0.00000000],[1782459453000,0.00000000],[1782459783000,0.00000000],[1782460103000,0.00000000],[1782460352000,0.00000000],[1782460679000,0.00000000],[1782460999000,0.00000000],[1782461252000,0.00000000],[1782461575000,0.00000000],[1782461895000,0.00000000],[1782462151000,0.00000000],[1782462471000,0.00000000],[1782462791000,0.00000000],[1782463111000,0.00000000],[1782463357000,0.00000000],[1782463687000,0.00000000],[1782464007000,0.00000000],[1782464253000,0.00000000],[1782464583000,0.00000000],[1782464903000,0.00000000],[1782465152000,0.00000000],[1782465479000,0.00000000],[1782465799000,0.00000000],[1782466052000,0.00000000],[1782466375000,0.00000000],[1782466695000,0.00000000],[1782466951000,0.00000000],[1782467271000,0.00000000],[1782467591000,0.00000000],[1782467912000,0.00000000],[1782468168000,0.00000000],[1782468488000,0.00000000],[1782468808000,0.00000000],[1782469064000,0.00000000],[1782469384000,0.00000000],[1782469654000,0.00000000],[1782469976000,0.00000000],[1782470296000,0.00000000],[1782470553000,0.00000000],[1782470873000,0.00000000],[1782471192000,0.00000000],[1782471513000,0.00000000],[1782471768000,0.00000000],[1782472089000,0.00000000],[1782472352000,0.00000000],[1782472679000,0.00000000],[1782472999000,0.00000000],[1782473271000,0.00000000],[1782473591000,0.00000000],[1782473911000,0.00000000],[1782474167000,0.00000000],[1782474487000,0.00000000],[1782474752000,0.00000000],[1782475095000,0.00000000],[1782475351000,0.00000000],[1782475671000,0.00000000],[1782475991000,0.00000000],[1782476311000,0.00000000],[1782476567000,0.00000000],[1782476887000,0.00000000],[1782477207000,0.00000000],[1782477463000,0.00000000],[1782477783000,0.00000000],[1782478103000,0.00000000],[1782478359000,0.00000000],[1782478679000,0.00000000],[1782478951000,0.00000000],[1782479271000,0.00000000],[1782479591000,0.00000000],[1782479854000,0.00000000],[1782480215000,0.00000000],[1782480514000,0.00000000],[1782480776000,0.00000000],[1782481096000,0.00000000],[1782481352000,0.00000000],[1782481672000,0.00000000],[1782482007000,0.00000000],[1782482253000,0.00000000],[1782482583000,0.00000000],[1782482903000,0.00000000],[1782483152000,0.00000000],[1782483479000,0.00000000],[1782483799000,0.00000000],[1782484052000,0.00000000],[1782484408000,0.00000000],[1782484665000,0.00000000],[1782484999000,0.00000000],[1782485253000,0.00000000],[1782485575000,0.00000000],[1782485895000,0.00000000],[1782486151000,0.00000000],[1782486471000,0.00000000],[1782486791000,0.00000000],[1782487111000,0.00000000],[1782487367000,0.00000000],[1782487687000,0.00000000],[1782488007000,0.00000000],[1782488253000,0.00000000],[1782488583000,0.00000000],[1782488904000,0.00000000],[1782489160000,0.00000000],[1782489497000,0.00000000],[1782489752000,0.00000000],[1782490088000,0.00000000],[1782490352000,0.00000000],[1782490681000,0.00000000],[1782491000000,0.00000000],[1782491253000,0.00000000],[1782491577000,0.00000000],[1782491853000,0.00000000],[1782492184000,0.00000000],[1782492455000,0.00000000],[1782492775000,0.00000000],[1782493095000,0.00000000],[1782493351000,0.00000000],[1782493671000,0.00000000],[1782493991000,0.00000000],[1782494311000,0.00000000],[1782494567000,0.00000000],[1782494887000,0.00000000],[1782495207000,0.00000000],[1782495463000,0.00000000],[1782495783000,0.00000000],[1782496104000,0.00000000],[1782496360000,0.00000000],[1782496680000,0.00000000],[1782497000000,0.00000000],[1782497256000,0.00000000],[1782497576000,0.00000000],[1782497896000,0.00000000],[1782498152000,0.00000000],[1782498472000,0.00000000],[1782498792000,0.00000000],[1782499064000,0.00000000],[1782499384000,0.00000000],[1782499704000,0.00000000],[1782499976000,0.00000000],[1782500296000,0.00000000],[1782500557000,0.00000000],[1782500914000,0.00000000],[1782501175000,0.00000000],[1782501511000,0.00000000],[1782501768000,0.00000000],[1782502088000,0.00000000],[1782502408000,0.00000000],[1782502664000,0.00000000],[1782502984000,0.00000000],[1782503304000,0.00000000],[1782503560000,0.00000000],[1782503880000,0.00000000],[1782504216000,0.00000000],[1782504472000,0.00000000],[1782504791000,0.00000000],[1782505112000,0.00000000],[1782505367000,0.00000000],[1782505687000,0.00000000],[1782506008000,0.00000000],[1782506264000,0.00000000],[1782506584000,0.00000000],[1782506916000,0.00000000],[1782507176000,0.00000000],[1782507496000,0.00000000],[1782507757000,0.00000000],[1782508088000,0.00000000],[1782508407000,0.00000000],[1782508664000,0.00000000],[1782508984000,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; }