var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1765407707000,2.90000000],[1765407771000,2.85000000],[1765408076000,2.80000000],[1765408427000,2.90000000],[1765408652000,2.82857143],[1765409003000,2.85714286],[1765409275000,2.90000000],[1765409579000,2.98571429],[1765409851000,3.00000000],[1765410203000,3.00000000],[1765410475000,3.00000000],[1765410779000,3.00000000],[1765411051000,3.00000000],[1765411404000,3.00000000],[1765411675000,2.96250000],[1765411980000,2.86000000],[1765412395000,2.80000000],[1765412554000,2.85000000],[1765412876000,2.81428571],[1765413211000,2.80000000],[1765413452000,2.66000000],[1765413803000,2.65000000],[1765414171000,2.70000000],[1765414379000,2.70000000],[1765414651000,2.70000000],[1765415004000,2.70000000],[1765415275000,2.66250000],[1765415580000,2.60000000],[1765415851000,2.52857143],[1765416203000,2.50000000],[1765416476000,2.50000000],[1765416779000,2.50000000],[1765417052000,2.50000000],[1765417403000,2.47142857],[1765417707000,2.40000000],[1765417979000,2.40000000],[1765418251000,2.40000000],[1765418604000,2.34000000],[1765418891000,2.34000000],[1765419180000,2.31428571],[1765419451000,2.40000000],[1765419853000,2.30000000],[1765420113000,2.30000000],[1765420379000,2.30000000],[1765420683000,2.30000000],[1765421004000,2.30000000],[1765421291000,2.18333333],[1765421581000,2.11666667],[1765421851000,2.10000000],[1765422154000,2.10000000],[1765422476000,2.03750000],[1765422779000,2.10000000],[1765423052000,2.02222222],[1765423403000,2.00000000],[1765423675000,2.05000000],[1765423979000,2.10000000],[1765424251000,2.10000000],[1765424603000,2.01666667],[1765424854000,1.98750000],[1765425180000,1.95714286],[1765425451000,2.00000000],[1765425915000,1.90000000],[1765426107000,1.90000000],[1765426491000,1.80000000],[1765426683000,1.80000000],[1765427003000,1.80000000],[1765427275000,1.80000000],[1765427595000,1.84000000],[1765427851000,1.87500000],[1765428171000,1.87500000],[1765428475000,1.80000000],[1765428782000,1.71666667],[1765429053000,1.58333333],[1765429740000,1.40000000],[1765429979000,1.40000000],[1765430251000,1.50000000],[1765430603000,1.50000000],[1765430892000,1.50000000],[1765431153000,1.50000000],[1765431451000,1.50000000],[1765431804000,1.50000000],[1765432053000,1.51428571],[1765432354000,1.56666667],[1765432652000,1.50000000],[1765433014000,1.58333333],[1765433308000,1.62857143],[1765433553000,1.70000000],[1765433852000,1.70000000],[1765434213000,1.71666667],[1765434476000,1.80000000],[1765434779000,1.80000000],[1765435052000,1.70000000],[1765435403000,1.80000000],[1765435675000,1.80000000],[1765435979000,1.80000000],[1765436251000,1.87142857],[1765436603000,1.90000000],[1765436875000,1.92222222],[1765437179000,1.97142857],[1765437451000,2.02500000],[1765437804000,2.08750000],[1765438075000,2.10000000],[1765438380000,2.02857143],[1765438651000,2.06250000],[1765438954000,2.10000000],[1765439276000,2.10000000],[1765439579000,2.12857143],[1765439854000,2.20000000],[1765440188000,2.25000000],[1765440476000,2.30000000],[1765440779000,2.30000000],[1765441053000,2.42857143],[1765441405000,2.50000000],[1765441675000,2.50000000],[1765441996000,2.56000000],[1765442252000,2.56666667],[1765442603000,2.65000000],[1765443051000,2.70000000],[1765443179000,2.75000000],[1765443451000,2.85000000],[1765443867000,2.90000000],[1765444075000,2.80000000],[1765444379000,2.85714286],[1765444684000,2.90000000],[1765445006000,2.88571429],[1765445275000,2.80000000],[1765445580000,2.92857143],[1765445851000,2.96250000],[1765446154000,3.02500000],[1765446476000,3.20000000],[1765446779000,3.27142857],[1765447052000,3.36666667],[1765447403000,3.40000000],[1765447675000,3.53333333],[1765447979000,3.66250000],[1765448251000,3.70000000],[1765448603000,3.72857143],[1765448875000,3.80000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1765407707000,2.8],[1765407771000,2.7],[1765408076000,2.7],[1765408427000,2.8],[1765408652000,2.7],[1765409003000,2.7],[1765409275000,2.8],[1765409579000,2.8],[1765409851000,2.9],[1765410203000,2.9],[1765410475000,2.9],[1765410779000,2.9],[1765411051000,2.9],[1765411404000,2.9],[1765411675000,2.8],[1765411980000,2.7],[1765412395000,2.7],[1765412554000,2.7],[1765412876000,2.7],[1765413211000,2.7],[1765413452000,2.5],[1765413803000,2.5],[1765414171000,2.6],[1765414379000,2.6],[1765414651000,2.6],[1765415004000,2.6],[1765415275000,2.5],[1765415580000,2.5],[1765415851000,2.4],[1765416203000,2.4],[1765416476000,2.4],[1765416779000,2.4],[1765417052000,2.4],[1765417403000,2.3],[1765417707000,2.3],[1765417979000,2.3],[1765418251000,2.3],[1765418604000,2.2],[1765418891000,2.2],[1765419180000,2.2],[1765419451000,2.3],[1765419853000,2.2],[1765420113000,2.2],[1765420379000,2.2],[1765420683000,2.2],[1765421004000,2.2],[1765421291000,2],[1765421581000,2],[1765421851000,2],[1765422154000,2],[1765422476000,1.9],[1765422779000,2],[1765423052000,1.9],[1765423403000,1.9],[1765423675000,1.9],[1765423979000,2],[1765424251000,2],[1765424603000,1.9],[1765424854000,1.8],[1765425180000,1.8],[1765425451000,1.9],[1765425915000,1.8],[1765426107000,1.8],[1765426491000,1.7],[1765426683000,1.7],[1765427003000,1.7],[1765427275000,1.7],[1765427595000,1.7],[1765427851000,1.7],[1765428171000,1.7],[1765428475000,1.7],[1765428782000,1.6],[1765429053000,1.4],[1765429740000,1.3],[1765429979000,1.3],[1765430251000,1.4],[1765430603000,1.4],[1765430892000,1.4],[1765431153000,1.4],[1765431451000,1.4],[1765431804000,1.4],[1765432053000,1.4],[1765432354000,1.4],[1765432652000,1.4],[1765433014000,1.4],[1765433308000,1.5],[1765433553000,1.6],[1765433852000,1.6],[1765434213000,1.6],[1765434476000,1.7],[1765434779000,1.7],[1765435052000,1.6],[1765435403000,1.7],[1765435675000,1.7],[1765435979000,1.7],[1765436251000,1.7],[1765436603000,1.8],[1765436875000,1.8],[1765437179000,1.8],[1765437451000,1.9],[1765437804000,1.9],[1765438075000,2],[1765438380000,1.9],[1765438651000,1.9],[1765438954000,2],[1765439276000,2],[1765439579000,2],[1765439854000,2.1],[1765440188000,2.1],[1765440476000,2.2],[1765440779000,2.2],[1765441053000,2.3],[1765441405000,2.4],[1765441675000,2.4],[1765441996000,2.4],[1765442252000,2.4],[1765442603000,2.5],[1765443051000,2.6],[1765443179000,2.6],[1765443451000,2.7],[1765443867000,2.8],[1765444075000,2.7],[1765444379000,2.7],[1765444684000,2.8],[1765445006000,2.7],[1765445275000,2.7],[1765445580000,2.8],[1765445851000,2.8],[1765446154000,2.9],[1765446476000,3.1],[1765446779000,3.1],[1765447052000,3.2],[1765447403000,3.3],[1765447675000,3.4],[1765447979000,3.5],[1765448251000,3.6],[1765448603000,3.6],[1765448875000,3.7],], 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: [[1765407707000,99.00000000],[1765407771000,99.00000000],[1765408076000,99.00000000],[1765408427000,99.00000000],[1765408652000,99.00000000],[1765409003000,99.00000000],[1765409275000,99.00000000],[1765409579000,99.00000000],[1765409851000,99.00000000],[1765410203000,99.00000000],[1765410475000,99.00000000],[1765410779000,99.00000000],[1765411051000,99.00000000],[1765411404000,99.00000000],[1765411675000,99.00000000],[1765411980000,99.00000000],[1765412395000,99.00000000],[1765412554000,99.00000000],[1765412876000,99.00000000],[1765413211000,99.00000000],[1765413452000,99.00000000],[1765413803000,99.00000000],[1765414171000,99.00000000],[1765414379000,99.00000000],[1765414651000,99.00000000],[1765415004000,99.00000000],[1765415275000,99.00000000],[1765415580000,99.00000000],[1765415851000,99.00000000],[1765416203000,99.00000000],[1765416476000,99.00000000],[1765416779000,99.00000000],[1765417052000,99.00000000],[1765417403000,99.00000000],[1765417707000,99.00000000],[1765417979000,99.00000000],[1765418251000,99.00000000],[1765418604000,99.00000000],[1765418891000,99.00000000],[1765419180000,99.00000000],[1765419451000,99.00000000],[1765419853000,99.00000000],[1765420113000,99.00000000],[1765420379000,99.00000000],[1765420683000,99.00000000],[1765421004000,99.00000000],[1765421291000,99.00000000],[1765421581000,99.00000000],[1765421851000,99.00000000],[1765422154000,99.00000000],[1765422476000,99.00000000],[1765422779000,99.00000000],[1765423052000,99.00000000],[1765423403000,99.00000000],[1765423675000,99.00000000],[1765423979000,99.00000000],[1765424251000,99.00000000],[1765424603000,99.00000000],[1765424854000,99.00000000],[1765425180000,99.00000000],[1765425451000,99.00000000],[1765425915000,99.00000000],[1765426107000,99.00000000],[1765426491000,99.00000000],[1765426683000,99.00000000],[1765427003000,99.00000000],[1765427275000,99.00000000],[1765427595000,99.00000000],[1765427851000,99.00000000],[1765428171000,99.00000000],[1765428475000,99.00000000],[1765428782000,99.00000000],[1765429053000,99.00000000],[1765429740000,99.00000000],[1765429979000,99.00000000],[1765430251000,99.00000000],[1765430603000,99.00000000],[1765430892000,99.00000000],[1765431153000,99.00000000],[1765431451000,99.00000000],[1765431804000,99.00000000],[1765432053000,99.00000000],[1765432354000,99.00000000],[1765432652000,99.00000000],[1765433014000,99.00000000],[1765433308000,99.00000000],[1765433553000,99.00000000],[1765433852000,99.00000000],[1765434213000,99.00000000],[1765434476000,99.00000000],[1765434779000,99.00000000],[1765435052000,99.00000000],[1765435403000,99.00000000],[1765435675000,99.00000000],[1765435979000,99.00000000],[1765436251000,99.00000000],[1765436603000,99.00000000],[1765436875000,99.00000000],[1765437179000,99.00000000],[1765437451000,99.00000000],[1765437804000,99.00000000],[1765438075000,99.00000000],[1765438380000,99.00000000],[1765438651000,99.00000000],[1765438954000,99.00000000],[1765439276000,99.00000000],[1765439579000,99.00000000],[1765439854000,99.00000000],[1765440188000,99.00000000],[1765440476000,99.00000000],[1765440779000,99.00000000],[1765441053000,99.00000000],[1765441405000,99.00000000],[1765441675000,99.00000000],[1765441996000,99.00000000],[1765442252000,99.00000000],[1765442603000,99.00000000],[1765443051000,99.00000000],[1765443179000,99.00000000],[1765443451000,99.00000000],[1765443867000,99.00000000],[1765444075000,99.00000000],[1765444379000,99.00000000],[1765444684000,99.00000000],[1765445006000,99.00000000],[1765445275000,99.00000000],[1765445580000,99.00000000],[1765445851000,99.00000000],[1765446154000,99.00000000],[1765446476000,99.00000000],[1765446779000,99.00000000],[1765447052000,99.00000000],[1765447403000,99.00000000],[1765447675000,99.00000000],[1765447979000,99.00000000],[1765448251000,99.00000000],[1765448603000,99.00000000],[1765448875000,99.00000000],], color: '#ff9000' } ]; var options = { xaxes: [{ axisLabel: 'humidity', }], points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, xaxis: { mode: 'time', minTickSize: [1, 'hour'], timeformat: '%d.%m.\, %H:%M', timezone: 'browser', }, grid: { hoverable: true, clickable: true, borderWidth: 0, }, tooltip: { show: true, content: '%x - %y.1%' }, crosshair: { mode: 'x' }, legend: { show: true, container: '#chart-humidity-legend' } }; graphs['#chart-humidity'] = $.plot('#chart-humidity', dataset, options); }); $(document).ready(function() { dataset = [ { label: 'Atmosférický tlak (hPa)', data: [[1765407707000,1026.1],[1765407771000,1026.2],[1765408076000,1026.4],[1765408427000,1026.4],[1765408652000,1026.3],[1765409003000,1026.3],[1765409275000,1026.3],[1765409579000,1026.2],[1765409851000,1026.2],[1765410203000,1026.2],[1765410475000,1026.1],[1765410779000,1026.2],[1765411051000,1026.2],[1765411404000,1026.3],[1765411675000,1026.2],[1765411980000,1026.3],[1765412395000,1026.3],[1765412554000,1026.3],[1765412876000,1026.3],[1765413211000,1026.1],[1765413452000,1026.1],[1765413803000,1026.1],[1765414171000,1026.1],[1765414379000,1026.1],[1765414651000,1026.1],[1765415004000,1026.1],[1765415275000,1026.1],[1765415580000,1026],[1765415851000,1026],[1765416203000,1025.8],[1765416476000,1025.9],[1765416779000,1026],[1765417052000,1026],[1765417403000,1025.9],[1765417707000,1025.9],[1765417979000,1026],[1765418251000,1025.9],[1765418604000,1025.8],[1765418891000,1025.8],[1765419180000,1025.8],[1765419451000,1025.8],[1765419853000,1025.8],[1765420113000,1025.8],[1765420379000,1025.8],[1765420683000,1025.8],[1765421004000,1025.8],[1765421291000,1026],[1765421581000,1025.9],[1765421851000,1026],[1765422154000,1025.8],[1765422476000,1025.9],[1765422779000,1025.9],[1765423052000,1025.9],[1765423403000,1025.7],[1765423675000,1025.7],[1765423979000,1025.7],[1765424251000,1025.7],[1765424603000,1025.7],[1765424854000,1025.8],[1765425180000,1025.8],[1765425451000,1025.7],[1765425915000,1025.8],[1765426107000,1025.8],[1765426491000,1025.6],[1765426683000,1025.6],[1765427003000,1025.6],[1765427275000,1025.7],[1765427595000,1025.8],[1765427851000,1025.8],[1765428171000,1025.8],[1765428475000,1025.9],[1765428782000,1025.7],[1765429053000,1025.8],[1765429740000,1025.7],[1765429979000,1025.8],[1765430251000,1025.8],[1765430603000,1025.6],[1765430892000,1025.9],[1765431153000,1025.9],[1765431451000,1026],[1765431804000,1025.9],[1765432053000,1025.8],[1765432354000,1025.9],[1765432652000,1025.8],[1765433014000,1025.8],[1765433308000,1025.8],[1765433553000,1025.9],[1765433852000,1025.8],[1765434213000,1025.9],[1765434476000,1026],[1765434779000,1025.9],[1765435052000,1026],[1765435403000,1026],[1765435675000,1026],[1765435979000,1026],[1765436251000,1026],[1765436603000,1026],[1765436875000,1026],[1765437179000,1025.9],[1765437451000,1025.9],[1765437804000,1025.9],[1765438075000,1025.8],[1765438380000,1026],[1765438651000,1026.1],[1765438954000,1026],[1765439276000,1026.3],[1765439579000,1026.2],[1765439854000,1026.2],[1765440188000,1026.1],[1765440476000,1026.2],[1765440779000,1026],[1765441053000,1026],[1765441405000,1026],[1765441675000,1026.1],[1765441996000,1026.2],[1765442252000,1026.1],[1765442603000,1026],[1765443051000,1025.9],[1765443179000,1025.9],[1765443451000,1025.9],[1765443867000,1025.9],[1765444075000,1026],[1765444379000,1025.9],[1765444684000,1025.9],[1765445006000,1026],[1765445275000,1026],[1765445580000,1025.9],[1765445851000,1025.8],[1765446154000,1025.8],[1765446476000,1025.8],[1765446779000,1025.6],[1765447052000,1025.7],[1765447403000,1025.6],[1765447675000,1025.5],[1765447979000,1025.3],[1765448251000,1025.3],[1765448603000,1025.4],[1765448875000,1025.4],], 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: [[1765407707000,0.72],[1765407771000,0.9],[1765408076000,0.839999988],[1765408427000,0.792],[1765408652000,0.102857148],[1765409003000,0],[1765409275000,0],[1765409579000,0],[1765409851000,0],[1765410203000,0.668571444],[1765410475000,0.855],[1765410779000,0.257142852],[1765411051000,0.09],[1765411404000,0.154285704],[1765411675000,2.745],[1765411980000,2.16],[1765412395000,0],[1765412554000,1.08],[1765412876000,0],[1765413211000,2.16],[1765413452000,0.648],[1765413803000,0],[1765414171000,0.240000012],[1765414379000,0],[1765414651000,0.411428556],[1765415004000,0.945],[1765415275000,0.765],[1765415580000,1.748571444],[1765415851000,2.622857148],[1765416203000,0.977142852],[1765416476000,0.135],[1765416779000,1.08],[1765417052000,2.080000008],[1765417403000,1.954285704],[1765417707000,0.977142852],[1765417979000,2.115],[1765418251000,1.215],[1765418604000,1.944],[1765418891000,2.592],[1765419180000,0.668571444],[1765419451000,3.015],[1765419853000,0.240000012],[1765420113000,1.584],[1765420379000,1.44],[1765420683000,0],[1765421004000,0.576],[1765421291000,2.639999988],[1765421581000,2.52],[1765421851000,2.34],[1765422154000,1.575],[1765422476000,0.18],[1765422779000,0],[1765423052000,0.399999996],[1765423403000,0],[1765423675000,0],[1765423979000,0],[1765424251000,0],[1765424603000,0],[1765424854000,0],[1765425180000,0],[1765425451000,0],[1765425915000,0],[1765426107000,0],[1765426491000,0],[1765426683000,0],[1765427003000,0],[1765427275000,0],[1765427595000,2.088],[1765427851000,2.16],[1765428171000,1.71],[1765428475000,0.051428556],[1765428782000,1.559999988],[1765429053000,1.500000012],[1765429740000,0.432],[1765429979000,0],[1765430251000,0],[1765430603000,0.659999988],[1765430892000,0],[1765431153000,0],[1765431451000,0],[1765431804000,0],[1765432053000,0],[1765432354000,0],[1765432652000,0],[1765433014000,0],[1765433308000,0],[1765433553000,0],[1765433852000,0],[1765434213000,0],[1765434476000,0],[1765434779000,0],[1765435052000,0],[1765435403000,0],[1765435675000,0],[1765435979000,0.315],[1765436251000,0.411428556],[1765436603000,0],[1765436875000,0],[1765437179000,0],[1765437451000,0.045],[1765437804000,0.495],[1765438075000,0.225],[1765438380000,0.051428556],[1765438651000,0.495],[1765438954000,0],[1765439276000,0.045],[1765439579000,0.154285704],[1765439854000,1.919999988],[1765440188000,0.420000012],[1765440476000,1.337142852],[1765440779000,1.919999988],[1765441053000,0.36],[1765441405000,0.060000012],[1765441675000,0],[1765441996000,1.296],[1765442252000,0.36],[1765442603000,3.480000012],[1765443051000,4.68],[1765443179000,1.559999988],[1765443451000,0],[1765443867000,0],[1765444075000,0.879999984],[1765444379000,0],[1765444684000,0],[1765445006000,0.925714296],[1765445275000,0.765],[1765445580000,0],[1765445851000,0.72],[1765446154000,1.8],[1765446476000,3.78],[1765446779000,1.131428556],[1765447052000,1.519999992],[1765447403000,4.782857148],[1765447675000,6.599999988],[1765447979000,5.085],[1765448251000,6.345],[1765448603000,5.348571444],[1765448875000,5.04],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1765407707000,2.52],[1765407771000,1.89],[1765408076000,2.52],[1765408427000,2.016],[1765408652000,0.72],[1765409003000,0],[1765409275000,0],[1765409579000,0],[1765409851000,0],[1765410203000,0.72],[1765410475000,1.575],[1765410779000,0.72],[1765411051000,0.315],[1765411404000,1.08],[1765411675000,3.15],[1765411980000,2.52],[1765412395000,0],[1765412554000,1.89],[1765412876000,0],[1765413211000,3.528],[1765413452000,1.512],[1765413803000,0],[1765414171000,0.420000012],[1765414379000,0],[1765414651000,1.08],[1765415004000,1.575],[1765415275000,1.26],[1765415580000,2.52],[1765415851000,3.96],[1765416203000,2.16],[1765416476000,0.63],[1765416779000,1.44],[1765417052000,2.800000008],[1765417403000,2.88],[1765417707000,1.44],[1765417979000,2.205],[1765418251000,2.52],[1765418604000,3.024],[1765418891000,3.024],[1765419180000,1.44],[1765419451000,3.78],[1765419853000,0.839999988],[1765420113000,2.52],[1765420379000,1.89],[1765420683000,0],[1765421004000,1.008],[1765421291000,3.359999988],[1765421581000,3.359999988],[1765421851000,3.465],[1765422154000,2.835],[1765422476000,0.315],[1765422779000,0],[1765423052000,0.560000016],[1765423403000,0],[1765423675000,0],[1765423979000,0],[1765424251000,0],[1765424603000,0],[1765424854000,0],[1765425180000,0],[1765425451000,0],[1765425915000,0],[1765426107000,0],[1765426491000,0],[1765426683000,0],[1765427003000,0],[1765427275000,0],[1765427595000,2.52],[1765427851000,2.835],[1765428171000,2.835],[1765428475000,0.36],[1765428782000,2.099999988],[1765429053000,2.52],[1765429740000,1.512],[1765429979000,0],[1765430251000,0],[1765430603000,1.680000012],[1765430892000,0],[1765431153000,0],[1765431451000,0],[1765431804000,0],[1765432053000,0],[1765432354000,0],[1765432652000,0],[1765433014000,0],[1765433308000,0],[1765433553000,0],[1765433852000,0],[1765434213000,0],[1765434476000,0],[1765434779000,0],[1765435052000,0],[1765435403000,0],[1765435675000,0],[1765435979000,0.63],[1765436251000,0.72],[1765436603000,0],[1765436875000,0],[1765437179000,0],[1765437451000,0.315],[1765437804000,1.575],[1765438075000,0.63],[1765438380000,0.36],[1765438651000,0.63],[1765438954000,0],[1765439276000,0.315],[1765439579000,0.72],[1765439854000,2.52],[1765440188000,0.420000012],[1765440476000,2.52],[1765440779000,2.940000012],[1765441053000,0.72],[1765441405000,0.420000012],[1765441675000,0],[1765441996000,2.016],[1765442252000,0.839999988],[1765442603000,3.78],[1765443051000,5.04],[1765443179000,2.52],[1765443451000,0],[1765443867000,0],[1765444075000,1.959999984],[1765444379000,0],[1765444684000,0],[1765445006000,1.8],[1765445275000,1.89],[1765445580000,0],[1765445851000,1.89],[1765446154000,3.15],[1765446476000,5.355],[1765446779000,1.44],[1765447052000,2.239999992],[1765447403000,5.76],[1765447675000,7.319999988],[1765447979000,5.985],[1765448251000,7.605],[1765448603000,6.531428556],[1765448875000,5.04],], 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: [[1765407707000,334.00000000],[1765407771000,347.25000000],[1765408076000,341.66666667],[1765408427000,345.40000000],[1765408652000,337.57142857],[1765409003000,328.57142857],[1765409275000,337.87500000],[1765409579000,334.28571429],[1765409851000,326.50000000],[1765410203000,332.71428571],[1765410475000,322.12500000],[1765410779000,316.00000000],[1765411051000,314.62500000],[1765411404000,313.85714286],[1765411675000,328.12500000],[1765411980000,329.80000000],[1765412395000,311.80000000],[1765412554000,293.12500000],[1765412876000,313.00000000],[1765413211000,316.00000000],[1765413452000,280.60000000],[1765413803000,311.00000000],[1765414171000,324.33333333],[1765414379000,319.83333333],[1765414651000,308.57142857],[1765415004000,296.62500000],[1765415275000,312.75000000],[1765415580000,287.42857143],[1765415851000,272.85714286],[1765416203000,315.42857143],[1765416476000,320.62500000],[1765416779000,316.57142857],[1765417052000,320.44444444],[1765417403000,327.71428571],[1765417707000,299.42857143],[1765417979000,300.37500000],[1765418251000,341.12500000],[1765418604000,331.80000000],[1765418891000,335.20000000],[1765419180000,327.14285714],[1765419451000,332.62500000],[1765419853000,314.33333333],[1765420113000,298.80000000],[1765420379000,294.00000000],[1765420683000,308.75000000],[1765421004000,320.80000000],[1765421291000,330.00000000],[1765421581000,314.83333333],[1765421851000,286.87500000],[1765422154000,307.37500000],[1765422476000,316.12500000],[1765422779000,310.00000000],[1765423052000,311.33333333],[1765423403000,301.28571429],[1765423675000,301.50000000],[1765423979000,317.25000000],[1765424251000,320.25000000],[1765424603000,321.66666667],[1765424854000,249.62500000],[1765425180000,327.42857143],[1765425451000,326.00000000],[1765425915000,319.25000000],[1765426107000,319.66666667],[1765426491000,337.33333333],[1765426683000,319.75000000],[1765427003000,306.57142857],[1765427275000,308.37500000],[1765427595000,305.60000000],[1765427851000,295.25000000],[1765428171000,317.75000000],[1765428475000,327.42857143],[1765428782000,333.83333333],[1765429053000,327.00000000],[1765429740000,318.40000000],[1765429979000,317.12500000],[1765430251000,315.16666667],[1765430603000,297.66666667],[1765430892000,301.66666667],[1765431153000,311.66666667],[1765431451000,316.40000000],[1765431804000,323.00000000],[1765432053000,318.42857143],[1765432354000,313.66666667],[1765432652000,304.57142857],[1765433014000,311.00000000],[1765433308000,310.42857143],[1765433553000,307.83333333],[1765433852000,309.42857143],[1765434213000,308.33333333],[1765434476000,312.62500000],[1765434779000,328.66666667],[1765435052000,316.11111111],[1765435403000,281.14285714],[1765435675000,292.75000000],[1765435979000,260.25000000],[1765436251000,284.28571429],[1765436603000,325.85714286],[1765436875000,326.22222222],[1765437179000,321.28571429],[1765437451000,313.75000000],[1765437804000,294.50000000],[1765438075000,245.00000000],[1765438380000,331.85714286],[1765438651000,258.62500000],[1765438954000,327.62500000],[1765439276000,326.87500000],[1765439579000,310.28571429],[1765439854000,289.83333333],[1765440188000,300.50000000],[1765440476000,284.71428571],[1765440779000,291.66666667],[1765441053000,305.85714286],[1765441405000,292.00000000],[1765441675000,286.16666667],[1765441996000,286.80000000],[1765442252000,286.11111111],[1765442603000,233.00000000],[1765443051000,196.00000000],[1765443179000,254.16666667],[1765443451000,300.25000000],[1765443867000,303.20000000],[1765444075000,235.88888889],[1765444379000,316.00000000],[1765444684000,287.85714286],[1765445006000,216.71428571],[1765445275000,256.37500000],[1765445580000,314.28571429],[1765445851000,306.75000000],[1765446154000,302.25000000],[1765446476000,285.12500000],[1765446779000,297.14285714],[1765447052000,295.33333333],[1765447403000,258.71428571],[1765447675000,262.77777778],[1765447979000,273.25000000],[1765448251000,255.50000000],[1765448603000,257.28571429],[1765448875000,266.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: [[1765407707000,0.00000000],[1765407771000,0.00000000],[1765408076000,0.00000000],[1765408427000,0.00000000],[1765408652000,0.00000000],[1765409003000,0.00000000],[1765409275000,0.00000000],[1765409579000,0.00000000],[1765409851000,0.00000000],[1765410203000,0.00000000],[1765410475000,0.00000000],[1765410779000,0.00000000],[1765411051000,0.00000000],[1765411404000,0.00000000],[1765411675000,0.00000000],[1765411980000,0.00000000],[1765412395000,0.00000000],[1765412554000,0.00000000],[1765412876000,0.00000000],[1765413211000,0.00000000],[1765413452000,0.00000000],[1765413803000,0.00000000],[1765414171000,0.00000000],[1765414379000,0.00000000],[1765414651000,0.00000000],[1765415004000,0.00000000],[1765415275000,0.00000000],[1765415580000,0.00000000],[1765415851000,0.00000000],[1765416203000,0.00000000],[1765416476000,0.00000000],[1765416779000,0.00000000],[1765417052000,0.00000000],[1765417403000,0.00000000],[1765417707000,0.00000000],[1765417979000,0.00000000],[1765418251000,0.00000000],[1765418604000,0.00000000],[1765418891000,0.00000000],[1765419180000,0.00000000],[1765419451000,0.00000000],[1765419853000,0.00000000],[1765420113000,0.00000000],[1765420379000,0.00000000],[1765420683000,0.00000000],[1765421004000,0.00000000],[1765421291000,0.00000000],[1765421581000,0.00000000],[1765421851000,0.00000000],[1765422154000,0.00000000],[1765422476000,0.00000000],[1765422779000,0.00000000],[1765423052000,0.00000000],[1765423403000,0.00000000],[1765423675000,0.00000000],[1765423979000,0.00000000],[1765424251000,0.00000000],[1765424603000,0.00000000],[1765424854000,0.00000000],[1765425180000,0.00000000],[1765425451000,0.00000000],[1765425915000,0.00000000],[1765426107000,0.00000000],[1765426491000,0.00000000],[1765426683000,0.00000000],[1765427003000,0.00000000],[1765427275000,0.00000000],[1765427595000,0.00000000],[1765427851000,0.00000000],[1765428171000,0.00000000],[1765428475000,0.00000000],[1765428782000,0.00000000],[1765429053000,0.00000000],[1765429740000,0.00000000],[1765429979000,0.00000000],[1765430251000,0.00000000],[1765430603000,0.00000000],[1765430892000,0.00000000],[1765431153000,0.00000000],[1765431451000,0.00000000],[1765431804000,0.00000000],[1765432053000,0.00000000],[1765432354000,0.00000000],[1765432652000,0.00000000],[1765433014000,0.00000000],[1765433308000,0.28571429],[1765433553000,1.00000000],[1765433852000,1.00000000],[1765434213000,2.00000000],[1765434476000,2.75000000],[1765434779000,3.83333333],[1765435052000,4.88888889],[1765435403000,6.14285714],[1765435675000,7.62500000],[1765435979000,9.62500000],[1765436251000,10.85714286],[1765436603000,14.14285714],[1765436875000,17.33333333],[1765437179000,19.57142857],[1765437451000,22.50000000],[1765437804000,19.00000000],[1765438075000,21.62500000],[1765438380000,19.57142857],[1765438651000,21.87500000],[1765438954000,22.75000000],[1765439276000,21.62500000],[1765439579000,25.71428571],[1765439854000,27.33333333],[1765440188000,31.83333333],[1765440476000,51.85714286],[1765440779000,51.00000000],[1765441053000,49.85714286],[1765441405000,59.00000000],[1765441675000,54.83333333],[1765441996000,55.40000000],[1765442252000,57.11111111],[1765442603000,69.66666667],[1765443051000,72.00000000],[1765443179000,65.83333333],[1765443451000,50.00000000],[1765443867000,54.20000000],[1765444075000,52.66666667],[1765444379000,58.14285714],[1765444684000,50.14285714],[1765445006000,46.14285714],[1765445275000,44.87500000],[1765445580000,51.85714286],[1765445851000,56.00000000],[1765446154000,61.37500000],[1765446476000,64.00000000],[1765446779000,63.00000000],[1765447052000,71.11111111],[1765447403000,82.14285714],[1765447675000,99.88888889],[1765447979000,121.37500000],[1765448251000,108.75000000],[1765448603000,92.14285714],[1765448875000,81.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: [[1765407707000,0.00000000],[1765407771000,0.00000000],[1765408076000,0.00000000],[1765408427000,0.00000000],[1765408652000,0.00000000],[1765409003000,0.00000000],[1765409275000,0.00000000],[1765409579000,0.00000000],[1765409851000,0.00000000],[1765410203000,0.00000000],[1765410475000,0.00000000],[1765410779000,0.00000000],[1765411051000,0.00000000],[1765411404000,0.00000000],[1765411675000,0.00000000],[1765411980000,0.00000000],[1765412395000,0.00000000],[1765412554000,0.00000000],[1765412876000,0.00000000],[1765413211000,0.00000000],[1765413452000,0.00000000],[1765413803000,0.00000000],[1765414171000,0.00000000],[1765414379000,0.00000000],[1765414651000,0.00000000],[1765415004000,0.00000000],[1765415275000,0.00000000],[1765415580000,0.00000000],[1765415851000,0.00000000],[1765416203000,0.00000000],[1765416476000,0.00000000],[1765416779000,0.00000000],[1765417052000,0.00000000],[1765417403000,0.00000000],[1765417707000,0.00000000],[1765417979000,0.00000000],[1765418251000,0.00000000],[1765418604000,0.00000000],[1765418891000,0.00000000],[1765419180000,0.00000000],[1765419451000,0.00000000],[1765419853000,0.00000000],[1765420113000,0.00000000],[1765420379000,0.00000000],[1765420683000,0.00000000],[1765421004000,0.00000000],[1765421291000,0.00000000],[1765421581000,0.00000000],[1765421851000,0.00000000],[1765422154000,0.00000000],[1765422476000,0.00000000],[1765422779000,0.00000000],[1765423052000,0.00000000],[1765423403000,0.00000000],[1765423675000,0.00000000],[1765423979000,0.00000000],[1765424251000,0.00000000],[1765424603000,0.00000000],[1765424854000,0.00000000],[1765425180000,0.00000000],[1765425451000,0.00000000],[1765425915000,0.00000000],[1765426107000,0.00000000],[1765426491000,0.00000000],[1765426683000,0.00000000],[1765427003000,0.00000000],[1765427275000,0.00000000],[1765427595000,0.00000000],[1765427851000,0.00000000],[1765428171000,0.00000000],[1765428475000,0.00000000],[1765428782000,0.00000000],[1765429053000,0.00000000],[1765429740000,0.00000000],[1765429979000,0.00000000],[1765430251000,0.00000000],[1765430603000,0.00000000],[1765430892000,0.00000000],[1765431153000,0.00000000],[1765431451000,0.00000000],[1765431804000,0.00000000],[1765432053000,0.00000000],[1765432354000,0.00000000],[1765432652000,0.00000000],[1765433014000,0.00000000],[1765433308000,0.00000000],[1765433553000,0.00000000],[1765433852000,0.00000000],[1765434213000,0.00000000],[1765434476000,0.00000000],[1765434779000,0.00000000],[1765435052000,0.00000000],[1765435403000,0.00000000],[1765435675000,0.00000000],[1765435979000,0.00000000],[1765436251000,0.00000000],[1765436603000,0.00000000],[1765436875000,0.00000000],[1765437179000,0.00000000],[1765437451000,0.00000000],[1765437804000,0.00000000],[1765438075000,0.00000000],[1765438380000,0.00000000],[1765438651000,0.00000000],[1765438954000,0.00000000],[1765439276000,0.00000000],[1765439579000,0.00000000],[1765439854000,0.00000000],[1765440188000,0.00000000],[1765440476000,0.00000000],[1765440779000,0.00000000],[1765441053000,0.00000000],[1765441405000,0.00000000],[1765441675000,0.00000000],[1765441996000,0.00000000],[1765442252000,0.00000000],[1765442603000,0.00000000],[1765443051000,0.00000000],[1765443179000,0.00000000],[1765443451000,0.00000000],[1765443867000,0.00000000],[1765444075000,0.00000000],[1765444379000,0.00000000],[1765444684000,0.00000000],[1765445006000,0.00000000],[1765445275000,0.00000000],[1765445580000,0.00000000],[1765445851000,0.00000000],[1765446154000,0.00000000],[1765446476000,0.00000000],[1765446779000,0.00000000],[1765447052000,0.00000000],[1765447403000,0.00000000],[1765447675000,0.33333333],[1765447979000,1.00000000],[1765448251000,0.75000000],[1765448603000,0.00000000],[1765448875000,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: [[1765407707000,0.00000000],[1765407771000,0.00000000],[1765408076000,0.00000000],[1765408427000,0.00000000],[1765408652000,0.00000000],[1765409003000,0.00000000],[1765409275000,0.00000000],[1765409579000,0.00000000],[1765409851000,0.00000000],[1765410203000,0.00000000],[1765410475000,0.00000000],[1765410779000,0.00000000],[1765411051000,0.00000000],[1765411404000,0.00000000],[1765411675000,0.00000000],[1765411980000,0.00000000],[1765412395000,0.00000000],[1765412554000,0.00000000],[1765412876000,0.00000000],[1765413211000,0.00000000],[1765413452000,0.00000000],[1765413803000,0.00000000],[1765414171000,0.00000000],[1765414379000,0.00000000],[1765414651000,0.00000000],[1765415004000,0.00000000],[1765415275000,0.00000000],[1765415580000,0.00000000],[1765415851000,0.00000000],[1765416203000,0.00000000],[1765416476000,0.00000000],[1765416779000,0.00000000],[1765417052000,0.00000000],[1765417403000,0.00000000],[1765417707000,0.00000000],[1765417979000,0.00000000],[1765418251000,0.00000000],[1765418604000,0.00000000],[1765418891000,0.00000000],[1765419180000,0.00000000],[1765419451000,0.00000000],[1765419853000,0.00000000],[1765420113000,0.00000000],[1765420379000,0.00000000],[1765420683000,0.00000000],[1765421004000,0.00000000],[1765421291000,0.00000000],[1765421581000,0.00000000],[1765421851000,0.00000000],[1765422154000,0.00000000],[1765422476000,0.00000000],[1765422779000,0.00000000],[1765423052000,0.00000000],[1765423403000,0.00000000],[1765423675000,0.00000000],[1765423979000,0.00000000],[1765424251000,0.00000000],[1765424603000,0.00000000],[1765424854000,0.00000000],[1765425180000,0.00000000],[1765425451000,0.00000000],[1765425915000,0.00000000],[1765426107000,0.00000000],[1765426491000,0.00000000],[1765426683000,0.00000000],[1765427003000,0.00000000],[1765427275000,0.00000000],[1765427595000,0.00000000],[1765427851000,0.00000000],[1765428171000,0.00000000],[1765428475000,0.00000000],[1765428782000,0.00000000],[1765429053000,0.00000000],[1765429740000,0.00000000],[1765429979000,0.00000000],[1765430251000,0.00000000],[1765430603000,0.00000000],[1765430892000,0.00000000],[1765431153000,0.00000000],[1765431451000,0.00000000],[1765431804000,0.00000000],[1765432053000,0.00000000],[1765432354000,0.00000000],[1765432652000,0.00000000],[1765433014000,0.00000000],[1765433308000,0.00000000],[1765433553000,0.00000000],[1765433852000,0.00000000],[1765434213000,0.00000000],[1765434476000,0.00000000],[1765434779000,0.00000000],[1765435052000,0.00000000],[1765435403000,0.00000000],[1765435675000,0.00000000],[1765435979000,0.00000000],[1765436251000,0.00000000],[1765436603000,0.00000000],[1765436875000,0.00000000],[1765437179000,0.00000000],[1765437451000,0.00000000],[1765437804000,0.00000000],[1765438075000,0.00000000],[1765438380000,0.00000000],[1765438651000,0.00000000],[1765438954000,0.00000000],[1765439276000,0.00000000],[1765439579000,0.00000000],[1765439854000,0.00000000],[1765440188000,0.00000000],[1765440476000,0.00000000],[1765440779000,0.00000000],[1765441053000,0.00000000],[1765441405000,0.00000000],[1765441675000,0.00000000],[1765441996000,0.00000000],[1765442252000,0.00000000],[1765442603000,0.00000000],[1765443051000,0.00000000],[1765443179000,0.00000000],[1765443451000,0.00000000],[1765443867000,0.00000000],[1765444075000,0.00000000],[1765444379000,0.00000000],[1765444684000,0.00000000],[1765445006000,0.00000000],[1765445275000,0.00000000],[1765445580000,0.00000000],[1765445851000,0.00000000],[1765446154000,0.00000000],[1765446476000,0.00000000],[1765446779000,0.00000000],[1765447052000,0.00000000],[1765447403000,0.00000000],[1765447675000,0.00000000],[1765447979000,0.00000000],[1765448251000,0.00000000],[1765448603000,0.00000000],[1765448875000,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; }