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: [[1714082423000,0],[1714082551000,0],[1714082871000,0.648],[1714083207000,0.18],[1714083462000,0],[1714083782000,0],[1714084053000,0],[1714084391000,0],[1714084711000,0],[1714084967000,0],[1714085287000,0],[1714085607000,0],[1714085863000,0],[1714086183000,0],[1714086503000,0],[1714086759000,0],[1714087078000,0],[1714087398000,0],[1714087652000,0],[1714087959000,0],[1714088279000,0],[1714088599000,0],[1714088853000,0],[1714089175000,0],[1714089495000,0],[1714089751000,0],[1714090071000,0],[1714090391000,0],[1714090711000,1.26],[1714090967000,0.288],[1714091287000,0],[1714091607000,0.54],[1714091863000,0],[1714092183000,0],[1714092503000,0],[1714092759000,0],[1714093095000,0],[1714093351000,0],[1714093671000,0],[1714093991000,0],[1714094311000,0],[1714094569000,0],[1714094887000,0],[1714095207000,0],[1714095463000,0],[1714095783000,0],[1714096103000,0],[1714096359000,0],[1714096679000,0],[1714096999000,0],[1714097253000,0],[1714097575000,0],[1714097895000,0],[1714098151000,0],[1714098471000,0],[1714098791000,0],[1714099112000,0],[1714099367000,0],[1714099687000,0],[1714100008000,0],[1714100263000,0],[1714100583000,0],[1714100903000,0],[1714101159000,0],[1714101479000,0],[1714101799000,0],[1714102053000,0],[1714102375000,0],[1714102695000,0],[1714102951000,0],[1714103271000,0],[1714103591000,0],[1714103911000,0],[1714104167000,0],[1714104487000,0],[1714104807000,0],[1714105063000,0],[1714105383000,0],[1714105703000,0],[1714105959000,0],[1714106280000,0],[1714106599000,0],[1714106854000,0],[1714107175000,0],[1714107495000,0],[1714107751000,0],[1714108071000,0],[1714108391000,0],[1714108713000,0],[1714108967000,0],[1714109287000,0],[1714109607000,0],[1714109863000,0],[1714110183000,0],[1714110503000,0],[1714110759000,0],[1714111079000,0],[1714111399000,0],[1714111653000,0],[1714111975000,0],[1714112295000,1.35],[1714112551000,2.088],[1714112871000,2.016],[1714113191000,3.6],[1714113511000,2.79],[1714113770000,2.304],[1714114087000,0.288],[1714114407000,0.09],[1714114663000,0.36],[1714114983000,1.8],[1714115303000,1.71],[1714115559000,1.944],[1714115879000,4.032],[1714116199000,2.34],[1714116454000,2.304],[1714116775000,0.144],[1714117095000,6.66],[1714117351000,0.36],[1714117671000,1.368],[1714117991000,0.432],[1714118311000,0],[1714118567000,0.504],[1714118887000,0.792],[1714119207000,0.54],[1714119463000,0.288],[1714119784000,0.936],[1714120104000,2.52],[1714120359000,2.88],[1714120679000,2.808],[1714120999000,4.59],[1714121254000,3.312],[1714121575000,3.744],[1714121895000,5.13],[1714122151000,6.192],[1714122472000,2.88],[1714122791000,5.616],[1714123111000,2.88],[1714123367000,2.88],[1714123703000,2.61],[1714123959000,2.232],[1714124280000,6.12],[1714124599000,2.79],[1714124853000,2.448],[1714125175000,5.256],[1714125495000,0.63],[1714125754000,2.88],[1714126086000,3.6],[1714126406000,5.4],[1714126662000,3.816],[1714126982000,4.32],[1714127302000,5.49],[1714127556000,3.888],[1714127878000,3.024],[1714128198000,5.58],[1714128453000,6.336],[1714128791000,4.032],[1714129111000,1.53],[1714129366000,2.664],[1714129686000,1.656],[1714130007000,5.76],[1714130262000,5.112],[1714130583000,6.048],[1714130903000,4.86],[1714131174000,4.464],[1714131495000,1.08],[1714131750000,1.656],[1714132070000,3.672],[1714132390000,3.24],[1714132679000,1.584],[1714132998000,2.61],[1714133270000,3.456],[1714133590000,3.816],[1714133910000,5.04],[1714134202000,0.81],[1714134910000,4.920000012],[1714135110000,3.78],[1714135367000,6.84],[1714135712000,6.84],[1714135974000,5.184],[1714136294000,2.279999988],[1714137104000,13.32],[1714137175000,9.864],[1714137510000,4.23],[1714137766000,2.088],[1714138087000,3.168],[1714138406000,3.15],[1714138678000,1.44],[1714138986000,1.89],[1714139254000,2.88],[1714139574000,3.816],[1714140010000,2.16],[1714140238000,3.24],[1714140502000,0.81],[1714140777000,4.104],[1714141111000,6.57],[1714141383000,3.024],[1714141703000,3.06],[1714141976000,3.744],[1714142310000,2.43],[1714142566000,2.016],[1714142886000,2.52],[1714143226000,0.09],[1714143509000,1.62],[1714143765000,0.18],[1714144063000,1.224],[1714144405000,1.53],[1714144653000,1.584],[1714144965000,0.72],[1714145285000,4.104],[1714145605000,1.44],[1714145861000,5.904],[1714146181000,3.096],[1714146501000,1.53],[1714146753000,6.408],[1714147063000,4.968],[1714147398000,4.32],[1714147653000,2.952],[1714147991000,2.232],[1714148310000,0.09],[1714148639000,0.63],[1714148901000,0.63],[1714149153000,0],[1714149453000,0],[1714149781000,0.576],[1714150101000,1.89],[1714150357000,2.16],[1714150677000,2.16],[1714151005000,2.16],[1714151269000,1.512],[1714151589000,1.26],[1714151861000,0],[1714152181000,1.08],[1714152501000,0.63],[1714152783000,1.8],[1714153110000,2.16],[1714153366000,1.872],[1714153686000,1.152],[1714154006000,2.61],[1714154262000,0.432],[1714154582000,0],[1714154984000,0],[1714155174000,0],[1714155453000,0],[1714155782000,0],[1714156155000,0.240000012],[1714156358000,0.144],[1714156678000,0],[1714156998000,0],[1714157254000,0],[1714157576000,0],[1714157889000,0],[1714158150000,0],[1714158470000,0],[1714158789000,0],[1714159109000,0],[1714159365000,0],[1714159685000,0],[1714160005000,0],[1714160261000,0],[1714160581000,0],[1714160854000,0],[1714161174000,0],[1714161494000,0],[1714161750000,0],[1714162070000,0],[1714162390000,0],[1714162710000,0],[1714162966000,0],[1714163286000,0],[1714163606000,0],[1714163862000,0],[1714164198000,0],[1714164454000,0],[1714164774000,0],[1714165094000,0],[1714165354000,0],[1714165686000,0],[1714165957000,0],[1714166277000,1.224],[1714166597000,0],[1714166853000,0],[1714167173000,0],[1714167493000,0],[1714167813000,0],[1714168069000,0],[1714168389000,0],[1714168710000,0],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1714082423000,0],[1714082551000,0],[1714082871000,1.512],[1714083207000,0.63],[1714083462000,0],[1714083782000,0],[1714084053000,0],[1714084391000,0],[1714084711000,0],[1714084967000,0],[1714085287000,0],[1714085607000,0],[1714085863000,0],[1714086183000,0],[1714086503000,0],[1714086759000,0],[1714087078000,0],[1714087398000,0],[1714087652000,0],[1714087959000,0],[1714088279000,0],[1714088599000,0],[1714088853000,0],[1714089175000,0],[1714089495000,0],[1714089751000,0],[1714090071000,0],[1714090391000,0],[1714090711000,1.26],[1714090967000,0.504],[1714091287000,0],[1714091607000,0.63],[1714091863000,0],[1714092183000,0],[1714092503000,0],[1714092759000,0],[1714093095000,0],[1714093351000,0],[1714093671000,0],[1714093991000,0],[1714094311000,0],[1714094569000,0],[1714094887000,0],[1714095207000,0],[1714095463000,0],[1714095783000,0],[1714096103000,0],[1714096359000,0],[1714096679000,0],[1714096999000,0],[1714097253000,0],[1714097575000,0],[1714097895000,0],[1714098151000,0],[1714098471000,0],[1714098791000,0],[1714099112000,0],[1714099367000,0],[1714099687000,0],[1714100008000,0],[1714100263000,0],[1714100583000,0],[1714100903000,0],[1714101159000,0],[1714101479000,0],[1714101799000,0],[1714102053000,0],[1714102375000,0],[1714102695000,0],[1714102951000,0],[1714103271000,0],[1714103591000,0],[1714103911000,0],[1714104167000,0],[1714104487000,0],[1714104807000,0],[1714105063000,0],[1714105383000,0],[1714105703000,0],[1714105959000,0],[1714106280000,0],[1714106599000,0],[1714106854000,0],[1714107175000,0],[1714107495000,0],[1714107751000,0],[1714108071000,0],[1714108391000,0],[1714108713000,0],[1714108967000,0],[1714109287000,0],[1714109607000,0],[1714109863000,0],[1714110183000,0],[1714110503000,0],[1714110759000,0],[1714111079000,0],[1714111399000,0],[1714111653000,0],[1714111975000,0],[1714112295000,1.89],[1714112551000,3.528],[1714112871000,3.024],[1714113191000,5.04],[1714113511000,4.41],[1714113770000,3.528],[1714114087000,1.512],[1714114407000,0.63],[1714114663000,1.008],[1714114983000,3.024],[1714115303000,3.15],[1714115559000,2.52],[1714115879000,5.544],[1714116199000,3.78],[1714116454000,3.528],[1714116775000,1.008],[1714117095000,8.19],[1714117351000,1.512],[1714117671000,2.016],[1714117991000,0.504],[1714118311000,0],[1714118567000,0.504],[1714118887000,1.008],[1714119207000,0.63],[1714119463000,0.504],[1714119784000,2.016],[1714120104000,3.15],[1714120359000,4.032],[1714120679000,4.536],[1714120999000,5.04],[1714121254000,5.04],[1714121575000,5.544],[1714121895000,5.67],[1714122151000,7.56],[1714122472000,3.528],[1714122791000,6.624],[1714123111000,3.15],[1714123367000,4.032],[1714123703000,3.78],[1714123959000,3.024],[1714124280000,7.056],[1714124599000,3.15],[1714124853000,3.024],[1714125175000,6.552],[1714125495000,1.26],[1714125754000,4.536],[1714126086000,5.544],[1714126406000,6.3],[1714126662000,4.536],[1714126982000,6.048],[1714127302000,6.93],[1714127556000,4.536],[1714127878000,3.528],[1714128198000,6.93],[1714128453000,6.552],[1714128791000,4.536],[1714129111000,3.15],[1714129366000,3.528],[1714129686000,3.024],[1714130007000,7.56],[1714130262000,7.056],[1714130583000,7.128],[1714130903000,7.02],[1714131174000,7.056],[1714131495000,2.52],[1714131750000,3.024],[1714132070000,5.544],[1714132390000,4.41],[1714132679000,3.024],[1714132998000,5.04],[1714133270000,5.04],[1714133590000,5.544],[1714133910000,5.879999988],[1714134202000,2.52],[1714134910000,6.720000012],[1714135110000,5.04],[1714135367000,8.64],[1714135712000,8.19],[1714135974000,6.624],[1714136294000,2.52],[1714137104000,15.48],[1714137175000,11.736],[1714137510000,5.67],[1714137766000,3.024],[1714138087000,5.04],[1714138406000,4.41],[1714138678000,3.15],[1714138986000,3.15],[1714139254000,3.528],[1714139574000,4.536],[1714140010000,2.52],[1714140238000,5.04],[1714140502000,1.89],[1714140777000,5.04],[1714141111000,10.17],[1714141383000,4.608],[1714141703000,3.78],[1714141976000,6.12],[1714142310000,5.04],[1714142566000,3.024],[1714142886000,4.032],[1714143226000,0.63],[1714143509000,2.52],[1714143765000,1.26],[1714144063000,2.52],[1714144405000,2.52],[1714144653000,3.528],[1714144965000,1.512],[1714145285000,5.616],[1714145605000,1.89],[1714145861000,8.136],[1714146181000,4.536],[1714146501000,3.15],[1714146753000,7.56],[1714147063000,6.552],[1714147398000,6.3],[1714147653000,4.536],[1714147991000,3.024],[1714148310000,0.63],[1714148639000,0.63],[1714148901000,0.63],[1714149153000,0],[1714149453000,0],[1714149781000,1.512],[1714150101000,2.52],[1714150357000,3.024],[1714150677000,3.024],[1714151005000,2.52],[1714151269000,2.52],[1714151589000,1.89],[1714151861000,0],[1714152181000,2.016],[1714152501000,1.89],[1714152783000,2.016],[1714153110000,2.52],[1714153366000,2.52],[1714153686000,2.016],[1714154006000,3.15],[1714154262000,0.504],[1714154582000,0],[1714154984000,0],[1714155174000,0],[1714155453000,0],[1714155782000,0],[1714156155000,0.839999988],[1714156358000,0.504],[1714156678000,0],[1714156998000,0],[1714157254000,0],[1714157576000,0],[1714157889000,0],[1714158150000,0],[1714158470000,0],[1714158789000,0],[1714159109000,0],[1714159365000,0],[1714159685000,0],[1714160005000,0],[1714160261000,0],[1714160581000,0],[1714160854000,0],[1714161174000,0],[1714161494000,0],[1714161750000,0],[1714162070000,0],[1714162390000,0],[1714162710000,0],[1714162966000,0],[1714163286000,0],[1714163606000,0],[1714163862000,0],[1714164198000,0],[1714164454000,0],[1714164774000,0],[1714165094000,0],[1714165354000,0],[1714165686000,0],[1714165957000,0],[1714166277000,1.512],[1714166597000,0],[1714166853000,0],[1714167173000,0],[1714167493000,0],[1714167813000,0],[1714168069000,0],[1714168389000,0],[1714168710000,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: [[1714082423000,311.00000000],[1714082551000,310.00000000],[1714082871000,290.20000000],[1714083207000,281.00000000],[1714083462000,287.00000000],[1714083782000,287.00000000],[1714084053000,287.00000000],[1714084391000,287.00000000],[1714084711000,287.00000000],[1714084967000,292.40000000],[1714085287000,323.20000000],[1714085607000,315.25000000],[1714085863000,293.40000000],[1714086183000,286.00000000],[1714086503000,287.00000000],[1714086759000,287.00000000],[1714087078000,287.00000000],[1714087398000,287.00000000],[1714087652000,287.00000000],[1714087959000,287.00000000],[1714088279000,287.00000000],[1714088599000,287.00000000],[1714088853000,287.00000000],[1714089175000,290.40000000],[1714089495000,311.00000000],[1714089751000,304.20000000],[1714090071000,304.00000000],[1714090391000,304.00000000],[1714090711000,291.25000000],[1714090967000,286.80000000],[1714091287000,287.00000000],[1714091607000,319.75000000],[1714091863000,316.80000000],[1714092183000,317.60000000],[1714092503000,323.00000000],[1714092759000,319.20000000],[1714093095000,318.00000000],[1714093351000,318.00000000],[1714093671000,318.00000000],[1714093991000,318.00000000],[1714094311000,318.25000000],[1714094569000,318.20000000],[1714094887000,319.00000000],[1714095207000,318.25000000],[1714095463000,318.00000000],[1714095783000,282.60000000],[1714096103000,276.25000000],[1714096359000,281.00000000],[1714096679000,305.60000000],[1714096999000,330.75000000],[1714097253000,312.20000000],[1714097575000,312.00000000],[1714097895000,312.00000000],[1714098151000,312.00000000],[1714098471000,312.00000000],[1714098791000,310.20000000],[1714099112000,307.00000000],[1714099367000,307.00000000],[1714099687000,307.00000000],[1714100008000,307.00000000],[1714100263000,307.00000000],[1714100583000,307.00000000],[1714100903000,307.00000000],[1714101159000,306.00000000],[1714101479000,307.00000000],[1714101799000,307.00000000],[1714102053000,307.00000000],[1714102375000,307.00000000],[1714102695000,307.00000000],[1714102951000,307.00000000],[1714103271000,307.00000000],[1714103591000,307.00000000],[1714103911000,306.00000000],[1714104167000,306.00000000],[1714104487000,306.00000000],[1714104807000,306.00000000],[1714105063000,306.00000000],[1714105383000,302.20000000],[1714105703000,301.00000000],[1714105959000,301.00000000],[1714106280000,301.00000000],[1714106599000,303.00000000],[1714106854000,276.00000000],[1714107175000,277.00000000],[1714107495000,283.00000000],[1714107751000,283.00000000],[1714108071000,303.60000000],[1714108391000,306.80000000],[1714108713000,273.50000000],[1714108967000,274.60000000],[1714109287000,278.00000000],[1714109607000,276.00000000],[1714109863000,287.80000000],[1714110183000,307.40000000],[1714110503000,312.50000000],[1714110759000,298.00000000],[1714111079000,277.00000000],[1714111399000,258.00000000],[1714111653000,332.60000000],[1714111975000,317.20000000],[1714112295000,259.50000000],[1714112551000,267.60000000],[1714112871000,263.80000000],[1714113191000,146.80000000],[1714113511000,162.75000000],[1714113770000,196.20000000],[1714114087000,291.60000000],[1714114407000,286.50000000],[1714114663000,311.40000000],[1714114983000,230.40000000],[1714115303000,222.25000000],[1714115559000,212.80000000],[1714115879000,222.60000000],[1714116199000,191.50000000],[1714116454000,248.00000000],[1714116775000,309.60000000],[1714117095000,51.25000000],[1714117351000,292.20000000],[1714117671000,261.40000000],[1714117991000,303.80000000],[1714118311000,313.50000000],[1714118567000,322.60000000],[1714118887000,266.00000000],[1714119207000,333.50000000],[1714119463000,303.60000000],[1714119784000,243.60000000],[1714120104000,239.75000000],[1714120359000,216.00000000],[1714120679000,239.60000000],[1714120999000,213.00000000],[1714121254000,258.40000000],[1714121575000,248.80000000],[1714121895000,239.50000000],[1714122151000,219.00000000],[1714122472000,257.40000000],[1714122791000,248.60000000],[1714123111000,280.75000000],[1714123367000,272.60000000],[1714123703000,248.75000000],[1714123959000,267.20000000],[1714124280000,251.20000000],[1714124599000,256.25000000],[1714124853000,246.40000000],[1714125175000,239.40000000],[1714125495000,270.00000000],[1714125754000,278.80000000],[1714126086000,266.60000000],[1714126406000,252.50000000],[1714126662000,255.60000000],[1714126982000,262.20000000],[1714127302000,268.75000000],[1714127556000,307.80000000],[1714127878000,297.20000000],[1714128198000,225.75000000],[1714128453000,232.00000000],[1714128791000,248.40000000],[1714129111000,280.50000000],[1714129366000,275.60000000],[1714129686000,305.60000000],[1714130007000,268.75000000],[1714130262000,273.80000000],[1714130583000,261.20000000],[1714130903000,226.25000000],[1714131174000,125.20000000],[1714131495000,224.50000000],[1714131750000,238.60000000],[1714132070000,120.60000000],[1714132390000,219.75000000],[1714132679000,255.00000000],[1714132998000,250.75000000],[1714133270000,276.20000000],[1714133590000,156.00000000],[1714133910000,171.00000000],[1714134202000,243.50000000],[1714134910000,201.00000000],[1714135110000,222.00000000],[1714135367000,200.40000000],[1714135712000,206.25000000],[1714135974000,225.20000000],[1714136294000,228.33333333],[1714137104000,186.00000000],[1714137175000,190.20000000],[1714137510000,253.25000000],[1714137766000,251.00000000],[1714138087000,227.20000000],[1714138406000,274.75000000],[1714138678000,252.25000000],[1714138986000,247.25000000],[1714139254000,230.40000000],[1714139574000,232.20000000],[1714140010000,276.00000000],[1714140238000,236.75000000],[1714140502000,301.75000000],[1714140777000,228.80000000],[1714141111000,191.25000000],[1714141383000,234.00000000],[1714141703000,239.75000000],[1714141976000,261.20000000],[1714142310000,198.50000000],[1714142566000,269.20000000],[1714142886000,185.40000000],[1714143226000,271.00000000],[1714143509000,261.00000000],[1714143765000,282.50000000],[1714144063000,237.80000000],[1714144405000,255.25000000],[1714144653000,253.00000000],[1714144965000,257.40000000],[1714145285000,213.60000000],[1714145605000,255.75000000],[1714145861000,210.60000000],[1714146181000,226.20000000],[1714146501000,255.75000000],[1714146753000,206.20000000],[1714147063000,208.40000000],[1714147398000,234.75000000],[1714147653000,228.80000000],[1714147991000,258.40000000],[1714148310000,291.25000000],[1714148639000,287.50000000],[1714148901000,283.00000000],[1714149153000,310.60000000],[1714149453000,316.40000000],[1714149781000,339.00000000],[1714150101000,266.75000000],[1714150357000,287.60000000],[1714150677000,212.60000000],[1714151005000,353.75000000],[1714151269000,202.20000000],[1714151589000,319.50000000],[1714151861000,332.80000000],[1714152181000,341.20000000],[1714152501000,320.75000000],[1714152783000,334.60000000],[1714153110000,346.00000000],[1714153366000,341.00000000],[1714153686000,335.40000000],[1714154006000,264.50000000],[1714154262000,322.80000000],[1714154582000,317.00000000],[1714154984000,317.00000000],[1714155174000,317.00000000],[1714155453000,317.00000000],[1714155782000,317.00000000],[1714156155000,327.66666667],[1714156358000,323.40000000],[1714156678000,328.00000000],[1714156998000,328.00000000],[1714157254000,328.00000000],[1714157576000,328.00000000],[1714157889000,328.00000000],[1714158150000,328.00000000],[1714158470000,328.00000000],[1714158789000,328.00000000],[1714159109000,328.00000000],[1714159365000,328.00000000],[1714159685000,328.00000000],[1714160005000,328.00000000],[1714160261000,328.00000000],[1714160581000,328.00000000],[1714160854000,328.00000000],[1714161174000,328.00000000],[1714161494000,328.00000000],[1714161750000,328.00000000],[1714162070000,328.00000000],[1714162390000,327.60000000],[1714162710000,327.50000000],[1714162966000,327.80000000],[1714163286000,328.00000000],[1714163606000,327.25000000],[1714163862000,327.00000000],[1714164198000,327.75000000],[1714164454000,328.00000000],[1714164774000,327.00000000],[1714165094000,327.00000000],[1714165354000,292.40000000],[1714165686000,313.75000000],[1714165957000,291.40000000],[1714166277000,280.00000000],[1714166597000,287.50000000],[1714166853000,296.00000000],[1714167173000,288.80000000],[1714167493000,289.00000000],[1714167813000,289.00000000],[1714168069000,289.00000000],[1714168389000,289.80000000],[1714168710000,289.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: [[1714082423000,0.00000000],[1714082551000,0.00000000],[1714082871000,0.00000000],[1714083207000,0.00000000],[1714083462000,0.00000000],[1714083782000,0.00000000],[1714084053000,0.00000000],[1714084391000,0.00000000],[1714084711000,0.00000000],[1714084967000,0.00000000],[1714085287000,0.00000000],[1714085607000,0.00000000],[1714085863000,0.00000000],[1714086183000,0.00000000],[1714086503000,0.00000000],[1714086759000,0.00000000],[1714087078000,0.00000000],[1714087398000,0.00000000],[1714087652000,0.00000000],[1714087959000,0.00000000],[1714088279000,0.00000000],[1714088599000,0.00000000],[1714088853000,0.00000000],[1714089175000,0.00000000],[1714089495000,0.00000000],[1714089751000,0.00000000],[1714090071000,0.00000000],[1714090391000,0.00000000],[1714090711000,0.00000000],[1714090967000,0.00000000],[1714091287000,0.00000000],[1714091607000,0.00000000],[1714091863000,0.00000000],[1714092183000,0.00000000],[1714092503000,0.00000000],[1714092759000,0.00000000],[1714093095000,0.00000000],[1714093351000,0.00000000],[1714093671000,0.00000000],[1714093991000,0.00000000],[1714094311000,0.00000000],[1714094569000,0.00000000],[1714094887000,0.00000000],[1714095207000,0.00000000],[1714095463000,0.00000000],[1714095783000,0.00000000],[1714096103000,0.00000000],[1714096359000,0.00000000],[1714096679000,0.00000000],[1714096999000,0.00000000],[1714097253000,0.00000000],[1714097575000,0.00000000],[1714097895000,0.00000000],[1714098151000,0.00000000],[1714098471000,0.00000000],[1714098791000,0.00000000],[1714099112000,0.00000000],[1714099367000,0.00000000],[1714099687000,0.00000000],[1714100008000,0.00000000],[1714100263000,0.00000000],[1714100583000,0.00000000],[1714100903000,0.00000000],[1714101159000,0.00000000],[1714101479000,0.40000000],[1714101799000,1.00000000],[1714102053000,1.60000000],[1714102375000,2.60000000],[1714102695000,3.75000000],[1714102951000,5.40000000],[1714103271000,7.20000000],[1714103591000,9.60000000],[1714103911000,11.50000000],[1714104167000,13.80000000],[1714104487000,15.80000000],[1714104807000,17.75000000],[1714105063000,19.40000000],[1714105383000,21.40000000],[1714105703000,23.25000000],[1714105959000,24.80000000],[1714106280000,27.00000000],[1714106599000,28.25000000],[1714106854000,29.00000000],[1714107175000,36.20000000],[1714107495000,53.00000000],[1714107751000,59.00000000],[1714108071000,62.00000000],[1714108391000,80.00000000],[1714108713000,76.75000000],[1714108967000,77.80000000],[1714109287000,91.00000000],[1714109607000,94.50000000],[1714109863000,80.40000000],[1714110183000,72.40000000],[1714110503000,72.25000000],[1714110759000,83.60000000],[1714111079000,81.40000000],[1714111399000,84.25000000],[1714111653000,107.00000000],[1714111975000,150.80000000],[1714112295000,151.00000000],[1714112551000,213.40000000],[1714112871000,194.00000000],[1714113191000,241.20000000],[1714113511000,184.25000000],[1714113770000,181.60000000],[1714114087000,193.40000000],[1714114407000,186.50000000],[1714114663000,194.20000000],[1714114983000,247.80000000],[1714115303000,221.50000000],[1714115559000,204.60000000],[1714115879000,167.80000000],[1714116199000,208.75000000],[1714116454000,215.00000000],[1714116775000,236.60000000],[1714117095000,176.00000000],[1714117351000,183.20000000],[1714117671000,160.20000000],[1714117991000,116.00000000],[1714118311000,72.75000000],[1714118567000,55.00000000],[1714118887000,71.80000000],[1714119207000,130.50000000],[1714119463000,427.20000000],[1714119784000,316.40000000],[1714120104000,294.25000000],[1714120359000,309.40000000],[1714120679000,339.60000000],[1714120999000,412.50000000],[1714121254000,381.60000000],[1714121575000,267.00000000],[1714121895000,300.75000000],[1714122151000,230.00000000],[1714122472000,160.60000000],[1714122791000,157.00000000],[1714123111000,185.00000000],[1714123367000,152.20000000],[1714123703000,164.50000000],[1714123959000,199.80000000],[1714124280000,266.20000000],[1714124599000,232.75000000],[1714124853000,215.00000000],[1714125175000,270.80000000],[1714125495000,242.25000000],[1714125754000,168.80000000],[1714126086000,122.00000000],[1714126406000,172.50000000],[1714126662000,233.80000000],[1714126982000,188.20000000],[1714127302000,211.00000000],[1714127556000,268.00000000],[1714127878000,330.20000000],[1714128198000,227.75000000],[1714128453000,243.60000000],[1714128791000,302.40000000],[1714129111000,384.00000000],[1714129366000,449.40000000],[1714129686000,637.60000000],[1714130007000,484.25000000],[1714130262000,637.20000000],[1714130583000,644.20000000],[1714130903000,358.75000000],[1714131174000,360.40000000],[1714131495000,407.50000000],[1714131750000,399.80000000],[1714132070000,367.20000000],[1714132390000,351.25000000],[1714132679000,496.80000000],[1714132998000,395.25000000],[1714133270000,503.80000000],[1714133590000,304.40000000],[1714133910000,179.00000000],[1714134202000,209.50000000],[1714134910000,144.00000000],[1714135110000,141.75000000],[1714135367000,192.60000000],[1714135712000,209.00000000],[1714135974000,173.00000000],[1714136294000,138.66666667],[1714137104000,286.00000000],[1714137175000,295.60000000],[1714137510000,475.00000000],[1714137766000,199.60000000],[1714138087000,361.60000000],[1714138406000,221.50000000],[1714138678000,143.50000000],[1714138986000,100.25000000],[1714139254000,76.20000000],[1714139574000,95.00000000],[1714140010000,93.00000000],[1714140238000,134.50000000],[1714140502000,183.00000000],[1714140777000,270.80000000],[1714141111000,186.00000000],[1714141383000,141.60000000],[1714141703000,190.00000000],[1714141976000,141.60000000],[1714142310000,143.50000000],[1714142566000,134.40000000],[1714142886000,123.80000000],[1714143226000,100.25000000],[1714143509000,89.75000000],[1714143765000,89.50000000],[1714144063000,83.40000000],[1714144405000,87.75000000],[1714144653000,80.60000000],[1714144965000,93.80000000],[1714145285000,108.20000000],[1714145605000,111.50000000],[1714145861000,102.20000000],[1714146181000,81.80000000],[1714146501000,71.50000000],[1714146753000,56.80000000],[1714147063000,68.00000000],[1714147398000,73.25000000],[1714147653000,66.60000000],[1714147991000,66.60000000],[1714148310000,49.00000000],[1714148639000,55.00000000],[1714148901000,55.25000000],[1714149153000,36.60000000],[1714149453000,27.60000000],[1714149781000,22.00000000],[1714150101000,18.50000000],[1714150357000,15.40000000],[1714150677000,14.60000000],[1714151005000,11.00000000],[1714151269000,6.40000000],[1714151589000,2.50000000],[1714151861000,2.60000000],[1714152181000,3.00000000],[1714152501000,3.75000000],[1714152783000,4.80000000],[1714153110000,4.50000000],[1714153366000,3.40000000],[1714153686000,2.00000000],[1714154006000,1.00000000],[1714154262000,0.20000000],[1714154582000,0.00000000],[1714154984000,0.00000000],[1714155174000,0.00000000],[1714155453000,0.00000000],[1714155782000,0.00000000],[1714156155000,0.00000000],[1714156358000,0.00000000],[1714156678000,0.00000000],[1714156998000,0.00000000],[1714157254000,0.00000000],[1714157576000,0.00000000],[1714157889000,0.00000000],[1714158150000,0.00000000],[1714158470000,0.00000000],[1714158789000,0.00000000],[1714159109000,0.00000000],[1714159365000,0.00000000],[1714159685000,0.00000000],[1714160005000,0.00000000],[1714160261000,0.00000000],[1714160581000,0.00000000],[1714160854000,0.00000000],[1714161174000,0.00000000],[1714161494000,0.00000000],[1714161750000,0.00000000],[1714162070000,0.00000000],[1714162390000,0.00000000],[1714162710000,0.00000000],[1714162966000,0.00000000],[1714163286000,0.00000000],[1714163606000,0.00000000],[1714163862000,0.00000000],[1714164198000,0.00000000],[1714164454000,0.00000000],[1714164774000,0.00000000],[1714165094000,0.00000000],[1714165354000,0.00000000],[1714165686000,0.00000000],[1714165957000,0.00000000],[1714166277000,0.00000000],[1714166597000,0.00000000],[1714166853000,0.00000000],[1714167173000,0.00000000],[1714167493000,0.00000000],[1714167813000,0.00000000],[1714168069000,0.00000000],[1714168389000,0.00000000],[1714168710000,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: [[1714082423000,0.00000000],[1714082551000,0.00000000],[1714082871000,0.00000000],[1714083207000,0.00000000],[1714083462000,0.00000000],[1714083782000,0.00000000],[1714084053000,0.00000000],[1714084391000,0.00000000],[1714084711000,0.00000000],[1714084967000,0.00000000],[1714085287000,0.00000000],[1714085607000,0.00000000],[1714085863000,0.00000000],[1714086183000,0.00000000],[1714086503000,0.00000000],[1714086759000,0.00000000],[1714087078000,0.00000000],[1714087398000,0.00000000],[1714087652000,0.00000000],[1714087959000,0.00000000],[1714088279000,0.00000000],[1714088599000,0.00000000],[1714088853000,0.00000000],[1714089175000,0.00000000],[1714089495000,0.00000000],[1714089751000,0.00000000],[1714090071000,0.00000000],[1714090391000,0.00000000],[1714090711000,0.00000000],[1714090967000,0.00000000],[1714091287000,0.00000000],[1714091607000,0.00000000],[1714091863000,0.00000000],[1714092183000,0.00000000],[1714092503000,0.00000000],[1714092759000,0.00000000],[1714093095000,0.00000000],[1714093351000,0.00000000],[1714093671000,0.00000000],[1714093991000,0.00000000],[1714094311000,0.00000000],[1714094569000,0.00000000],[1714094887000,0.00000000],[1714095207000,0.00000000],[1714095463000,0.00000000],[1714095783000,0.00000000],[1714096103000,0.00000000],[1714096359000,0.00000000],[1714096679000,0.00000000],[1714096999000,0.00000000],[1714097253000,0.00000000],[1714097575000,0.00000000],[1714097895000,0.00000000],[1714098151000,0.00000000],[1714098471000,0.00000000],[1714098791000,0.00000000],[1714099112000,0.00000000],[1714099367000,0.00000000],[1714099687000,0.00000000],[1714100008000,0.00000000],[1714100263000,0.00000000],[1714100583000,0.00000000],[1714100903000,0.00000000],[1714101159000,0.00000000],[1714101479000,0.00000000],[1714101799000,0.00000000],[1714102053000,0.00000000],[1714102375000,0.00000000],[1714102695000,0.00000000],[1714102951000,0.00000000],[1714103271000,0.00000000],[1714103591000,0.00000000],[1714103911000,0.00000000],[1714104167000,0.00000000],[1714104487000,0.00000000],[1714104807000,0.00000000],[1714105063000,0.00000000],[1714105383000,0.00000000],[1714105703000,0.00000000],[1714105959000,0.00000000],[1714106280000,0.00000000],[1714106599000,0.00000000],[1714106854000,0.00000000],[1714107175000,0.00000000],[1714107495000,0.00000000],[1714107751000,0.00000000],[1714108071000,0.00000000],[1714108391000,0.00000000],[1714108713000,0.00000000],[1714108967000,0.00000000],[1714109287000,0.00000000],[1714109607000,0.00000000],[1714109863000,0.00000000],[1714110183000,0.00000000],[1714110503000,0.00000000],[1714110759000,0.00000000],[1714111079000,0.00000000],[1714111399000,0.00000000],[1714111653000,0.60000000],[1714111975000,1.00000000],[1714112295000,1.00000000],[1714112551000,1.60000000],[1714112871000,1.20000000],[1714113191000,1.80000000],[1714113511000,1.00000000],[1714113770000,1.00000000],[1714114087000,1.00000000],[1714114407000,1.00000000],[1714114663000,1.00000000],[1714114983000,2.00000000],[1714115303000,2.00000000],[1714115559000,1.20000000],[1714115879000,1.00000000],[1714116199000,1.50000000],[1714116454000,1.60000000],[1714116775000,1.60000000],[1714117095000,1.00000000],[1714117351000,1.00000000],[1714117671000,1.00000000],[1714117991000,0.80000000],[1714118311000,0.00000000],[1714118567000,0.00000000],[1714118887000,0.00000000],[1714119207000,0.75000000],[1714119463000,3.60000000],[1714119784000,2.40000000],[1714120104000,2.25000000],[1714120359000,2.40000000],[1714120679000,3.00000000],[1714120999000,3.50000000],[1714121254000,3.20000000],[1714121575000,2.00000000],[1714121895000,2.25000000],[1714122151000,1.80000000],[1714122472000,1.00000000],[1714122791000,1.00000000],[1714123111000,1.00000000],[1714123367000,1.00000000],[1714123703000,1.00000000],[1714123959000,1.40000000],[1714124280000,2.00000000],[1714124599000,2.00000000],[1714124853000,2.00000000],[1714125175000,2.20000000],[1714125495000,2.00000000],[1714125754000,1.20000000],[1714126086000,1.00000000],[1714126406000,1.25000000],[1714126662000,2.00000000],[1714126982000,1.00000000],[1714127302000,1.75000000],[1714127556000,2.00000000],[1714127878000,2.80000000],[1714128198000,2.00000000],[1714128453000,2.00000000],[1714128791000,2.20000000],[1714129111000,3.25000000],[1714129366000,3.80000000],[1714129686000,5.80000000],[1714130007000,4.25000000],[1714130262000,5.60000000],[1714130583000,5.80000000],[1714130903000,3.00000000],[1714131174000,3.00000000],[1714131495000,3.25000000],[1714131750000,3.20000000],[1714132070000,3.20000000],[1714132390000,3.00000000],[1714132679000,4.40000000],[1714132998000,3.25000000],[1714133270000,4.40000000],[1714133590000,2.40000000],[1714133910000,1.00000000],[1714134202000,2.00000000],[1714134910000,1.00000000],[1714135110000,1.00000000],[1714135367000,1.40000000],[1714135712000,1.50000000],[1714135974000,1.00000000],[1714136294000,1.00000000],[1714137104000,2.00000000],[1714137175000,2.20000000],[1714137510000,4.00000000],[1714137766000,1.40000000],[1714138087000,3.00000000],[1714138406000,1.50000000],[1714138678000,1.00000000],[1714138986000,0.50000000],[1714139254000,0.00000000],[1714139574000,0.20000000],[1714140010000,0.00000000],[1714140238000,1.00000000],[1714140502000,1.00000000],[1714140777000,2.00000000],[1714141111000,1.25000000],[1714141383000,1.00000000],[1714141703000,1.25000000],[1714141976000,1.00000000],[1714142310000,1.00000000],[1714142566000,1.00000000],[1714142886000,1.00000000],[1714143226000,0.50000000],[1714143509000,0.00000000],[1714143765000,0.00000000],[1714144063000,0.00000000],[1714144405000,0.00000000],[1714144653000,0.00000000],[1714144965000,0.40000000],[1714145285000,1.00000000],[1714145605000,1.00000000],[1714145861000,0.60000000],[1714146181000,0.00000000],[1714146501000,0.00000000],[1714146753000,0.00000000],[1714147063000,0.00000000],[1714147398000,0.00000000],[1714147653000,0.00000000],[1714147991000,0.00000000],[1714148310000,0.00000000],[1714148639000,0.00000000],[1714148901000,0.00000000],[1714149153000,0.00000000],[1714149453000,0.00000000],[1714149781000,0.00000000],[1714150101000,0.00000000],[1714150357000,0.00000000],[1714150677000,0.00000000],[1714151005000,0.00000000],[1714151269000,0.00000000],[1714151589000,0.00000000],[1714151861000,0.00000000],[1714152181000,0.00000000],[1714152501000,0.00000000],[1714152783000,0.00000000],[1714153110000,0.00000000],[1714153366000,0.00000000],[1714153686000,0.00000000],[1714154006000,0.00000000],[1714154262000,0.00000000],[1714154582000,0.00000000],[1714154984000,0.00000000],[1714155174000,0.00000000],[1714155453000,0.00000000],[1714155782000,0.00000000],[1714156155000,0.00000000],[1714156358000,0.00000000],[1714156678000,0.00000000],[1714156998000,0.00000000],[1714157254000,0.00000000],[1714157576000,0.00000000],[1714157889000,0.00000000],[1714158150000,0.00000000],[1714158470000,0.00000000],[1714158789000,0.00000000],[1714159109000,0.00000000],[1714159365000,0.00000000],[1714159685000,0.00000000],[1714160005000,0.00000000],[1714160261000,0.00000000],[1714160581000,0.00000000],[1714160854000,0.00000000],[1714161174000,0.00000000],[1714161494000,0.00000000],[1714161750000,0.00000000],[1714162070000,0.00000000],[1714162390000,0.00000000],[1714162710000,0.00000000],[1714162966000,0.00000000],[1714163286000,0.00000000],[1714163606000,0.00000000],[1714163862000,0.00000000],[1714164198000,0.00000000],[1714164454000,0.00000000],[1714164774000,0.00000000],[1714165094000,0.00000000],[1714165354000,0.00000000],[1714165686000,0.00000000],[1714165957000,0.00000000],[1714166277000,0.00000000],[1714166597000,0.00000000],[1714166853000,0.00000000],[1714167173000,0.00000000],[1714167493000,0.00000000],[1714167813000,0.00000000],[1714168069000,0.00000000],[1714168389000,0.00000000],[1714168710000,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: [[1714082423000,0.00000000],[1714082551000,0.00000000],[1714082871000,0.00000000],[1714083207000,0.00000000],[1714083462000,0.00000000],[1714083782000,0.00000000],[1714084053000,0.00000000],[1714084391000,0.00000000],[1714084711000,0.00000000],[1714084967000,0.00000000],[1714085287000,0.00000000],[1714085607000,0.00000000],[1714085863000,0.00000000],[1714086183000,0.00000000],[1714086503000,0.00000000],[1714086759000,0.00000000],[1714087078000,0.00000000],[1714087398000,0.00000000],[1714087652000,0.00000000],[1714087959000,0.00000000],[1714088279000,0.00000000],[1714088599000,0.00000000],[1714088853000,0.00000000],[1714089175000,0.00000000],[1714089495000,0.00000000],[1714089751000,0.00000000],[1714090071000,0.00000000],[1714090391000,0.00000000],[1714090711000,0.00000000],[1714090967000,0.00000000],[1714091287000,0.00000000],[1714091607000,0.00000000],[1714091863000,0.00000000],[1714092183000,0.00000000],[1714092503000,0.00000000],[1714092759000,0.00000000],[1714093095000,0.00000000],[1714093351000,0.00000000],[1714093671000,0.00000000],[1714093991000,0.00000000],[1714094311000,0.00000000],[1714094569000,0.00000000],[1714094887000,0.00000000],[1714095207000,0.00000000],[1714095463000,0.00000000],[1714095783000,0.00000000],[1714096103000,0.00000000],[1714096359000,0.00000000],[1714096679000,0.00000000],[1714096999000,0.00000000],[1714097253000,0.00000000],[1714097575000,0.00000000],[1714097895000,0.00000000],[1714098151000,0.00000000],[1714098471000,0.00000000],[1714098791000,0.00000000],[1714099112000,0.00000000],[1714099367000,0.00000000],[1714099687000,0.00000000],[1714100008000,0.00000000],[1714100263000,0.00000000],[1714100583000,0.00000000],[1714100903000,0.00000000],[1714101159000,0.00000000],[1714101479000,0.00000000],[1714101799000,0.00000000],[1714102053000,0.00000000],[1714102375000,0.00000000],[1714102695000,0.00000000],[1714102951000,0.00000000],[1714103271000,0.00000000],[1714103591000,0.00000000],[1714103911000,0.00000000],[1714104167000,0.00000000],[1714104487000,0.00000000],[1714104807000,0.00000000],[1714105063000,0.00000000],[1714105383000,0.00000000],[1714105703000,0.00000000],[1714105959000,0.00000000],[1714106280000,0.00000000],[1714106599000,0.00000000],[1714106854000,0.00000000],[1714107175000,0.00000000],[1714107495000,0.00000000],[1714107751000,0.00000000],[1714108071000,0.00000000],[1714108391000,0.00000000],[1714108713000,0.00000000],[1714108967000,0.00000000],[1714109287000,0.00000000],[1714109607000,0.00000000],[1714109863000,0.00000000],[1714110183000,0.00000000],[1714110503000,0.00000000],[1714110759000,0.00000000],[1714111079000,0.00000000],[1714111399000,0.00000000],[1714111653000,0.00000000],[1714111975000,0.00000000],[1714112295000,0.00000000],[1714112551000,0.00000000],[1714112871000,0.00000000],[1714113191000,0.00000000],[1714113511000,0.00000000],[1714113770000,0.00000000],[1714114087000,0.00000000],[1714114407000,0.00000000],[1714114663000,0.00000000],[1714114983000,0.00000000],[1714115303000,0.00000000],[1714115559000,0.00000000],[1714115879000,0.00000000],[1714116199000,0.00000000],[1714116454000,0.00000000],[1714116775000,0.00000000],[1714117095000,0.00000000],[1714117351000,0.00000000],[1714117671000,0.00000000],[1714117991000,0.00000000],[1714118311000,0.00000000],[1714118567000,0.00000000],[1714118887000,0.00000000],[1714119207000,0.00000000],[1714119463000,0.00000000],[1714119784000,0.00000000],[1714120104000,0.00000000],[1714120359000,0.00000000],[1714120679000,0.00000000],[1714120999000,0.00000000],[1714121254000,0.00000000],[1714121575000,0.00000000],[1714121895000,0.00000000],[1714122151000,0.00000000],[1714122472000,0.00000000],[1714122791000,0.00000000],[1714123111000,0.00000000],[1714123367000,0.00000000],[1714123703000,0.00000000],[1714123959000,0.00000000],[1714124280000,0.00000000],[1714124599000,0.00000000],[1714124853000,0.00000000],[1714125175000,0.00000000],[1714125495000,0.00000000],[1714125754000,0.00000000],[1714126086000,0.00000000],[1714126406000,0.00000000],[1714126662000,0.00000000],[1714126982000,0.00000000],[1714127302000,0.00000000],[1714127556000,0.00000000],[1714127878000,0.00000000],[1714128198000,0.00000000],[1714128453000,0.00000000],[1714128791000,0.00000000],[1714129111000,0.00000000],[1714129366000,0.00000000],[1714129686000,0.00000000],[1714130007000,0.00000000],[1714130262000,0.00000000],[1714130583000,0.00000000],[1714130903000,0.00000000],[1714131174000,0.00000000],[1714131495000,0.00000000],[1714131750000,0.00000000],[1714132070000,0.00000000],[1714132390000,0.00000000],[1714132679000,0.00000000],[1714132998000,0.00000000],[1714133270000,0.00000000],[1714133590000,0.00000000],[1714133910000,0.00000000],[1714134202000,0.00000000],[1714134910000,0.00000000],[1714135110000,0.00000000],[1714135367000,0.00000000],[1714135712000,0.00000000],[1714135974000,0.00000000],[1714136294000,0.00000000],[1714137104000,0.00000000],[1714137175000,0.00000000],[1714137510000,0.00000000],[1714137766000,0.00000000],[1714138087000,0.00000000],[1714138406000,0.00000000],[1714138678000,0.00000000],[1714138986000,0.00000000],[1714139254000,0.00000000],[1714139574000,0.00000000],[1714140010000,0.00000000],[1714140238000,0.00000000],[1714140502000,0.00000000],[1714140777000,0.00000000],[1714141111000,0.00000000],[1714141383000,0.00000000],[1714141703000,0.00000000],[1714141976000,0.00000000],[1714142310000,0.00000000],[1714142566000,0.00000000],[1714142886000,0.00000000],[1714143226000,0.00000000],[1714143509000,0.00000000],[1714143765000,0.00000000],[1714144063000,0.00000000],[1714144405000,0.00000000],[1714144653000,0.00000000],[1714144965000,0.00000000],[1714145285000,0.00000000],[1714145605000,0.00000000],[1714145861000,0.00000000],[1714146181000,0.00000000],[1714146501000,0.00000000],[1714146753000,0.00000000],[1714147063000,0.00000000],[1714147398000,0.00000000],[1714147653000,0.00000000],[1714147991000,0.00000000],[1714148310000,0.00000000],[1714148639000,0.00000000],[1714148901000,0.00000000],[1714149153000,0.00000000],[1714149453000,0.00000000],[1714149781000,0.00000000],[1714150101000,0.00000000],[1714150357000,0.00000000],[1714150677000,0.00000000],[1714151005000,0.00000000],[1714151269000,0.00000000],[1714151589000,0.00000000],[1714151861000,0.00000000],[1714152181000,0.00000000],[1714152501000,0.00000000],[1714152783000,0.00000000],[1714153110000,0.00000000],[1714153366000,0.00000000],[1714153686000,0.00000000],[1714154006000,0.00000000],[1714154262000,0.00000000],[1714154582000,0.00000000],[1714154984000,0.00000000],[1714155174000,0.00000000],[1714155453000,0.00000000],[1714155782000,0.00000000],[1714156155000,0.00000000],[1714156358000,0.00000000],[1714156678000,0.00000000],[1714156998000,0.00000000],[1714157254000,0.00000000],[1714157576000,0.00000000],[1714157889000,0.00000000],[1714158150000,0.00000000],[1714158470000,0.00000000],[1714158789000,0.00000000],[1714159109000,0.00000000],[1714159365000,0.00000000],[1714159685000,0.00000000],[1714160005000,0.00000000],[1714160261000,0.00000000],[1714160581000,0.00000000],[1714160854000,0.00000000],[1714161174000,0.00000000],[1714161494000,0.00000000],[1714161750000,0.00000000],[1714162070000,0.00000000],[1714162390000,0.00000000],[1714162710000,0.00000000],[1714162966000,0.00000000],[1714163286000,0.00000000],[1714163606000,0.00000000],[1714163862000,0.00000000],[1714164198000,0.00000000],[1714164454000,0.00000000],[1714164774000,0.00000000],[1714165094000,0.00000000],[1714165354000,0.00000000],[1714165686000,0.00000000],[1714165957000,0.00000000],[1714166277000,0.00000000],[1714166597000,0.00000000],[1714166853000,0.00000000],[1714167173000,0.00000000],[1714167493000,0.00000000],[1714167813000,0.00000000],[1714168069000,0.00000000],[1714168389000,0.00000000],[1714168710000,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; }