var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [], 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: 'Rýchlosť vetra (km/h)', data: [[1716847219000,1.08],[1716847353000,1.44],[1716847673000,2.34],[1716848143000,2.52],[1716848408000,0.600000012],[1716848601000,3.840000012],[1716848972000,2.760000012],[1716849182000,1.35],[1716849481000,0.792],[1716849803000,1.44],[1716850057000,0.432],[1716850377000,1.224],[1716850697000,0],[1716851345000,0.9],[1716851609000,2.16],[1716851865000,0.432],[1716852186000,0.63],[1716852493000,0],[1716853027000,2.52],[1716853096000,1.17],[1716853353000,0.54],[1716853693000,0.18],[1716853972000,0.432],[1716854314000,1.89],[1716854569000,0.432],[1716854889000,0],[1716855209000,0.36],[1716855465000,0.504],[1716855785000,0.072],[1716856193000,1.8],[1716856393000,1.08],[1716856991000,0.72],[1716857305000,2.16],[1716857561000,0.648],[1716857881000,1.44],[1716858201000,0.119999988],[1716858817000,0.72],[1716859080000,0.72],[1716859400000,0.18],[1716859653000,0.432],[1716859992000,1.89],[1716860253000,0.36],[1716860601000,0.63],[1716860853000,1.656],[1716861153000,0],[1716861480000,1.296],[1716861800000,0],[1716862053000,0],[1716862450000,0],[1716862713000,0],[1716862968000,0],[1716863288000,0],[1716863608000,0],[1716863864000,0],[1716864184000,0],[1716864504000,0],[1716865162000,0],[1716865352000,0],[1716865672000,0],[1716865992000,0],[1716866312000,0],[1716866568000,0],[1716866872000,0],[1716867192000,0],[1716867513000,0],[1716867768000,0],[1716868088000,0],[1716868408000,0],[1716868653000,0],[1716869231000,0],[1716869305000,0],[1716869561000,0.792],[1716869913000,2.43],[1716870169000,3.6],[1716870679000,1.8],[1716870813000,1.35],[1716871152000,0],[1716871354000,0],[1716871673000,0.216],[1716871994000,0.144],[1716872313000,0],[1716872568000,0],[1716872891000,0],[1716873210000,0],[1716873464000,0],[1716873809000,0],[1716874090000,0],[1716874353000,0],[1716874680000,0],[1716875000000,0],[1716875253000,0],[1716875576000,0],[1716875897000,0],[1716876291000,0],[1716876489000,0],[1716876809000,0],[1716877065000,0],[1716877385000,0],[1716877705000,0],[1716877961000,0.936],[1716878280000,0.144],[1716878601000,0.9],[1716878856000,1.368],[1716879176000,0.36],[1716879496000,2.52],[1716879752000,1.008],[1716880072000,1.296],[1716880392000,0.504],[1716880713000,1.89],[1716880968000,1.44],[1716881288000,0.648],[1716881608000,1.17],[1716881865000,1.368],[1716882184000,2.232],[1716882505000,1.35],[1716882760000,1.44],[1716883081000,1.224],[1716883401000,1.71],[1716883659000,2.088],[1716883986000,2.304],[1716884316000,4.5],[1716884600000,2.07],[1716884856000,2.16],[1716885176000,1.152],[1716885496000,0.36],[1716885752000,1.08],[1716886072000,0.864],[1716886392000,0.72],[1716886712000,1.71],[1716886968000,0.504],[1716887288000,0.936],[1716887608000,1.17],[1716887853000,0.936],[1716888153000,0.792],[1716888474000,0.936],[1716888792000,1.728],[1716889113000,3.33],[1716889369000,1.008],[1716889688000,0.864],[1716890008000,2.25],[1716890264000,3.672],[1716890584000,2.16],[1716890904000,4.05],[1716891161000,3.816],[1716891480000,3.888],[1716891801000,3.51],[1716892054000,6.048],[1716892376000,3.312],[1716892696000,4.32],[1716892952000,4.752],[1716893288000,3.672],[1716893608000,3.33],[1716893864000,2.736],[1716894184000,4.176],[1716894504000,2.43],[1716894760000,1.152],[1716895080000,4.536],[1716895414000,4.14],[1716895672000,5.256],[1716895992000,3.024],[1716896313000,1.62],[1716896568000,2.088],[1716896889000,4.824],[1716897209000,3.06],[1716897464000,2.304],[1716897784000,2.304],[1716898104000,1.71],[1716898360000,5.112],[1716898680000,4.968],[1716899000000,2.07],[1716899254000,4.464],[1716899576000,6.768],[1716899896000,3.51],[1716900152000,4.608],[1716900472000,2.952],[1716900792000,3.42],[1716901052000,2.592],[1716901368000,5.112],[1716901688000,3.312],[1716902008000,1.98],[1716902264000,3.096],[1716902584000,1.152],[1716902904000,5.13],[1716903160000,3.744],[1716903480000,2.592],[1716903800000,5.13],[1716904054000,1.944],[1716904381000,1.8],[1716904665000,1.584],[1716904984000,2.664],[1716905304000,1.35],[1716905561000,2.34],[1716905927000,2.52],[1716906308000,1.44],[1716906504000,0.18],[1716906760000,0.432],[1716907080000,1.224],[1716907400000,0],[1716907655000,0],[1716908027000,0],[1716908657000,0],[1716908854000,1.44],[1716909176000,0],[1716909496000,0],[1716909784000,0],[1716910104000,0],[1716910360000,0],[1716910680000,0],[1716910968000,0],[1716911583000,0],[1716911911000,0],[1716912167000,3.168],[1716912487000,4.104],[1716912807000,4.68],[1716913063000,4.464],[1716913383000,5.112],[1716913721000,5.76],[1716914101000,6.12],[1716914296000,3.51],[1716914553000,4.752],[1716914888000,5.184],[1716915207000,6.48],[1716915453000,4.536],[1716915767000,5.616],[1716916089000,4.41],[1716916767000,3.24],[1716916953000,3.672],[1716917254000,3.6],[1716917576000,3.312],[1716917896000,5.31],[1716918172000,3.78],[1716918453000,3.816],[1716918775000,4.68],[1716919080000,4.032],[1716919399000,5.58],[1716919653000,5.76],[1716919975000,3.672],[1716920295000,1.89],[1716920551000,2.664],[1716920887000,2.34],[1716921175000,2.07],[1716921597000,2.34],[1716921752000,1.944],[1716922071000,2.52],[1716922391000,3.888],[1716922711000,7.74],[1716923255000,2.448],[1716923575000,3.840000012],[1716923868000,6.3],[1716924174000,4.68],[1716924467000,4.608],[1716924807000,7.02],[1716925052000,0.72],[1716925359000,1.08],[1716925746000,0.839999988],[1716926188000,1.44],[1716926254000,1.62],[1716926583000,1.35],[1716926887000,0.936],[1716927207000,0],[1716927566000,0],[1716927767000,0.144],[1716928087000,0.072],[1716928508000,1.559999988],[1716929163000,1.44],[1716929298000,0],[1716929583000,0.839999988],[1716929873000,0],[1716930167000,0],[1716930487000,0],[1716930807000,2.07],[1716931063000,2.808],[1716931383000,1.656],[1716931703000,0.72],[1716932125000,0],[1716932341000,1.26],[1716932591000,0],[1716932871000,1.008],[1716933191000,1.656],[1716933511000,0.36],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1716847219000,2.52],[1716847353000,2.52],[1716847673000,5.04],[1716848143000,2.52],[1716848408000,1.680000012],[1716848601000,5.879999988],[1716848972000,4.200000012],[1716849182000,2.52],[1716849481000,1.008],[1716849803000,2.52],[1716850057000,1.008],[1716850377000,2.016],[1716850697000,0],[1716851345000,1.89],[1716851609000,3.15],[1716851865000,1.008],[1716852186000,0.63],[1716852493000,0],[1716853027000,2.52],[1716853096000,1.26],[1716853353000,1.89],[1716853693000,0.63],[1716853972000,0.504],[1716854314000,2.52],[1716854569000,0.504],[1716854889000,0],[1716855209000,0.63],[1716855465000,0.504],[1716855785000,0.504],[1716856193000,2.52],[1716856393000,1.26],[1716856991000,1.26],[1716857305000,2.52],[1716857561000,1.512],[1716857881000,2.016],[1716858201000,0.839999988],[1716858817000,1.26],[1716859080000,1.512],[1716859400000,1.26],[1716859653000,0.504],[1716859992000,1.89],[1716860253000,1.008],[1716860601000,1.26],[1716860853000,2.016],[1716861153000,0],[1716861480000,2.016],[1716861800000,0],[1716862053000,0],[1716862450000,0],[1716862713000,0],[1716862968000,0],[1716863288000,0],[1716863608000,0],[1716863864000,0],[1716864184000,0],[1716864504000,0],[1716865162000,0],[1716865352000,0],[1716865672000,0],[1716865992000,0],[1716866312000,0],[1716866568000,0],[1716866872000,0],[1716867192000,0],[1716867513000,0],[1716867768000,0],[1716868088000,0],[1716868408000,0],[1716868653000,0],[1716869231000,0],[1716869305000,0],[1716869561000,1.008],[1716869913000,3.15],[1716870169000,3.78],[1716870679000,3.78],[1716870813000,3.15],[1716871152000,0],[1716871354000,0],[1716871673000,1.008],[1716871994000,0.504],[1716872313000,0],[1716872568000,0],[1716872891000,0],[1716873210000,0],[1716873464000,0],[1716873809000,0],[1716874090000,0],[1716874353000,0],[1716874680000,0],[1716875000000,0],[1716875253000,0],[1716875576000,0],[1716875897000,0],[1716876291000,0],[1716876489000,0],[1716876809000,0],[1716877065000,0],[1716877385000,0],[1716877705000,0],[1716877961000,1.008],[1716878280000,1.008],[1716878601000,1.26],[1716878856000,2.016],[1716879176000,1.512],[1716879496000,3.78],[1716879752000,1.512],[1716880072000,2.016],[1716880392000,1.008],[1716880713000,2.52],[1716880968000,2.016],[1716881288000,1.512],[1716881608000,1.89],[1716881865000,2.016],[1716882184000,3.528],[1716882505000,2.52],[1716882760000,1.512],[1716883081000,1.512],[1716883401000,2.52],[1716883659000,3.024],[1716883986000,3.024],[1716884316000,5.67],[1716884600000,3.15],[1716884856000,3.024],[1716885176000,3.024],[1716885496000,0.63],[1716885752000,2.016],[1716886072000,2.016],[1716886392000,2.016],[1716886712000,1.89],[1716886968000,0.504],[1716887288000,1.512],[1716887608000,1.89],[1716887853000,1.008],[1716888153000,1.512],[1716888474000,2.016],[1716888792000,3.024],[1716889113000,5.04],[1716889369000,1.512],[1716889688000,1.008],[1716890008000,2.52],[1716890264000,4.536],[1716890584000,3.024],[1716890904000,5.04],[1716891161000,5.04],[1716891480000,5.04],[1716891801000,5.04],[1716892054000,7.56],[1716892376000,4.536],[1716892696000,5.67],[1716892952000,6.048],[1716893288000,5.04],[1716893608000,5.04],[1716893864000,4.032],[1716894184000,6.552],[1716894504000,2.52],[1716894760000,2.016],[1716895080000,5.544],[1716895414000,5.13],[1716895672000,7.056],[1716895992000,5.04],[1716896313000,2.52],[1716896568000,3.528],[1716896889000,6.552],[1716897209000,5.04],[1716897464000,3.528],[1716897784000,3.024],[1716898104000,2.52],[1716898360000,6.048],[1716898680000,5.544],[1716899000000,4.41],[1716899254000,5.04],[1716899576000,8.064],[1716899896000,4.41],[1716900152000,6.048],[1716900472000,4.032],[1716900792000,4.41],[1716901052000,3.024],[1716901368000,5.544],[1716901688000,4.536],[1716902008000,3.15],[1716902264000,5.04],[1716902584000,2.016],[1716902904000,8.28],[1716903160000,4.536],[1716903480000,5.04],[1716903800000,6.93],[1716904054000,3.528],[1716904381000,3.15],[1716904665000,2.52],[1716904984000,4.032],[1716905304000,2.52],[1716905561000,2.52],[1716905927000,3.15],[1716906308000,1.680000012],[1716906504000,1.26],[1716906760000,1.512],[1716907080000,2.016],[1716907400000,0],[1716907655000,0],[1716908027000,0],[1716908657000,0],[1716908854000,1.512],[1716909176000,0],[1716909496000,0],[1716909784000,0],[1716910104000,0],[1716910360000,0],[1716910680000,0],[1716910968000,0],[1716911583000,0],[1716911911000,0],[1716912167000,4.536],[1716912487000,6.048],[1716912807000,5.67],[1716913063000,5.544],[1716913383000,7.056],[1716913721000,7.56],[1716914101000,7.56],[1716914296000,5.67],[1716914553000,6.048],[1716914888000,7.56],[1716915207000,8.28],[1716915453000,6.048],[1716915767000,6.552],[1716916089000,7.02],[1716916767000,3.359999988],[1716916953000,5.04],[1716917254000,4.536],[1716917576000,4.032],[1716917896000,6.3],[1716918172000,5.04],[1716918453000,5.544],[1716918775000,6.3],[1716919080000,5.04],[1716919399000,7.56],[1716919653000,8.136],[1716919975000,6.552],[1716920295000,2.52],[1716920551000,4.032],[1716920887000,3.78],[1716921175000,3.15],[1716921597000,3.78],[1716921752000,3.024],[1716922071000,4.032],[1716922391000,5.04],[1716922711000,11.52],[1716923255000,3.528],[1716923575000,4.200000012],[1716923868000,7.56],[1716924174000,6.720000012],[1716924467000,6.048],[1716924807000,7.74],[1716925052000,1.26],[1716925359000,2.016],[1716925746000,1.680000012],[1716926188000,2.52],[1716926254000,3.15],[1716926583000,1.89],[1716926887000,1.008],[1716927207000,0],[1716927566000,0],[1716927767000,1.008],[1716928087000,0.504],[1716928508000,1.680000012],[1716929163000,2.52],[1716929298000,0],[1716929583000,1.680000012],[1716929873000,0],[1716930167000,0],[1716930487000,0],[1716930807000,3.15],[1716931063000,3.528],[1716931383000,2.52],[1716931703000,0.839999988],[1716932125000,0],[1716932341000,2.52],[1716932591000,0],[1716932871000,1.008],[1716933191000,2.52],[1716933511000,2.52],], color: '#EF9856', points: { show: true }, lines: { show: false }, } ]; var options = { xaxes: [{ axisLabel: 'wind', }], xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1km/h' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-wind-legend' } }; graphs['#chart-wind'] = $.plot('#chart-wind', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Smer vetra', data: [[1716847219000,279.50000000],[1716847353000,314.80000000],[1716847673000,191.50000000],[1716848143000,241.00000000],[1716848408000,275.00000000],[1716848601000,124.00000000],[1716848972000,286.00000000],[1716849182000,229.75000000],[1716849481000,292.00000000],[1716849803000,308.75000000],[1716850057000,287.60000000],[1716850377000,275.00000000],[1716850697000,289.00000000],[1716851345000,288.00000000],[1716851609000,172.25000000],[1716851865000,250.60000000],[1716852186000,292.00000000],[1716852493000,279.00000000],[1716853027000,245.00000000],[1716853096000,275.75000000],[1716853353000,309.00000000],[1716853693000,305.50000000],[1716853972000,288.20000000],[1716854314000,269.00000000],[1716854569000,295.60000000],[1716854889000,290.40000000],[1716855209000,283.50000000],[1716855465000,290.00000000],[1716855785000,286.80000000],[1716856193000,253.33333333],[1716856393000,272.50000000],[1716856991000,282.00000000],[1716857305000,262.50000000],[1716857561000,286.20000000],[1716857881000,286.00000000],[1716858201000,286.66666667],[1716858817000,285.00000000],[1716859080000,277.00000000],[1716859400000,287.75000000],[1716859653000,283.00000000],[1716859992000,265.00000000],[1716860253000,284.80000000],[1716860601000,274.25000000],[1716860853000,268.00000000],[1716861153000,286.40000000],[1716861480000,279.20000000],[1716861800000,282.25000000],[1716862053000,271.00000000],[1716862450000,282.50000000],[1716862713000,269.50000000],[1716862968000,285.00000000],[1716863288000,279.60000000],[1716863608000,275.75000000],[1716863864000,277.20000000],[1716864184000,288.80000000],[1716864504000,293.00000000],[1716865162000,293.66666667],[1716865352000,292.40000000],[1716865672000,285.40000000],[1716865992000,290.20000000],[1716866312000,282.00000000],[1716866568000,289.50000000],[1716866872000,275.60000000],[1716867192000,276.60000000],[1716867513000,271.50000000],[1716867768000,274.40000000],[1716868088000,267.60000000],[1716868408000,266.00000000],[1716868653000,261.00000000],[1716869231000,278.00000000],[1716869305000,270.75000000],[1716869561000,257.00000000],[1716869913000,262.75000000],[1716870169000,259.00000000],[1716870679000,254.00000000],[1716870813000,266.00000000],[1716871152000,281.00000000],[1716871354000,284.60000000],[1716871673000,288.60000000],[1716871994000,278.80000000],[1716872313000,277.00000000],[1716872568000,280.80000000],[1716872891000,288.40000000],[1716873210000,284.50000000],[1716873464000,281.50000000],[1716873809000,283.50000000],[1716874090000,286.50000000],[1716874353000,285.60000000],[1716874680000,271.80000000],[1716875000000,272.75000000],[1716875253000,275.00000000],[1716875576000,269.20000000],[1716875897000,275.25000000],[1716876291000,290.00000000],[1716876489000,288.20000000],[1716876809000,290.75000000],[1716877065000,234.00000000],[1716877385000,270.00000000],[1716877705000,292.25000000],[1716877961000,267.20000000],[1716878280000,225.80000000],[1716878601000,141.50000000],[1716878856000,155.00000000],[1716879176000,301.40000000],[1716879496000,164.50000000],[1716879752000,224.20000000],[1716880072000,273.40000000],[1716880392000,240.20000000],[1716880713000,289.25000000],[1716880968000,252.00000000],[1716881288000,312.00000000],[1716881608000,287.75000000],[1716881865000,211.60000000],[1716882184000,263.00000000],[1716882505000,260.25000000],[1716882760000,250.60000000],[1716883081000,288.80000000],[1716883401000,267.50000000],[1716883659000,244.60000000],[1716883986000,210.80000000],[1716884316000,201.00000000],[1716884600000,217.50000000],[1716884856000,275.00000000],[1716885176000,282.40000000],[1716885496000,225.50000000],[1716885752000,275.00000000],[1716886072000,297.00000000],[1716886392000,294.80000000],[1716886712000,310.75000000],[1716886968000,301.20000000],[1716887288000,284.40000000],[1716887608000,285.50000000],[1716887853000,219.20000000],[1716888153000,299.60000000],[1716888474000,238.40000000],[1716888792000,143.60000000],[1716889113000,178.25000000],[1716889369000,296.20000000],[1716889688000,296.00000000],[1716890008000,298.25000000],[1716890264000,242.20000000],[1716890584000,272.00000000],[1716890904000,238.75000000],[1716891161000,224.40000000],[1716891480000,212.00000000],[1716891801000,242.50000000],[1716892054000,214.00000000],[1716892376000,225.60000000],[1716892696000,215.25000000],[1716892952000,224.40000000],[1716893288000,261.00000000],[1716893608000,251.00000000],[1716893864000,261.20000000],[1716894184000,257.00000000],[1716894504000,295.25000000],[1716894760000,292.60000000],[1716895080000,250.20000000],[1716895414000,255.25000000],[1716895672000,238.80000000],[1716895992000,301.00000000],[1716896313000,299.50000000],[1716896568000,300.20000000],[1716896889000,264.20000000],[1716897209000,262.00000000],[1716897464000,299.40000000],[1716897784000,285.40000000],[1716898104000,282.50000000],[1716898360000,225.60000000],[1716898680000,235.40000000],[1716899000000,254.50000000],[1716899254000,250.80000000],[1716899576000,221.00000000],[1716899896000,279.50000000],[1716900152000,306.60000000],[1716900472000,295.00000000],[1716900792000,270.50000000],[1716901052000,265.40000000],[1716901368000,261.80000000],[1716901688000,249.80000000],[1716902008000,305.50000000],[1716902264000,244.40000000],[1716902584000,307.00000000],[1716902904000,125.25000000],[1716903160000,71.40000000],[1716903480000,144.40000000],[1716903800000,193.00000000],[1716904054000,245.00000000],[1716904381000,168.50000000],[1716904665000,209.00000000],[1716904984000,268.40000000],[1716905304000,111.50000000],[1716905561000,286.50000000],[1716905927000,174.75000000],[1716906308000,321.66666667],[1716906504000,307.00000000],[1716906760000,324.80000000],[1716907080000,264.60000000],[1716907400000,312.33333333],[1716907655000,303.40000000],[1716908027000,294.66666667],[1716908657000,300.33333333],[1716908854000,286.80000000],[1716909176000,293.40000000],[1716909496000,296.50000000],[1716909784000,304.20000000],[1716910104000,303.75000000],[1716910360000,290.40000000],[1716910680000,288.50000000],[1716910968000,288.50000000],[1716911583000,312.20000000],[1716911911000,316.25000000],[1716912167000,323.20000000],[1716912487000,331.60000000],[1716912807000,341.75000000],[1716913063000,331.00000000],[1716913383000,203.60000000],[1716913721000,331.00000000],[1716914101000,313.33333333],[1716914296000,331.50000000],[1716914553000,264.00000000],[1716914888000,255.40000000],[1716915207000,341.75000000],[1716915453000,297.60000000],[1716915767000,327.00000000],[1716916089000,339.50000000],[1716916767000,339.66666667],[1716916953000,332.60000000],[1716917254000,252.00000000],[1716917576000,314.80000000],[1716917896000,334.25000000],[1716918172000,308.75000000],[1716918453000,322.60000000],[1716918775000,329.75000000],[1716919080000,318.20000000],[1716919399000,173.50000000],[1716919653000,255.20000000],[1716919975000,209.40000000],[1716920295000,195.25000000],[1716920551000,263.20000000],[1716920887000,257.50000000],[1716921175000,273.00000000],[1716921597000,227.50000000],[1716921752000,229.40000000],[1716922071000,243.80000000],[1716922391000,210.00000000],[1716922711000,260.00000000],[1716923255000,290.40000000],[1716923575000,260.66666667],[1716923868000,193.00000000],[1716924174000,230.00000000],[1716924467000,240.40000000],[1716924807000,213.50000000],[1716925052000,277.50000000],[1716925359000,275.20000000],[1716925746000,304.00000000],[1716926188000,326.00000000],[1716926254000,170.25000000],[1716926583000,335.00000000],[1716926887000,311.40000000],[1716927207000,311.25000000],[1716927566000,305.33333333],[1716927767000,275.00000000],[1716928087000,317.20000000],[1716928508000,261.00000000],[1716929163000,312.00000000],[1716929298000,293.33333333],[1716929583000,285.00000000],[1716929873000,306.00000000],[1716930167000,303.20000000],[1716930487000,299.80000000],[1716930807000,295.00000000],[1716931063000,298.40000000],[1716931383000,295.40000000],[1716931703000,306.33333333],[1716932125000,298.50000000],[1716932341000,285.00000000],[1716932591000,291.00000000],[1716932871000,283.20000000],[1716933191000,299.40000000],[1716933511000,294.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: [[1716847219000,0.00000000],[1716847353000,0.00000000],[1716847673000,0.00000000],[1716848143000,0.00000000],[1716848408000,0.00000000],[1716848601000,0.00000000],[1716848972000,0.00000000],[1716849182000,0.00000000],[1716849481000,0.00000000],[1716849803000,0.00000000],[1716850057000,0.00000000],[1716850377000,0.00000000],[1716850697000,0.00000000],[1716851345000,0.00000000],[1716851609000,0.00000000],[1716851865000,0.00000000],[1716852186000,0.00000000],[1716852493000,0.00000000],[1716853027000,0.00000000],[1716853096000,0.00000000],[1716853353000,0.00000000],[1716853693000,0.00000000],[1716853972000,0.00000000],[1716854314000,0.00000000],[1716854569000,0.00000000],[1716854889000,0.00000000],[1716855209000,0.00000000],[1716855465000,0.00000000],[1716855785000,0.00000000],[1716856193000,0.00000000],[1716856393000,0.00000000],[1716856991000,0.00000000],[1716857305000,0.00000000],[1716857561000,0.00000000],[1716857881000,0.00000000],[1716858201000,0.00000000],[1716858817000,0.00000000],[1716859080000,0.00000000],[1716859400000,0.00000000],[1716859653000,0.00000000],[1716859992000,0.00000000],[1716860253000,0.00000000],[1716860601000,0.00000000],[1716860853000,0.00000000],[1716861153000,0.00000000],[1716861480000,0.00000000],[1716861800000,0.00000000],[1716862053000,0.00000000],[1716862450000,0.00000000],[1716862713000,0.00000000],[1716862968000,0.00000000],[1716863288000,0.00000000],[1716863608000,0.50000000],[1716863864000,1.00000000],[1716864184000,1.40000000],[1716864504000,2.00000000],[1716865162000,4.66666667],[1716865352000,5.80000000],[1716865672000,7.60000000],[1716865992000,9.40000000],[1716866312000,11.50000000],[1716866568000,13.25000000],[1716866872000,15.00000000],[1716867192000,17.00000000],[1716867513000,18.50000000],[1716867768000,20.40000000],[1716868088000,23.80000000],[1716868408000,26.00000000],[1716868653000,25.75000000],[1716869231000,55.00000000],[1716869305000,58.75000000],[1716869561000,65.20000000],[1716869913000,61.50000000],[1716870169000,71.50000000],[1716870679000,32.00000000],[1716870813000,32.75000000],[1716871152000,33.00000000],[1716871354000,34.00000000],[1716871673000,34.80000000],[1716871994000,35.40000000],[1716872313000,36.00000000],[1716872568000,36.60000000],[1716872891000,37.00000000],[1716873210000,37.75000000],[1716873464000,38.00000000],[1716873809000,38.25000000],[1716874090000,39.00000000],[1716874353000,39.00000000],[1716874680000,39.80000000],[1716875000000,40.50000000],[1716875253000,41.00000000],[1716875576000,42.00000000],[1716875897000,42.25000000],[1716876291000,43.33333333],[1716876489000,91.80000000],[1716876809000,183.25000000],[1716877065000,275.40000000],[1716877385000,340.80000000],[1716877705000,354.00000000],[1716877961000,335.60000000],[1716878280000,313.00000000],[1716878601000,388.25000000],[1716878856000,403.60000000],[1716879176000,416.80000000],[1716879496000,430.25000000],[1716879752000,442.20000000],[1716880072000,455.60000000],[1716880392000,467.60000000],[1716880713000,477.75000000],[1716880968000,489.00000000],[1716881288000,500.40000000],[1716881608000,510.00000000],[1716881865000,517.80000000],[1716882184000,529.00000000],[1716882505000,538.75000000],[1716882760000,548.20000000],[1716883081000,558.40000000],[1716883401000,567.00000000],[1716883659000,577.20000000],[1716883986000,585.40000000],[1716884316000,595.00000000],[1716884600000,603.50000000],[1716884856000,611.80000000],[1716885176000,620.40000000],[1716885496000,628.00000000],[1716885752000,636.20000000],[1716886072000,644.40000000],[1716886392000,651.60000000],[1716886712000,657.50000000],[1716886968000,663.60000000],[1716887288000,671.00000000],[1716887608000,677.50000000],[1716887853000,683.20000000],[1716888153000,687.80000000],[1716888474000,635.40000000],[1716888792000,698.20000000],[1716889113000,703.00000000],[1716889369000,709.40000000],[1716889688000,604.80000000],[1716890008000,714.75000000],[1716890264000,715.40000000],[1716890584000,719.60000000],[1716890904000,723.75000000],[1716891161000,724.20000000],[1716891480000,727.40000000],[1716891801000,725.25000000],[1716892054000,724.40000000],[1716892376000,724.60000000],[1716892696000,725.50000000],[1716892952000,722.80000000],[1716893288000,720.60000000],[1716893608000,718.00000000],[1716893864000,714.20000000],[1716894184000,711.60000000],[1716894504000,709.50000000],[1716894760000,708.60000000],[1716895080000,713.80000000],[1716895414000,724.00000000],[1716895672000,729.20000000],[1716895992000,733.80000000],[1716896313000,651.50000000],[1716896568000,710.40000000],[1716896889000,568.40000000],[1716897209000,352.00000000],[1716897464000,555.20000000],[1716897784000,510.20000000],[1716898104000,768.25000000],[1716898360000,761.20000000],[1716898680000,721.80000000],[1716899000000,599.25000000],[1716899254000,652.20000000],[1716899576000,618.60000000],[1716899896000,607.75000000],[1716900152000,602.80000000],[1716900472000,594.80000000],[1716900792000,605.75000000],[1716901052000,620.80000000],[1716901368000,629.80000000],[1716901688000,631.00000000],[1716902008000,560.50000000],[1716902264000,357.20000000],[1716902584000,234.40000000],[1716902904000,130.25000000],[1716903160000,97.40000000],[1716903480000,66.00000000],[1716903800000,70.25000000],[1716904054000,72.80000000],[1716904381000,74.00000000],[1716904665000,74.00000000],[1716904984000,75.40000000],[1716905304000,74.25000000],[1716905561000,73.00000000],[1716905927000,71.75000000],[1716906308000,66.00000000],[1716906504000,65.25000000],[1716906760000,68.40000000],[1716907080000,67.00000000],[1716907400000,63.00000000],[1716907655000,59.20000000],[1716908027000,58.33333333],[1716908657000,63.00000000],[1716908854000,67.40000000],[1716909176000,74.80000000],[1716909496000,74.00000000],[1716909784000,66.20000000],[1716910104000,60.50000000],[1716910360000,56.80000000],[1716910680000,54.50000000],[1716910968000,50.00000000],[1716911583000,51.40000000],[1716911911000,53.75000000],[1716912167000,59.00000000],[1716912487000,65.20000000],[1716912807000,67.50000000],[1716913063000,62.20000000],[1716913383000,49.80000000],[1716913721000,49.50000000],[1716914101000,56.66666667],[1716914296000,51.00000000],[1716914553000,36.20000000],[1716914888000,27.00000000],[1716915207000,23.75000000],[1716915453000,23.00000000],[1716915767000,22.60000000],[1716916089000,21.50000000],[1716916767000,19.00000000],[1716916953000,18.00000000],[1716917254000,15.80000000],[1716917576000,13.20000000],[1716917896000,11.50000000],[1716918172000,10.25000000],[1716918453000,9.20000000],[1716918775000,8.00000000],[1716919080000,7.00000000],[1716919399000,6.00000000],[1716919653000,5.00000000],[1716919975000,4.00000000],[1716920295000,3.00000000],[1716920551000,2.00000000],[1716920887000,1.00000000],[1716921175000,1.00000000],[1716921597000,1.00000000],[1716921752000,0.60000000],[1716922071000,0.00000000],[1716922391000,0.00000000],[1716922711000,0.00000000],[1716923255000,0.00000000],[1716923575000,0.00000000],[1716923868000,0.00000000],[1716924174000,0.00000000],[1716924467000,0.00000000],[1716924807000,0.00000000],[1716925052000,0.00000000],[1716925359000,0.00000000],[1716925746000,0.00000000],[1716926188000,0.00000000],[1716926254000,0.00000000],[1716926583000,0.00000000],[1716926887000,0.00000000],[1716927207000,0.00000000],[1716927566000,0.00000000],[1716927767000,0.00000000],[1716928087000,0.00000000],[1716928508000,0.00000000],[1716929163000,0.00000000],[1716929298000,0.00000000],[1716929583000,0.00000000],[1716929873000,0.00000000],[1716930167000,0.00000000],[1716930487000,0.00000000],[1716930807000,0.00000000],[1716931063000,0.00000000],[1716931383000,0.00000000],[1716931703000,0.00000000],[1716932125000,0.00000000],[1716932341000,0.00000000],[1716932591000,0.00000000],[1716932871000,0.00000000],[1716933191000,0.00000000],[1716933511000,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: [[1716847219000,0.00000000],[1716847353000,0.00000000],[1716847673000,0.00000000],[1716848143000,0.00000000],[1716848408000,0.00000000],[1716848601000,0.00000000],[1716848972000,0.00000000],[1716849182000,0.00000000],[1716849481000,0.00000000],[1716849803000,0.00000000],[1716850057000,0.00000000],[1716850377000,0.00000000],[1716850697000,0.00000000],[1716851345000,0.00000000],[1716851609000,0.00000000],[1716851865000,0.00000000],[1716852186000,0.00000000],[1716852493000,0.00000000],[1716853027000,0.00000000],[1716853096000,0.00000000],[1716853353000,0.00000000],[1716853693000,0.00000000],[1716853972000,0.00000000],[1716854314000,0.00000000],[1716854569000,0.00000000],[1716854889000,0.00000000],[1716855209000,0.00000000],[1716855465000,0.00000000],[1716855785000,0.00000000],[1716856193000,0.00000000],[1716856393000,0.00000000],[1716856991000,0.00000000],[1716857305000,0.00000000],[1716857561000,0.00000000],[1716857881000,0.00000000],[1716858201000,0.00000000],[1716858817000,0.00000000],[1716859080000,0.00000000],[1716859400000,0.00000000],[1716859653000,0.00000000],[1716859992000,0.00000000],[1716860253000,0.00000000],[1716860601000,0.00000000],[1716860853000,0.00000000],[1716861153000,0.00000000],[1716861480000,0.00000000],[1716861800000,0.00000000],[1716862053000,0.00000000],[1716862450000,0.00000000],[1716862713000,0.00000000],[1716862968000,0.00000000],[1716863288000,0.00000000],[1716863608000,0.00000000],[1716863864000,0.00000000],[1716864184000,0.00000000],[1716864504000,0.00000000],[1716865162000,0.00000000],[1716865352000,0.00000000],[1716865672000,0.00000000],[1716865992000,0.00000000],[1716866312000,0.00000000],[1716866568000,0.00000000],[1716866872000,0.00000000],[1716867192000,0.00000000],[1716867513000,0.00000000],[1716867768000,0.00000000],[1716868088000,0.00000000],[1716868408000,0.00000000],[1716868653000,0.00000000],[1716869231000,0.00000000],[1716869305000,0.00000000],[1716869561000,0.00000000],[1716869913000,0.00000000],[1716870169000,0.00000000],[1716870679000,0.00000000],[1716870813000,0.00000000],[1716871152000,0.00000000],[1716871354000,0.00000000],[1716871673000,0.00000000],[1716871994000,0.00000000],[1716872313000,0.00000000],[1716872568000,0.00000000],[1716872891000,0.00000000],[1716873210000,0.00000000],[1716873464000,0.00000000],[1716873809000,0.00000000],[1716874090000,0.00000000],[1716874353000,0.00000000],[1716874680000,0.00000000],[1716875000000,0.00000000],[1716875253000,0.00000000],[1716875576000,0.00000000],[1716875897000,0.00000000],[1716876291000,0.00000000],[1716876489000,0.60000000],[1716876809000,1.00000000],[1716877065000,2.20000000],[1716877385000,3.00000000],[1716877705000,3.00000000],[1716877961000,2.80000000],[1716878280000,2.40000000],[1716878601000,3.00000000],[1716878856000,3.00000000],[1716879176000,4.00000000],[1716879496000,4.00000000],[1716879752000,4.00000000],[1716880072000,4.00000000],[1716880392000,4.00000000],[1716880713000,4.00000000],[1716880968000,4.00000000],[1716881288000,4.00000000],[1716881608000,4.00000000],[1716881865000,5.00000000],[1716882184000,5.00000000],[1716882505000,5.00000000],[1716882760000,5.00000000],[1716883081000,5.00000000],[1716883401000,5.00000000],[1716883659000,5.00000000],[1716883986000,5.00000000],[1716884316000,5.00000000],[1716884600000,5.00000000],[1716884856000,5.00000000],[1716885176000,6.00000000],[1716885496000,6.00000000],[1716885752000,6.00000000],[1716886072000,6.00000000],[1716886392000,6.00000000],[1716886712000,6.00000000],[1716886968000,6.00000000],[1716887288000,6.00000000],[1716887608000,6.00000000],[1716887853000,6.00000000],[1716888153000,6.00000000],[1716888474000,5.60000000],[1716888792000,6.00000000],[1716889113000,6.00000000],[1716889369000,6.00000000],[1716889688000,5.20000000],[1716890008000,6.00000000],[1716890264000,6.00000000],[1716890584000,6.80000000],[1716890904000,7.00000000],[1716891161000,7.00000000],[1716891480000,7.00000000],[1716891801000,7.00000000],[1716892054000,7.00000000],[1716892376000,7.00000000],[1716892696000,7.00000000],[1716892952000,7.00000000],[1716893288000,7.00000000],[1716893608000,6.50000000],[1716893864000,6.00000000],[1716894184000,6.00000000],[1716894504000,6.00000000],[1716894760000,6.00000000],[1716895080000,6.00000000],[1716895414000,7.00000000],[1716895672000,7.00000000],[1716895992000,7.00000000],[1716896313000,6.00000000],[1716896568000,6.40000000],[1716896889000,5.00000000],[1716897209000,3.00000000],[1716897464000,5.00000000],[1716897784000,4.40000000],[1716898104000,6.75000000],[1716898360000,7.00000000],[1716898680000,6.60000000],[1716899000000,5.25000000],[1716899254000,6.00000000],[1716899576000,5.60000000],[1716899896000,5.00000000],[1716900152000,5.00000000],[1716900472000,5.00000000],[1716900792000,5.00000000],[1716901052000,5.60000000],[1716901368000,5.80000000],[1716901688000,6.00000000],[1716902008000,5.25000000],[1716902264000,3.00000000],[1716902584000,1.80000000],[1716902904000,1.00000000],[1716903160000,0.60000000],[1716903480000,0.00000000],[1716903800000,0.00000000],[1716904054000,0.00000000],[1716904381000,0.00000000],[1716904665000,0.00000000],[1716904984000,0.00000000],[1716905304000,0.00000000],[1716905561000,0.00000000],[1716905927000,0.00000000],[1716906308000,0.00000000],[1716906504000,0.00000000],[1716906760000,0.00000000],[1716907080000,0.00000000],[1716907400000,0.00000000],[1716907655000,0.00000000],[1716908027000,0.00000000],[1716908657000,0.00000000],[1716908854000,0.00000000],[1716909176000,0.00000000],[1716909496000,0.00000000],[1716909784000,0.00000000],[1716910104000,0.00000000],[1716910360000,0.00000000],[1716910680000,0.00000000],[1716910968000,0.00000000],[1716911583000,0.00000000],[1716911911000,0.00000000],[1716912167000,0.00000000],[1716912487000,0.00000000],[1716912807000,0.00000000],[1716913063000,0.00000000],[1716913383000,0.00000000],[1716913721000,0.00000000],[1716914101000,0.00000000],[1716914296000,0.00000000],[1716914553000,0.00000000],[1716914888000,0.00000000],[1716915207000,0.00000000],[1716915453000,0.00000000],[1716915767000,0.00000000],[1716916089000,0.00000000],[1716916767000,0.00000000],[1716916953000,0.00000000],[1716917254000,0.00000000],[1716917576000,0.00000000],[1716917896000,0.00000000],[1716918172000,0.00000000],[1716918453000,0.00000000],[1716918775000,0.00000000],[1716919080000,0.00000000],[1716919399000,0.00000000],[1716919653000,0.00000000],[1716919975000,0.00000000],[1716920295000,0.00000000],[1716920551000,0.00000000],[1716920887000,0.00000000],[1716921175000,0.00000000],[1716921597000,0.00000000],[1716921752000,0.00000000],[1716922071000,0.00000000],[1716922391000,0.00000000],[1716922711000,0.00000000],[1716923255000,0.00000000],[1716923575000,0.00000000],[1716923868000,0.00000000],[1716924174000,0.00000000],[1716924467000,0.00000000],[1716924807000,0.00000000],[1716925052000,0.00000000],[1716925359000,0.00000000],[1716925746000,0.00000000],[1716926188000,0.00000000],[1716926254000,0.00000000],[1716926583000,0.00000000],[1716926887000,0.00000000],[1716927207000,0.00000000],[1716927566000,0.00000000],[1716927767000,0.00000000],[1716928087000,0.00000000],[1716928508000,0.00000000],[1716929163000,0.00000000],[1716929298000,0.00000000],[1716929583000,0.00000000],[1716929873000,0.00000000],[1716930167000,0.00000000],[1716930487000,0.00000000],[1716930807000,0.00000000],[1716931063000,0.00000000],[1716931383000,0.00000000],[1716931703000,0.00000000],[1716932125000,0.00000000],[1716932341000,0.00000000],[1716932591000,0.00000000],[1716932871000,0.00000000],[1716933191000,0.00000000],[1716933511000,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: [[1716847219000,0.00000000],[1716847353000,0.00000000],[1716847673000,0.00000000],[1716848143000,0.00000000],[1716848408000,0.00000000],[1716848601000,0.00000000],[1716848972000,0.00000000],[1716849182000,0.00000000],[1716849481000,0.00000000],[1716849803000,0.00000000],[1716850057000,0.00000000],[1716850377000,0.00000000],[1716850697000,0.00000000],[1716851345000,0.00000000],[1716851609000,0.00000000],[1716851865000,0.00000000],[1716852186000,0.00000000],[1716852493000,0.00000000],[1716853027000,0.00000000],[1716853096000,0.00000000],[1716853353000,0.00000000],[1716853693000,0.00000000],[1716853972000,0.00000000],[1716854314000,0.00000000],[1716854569000,0.00000000],[1716854889000,0.00000000],[1716855209000,0.00000000],[1716855465000,0.00000000],[1716855785000,0.00000000],[1716856193000,0.00000000],[1716856393000,0.00000000],[1716856991000,0.00000000],[1716857305000,0.00000000],[1716857561000,0.00000000],[1716857881000,0.00000000],[1716858201000,0.00000000],[1716858817000,0.00000000],[1716859080000,0.00000000],[1716859400000,0.00000000],[1716859653000,0.00000000],[1716859992000,0.00000000],[1716860253000,0.00000000],[1716860601000,0.00000000],[1716860853000,0.00000000],[1716861153000,0.00000000],[1716861480000,0.00000000],[1716861800000,0.00000000],[1716862053000,0.00000000],[1716862450000,0.00000000],[1716862713000,0.00000000],[1716862968000,0.00000000],[1716863288000,0.00000000],[1716863608000,0.00000000],[1716863864000,0.00000000],[1716864184000,0.00000000],[1716864504000,0.00000000],[1716865162000,0.00000000],[1716865352000,0.00000000],[1716865672000,0.00000000],[1716865992000,0.00000000],[1716866312000,0.00000000],[1716866568000,0.00000000],[1716866872000,0.00000000],[1716867192000,0.00000000],[1716867513000,0.00000000],[1716867768000,0.00000000],[1716868088000,0.00000000],[1716868408000,0.00000000],[1716868653000,0.00000000],[1716869231000,0.00000000],[1716869305000,0.00000000],[1716869561000,0.00000000],[1716869913000,0.00000000],[1716870169000,0.00000000],[1716870679000,0.00000000],[1716870813000,0.00000000],[1716871152000,0.00000000],[1716871354000,0.00000000],[1716871673000,0.00000000],[1716871994000,0.00000000],[1716872313000,0.00000000],[1716872568000,0.00000000],[1716872891000,0.00000000],[1716873210000,0.00000000],[1716873464000,0.00000000],[1716873809000,0.00000000],[1716874090000,0.00000000],[1716874353000,0.00000000],[1716874680000,0.00000000],[1716875000000,0.00000000],[1716875253000,0.00000000],[1716875576000,0.00000000],[1716875897000,0.00000000],[1716876291000,0.00000000],[1716876489000,0.00000000],[1716876809000,0.00000000],[1716877065000,0.00000000],[1716877385000,0.00000000],[1716877705000,0.00000000],[1716877961000,0.00000000],[1716878280000,0.00000000],[1716878601000,0.00000000],[1716878856000,0.00000000],[1716879176000,0.00000000],[1716879496000,0.00000000],[1716879752000,0.00000000],[1716880072000,0.00000000],[1716880392000,0.00000000],[1716880713000,0.00000000],[1716880968000,0.00000000],[1716881288000,0.00000000],[1716881608000,0.00000000],[1716881865000,0.00000000],[1716882184000,0.00000000],[1716882505000,0.00000000],[1716882760000,0.00000000],[1716883081000,0.00000000],[1716883401000,0.00000000],[1716883659000,0.00000000],[1716883986000,0.00000000],[1716884316000,0.00000000],[1716884600000,0.00000000],[1716884856000,0.00000000],[1716885176000,0.00000000],[1716885496000,0.00000000],[1716885752000,0.00000000],[1716886072000,0.00000000],[1716886392000,0.00000000],[1716886712000,0.00000000],[1716886968000,0.00000000],[1716887288000,0.00000000],[1716887608000,0.00000000],[1716887853000,0.00000000],[1716888153000,0.00000000],[1716888474000,0.00000000],[1716888792000,0.00000000],[1716889113000,0.00000000],[1716889369000,0.00000000],[1716889688000,0.00000000],[1716890008000,0.00000000],[1716890264000,0.00000000],[1716890584000,0.00000000],[1716890904000,0.00000000],[1716891161000,0.00000000],[1716891480000,0.00000000],[1716891801000,0.00000000],[1716892054000,0.00000000],[1716892376000,0.00000000],[1716892696000,0.00000000],[1716892952000,0.00000000],[1716893288000,0.00000000],[1716893608000,0.00000000],[1716893864000,0.00000000],[1716894184000,0.00000000],[1716894504000,0.00000000],[1716894760000,0.00000000],[1716895080000,0.00000000],[1716895414000,0.00000000],[1716895672000,0.00000000],[1716895992000,0.00000000],[1716896313000,0.00000000],[1716896568000,0.00000000],[1716896889000,0.00000000],[1716897209000,0.00000000],[1716897464000,0.00000000],[1716897784000,0.00000000],[1716898104000,0.00000000],[1716898360000,0.00000000],[1716898680000,0.00000000],[1716899000000,0.00000000],[1716899254000,0.00000000],[1716899576000,0.00000000],[1716899896000,0.00000000],[1716900152000,0.00000000],[1716900472000,0.00000000],[1716900792000,0.00000000],[1716901052000,0.00000000],[1716901368000,0.00000000],[1716901688000,0.00000000],[1716902008000,0.00000000],[1716902264000,0.00000000],[1716902584000,0.00000000],[1716902904000,0.00000000],[1716903160000,0.00000000],[1716903480000,0.00000000],[1716903800000,0.00000000],[1716904054000,0.00000000],[1716904381000,0.00000000],[1716904665000,0.00000000],[1716904984000,0.00000000],[1716905304000,0.00000000],[1716905561000,0.00000000],[1716905927000,0.00000000],[1716906308000,0.00000000],[1716906504000,0.00000000],[1716906760000,0.00000000],[1716907080000,0.00000000],[1716907400000,0.00000000],[1716907655000,0.00000000],[1716908027000,0.00000000],[1716908657000,0.00000000],[1716908854000,0.00000000],[1716909176000,0.00000000],[1716909496000,0.00000000],[1716909784000,0.00000000],[1716910104000,0.00000000],[1716910360000,0.00000000],[1716910680000,0.00000000],[1716910968000,0.00000000],[1716911583000,0.00000000],[1716911911000,0.00000000],[1716912167000,0.00000000],[1716912487000,0.00000000],[1716912807000,0.00000000],[1716913063000,0.00000000],[1716913383000,0.00000000],[1716913721000,0.00000000],[1716914101000,0.00000000],[1716914296000,0.00000000],[1716914553000,0.00000000],[1716914888000,0.00000000],[1716915207000,0.00000000],[1716915453000,0.00000000],[1716915767000,0.00000000],[1716916089000,0.00000000],[1716916767000,0.00000000],[1716916953000,0.00000000],[1716917254000,0.00000000],[1716917576000,0.00000000],[1716917896000,0.00000000],[1716918172000,0.00000000],[1716918453000,0.00000000],[1716918775000,0.00000000],[1716919080000,0.00000000],[1716919399000,0.00000000],[1716919653000,0.00000000],[1716919975000,0.00000000],[1716920295000,0.00000000],[1716920551000,0.00000000],[1716920887000,0.00000000],[1716921175000,0.00000000],[1716921597000,0.00000000],[1716921752000,0.00000000],[1716922071000,0.00000000],[1716922391000,0.00000000],[1716922711000,0.00000000],[1716923255000,0.00000000],[1716923575000,0.00000000],[1716923868000,0.00000000],[1716924174000,0.00000000],[1716924467000,0.00000000],[1716924807000,0.00000000],[1716925052000,0.00000000],[1716925359000,0.00000000],[1716925746000,0.00000000],[1716926188000,0.00000000],[1716926254000,0.00000000],[1716926583000,0.00000000],[1716926887000,0.00000000],[1716927207000,0.00000000],[1716927566000,0.00000000],[1716927767000,0.00000000],[1716928087000,0.00000000],[1716928508000,0.00000000],[1716929163000,0.00000000],[1716929298000,0.00000000],[1716929583000,0.00000000],[1716929873000,0.00000000],[1716930167000,0.00000000],[1716930487000,0.00000000],[1716930807000,0.00000000],[1716931063000,0.00000000],[1716931383000,0.00000000],[1716931703000,0.00000000],[1716932125000,0.00000000],[1716932341000,0.00000000],[1716932591000,0.00000000],[1716932871000,0.00000000],[1716933191000,0.00000000],[1716933511000,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; }