var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1754863260000,22.75000000],[1754863388000,22.67500000],[1754863650000,22.56000000],[1754863980000,22.46000000],[1754864300000,22.50000000],[1754864557000,22.38000000],[1754864877000,22.22000000],[1754865196000,22.05000000],[1754865453000,21.92000000],[1754865772000,21.76000000],[1754866092000,21.58000000],[1754866413000,21.42500000],[1754866668000,21.34000000],[1754866988000,21.24000000],[1754867308000,21.20000000],[1754867564000,21.20000000],[1754867884000,21.20000000],[1754868204000,21.10000000],[1754868460000,21.00000000],[1754868780000,20.94000000],[1754869101000,20.90000000],[1754869356000,20.78000000],[1754869676000,20.66000000],[1754869996000,20.57500000],[1754870252000,20.50000000],[1754870573000,20.50000000],[1754870892000,20.44000000],[1754871212000,20.32500000],[1754871468000,20.28000000],[1754871788000,20.14000000],[1754872108000,20.20000000],[1754872364000,20.02000000],[1754872684000,19.90000000],[1754872955000,19.72000000],[1754873276000,19.60000000],[1754873595000,19.55000000],[1754873851000,19.42000000],[1754874172000,19.26000000],[1754874491000,19.10000000],[1754874811000,19.00000000],[1754875067000,18.84000000],[1754875387000,18.78000000],[1754875707000,18.62500000],[1754875963000,18.48000000],[1754876283000,18.46000000],[1754876603000,18.47500000],[1754876859000,18.44000000],[1754877179000,18.40000000],[1754877499000,18.40000000],[1754877752000,18.32000000],[1754878075000,18.30000000],[1754878395000,18.22500000],[1754878651000,18.20000000],[1754878971000,18.18000000],[1754879292000,18.14000000],[1754879611000,18.20000000],[1754879867000,18.20000000],[1754880187000,18.14000000],[1754880508000,18.02500000],[1754880763000,17.78000000],[1754881083000,17.56000000],[1754881403000,17.50000000],[1754881659000,17.38000000],[1754881979000,17.30000000],[1754882299000,17.22500000],[1754882552000,17.18000000],[1754882875000,17.02000000],[1754883195000,16.82500000],[1754883452000,16.70000000],[1754883772000,16.74000000],[1754884092000,16.84000000],[1754884412000,16.87500000],[1754884668000,16.82000000],[1754884988000,16.80000000],[1754885308000,16.95000000],[1754885564000,17.18000000],[1754885884000,17.44000000],[1754886204000,17.67500000],[1754886460000,17.86000000],[1754886780000,17.98000000],[1754887101000,18.00000000],[1754887355000,18.06000000],[1754887676000,18.14000000],[1754887996000,18.25000000],[1754888252000,18.32000000],[1754888572000,18.42000000],[1754888892000,18.54000000],[1754889213000,18.65000000],[1754889468000,18.94000000],[1754889788000,19.24000000],[1754890108000,19.55000000],[1754890364000,19.70000000],[1754890684000,19.97500000],[1754890952000,20.08000000],[1754891275000,20.18000000],[1754891595000,20.47500000],[1754891851000,20.66000000],[1754892171000,20.86000000],[1754892491000,21.26000000],[1754892811000,21.25000000],[1754893067000,21.24000000],[1754893387000,21.40000000],[1754893707000,21.67500000],[1754893963000,21.64000000],[1754894283000,21.78000000],[1754894603000,22.17500000],[1754894859000,22.38000000],[1754895179000,22.96000000],[1754895499000,23.27500000],[1754895752000,23.42000000],[1754896075000,23.40000000],[1754896395000,23.67500000],[1754896651000,23.80000000],[1754896971000,23.54000000],[1754897291000,23.32000000],[1754897611000,24.12500000],[1754897867000,24.44000000],[1754898187000,24.24000000],[1754898507000,24.82500000],[1754898752000,24.78000000],[1754899083000,24.98000000],[1754899403000,25.20000000],[1754899659000,25.32000000],[1754899979000,24.98000000],[1754900299000,24.60000000],[1754900552000,24.92000000],[1754900875000,25.40000000],[1754901195000,25.10000000],[1754901451000,25.28000000],[1754901771000,25.96000000],[1754902091000,25.30000000],[1754902411000,25.67500000],[1754902667000,24.88000000],[1754902987000,25.14000000],[1754903308000,25.42500000],[1754903564000,25.60000000],[1754903884000,25.64000000],[1754904204000,26.35000000],[1754904460000,26.70000000],[1754904780000,26.28000000],[1754905105000,26.27500000],[1754905371000,26.38000000],[1754905691000,26.58000000],[1754906011000,26.52500000],[1754906267000,25.90000000],[1754906587000,26.08000000],[1754906907000,26.47500000],[1754907164000,26.06000000],[1754907483000,26.78000000],[1754907804000,26.52500000],[1754908063000,26.80000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1754863260000,16.7],[1754863388000,16.7],[1754863650000,16.6],[1754863980000,16.5],[1754864300000,16.5],[1754864557000,16.6],[1754864877000,16.5],[1754865196000,16.5],[1754865453000,16.4],[1754865772000,16.3],[1754866092000,16.3],[1754866413000,16.1],[1754866668000,16.1],[1754866988000,16],[1754867308000,15.8],[1754867564000,15.7],[1754867884000,15.7],[1754868204000,15.6],[1754868460000,15.5],[1754868780000,15.5],[1754869101000,15.4],[1754869356000,15.3],[1754869676000,15.2],[1754869996000,15.1],[1754870252000,15],[1754870573000,14.8],[1754870892000,14.8],[1754871212000,14.5],[1754871468000,14.4],[1754871788000,14.2],[1754872108000,14.3],[1754872364000,14.1],[1754872684000,14],[1754872955000,13.8],[1754873276000,13.7],[1754873595000,13.7],[1754873851000,13.6],[1754874172000,13.6],[1754874491000,13.5],[1754874811000,13.4],[1754875067000,13.3],[1754875387000,13.2],[1754875707000,13.2],[1754875963000,13],[1754876283000,12.9],[1754876603000,12.8],[1754876859000,12.7],[1754877179000,12.7],[1754877499000,12.6],[1754877752000,12.6],[1754878075000,12.5],[1754878395000,12.5],[1754878651000,12.4],[1754878971000,12.4],[1754879292000,12.3],[1754879611000,12.3],[1754879867000,12.2],[1754880187000,12.3],[1754880508000,12.4],[1754880763000,12.3],[1754881083000,12.2],[1754881403000,12.2],[1754881659000,12.2],[1754881979000,12.2],[1754882299000,12.1],[1754882552000,12.2],[1754882875000,12.3],[1754883195000,12.3],[1754883452000,12.2],[1754883772000,12.2],[1754884092000,12.1],[1754884412000,12.2],[1754884668000,12.2],[1754884988000,12.1],[1754885308000,12.1],[1754885564000,12.2],[1754885884000,12.1],[1754886204000,12.2],[1754886460000,12.1],[1754886780000,12.3],[1754887101000,12.3],[1754887355000,12.3],[1754887676000,12.3],[1754887996000,12.4],[1754888252000,12.5],[1754888572000,12.5],[1754888892000,12.5],[1754889213000,12.6],[1754889468000,12.6],[1754889788000,12.8],[1754890108000,12.9],[1754890364000,12.9],[1754890684000,12.9],[1754890952000,13],[1754891275000,12.9],[1754891595000,13],[1754891851000,12.7],[1754892171000,12.7],[1754892491000,12.7],[1754892811000,12.8],[1754893067000,12.7],[1754893387000,12.6],[1754893707000,12.8],[1754893963000,12.8],[1754894283000,12.8],[1754894603000,13],[1754894859000,13.3],[1754895179000,13.5],[1754895499000,13.6],[1754895752000,13.2],[1754896075000,13.3],[1754896395000,13.6],[1754896651000,13.4],[1754896971000,13.3],[1754897291000,13.1],[1754897611000,13],[1754897867000,13.3],[1754898187000,12.9],[1754898507000,13.1],[1754898752000,12.9],[1754899083000,12.4],[1754899403000,12.5],[1754899659000,12.8],[1754899979000,12.3],[1754900299000,11.6],[1754900552000,11.5],[1754900875000,12.5],[1754901195000,12.2],[1754901451000,12.3],[1754901771000,12.5],[1754902091000,12.4],[1754902411000,12.3],[1754902667000,12.3],[1754902987000,12.4],[1754903308000,12.3],[1754903564000,12.2],[1754903884000,12.2],[1754904204000,12.6],[1754904460000,12.3],[1754904780000,11.6],[1754905105000,11.4],[1754905371000,10.8],[1754905691000,11.4],[1754906011000,12.1],[1754906267000,11.5],[1754906587000,11.3],[1754906907000,10.9],[1754907164000,10.7],[1754907483000,10.7],[1754907804000,10.1],[1754908063000,9.9],], color: '#5b9f4a' } ]; var options = { xaxes: [{ axisLabel: 'temperature', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1°C' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-temperature-legend' } }; graphs['#chart-temperature'] = $.plot('#chart-temperature', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Vlhkosť (%)', data: [[1754863260000,69.00000000],[1754863388000,69.00000000],[1754863650000,69.20000000],[1754863980000,69.00000000],[1754864300000,69.00000000],[1754864557000,69.80000000],[1754864877000,70.20000000],[1754865196000,71.00000000],[1754865453000,71.00000000],[1754865772000,71.40000000],[1754866092000,72.00000000],[1754866413000,72.00000000],[1754866668000,72.00000000],[1754866988000,72.00000000],[1754867308000,71.50000000],[1754867564000,71.00000000],[1754867884000,71.00000000],[1754868204000,71.00000000],[1754868460000,71.00000000],[1754868780000,71.00000000],[1754869101000,71.00000000],[1754869356000,71.00000000],[1754869676000,71.00000000],[1754869996000,71.00000000],[1754870252000,71.00000000],[1754870573000,70.00000000],[1754870892000,70.00000000],[1754871212000,69.25000000],[1754871468000,69.00000000],[1754871788000,69.00000000],[1754872108000,69.00000000],[1754872364000,69.00000000],[1754872684000,69.00000000],[1754872955000,69.00000000],[1754873276000,69.00000000],[1754873595000,69.00000000],[1754873851000,69.20000000],[1754874172000,70.00000000],[1754874491000,70.00000000],[1754874811000,70.00000000],[1754875067000,70.20000000],[1754875387000,70.20000000],[1754875707000,70.75000000],[1754875963000,70.80000000],[1754876283000,70.20000000],[1754876603000,69.75000000],[1754876859000,69.60000000],[1754877179000,69.40000000],[1754877499000,69.00000000],[1754877752000,69.40000000],[1754878075000,69.00000000],[1754878395000,69.25000000],[1754878651000,69.20000000],[1754878971000,69.00000000],[1754879292000,69.00000000],[1754879611000,68.75000000],[1754879867000,68.40000000],[1754880187000,69.00000000],[1754880508000,70.00000000],[1754880763000,70.60000000],[1754881083000,71.20000000],[1754881403000,71.25000000],[1754881659000,71.80000000],[1754881979000,72.00000000],[1754882299000,72.25000000],[1754882552000,72.80000000],[1754882875000,74.00000000],[1754883195000,74.75000000],[1754883452000,75.00000000],[1754883772000,74.60000000],[1754884092000,74.00000000],[1754884412000,74.00000000],[1754884668000,74.20000000],[1754884988000,74.00000000],[1754885308000,73.50000000],[1754885564000,72.60000000],[1754885884000,71.20000000],[1754886204000,70.25000000],[1754886460000,69.40000000],[1754886780000,69.80000000],[1754887101000,69.50000000],[1754887355000,69.20000000],[1754887676000,69.00000000],[1754887996000,69.00000000],[1754888252000,69.00000000],[1754888572000,68.80000000],[1754888892000,68.00000000],[1754889213000,68.00000000],[1754889468000,67.00000000],[1754889788000,66.60000000],[1754890108000,65.50000000],[1754890364000,64.80000000],[1754890684000,64.00000000],[1754890952000,63.80000000],[1754891275000,63.20000000],[1754891595000,62.25000000],[1754891851000,60.40000000],[1754892171000,59.80000000],[1754892491000,58.40000000],[1754892811000,58.50000000],[1754893067000,58.40000000],[1754893387000,57.40000000],[1754893707000,57.25000000],[1754893963000,57.20000000],[1754894283000,56.80000000],[1754894603000,56.25000000],[1754894859000,56.60000000],[1754895179000,55.20000000],[1754895499000,54.75000000],[1754895752000,52.80000000],[1754896075000,53.20000000],[1754896395000,53.50000000],[1754896651000,52.20000000],[1754896971000,52.60000000],[1754897291000,52.60000000],[1754897611000,50.00000000],[1754897867000,50.00000000],[1754898187000,49.20000000],[1754898507000,48.25000000],[1754898752000,47.80000000],[1754899083000,45.60000000],[1754899403000,45.25000000],[1754899659000,45.80000000],[1754899979000,45.20000000],[1754900299000,44.25000000],[1754900552000,43.20000000],[1754900875000,44.80000000],[1754901195000,44.75000000],[1754901451000,44.40000000],[1754901771000,43.40000000],[1754902091000,44.60000000],[1754902411000,43.50000000],[1754902667000,45.60000000],[1754902987000,45.20000000],[1754903308000,44.00000000],[1754903564000,43.40000000],[1754903884000,43.20000000],[1754904204000,42.50000000],[1754904460000,40.80000000],[1754904780000,40.00000000],[1754905105000,39.50000000],[1754905371000,37.80000000],[1754905691000,38.80000000],[1754906011000,40.75000000],[1754906267000,40.60000000],[1754906587000,39.60000000],[1754906907000,37.75000000],[1754907164000,38.20000000],[1754907483000,36.60000000],[1754907804000,35.75000000],[1754908063000,34.66666667],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1754863260000,1025.4],[1754863388000,1025.5],[1754863650000,1025.4],[1754863980000,1025.5],[1754864300000,1025.4],[1754864557000,1025.6],[1754864877000,1025.6],[1754865196000,1025.7],[1754865453000,1025.7],[1754865772000,1025.8],[1754866092000,1025.8],[1754866413000,1025.8],[1754866668000,1025.8],[1754866988000,1025.8],[1754867308000,1025.8],[1754867564000,1025.8],[1754867884000,1025.9],[1754868204000,1025.9],[1754868460000,1026],[1754868780000,1026],[1754869101000,1026],[1754869356000,1026.2],[1754869676000,1026.2],[1754869996000,1026.2],[1754870252000,1026.1],[1754870573000,1026.3],[1754870892000,1026.1],[1754871212000,1026.2],[1754871468000,1026.2],[1754871788000,1026.3],[1754872108000,1026.3],[1754872364000,1026.4],[1754872684000,1026.4],[1754872955000,1026.4],[1754873276000,1026.4],[1754873595000,1026.5],[1754873851000,1026.5],[1754874172000,1026.6],[1754874491000,1026.6],[1754874811000,1026.5],[1754875067000,1026.6],[1754875387000,1026.7],[1754875707000,1026.7],[1754875963000,1026.7],[1754876283000,1026.7],[1754876603000,1026.8],[1754876859000,1026.7],[1754877179000,1026.7],[1754877499000,1026.8],[1754877752000,1026.8],[1754878075000,1026.7],[1754878395000,1026.7],[1754878651000,1026.8],[1754878971000,1026.7],[1754879292000,1026.8],[1754879611000,1026.9],[1754879867000,1026.9],[1754880187000,1026.9],[1754880508000,1026.9],[1754880763000,1027],[1754881083000,1027],[1754881403000,1027.1],[1754881659000,1027],[1754881979000,1027],[1754882299000,1027],[1754882552000,1027.2],[1754882875000,1027.2],[1754883195000,1027.1],[1754883452000,1027.1],[1754883772000,1027.2],[1754884092000,1027.2],[1754884412000,1027.1],[1754884668000,1027.2],[1754884988000,1027.1],[1754885308000,1027.1],[1754885564000,1027.2],[1754885884000,1027.1],[1754886204000,1027.1],[1754886460000,1027.1],[1754886780000,1027.2],[1754887101000,1027],[1754887355000,1027.1],[1754887676000,1027],[1754887996000,1027.1],[1754888252000,1027.2],[1754888572000,1027.1],[1754888892000,1027.2],[1754889213000,1027.2],[1754889468000,1027.2],[1754889788000,1027.2],[1754890108000,1027.2],[1754890364000,1027.2],[1754890684000,1027.2],[1754890952000,1027.1],[1754891275000,1027.1],[1754891595000,1027.2],[1754891851000,1027],[1754892171000,1027.2],[1754892491000,1027.1],[1754892811000,1027.3],[1754893067000,1027.2],[1754893387000,1027.2],[1754893707000,1027.1],[1754893963000,1027.1],[1754894283000,1027.1],[1754894603000,1027.1],[1754894859000,1027],[1754895179000,1027],[1754895499000,1027.2],[1754895752000,1027.2],[1754896075000,1027.1],[1754896395000,1027.2],[1754896651000,1027.2],[1754896971000,1027.2],[1754897291000,1027.3],[1754897611000,1027.2],[1754897867000,1027.2],[1754898187000,1027.1],[1754898507000,1027],[1754898752000,1027],[1754899083000,1027],[1754899403000,1027.1],[1754899659000,1027],[1754899979000,1026.9],[1754900299000,1027],[1754900552000,1027],[1754900875000,1026.9],[1754901195000,1026.9],[1754901451000,1026.9],[1754901771000,1026.7],[1754902091000,1026.8],[1754902411000,1026.8],[1754902667000,1026.8],[1754902987000,1026.8],[1754903308000,1026.7],[1754903564000,1026.7],[1754903884000,1026.7],[1754904204000,1026.6],[1754904460000,1026.6],[1754904780000,1026.5],[1754905105000,1026.5],[1754905371000,1026.5],[1754905691000,1026.5],[1754906011000,1026.4],[1754906267000,1026.4],[1754906587000,1026.4],[1754906907000,1026.4],[1754907164000,1026.3],[1754907483000,1026.3],[1754907804000,1026.2],[1754908063000,1026.2],], color: '#000000' } ]; var options = { xaxes: [{ axisLabel: 'pressure', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1hPa' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-pressure-legend' } }; graphs['#chart-pressure'] = $.plot('#chart-pressure', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Rýchlosť vetra (km/h)', data: [[1754863260000,0],[1754863388000,0.27],[1754863650000,0.576],[1754863980000,1.368],[1754864300000,0.27],[1754864557000,1.656],[1754864877000,1.296],[1754865196000,2.25],[1754865453000,1.224],[1754865772000,1.728],[1754866092000,0.864],[1754866413000,1.44],[1754866668000,0.504],[1754866988000,1.152],[1754867308000,1.08],[1754867564000,1.152],[1754867884000,0.864],[1754868204000,0.27],[1754868460000,0.504],[1754868780000,0.072],[1754869101000,0.09],[1754869356000,0.72],[1754869676000,0.864],[1754869996000,0.9],[1754870252000,1.008],[1754870573000,1.872],[1754870892000,0.432],[1754871212000,1.35],[1754871468000,1.008],[1754871788000,1.296],[1754872108000,1.98],[1754872364000,1.8],[1754872684000,2.07],[1754872955000,2.448],[1754873276000,1.44],[1754873595000,1.08],[1754873851000,0.936],[1754874172000,0.288],[1754874491000,0],[1754874811000,0],[1754875067000,0.216],[1754875387000,0.432],[1754875707000,0],[1754875963000,0.792],[1754876283000,1.224],[1754876603000,0.54],[1754876859000,0.72],[1754877179000,1.08],[1754877499000,0.09],[1754877752000,0.144],[1754878075000,0.288],[1754878395000,0.36],[1754878651000,0.936],[1754878971000,1.08],[1754879292000,1.008],[1754879611000,1.8],[1754879867000,1.872],[1754880187000,2.592],[1754880508000,1.98],[1754880763000,1.656],[1754881083000,0.288],[1754881403000,0.09],[1754881659000,0],[1754881979000,0.432],[1754882299000,0],[1754882552000,0],[1754882875000,0],[1754883195000,0],[1754883452000,0],[1754883772000,0.216],[1754884092000,0.648],[1754884412000,0.09],[1754884668000,0.432],[1754884988000,1.296],[1754885308000,1.08],[1754885564000,0.648],[1754885884000,0.576],[1754886204000,0.63],[1754886460000,1.44],[1754886780000,0.936],[1754887101000,1.8],[1754887355000,1.152],[1754887676000,0.864],[1754887996000,0.72],[1754888252000,1.44],[1754888572000,3.744],[1754888892000,2.448],[1754889213000,1.08],[1754889468000,3.024],[1754889788000,2.088],[1754890108000,2.97],[1754890364000,1.872],[1754890684000,1.98],[1754890952000,2.304],[1754891275000,2.16],[1754891595000,3.69],[1754891851000,2.736],[1754892171000,2.16],[1754892491000,2.808],[1754892811000,1.8],[1754893067000,2.304],[1754893387000,3.168],[1754893707000,3.33],[1754893963000,3.888],[1754894283000,3.672],[1754894603000,3.6],[1754894859000,1.512],[1754895179000,1.44],[1754895499000,1.8],[1754895752000,3.24],[1754896075000,2.448],[1754896395000,1.8],[1754896651000,2.88],[1754896971000,4.248],[1754897291000,2.592],[1754897611000,1.44],[1754897867000,2.304],[1754898187000,1.584],[1754898507000,3.33],[1754898752000,2.664],[1754899083000,2.52],[1754899403000,1.44],[1754899659000,2.52],[1754899979000,6.264],[1754900299000,4.59],[1754900552000,2.232],[1754900875000,3.96],[1754901195000,2.7],[1754901451000,1.728],[1754901771000,3.456],[1754902091000,4.68],[1754902411000,5.13],[1754902667000,7.056],[1754902987000,4.896],[1754903308000,5.4],[1754903564000,5.328],[1754903884000,1.8],[1754904204000,3.87],[1754904460000,2.232],[1754904780000,4.824],[1754905105000,3.51],[1754905371000,3.312],[1754905691000,3.816],[1754906011000,7.2],[1754906267000,10.08],[1754906587000,5.616],[1754906907000,6.75],[1754907164000,3.816],[1754907483000,6.552],[1754907804000,6.21],[1754908063000,5.4],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1754863260000,0],[1754863388000,1.26],[1754863650000,1.008],[1754863980000,2.016],[1754864300000,1.89],[1754864557000,2.52],[1754864877000,3.024],[1754865196000,2.52],[1754865453000,2.52],[1754865772000,3.024],[1754866092000,2.016],[1754866413000,1.89],[1754866668000,0.504],[1754866988000,2.52],[1754867308000,1.89],[1754867564000,2.016],[1754867884000,1.008],[1754868204000,1.26],[1754868460000,1.008],[1754868780000,0.504],[1754869101000,0.63],[1754869356000,1.008],[1754869676000,1.008],[1754869996000,2.52],[1754870252000,1.512],[1754870573000,2.52],[1754870892000,1.512],[1754871212000,2.52],[1754871468000,2.52],[1754871788000,3.024],[1754872108000,2.52],[1754872364000,3.024],[1754872684000,3.78],[1754872955000,2.52],[1754873276000,2.52],[1754873595000,2.52],[1754873851000,2.016],[1754874172000,0.504],[1754874491000,0],[1754874811000,0],[1754875067000,1.512],[1754875387000,0.504],[1754875707000,0],[1754875963000,1.512],[1754876283000,1.512],[1754876603000,0.63],[1754876859000,1.008],[1754877179000,2.016],[1754877499000,0.63],[1754877752000,1.008],[1754878075000,0.504],[1754878395000,0.63],[1754878651000,2.016],[1754878971000,2.52],[1754879292000,2.52],[1754879611000,2.52],[1754879867000,3.024],[1754880187000,4.032],[1754880508000,3.78],[1754880763000,2.016],[1754881083000,0.504],[1754881403000,0.63],[1754881659000,0],[1754881979000,0.504],[1754882299000,0],[1754882552000,0],[1754882875000,0],[1754883195000,0],[1754883452000,0],[1754883772000,1.512],[1754884092000,1.512],[1754884412000,0.63],[1754884668000,1.008],[1754884988000,2.016],[1754885308000,1.26],[1754885564000,1.512],[1754885884000,2.016],[1754886204000,1.26],[1754886460000,2.52],[1754886780000,2.016],[1754887101000,2.52],[1754887355000,1.512],[1754887676000,1.512],[1754887996000,2.52],[1754888252000,3.024],[1754888572000,5.04],[1754888892000,4.032],[1754889213000,2.52],[1754889468000,4.032],[1754889788000,3.024],[1754890108000,3.15],[1754890364000,3.024],[1754890684000,3.15],[1754890952000,3.024],[1754891275000,3.024],[1754891595000,5.04],[1754891851000,4.536],[1754892171000,4.032],[1754892491000,4.536],[1754892811000,3.15],[1754893067000,4.032],[1754893387000,6.12],[1754893707000,5.04],[1754893963000,5.544],[1754894283000,5.04],[1754894603000,5.67],[1754894859000,2.52],[1754895179000,2.52],[1754895499000,2.52],[1754895752000,5.04],[1754896075000,3.024],[1754896395000,2.52],[1754896651000,4.536],[1754896971000,6.552],[1754897291000,3.528],[1754897611000,2.52],[1754897867000,5.04],[1754898187000,2.52],[1754898507000,4.41],[1754898752000,3.528],[1754899083000,4.032],[1754899403000,2.52],[1754899659000,4.032],[1754899979000,9.144],[1754900299000,5.67],[1754900552000,3.528],[1754900875000,5.544],[1754901195000,3.78],[1754901451000,2.52],[1754901771000,4.032],[1754902091000,6.12],[1754902411000,6.3],[1754902667000,9.648],[1754902987000,7.056],[1754903308000,7.65],[1754903564000,7.056],[1754903884000,3.024],[1754904204000,5.67],[1754904460000,4.032],[1754904780000,7.128],[1754905105000,5.04],[1754905371000,4.536],[1754905691000,4.032],[1754906011000,11.61],[1754906267000,12.312],[1754906587000,8.208],[1754906907000,8.28],[1754907164000,5.544],[1754907483000,8.568],[1754907804000,9],[1754908063000,7.679999988],], 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: [[1754863260000,317.00000000],[1754863388000,317.00000000],[1754863650000,314.60000000],[1754863980000,313.20000000],[1754864300000,313.00000000],[1754864557000,313.00000000],[1754864877000,314.20000000],[1754865196000,318.75000000],[1754865453000,318.20000000],[1754865772000,316.00000000],[1754866092000,313.40000000],[1754866413000,299.00000000],[1754866668000,299.20000000],[1754866988000,296.40000000],[1754867308000,292.00000000],[1754867564000,297.60000000],[1754867884000,253.40000000],[1754868204000,310.00000000],[1754868460000,310.00000000],[1754868780000,310.00000000],[1754869101000,310.00000000],[1754869356000,310.20000000],[1754869676000,309.20000000],[1754869996000,304.25000000],[1754870252000,274.80000000],[1754870573000,268.00000000],[1754870892000,268.00000000],[1754871212000,249.75000000],[1754871468000,264.80000000],[1754871788000,290.20000000],[1754872108000,300.00000000],[1754872364000,298.60000000],[1754872684000,308.25000000],[1754872955000,308.80000000],[1754873276000,308.80000000],[1754873595000,308.00000000],[1754873851000,308.00000000],[1754874172000,308.00000000],[1754874491000,308.00000000],[1754874811000,308.00000000],[1754875067000,308.00000000],[1754875387000,307.60000000],[1754875707000,307.00000000],[1754875963000,334.40000000],[1754876283000,341.20000000],[1754876603000,300.00000000],[1754876859000,183.00000000],[1754877179000,187.00000000],[1754877499000,179.25000000],[1754877752000,170.60000000],[1754878075000,195.60000000],[1754878395000,189.25000000],[1754878651000,208.20000000],[1754878971000,228.20000000],[1754879292000,247.80000000],[1754879611000,297.00000000],[1754879867000,293.40000000],[1754880187000,228.00000000],[1754880508000,237.00000000],[1754880763000,300.40000000],[1754881083000,300.00000000],[1754881403000,292.00000000],[1754881659000,292.00000000],[1754881979000,292.00000000],[1754882299000,292.00000000],[1754882552000,291.40000000],[1754882875000,291.00000000],[1754883195000,291.00000000],[1754883452000,291.00000000],[1754883772000,291.00000000],[1754884092000,250.60000000],[1754884412000,182.00000000],[1754884668000,182.80000000],[1754884988000,175.80000000],[1754885308000,154.25000000],[1754885564000,298.80000000],[1754885884000,148.80000000],[1754886204000,62.00000000],[1754886460000,99.40000000],[1754886780000,287.00000000],[1754887101000,290.75000000],[1754887355000,264.20000000],[1754887676000,276.20000000],[1754887996000,282.00000000],[1754888252000,285.40000000],[1754888572000,318.80000000],[1754888892000,294.60000000],[1754889213000,295.50000000],[1754889468000,236.40000000],[1754889788000,289.60000000],[1754890108000,275.00000000],[1754890364000,268.00000000],[1754890684000,174.25000000],[1754890952000,243.40000000],[1754891275000,281.80000000],[1754891595000,301.75000000],[1754891851000,295.60000000],[1754892171000,289.80000000],[1754892491000,180.80000000],[1754892811000,246.00000000],[1754893067000,268.00000000],[1754893387000,208.20000000],[1754893707000,145.00000000],[1754893963000,178.20000000],[1754894283000,183.20000000],[1754894603000,159.25000000],[1754894859000,1.00000000],[1754895179000,11.60000000],[1754895499000,8.50000000],[1754895752000,18.40000000],[1754896075000,24.00000000],[1754896395000,24.00000000],[1754896651000,12.00000000],[1754896971000,254.20000000],[1754897291000,319.20000000],[1754897611000,187.75000000],[1754897867000,215.60000000],[1754898187000,287.60000000],[1754898507000,287.75000000],[1754898752000,287.40000000],[1754899083000,287.80000000],[1754899403000,287.50000000],[1754899659000,287.80000000],[1754899979000,306.20000000],[1754900299000,263.75000000],[1754900552000,164.00000000],[1754900875000,262.80000000],[1754901195000,182.75000000],[1754901451000,245.60000000],[1754901771000,266.60000000],[1754902091000,254.40000000],[1754902411000,254.00000000],[1754902667000,319.40000000],[1754902987000,281.40000000],[1754903308000,323.75000000],[1754903564000,257.40000000],[1754903884000,218.60000000],[1754904204000,146.00000000],[1754904460000,240.00000000],[1754904780000,290.80000000],[1754905105000,337.50000000],[1754905371000,264.00000000],[1754905691000,27.60000000],[1754906011000,287.00000000],[1754906267000,320.20000000],[1754906587000,309.00000000],[1754906907000,293.25000000],[1754907164000,295.40000000],[1754907483000,240.20000000],[1754907804000,245.25000000],[1754908063000,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: [[1754863260000,0.00000000],[1754863388000,0.00000000],[1754863650000,0.00000000],[1754863980000,0.00000000],[1754864300000,0.00000000],[1754864557000,0.00000000],[1754864877000,0.00000000],[1754865196000,0.00000000],[1754865453000,0.00000000],[1754865772000,0.00000000],[1754866092000,0.00000000],[1754866413000,0.00000000],[1754866668000,0.00000000],[1754866988000,0.00000000],[1754867308000,0.00000000],[1754867564000,0.00000000],[1754867884000,0.00000000],[1754868204000,0.00000000],[1754868460000,0.00000000],[1754868780000,0.00000000],[1754869101000,0.00000000],[1754869356000,0.00000000],[1754869676000,0.00000000],[1754869996000,0.00000000],[1754870252000,0.00000000],[1754870573000,0.00000000],[1754870892000,0.00000000],[1754871212000,0.00000000],[1754871468000,0.00000000],[1754871788000,0.00000000],[1754872108000,0.00000000],[1754872364000,0.00000000],[1754872684000,0.00000000],[1754872955000,0.00000000],[1754873276000,0.00000000],[1754873595000,0.00000000],[1754873851000,0.00000000],[1754874172000,0.00000000],[1754874491000,0.00000000],[1754874811000,0.00000000],[1754875067000,0.00000000],[1754875387000,0.00000000],[1754875707000,0.00000000],[1754875963000,0.00000000],[1754876283000,0.00000000],[1754876603000,0.00000000],[1754876859000,0.00000000],[1754877179000,0.00000000],[1754877499000,0.00000000],[1754877752000,0.00000000],[1754878075000,0.00000000],[1754878395000,0.00000000],[1754878651000,0.00000000],[1754878971000,0.00000000],[1754879292000,0.00000000],[1754879611000,0.00000000],[1754879867000,0.00000000],[1754880187000,0.00000000],[1754880508000,0.00000000],[1754880763000,0.00000000],[1754881083000,0.00000000],[1754881403000,0.00000000],[1754881659000,0.00000000],[1754881979000,0.00000000],[1754882299000,0.00000000],[1754882552000,0.40000000],[1754882875000,1.00000000],[1754883195000,1.75000000],[1754883452000,2.80000000],[1754883772000,4.40000000],[1754884092000,6.40000000],[1754884412000,8.50000000],[1754884668000,10.80000000],[1754884988000,13.80000000],[1754885308000,16.75000000],[1754885564000,19.60000000],[1754885884000,22.80000000],[1754886204000,25.00000000],[1754886460000,27.20000000],[1754886780000,29.60000000],[1754887101000,31.50000000],[1754887355000,33.80000000],[1754887676000,35.80000000],[1754887996000,37.50000000],[1754888252000,39.20000000],[1754888572000,40.80000000],[1754888892000,44.20000000],[1754889213000,70.25000000],[1754889468000,89.60000000],[1754889788000,97.60000000],[1754890108000,104.50000000],[1754890364000,112.20000000],[1754890684000,119.75000000],[1754890952000,128.60000000],[1754891275000,136.80000000],[1754891595000,147.75000000],[1754891851000,154.40000000],[1754892171000,164.80000000],[1754892491000,153.20000000],[1754892811000,153.00000000],[1754893067000,195.00000000],[1754893387000,205.80000000],[1754893707000,215.00000000],[1754893963000,193.20000000],[1754894283000,232.00000000],[1754894603000,226.50000000],[1754894859000,258.00000000],[1754895179000,268.40000000],[1754895499000,280.25000000],[1754895752000,291.40000000],[1754896075000,307.40000000],[1754896395000,316.50000000],[1754896651000,328.40000000],[1754896971000,341.40000000],[1754897291000,352.80000000],[1754897611000,364.00000000],[1754897867000,375.00000000],[1754898187000,386.40000000],[1754898507000,396.00000000],[1754898752000,409.60000000],[1754899083000,421.60000000],[1754899403000,432.00000000],[1754899659000,443.40000000],[1754899979000,454.80000000],[1754900299000,463.25000000],[1754900552000,473.20000000],[1754900875000,482.20000000],[1754901195000,494.25000000],[1754901451000,505.40000000],[1754901771000,514.80000000],[1754902091000,523.20000000],[1754902411000,526.75000000],[1754902667000,536.80000000],[1754902987000,546.20000000],[1754903308000,553.00000000],[1754903564000,560.60000000],[1754903884000,565.00000000],[1754904204000,570.00000000],[1754904460000,576.40000000],[1754904780000,582.60000000],[1754905105000,588.25000000],[1754905371000,595.60000000],[1754905691000,600.80000000],[1754906011000,605.00000000],[1754906267000,608.60000000],[1754906587000,613.40000000],[1754906907000,617.25000000],[1754907164000,619.60000000],[1754907483000,619.60000000],[1754907804000,624.00000000],[1754908063000,627.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: [[1754863260000,0.00000000],[1754863388000,0.00000000],[1754863650000,0.00000000],[1754863980000,0.00000000],[1754864300000,0.00000000],[1754864557000,0.00000000],[1754864877000,0.00000000],[1754865196000,0.00000000],[1754865453000,0.00000000],[1754865772000,0.00000000],[1754866092000,0.00000000],[1754866413000,0.00000000],[1754866668000,0.00000000],[1754866988000,0.00000000],[1754867308000,0.00000000],[1754867564000,0.00000000],[1754867884000,0.00000000],[1754868204000,0.00000000],[1754868460000,0.00000000],[1754868780000,0.00000000],[1754869101000,0.00000000],[1754869356000,0.00000000],[1754869676000,0.00000000],[1754869996000,0.00000000],[1754870252000,0.00000000],[1754870573000,0.00000000],[1754870892000,0.00000000],[1754871212000,0.00000000],[1754871468000,0.00000000],[1754871788000,0.00000000],[1754872108000,0.00000000],[1754872364000,0.00000000],[1754872684000,0.00000000],[1754872955000,0.00000000],[1754873276000,0.00000000],[1754873595000,0.00000000],[1754873851000,0.00000000],[1754874172000,0.00000000],[1754874491000,0.00000000],[1754874811000,0.00000000],[1754875067000,0.00000000],[1754875387000,0.00000000],[1754875707000,0.00000000],[1754875963000,0.00000000],[1754876283000,0.00000000],[1754876603000,0.00000000],[1754876859000,0.00000000],[1754877179000,0.00000000],[1754877499000,0.00000000],[1754877752000,0.00000000],[1754878075000,0.00000000],[1754878395000,0.00000000],[1754878651000,0.00000000],[1754878971000,0.00000000],[1754879292000,0.00000000],[1754879611000,0.00000000],[1754879867000,0.00000000],[1754880187000,0.00000000],[1754880508000,0.00000000],[1754880763000,0.00000000],[1754881083000,0.00000000],[1754881403000,0.00000000],[1754881659000,0.00000000],[1754881979000,0.00000000],[1754882299000,0.00000000],[1754882552000,0.00000000],[1754882875000,0.00000000],[1754883195000,0.00000000],[1754883452000,0.00000000],[1754883772000,0.00000000],[1754884092000,0.00000000],[1754884412000,0.00000000],[1754884668000,0.00000000],[1754884988000,0.00000000],[1754885308000,0.00000000],[1754885564000,0.00000000],[1754885884000,0.00000000],[1754886204000,0.00000000],[1754886460000,0.00000000],[1754886780000,0.00000000],[1754887101000,0.00000000],[1754887355000,0.00000000],[1754887676000,0.00000000],[1754887996000,0.00000000],[1754888252000,0.00000000],[1754888572000,0.00000000],[1754888892000,0.00000000],[1754889213000,0.00000000],[1754889468000,0.00000000],[1754889788000,0.00000000],[1754890108000,0.75000000],[1754890364000,1.00000000],[1754890684000,1.00000000],[1754890952000,1.00000000],[1754891275000,1.00000000],[1754891595000,1.00000000],[1754891851000,1.00000000],[1754892171000,1.00000000],[1754892491000,0.80000000],[1754892811000,0.75000000],[1754893067000,1.00000000],[1754893387000,1.60000000],[1754893707000,2.00000000],[1754893963000,1.60000000],[1754894283000,2.00000000],[1754894603000,1.75000000],[1754894859000,2.00000000],[1754895179000,2.00000000],[1754895499000,2.00000000],[1754895752000,2.00000000],[1754896075000,2.40000000],[1754896395000,3.00000000],[1754896651000,3.00000000],[1754896971000,3.00000000],[1754897291000,3.00000000],[1754897611000,3.00000000],[1754897867000,3.00000000],[1754898187000,3.00000000],[1754898507000,3.00000000],[1754898752000,3.40000000],[1754899083000,4.00000000],[1754899403000,4.00000000],[1754899659000,4.00000000],[1754899979000,4.00000000],[1754900299000,4.00000000],[1754900552000,4.00000000],[1754900875000,4.00000000],[1754901195000,4.00000000],[1754901451000,4.00000000],[1754901771000,4.80000000],[1754902091000,5.00000000],[1754902411000,5.00000000],[1754902667000,5.00000000],[1754902987000,5.00000000],[1754903308000,5.00000000],[1754903564000,5.00000000],[1754903884000,5.00000000],[1754904204000,5.00000000],[1754904460000,5.00000000],[1754904780000,5.00000000],[1754905105000,5.00000000],[1754905371000,5.00000000],[1754905691000,5.00000000],[1754906011000,5.00000000],[1754906267000,5.00000000],[1754906587000,5.00000000],[1754906907000,6.00000000],[1754907164000,6.00000000],[1754907483000,6.00000000],[1754907804000,6.00000000],[1754908063000,6.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: [[1754863260000,0.00000000],[1754863388000,0.00000000],[1754863650000,0.00000000],[1754863980000,0.00000000],[1754864300000,0.00000000],[1754864557000,0.00000000],[1754864877000,0.00000000],[1754865196000,0.00000000],[1754865453000,0.00000000],[1754865772000,0.00000000],[1754866092000,0.00000000],[1754866413000,0.00000000],[1754866668000,0.00000000],[1754866988000,0.00000000],[1754867308000,0.00000000],[1754867564000,0.00000000],[1754867884000,0.00000000],[1754868204000,0.00000000],[1754868460000,0.00000000],[1754868780000,0.00000000],[1754869101000,0.00000000],[1754869356000,0.00000000],[1754869676000,0.00000000],[1754869996000,0.00000000],[1754870252000,0.00000000],[1754870573000,0.00000000],[1754870892000,0.00000000],[1754871212000,0.00000000],[1754871468000,0.00000000],[1754871788000,0.00000000],[1754872108000,0.00000000],[1754872364000,0.00000000],[1754872684000,0.00000000],[1754872955000,0.00000000],[1754873276000,0.00000000],[1754873595000,0.00000000],[1754873851000,0.00000000],[1754874172000,0.00000000],[1754874491000,0.00000000],[1754874811000,0.00000000],[1754875067000,0.00000000],[1754875387000,0.00000000],[1754875707000,0.00000000],[1754875963000,0.00000000],[1754876283000,0.00000000],[1754876603000,0.00000000],[1754876859000,0.00000000],[1754877179000,0.00000000],[1754877499000,0.00000000],[1754877752000,0.00000000],[1754878075000,0.00000000],[1754878395000,0.00000000],[1754878651000,0.00000000],[1754878971000,0.00000000],[1754879292000,0.00000000],[1754879611000,0.00000000],[1754879867000,0.00000000],[1754880187000,0.00000000],[1754880508000,0.00000000],[1754880763000,0.00000000],[1754881083000,0.00000000],[1754881403000,0.00000000],[1754881659000,0.00000000],[1754881979000,0.00000000],[1754882299000,0.00000000],[1754882552000,0.00000000],[1754882875000,0.00000000],[1754883195000,0.00000000],[1754883452000,0.00000000],[1754883772000,0.00000000],[1754884092000,0.00000000],[1754884412000,0.00000000],[1754884668000,0.00000000],[1754884988000,0.00000000],[1754885308000,0.00000000],[1754885564000,0.00000000],[1754885884000,0.00000000],[1754886204000,0.00000000],[1754886460000,0.00000000],[1754886780000,0.00000000],[1754887101000,0.00000000],[1754887355000,0.00000000],[1754887676000,0.00000000],[1754887996000,0.00000000],[1754888252000,0.00000000],[1754888572000,0.00000000],[1754888892000,0.00000000],[1754889213000,0.00000000],[1754889468000,0.00000000],[1754889788000,0.00000000],[1754890108000,0.00000000],[1754890364000,0.00000000],[1754890684000,0.00000000],[1754890952000,0.00000000],[1754891275000,0.00000000],[1754891595000,0.00000000],[1754891851000,0.00000000],[1754892171000,0.00000000],[1754892491000,0.00000000],[1754892811000,0.00000000],[1754893067000,0.00000000],[1754893387000,0.00000000],[1754893707000,0.00000000],[1754893963000,0.00000000],[1754894283000,0.00000000],[1754894603000,0.00000000],[1754894859000,0.00000000],[1754895179000,0.00000000],[1754895499000,0.00000000],[1754895752000,0.00000000],[1754896075000,0.00000000],[1754896395000,0.00000000],[1754896651000,0.00000000],[1754896971000,0.00000000],[1754897291000,0.00000000],[1754897611000,0.00000000],[1754897867000,0.00000000],[1754898187000,0.00000000],[1754898507000,0.00000000],[1754898752000,0.00000000],[1754899083000,0.00000000],[1754899403000,0.00000000],[1754899659000,0.00000000],[1754899979000,0.00000000],[1754900299000,0.00000000],[1754900552000,0.00000000],[1754900875000,0.00000000],[1754901195000,0.00000000],[1754901451000,0.00000000],[1754901771000,0.00000000],[1754902091000,0.00000000],[1754902411000,0.00000000],[1754902667000,0.00000000],[1754902987000,0.00000000],[1754903308000,0.00000000],[1754903564000,0.00000000],[1754903884000,0.00000000],[1754904204000,0.00000000],[1754904460000,0.00000000],[1754904780000,0.00000000],[1754905105000,0.00000000],[1754905371000,0.00000000],[1754905691000,0.00000000],[1754906011000,0.00000000],[1754906267000,0.00000000],[1754906587000,0.00000000],[1754906907000,0.00000000],[1754907164000,0.00000000],[1754907483000,0.00000000],[1754907804000,0.00000000],[1754908063000,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; }