var graphs = {}; $(document).ready(function() { dataset = [ { label: 'Teplota (°C)', data: [[1765580425000,1.30000000],[1765580553000,1.30000000],[1765580905000,1.31428571],[1765581196000,1.40000000],[1765581481000,1.33333333],[1765581753000,1.40000000],[1765582072000,1.35000000],[1765582377000,1.40000000],[1765582729000,1.40000000],[1765583049000,1.40000000],[1765583304000,1.32500000],[1765583608000,1.40000000],[1765583944000,1.40000000],[1765584200000,1.40000000],[1765584505000,1.40000000],[1765584776000,1.44285714],[1765585081000,1.50000000],[1765585352000,1.50000000],[1765585705000,1.50000000],[1765585976000,1.50000000],[1765586281000,1.50000000],[1765586552000,1.47500000],[1765586905000,1.40000000],[1765587177000,1.40000000],[1765587481000,1.44285714],[1765587754000,1.45714286],[1765588105000,1.50000000],[1765588376000,1.50000000],[1765588680000,1.50000000],[1765588953000,1.50000000],[1765589305000,1.50000000],[1765589576000,1.50000000],[1765589881000,1.50000000],[1765590152000,1.50000000],[1765590600000,1.50000000],[1765590856000,1.55000000],[1765591081000,1.56666667],[1765591369000,1.50000000],[1765591673000,1.54000000],[1765592057000,1.55714286],[1765592280000,1.60000000],[1765592553000,1.52857143],[1765592904000,1.54285714],[1765593177000,1.60000000],[1765593481000,1.60000000],[1765593752000,1.60000000],[1765594105000,1.60000000],[1765594377000,1.60000000],[1765594680000,1.60000000],[1765594953000,1.60000000],[1765595306000,1.60000000],[1765595577000,1.60000000],[1765595881000,1.64285714],[1765596152000,1.70000000],[1765596505000,1.68571429],[1765596809000,1.60000000],[1765597098000,1.60000000],[1765597369000,1.62857143],[1765597673000,1.60000000],[1765598072000,1.70000000],[1765598297000,1.68571429],[1765598553000,1.70000000],[1765598905000,1.60000000],[1765599177000,1.58750000],[1765599486000,1.50000000],[1765599752000,1.57500000],[1765600104000,1.60000000],[1765600377000,1.60000000],[1765600681000,1.60000000],[1765600953000,1.58750000],[1765601306000,1.50000000],[1765601577000,1.58750000],[1765601881000,1.64285714],[1765602153000,1.70000000],[1765602504000,1.60000000],[1765602778000,1.62500000],[1765603080000,1.65000000],[1765603353000,1.60000000],[1765603737000,1.60000000],[1765603977000,1.60000000],[1765604281000,1.60000000],[1765604553000,1.60000000],[1765604905000,1.60000000],[1765605177000,1.60000000],[1765605481000,1.60000000],[1765605753000,1.60000000],[1765606105000,1.60000000],[1765606376000,1.51428571],[1765606681000,1.54285714],[1765606953000,1.60000000],[1765607305000,1.60000000],[1765607576000,1.58750000],[1765607881000,1.60000000],[1765608153000,1.52857143],[1765608505000,1.50000000],[1765608777000,1.53750000],[1765609081000,1.50000000],[1765609353000,1.55000000],[1765609704000,1.60000000],[1765609977000,1.56250000],[1765610281000,1.50000000],[1765610553000,1.53750000],[1765610905000,1.53333333],[1765611177000,1.50000000],[1765611450000,1.50000000],[1765611753000,1.50000000],[1765612105000,1.47142857],[1765612378000,1.42500000],[1765612680000,1.50000000],[1765612953000,1.52500000],[1765613305000,1.60000000],[1765613577000,1.50000000],], color: '#d6212a' }, { label: 'Rosný bod (°C)', data: [[1765580425000,1.2],[1765580553000,1.2],[1765580905000,1.2],[1765581196000,1.3],[1765581481000,1.2],[1765581753000,1.3],[1765582072000,1.2],[1765582377000,1.3],[1765582729000,1.3],[1765583049000,1.3],[1765583304000,1.2],[1765583608000,1.3],[1765583944000,1.3],[1765584200000,1.3],[1765584505000,1.3],[1765584776000,1.3],[1765585081000,1.4],[1765585352000,1.4],[1765585705000,1.4],[1765585976000,1.4],[1765586281000,1.4],[1765586552000,1.3],[1765586905000,1.3],[1765587177000,1.3],[1765587481000,1.3],[1765587754000,1.3],[1765588105000,1.4],[1765588376000,1.4],[1765588680000,1.4],[1765588953000,1.4],[1765589305000,1.4],[1765589576000,1.4],[1765589881000,1.4],[1765590152000,1.4],[1765590600000,1.4],[1765590856000,1.4],[1765591081000,1.4],[1765591369000,1.4],[1765591673000,1.4],[1765592057000,1.4],[1765592280000,1.5],[1765592553000,1.4],[1765592904000,1.4],[1765593177000,1.5],[1765593481000,1.5],[1765593752000,1.5],[1765594105000,1.5],[1765594377000,1.5],[1765594680000,1.5],[1765594953000,1.5],[1765595306000,1.5],[1765595577000,1.5],[1765595881000,1.5],[1765596152000,1.6],[1765596505000,1.5],[1765596809000,1.5],[1765597098000,1.5],[1765597369000,1.5],[1765597673000,1.5],[1765598072000,1.6],[1765598297000,1.5],[1765598553000,1.6],[1765598905000,1.5],[1765599177000,1.4],[1765599486000,1.4],[1765599752000,1.4],[1765600104000,1.5],[1765600377000,1.5],[1765600681000,1.5],[1765600953000,1.4],[1765601306000,1.4],[1765601577000,1.4],[1765601881000,1.5],[1765602153000,1.6],[1765602504000,1.5],[1765602778000,1.5],[1765603080000,1.5],[1765603353000,1.5],[1765603737000,1.5],[1765603977000,1.5],[1765604281000,1.5],[1765604553000,1.5],[1765604905000,1.5],[1765605177000,1.5],[1765605481000,1.5],[1765605753000,1.5],[1765606105000,1.5],[1765606376000,1.4],[1765606681000,1.4],[1765606953000,1.5],[1765607305000,1.5],[1765607576000,1.4],[1765607881000,1.5],[1765608153000,1.4],[1765608505000,1.4],[1765608777000,1.4],[1765609081000,1.4],[1765609353000,1.4],[1765609704000,1.5],[1765609977000,1.4],[1765610281000,1.4],[1765610553000,1.4],[1765610905000,1.4],[1765611177000,1.4],[1765611450000,1.4],[1765611753000,1.4],[1765612105000,1.3],[1765612378000,1.3],[1765612680000,1.4],[1765612953000,1.4],[1765613305000,1.5],[1765613577000,1.4],], 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: [[1765580425000,99.00000000],[1765580553000,99.00000000],[1765580905000,99.00000000],[1765581196000,99.00000000],[1765581481000,99.00000000],[1765581753000,99.00000000],[1765582072000,99.00000000],[1765582377000,99.00000000],[1765582729000,99.00000000],[1765583049000,99.00000000],[1765583304000,99.00000000],[1765583608000,99.00000000],[1765583944000,99.00000000],[1765584200000,99.00000000],[1765584505000,99.00000000],[1765584776000,99.00000000],[1765585081000,99.00000000],[1765585352000,99.00000000],[1765585705000,99.00000000],[1765585976000,99.00000000],[1765586281000,99.00000000],[1765586552000,99.00000000],[1765586905000,99.00000000],[1765587177000,99.00000000],[1765587481000,99.00000000],[1765587754000,99.00000000],[1765588105000,99.00000000],[1765588376000,99.00000000],[1765588680000,99.00000000],[1765588953000,99.00000000],[1765589305000,99.00000000],[1765589576000,99.00000000],[1765589881000,99.00000000],[1765590152000,99.00000000],[1765590600000,99.00000000],[1765590856000,99.00000000],[1765591081000,99.00000000],[1765591369000,99.00000000],[1765591673000,99.00000000],[1765592057000,99.00000000],[1765592280000,99.00000000],[1765592553000,99.00000000],[1765592904000,99.00000000],[1765593177000,99.00000000],[1765593481000,99.00000000],[1765593752000,99.00000000],[1765594105000,99.00000000],[1765594377000,99.00000000],[1765594680000,99.00000000],[1765594953000,99.00000000],[1765595306000,99.00000000],[1765595577000,99.00000000],[1765595881000,99.00000000],[1765596152000,99.00000000],[1765596505000,99.00000000],[1765596809000,99.00000000],[1765597098000,99.00000000],[1765597369000,99.00000000],[1765597673000,99.00000000],[1765598072000,99.00000000],[1765598297000,99.00000000],[1765598553000,99.00000000],[1765598905000,99.00000000],[1765599177000,99.00000000],[1765599486000,99.00000000],[1765599752000,99.00000000],[1765600104000,99.00000000],[1765600377000,99.00000000],[1765600681000,99.00000000],[1765600953000,99.00000000],[1765601306000,99.00000000],[1765601577000,99.00000000],[1765601881000,99.00000000],[1765602153000,99.00000000],[1765602504000,99.00000000],[1765602778000,99.00000000],[1765603080000,99.00000000],[1765603353000,99.00000000],[1765603737000,99.00000000],[1765603977000,99.00000000],[1765604281000,99.00000000],[1765604553000,99.00000000],[1765604905000,99.00000000],[1765605177000,99.00000000],[1765605481000,99.00000000],[1765605753000,99.00000000],[1765606105000,99.00000000],[1765606376000,99.00000000],[1765606681000,99.00000000],[1765606953000,99.00000000],[1765607305000,99.00000000],[1765607576000,99.00000000],[1765607881000,99.00000000],[1765608153000,99.00000000],[1765608505000,99.00000000],[1765608777000,99.00000000],[1765609081000,99.00000000],[1765609353000,99.00000000],[1765609704000,99.00000000],[1765609977000,99.00000000],[1765610281000,99.00000000],[1765610553000,99.00000000],[1765610905000,99.00000000],[1765611177000,99.00000000],[1765611450000,99.00000000],[1765611753000,99.00000000],[1765612105000,99.00000000],[1765612378000,99.00000000],[1765612680000,99.00000000],[1765612953000,99.00000000],[1765613305000,99.00000000],[1765613577000,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: [[1765580425000,1029.8],[1765580553000,1029.9],[1765580905000,1029.9],[1765581196000,1029.8],[1765581481000,1029.9],[1765581753000,1029.8],[1765582072000,1029.8],[1765582377000,1029.8],[1765582729000,1029.9],[1765583049000,1029.7],[1765583304000,1029.7],[1765583608000,1029.7],[1765583944000,1029.7],[1765584200000,1029.8],[1765584505000,1029.8],[1765584776000,1029.8],[1765585081000,1029.7],[1765585352000,1029.8],[1765585705000,1029.8],[1765585976000,1029.8],[1765586281000,1029.8],[1765586552000,1029.8],[1765586905000,1029.8],[1765587177000,1030],[1765587481000,1029.7],[1765587754000,1029.8],[1765588105000,1029.7],[1765588376000,1029.8],[1765588680000,1029.8],[1765588953000,1029.8],[1765589305000,1029.9],[1765589576000,1029.7],[1765589881000,1029.7],[1765590152000,1029.8],[1765590600000,1029.8],[1765590856000,1029.7],[1765591081000,1029.8],[1765591369000,1029.7],[1765591673000,1029.7],[1765592057000,1029.7],[1765592280000,1029.7],[1765592553000,1029.6],[1765592904000,1029.6],[1765593177000,1029.4],[1765593481000,1029.4],[1765593752000,1029.5],[1765594105000,1029.4],[1765594377000,1029.3],[1765594680000,1029.3],[1765594953000,1029.4],[1765595306000,1029.5],[1765595577000,1029.6],[1765595881000,1029.7],[1765596152000,1029.6],[1765596505000,1029.4],[1765596809000,1029.5],[1765597098000,1029.5],[1765597369000,1029.5],[1765597673000,1029.5],[1765598072000,1029.5],[1765598297000,1029.5],[1765598553000,1029.6],[1765598905000,1029.5],[1765599177000,1029.5],[1765599486000,1029.7],[1765599752000,1029.6],[1765600104000,1029.7],[1765600377000,1029.5],[1765600681000,1029.7],[1765600953000,1029.8],[1765601306000,1029.8],[1765601577000,1029.7],[1765601881000,1029.7],[1765602153000,1029.8],[1765602504000,1029.9],[1765602778000,1029.9],[1765603080000,1029.9],[1765603353000,1030],[1765603737000,1029.9],[1765603977000,1030],[1765604281000,1030],[1765604553000,1030],[1765604905000,1030],[1765605177000,1030.2],[1765605481000,1030.1],[1765605753000,1030.1],[1765606105000,1030],[1765606376000,1030.2],[1765606681000,1030.3],[1765606953000,1030.4],[1765607305000,1030.2],[1765607576000,1030.3],[1765607881000,1030.4],[1765608153000,1030.6],[1765608505000,1030.6],[1765608777000,1030.7],[1765609081000,1030.8],[1765609353000,1030.7],[1765609704000,1030.8],[1765609977000,1030.9],[1765610281000,1031],[1765610553000,1030.9],[1765610905000,1030.9],[1765611177000,1030.7],[1765611450000,1030.9],[1765611753000,1031],[1765612105000,1031],[1765612378000,1031],[1765612680000,1031.1],[1765612953000,1031.1],[1765613305000,1031.1],[1765613577000,1030.9],], 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: [[1765580425000,3.15],[1765580553000,3.015],[1765580905000,4.062857148],[1765581196000,5.4],[1765581481000,3.480000012],[1765581753000,3.33],[1765582072000,2.099999988],[1765582377000,2.622857148],[1765582729000,1.26],[1765583049000,6.66],[1765583304000,3.51],[1765583608000,1.320000012],[1765583944000,5.976],[1765584200000,6.540000012],[1765584505000,3.96],[1765584776000,3.394285704],[1765585081000,3.651428556],[1765585352000,3.24],[1765585705000,3.085714296],[1765585976000,0.822857148],[1765586281000,1.285714296],[1765586552000,4.725],[1765586905000,4.268571444],[1765587177000,1.62],[1765587481000,3.805714296],[1765587754000,1.234285704],[1765588105000,3.908571444],[1765588376000,5.04],[1765588680000,3.908571444],[1765588953000,4.275],[1765589305000,4.782857148],[1765589576000,4.455],[1765589881000,3.816],[1765590152000,4.525714296],[1765590600000,5.76],[1765590856000,3.06],[1765591081000,2.999999988],[1765591369000,3.96],[1765591673000,2.88],[1765592057000,2.777142852],[1765592280000,3.342857148],[1765592553000,2.931428556],[1765592904000,0.771428556],[1765593177000,2.115],[1765593481000,1.748571444],[1765593752000,2.211428556],[1765594105000,2.417142852],[1765594377000,1.935],[1765594680000,1.748571444],[1765594953000,1.935],[1765595306000,1.500000012],[1765595577000,0],[1765595881000,0],[1765596152000,0],[1765596505000,0.205714296],[1765596809000,0],[1765597098000,0],[1765597369000,2.622857148],[1765597673000,1.656],[1765598072000,0],[1765598297000,0],[1765598553000,0],[1765598905000,0],[1765599177000,0],[1765599486000,0],[1765599752000,0],[1765600104000,0],[1765600377000,0],[1765600681000,0],[1765600953000,0],[1765601306000,0],[1765601577000,0],[1765601881000,0],[1765602153000,0],[1765602504000,0],[1765602778000,0],[1765603080000,0],[1765603353000,0],[1765603737000,0],[1765603977000,1.485],[1765604281000,1.542857148],[1765604553000,0.945],[1765604905000,0],[1765605177000,0],[1765605481000,0],[1765605753000,0],[1765606105000,3.702857148],[1765606376000,3.651428556],[1765606681000,2.725714296],[1765606953000,0.63],[1765607305000,0.135],[1765607576000,0.045],[1765607881000,0],[1765608153000,0],[1765608505000,0],[1765608777000,0],[1765609081000,0],[1765609353000,0],[1765609704000,0],[1765609977000,1.035],[1765610281000,0.36],[1765610553000,1.215],[1765610905000,1.559999988],[1765611177000,0.822857148],[1765611450000,0.09],[1765611753000,0.99],[1765612105000,0],[1765612378000,0],[1765612680000,0],[1765612953000,0.18],[1765613305000,2.777142852],[1765613577000,6.12],], color: '#002f80', points: { show: false }, lines: { show: true, lineWidth: 2, fill: false, }, }, { label: 'Náraz vetra (km/h)', data: [[1765580425000,4.41],[1765580553000,4.41],[1765580905000,5.4],[1765581196000,6.3],[1765581481000,5.04],[1765581753000,5.04],[1765582072000,2.940000012],[1765582377000,4.32],[1765582729000,2.099999988],[1765583049000,7.56],[1765583304000,5.04],[1765583608000,4.200000012],[1765583944000,7.056],[1765584200000,8.399999988],[1765584505000,5.76],[1765584776000,5.4],[1765585081000,5.04],[1765585352000,4.41],[1765585705000,5.04],[1765585976000,1.8],[1765586281000,2.16],[1765586552000,6.3],[1765586905000,5.4],[1765587177000,2.835],[1765587481000,5.04],[1765587754000,2.16],[1765588105000,5.4],[1765588376000,6.615],[1765588680000,4.32],[1765588953000,6.3],[1765589305000,6.84],[1765589576000,5.67],[1765589881000,5.544],[1765590152000,5.76],[1765590600000,6.720000012],[1765590856000,5.04],[1765591081000,4.200000012],[1765591369000,5.879999988],[1765591673000,4.032],[1765592057000,4.32],[1765592280000,3.96],[1765592553000,3.96],[1765592904000,2.16],[1765593177000,3.465],[1765593481000,2.88],[1765593752000,3.6],[1765594105000,3.96],[1765594377000,3.15],[1765594680000,2.88],[1765594953000,2.52],[1765595306000,2.099999988],[1765595577000,0],[1765595881000,0],[1765596152000,0],[1765596505000,1.08],[1765596809000,0],[1765597098000,0],[1765597369000,3.6],[1765597673000,2.52],[1765598072000,0],[1765598297000,0],[1765598553000,0],[1765598905000,0],[1765599177000,0],[1765599486000,0],[1765599752000,0],[1765600104000,0],[1765600377000,0],[1765600681000,0],[1765600953000,0],[1765601306000,0],[1765601577000,0],[1765601881000,0],[1765602153000,0],[1765602504000,0],[1765602778000,0],[1765603080000,0],[1765603353000,0],[1765603737000,0],[1765603977000,1.89],[1765604281000,2.16],[1765604553000,1.26],[1765604905000,0],[1765605177000,0],[1765605481000,0],[1765605753000,0],[1765606105000,4.68],[1765606376000,5.04],[1765606681000,3.6],[1765606953000,1.575],[1765607305000,0.63],[1765607576000,0.315],[1765607881000,0],[1765608153000,0],[1765608505000,0],[1765608777000,0],[1765609081000,0],[1765609353000,0],[1765609704000,0],[1765609977000,1.575],[1765610281000,0.420000012],[1765610553000,1.89],[1765610905000,2.52],[1765611177000,1.8],[1765611450000,0.63],[1765611753000,1.26],[1765612105000,0],[1765612378000,0],[1765612680000,0],[1765612953000,1.26],[1765613305000,3.6],[1765613577000,7.56],], 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: [[1765580425000,94.00000000],[1765580553000,111.87500000],[1765580905000,64.85714286],[1765581196000,131.66666667],[1765581481000,99.66666667],[1765581753000,91.87500000],[1765582072000,115.00000000],[1765582377000,102.71428571],[1765582729000,127.16666667],[1765583049000,71.00000000],[1765583304000,106.25000000],[1765583608000,105.33333333],[1765583944000,64.40000000],[1765584200000,59.50000000],[1765584505000,90.71428571],[1765584776000,95.14285714],[1765585081000,88.14285714],[1765585352000,116.12500000],[1765585705000,117.71428571],[1765585976000,144.42857143],[1765586281000,123.42857143],[1765586552000,79.87500000],[1765586905000,86.14285714],[1765587177000,120.50000000],[1765587481000,87.00000000],[1765587754000,121.00000000],[1765588105000,84.00000000],[1765588376000,70.87500000],[1765588680000,101.28571429],[1765588953000,88.75000000],[1765589305000,71.71428571],[1765589576000,104.25000000],[1765589881000,91.00000000],[1765590152000,88.28571429],[1765590600000,83.33333333],[1765590856000,99.50000000],[1765591081000,96.33333333],[1765591369000,67.33333333],[1765591673000,118.00000000],[1765592057000,100.71428571],[1765592280000,109.00000000],[1765592553000,109.28571429],[1765592904000,131.28571429],[1765593177000,122.12500000],[1765593481000,110.85714286],[1765593752000,121.00000000],[1765594105000,120.57142857],[1765594377000,123.62500000],[1765594680000,128.14285714],[1765594953000,119.87500000],[1765595306000,133.33333333],[1765595577000,132.25000000],[1765595881000,160.42857143],[1765596152000,162.14285714],[1765596505000,157.57142857],[1765596809000,160.14285714],[1765597098000,157.85714286],[1765597369000,117.42857143],[1765597673000,129.80000000],[1765598072000,122.00000000],[1765598297000,131.14285714],[1765598553000,143.16666667],[1765598905000,153.85714286],[1765599177000,170.62500000],[1765599486000,166.40000000],[1765599752000,164.25000000],[1765600104000,160.42857143],[1765600377000,161.75000000],[1765600681000,162.14285714],[1765600953000,173.37500000],[1765601306000,166.00000000],[1765601577000,160.12500000],[1765601881000,147.71428571],[1765602153000,152.00000000],[1765602504000,159.42857143],[1765602778000,158.75000000],[1765603080000,157.50000000],[1765603353000,160.75000000],[1765603737000,158.50000000],[1765603977000,125.37500000],[1765604281000,134.85714286],[1765604553000,138.00000000],[1765604905000,152.00000000],[1765605177000,151.87500000],[1765605481000,154.00000000],[1765605753000,155.25000000],[1765606105000,122.14285714],[1765606376000,126.71428571],[1765606681000,131.14285714],[1765606953000,143.50000000],[1765607305000,139.75000000],[1765607576000,152.25000000],[1765607881000,148.14285714],[1765608153000,154.14285714],[1765608505000,159.85714286],[1765608777000,137.12500000],[1765609081000,151.66666667],[1765609353000,147.25000000],[1765609704000,147.42857143],[1765609977000,138.25000000],[1765610281000,132.50000000],[1765610553000,135.75000000],[1765610905000,130.83333333],[1765611177000,143.85714286],[1765611450000,138.87500000],[1765611753000,129.12500000],[1765612105000,142.71428571],[1765612378000,152.12500000],[1765612680000,155.14285714],[1765612953000,149.25000000],[1765613305000,175.14285714],[1765613577000,179.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: [[1765580425000,0.00000000],[1765580553000,0.00000000],[1765580905000,0.00000000],[1765581196000,0.00000000],[1765581481000,0.00000000],[1765581753000,0.00000000],[1765582072000,0.00000000],[1765582377000,0.00000000],[1765582729000,0.00000000],[1765583049000,0.00000000],[1765583304000,0.00000000],[1765583608000,0.00000000],[1765583944000,0.00000000],[1765584200000,0.00000000],[1765584505000,0.00000000],[1765584776000,0.00000000],[1765585081000,0.00000000],[1765585352000,0.00000000],[1765585705000,0.00000000],[1765585976000,0.00000000],[1765586281000,0.00000000],[1765586552000,0.00000000],[1765586905000,0.00000000],[1765587177000,0.00000000],[1765587481000,0.00000000],[1765587754000,0.00000000],[1765588105000,0.00000000],[1765588376000,0.00000000],[1765588680000,0.00000000],[1765588953000,0.00000000],[1765589305000,0.00000000],[1765589576000,0.00000000],[1765589881000,0.00000000],[1765590152000,0.00000000],[1765590600000,0.00000000],[1765590856000,0.00000000],[1765591081000,0.00000000],[1765591369000,0.00000000],[1765591673000,0.00000000],[1765592057000,0.00000000],[1765592280000,0.00000000],[1765592553000,0.00000000],[1765592904000,0.00000000],[1765593177000,0.00000000],[1765593481000,0.00000000],[1765593752000,0.00000000],[1765594105000,0.00000000],[1765594377000,0.00000000],[1765594680000,0.00000000],[1765594953000,0.00000000],[1765595306000,0.00000000],[1765595577000,0.00000000],[1765595881000,0.00000000],[1765596152000,0.00000000],[1765596505000,0.00000000],[1765596809000,0.00000000],[1765597098000,0.00000000],[1765597369000,0.00000000],[1765597673000,0.00000000],[1765598072000,0.00000000],[1765598297000,0.00000000],[1765598553000,0.00000000],[1765598905000,0.00000000],[1765599177000,0.00000000],[1765599486000,0.00000000],[1765599752000,0.00000000],[1765600104000,0.00000000],[1765600377000,0.00000000],[1765600681000,0.00000000],[1765600953000,0.00000000],[1765601306000,0.00000000],[1765601577000,0.00000000],[1765601881000,0.00000000],[1765602153000,0.00000000],[1765602504000,0.00000000],[1765602778000,0.00000000],[1765603080000,0.00000000],[1765603353000,0.00000000],[1765603737000,0.00000000],[1765603977000,0.00000000],[1765604281000,0.00000000],[1765604553000,0.00000000],[1765604905000,0.00000000],[1765605177000,0.00000000],[1765605481000,0.00000000],[1765605753000,0.00000000],[1765606105000,0.00000000],[1765606376000,0.00000000],[1765606681000,0.00000000],[1765606953000,0.00000000],[1765607305000,0.00000000],[1765607576000,0.00000000],[1765607881000,0.00000000],[1765608153000,0.14285714],[1765608505000,0.57142857],[1765608777000,0.62500000],[1765609081000,1.83333333],[1765609353000,2.37500000],[1765609704000,3.57142857],[1765609977000,4.62500000],[1765610281000,4.66666667],[1765610553000,6.00000000],[1765610905000,7.50000000],[1765611177000,7.71428571],[1765611450000,8.25000000],[1765611753000,8.00000000],[1765612105000,8.14285714],[1765612378000,8.12500000],[1765612680000,8.42857143],[1765612953000,9.25000000],[1765613305000,11.85714286],[1765613577000,13.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: [[1765580425000,0.00000000],[1765580553000,0.00000000],[1765580905000,0.00000000],[1765581196000,0.00000000],[1765581481000,0.00000000],[1765581753000,0.00000000],[1765582072000,0.00000000],[1765582377000,0.00000000],[1765582729000,0.00000000],[1765583049000,0.00000000],[1765583304000,0.00000000],[1765583608000,0.00000000],[1765583944000,0.00000000],[1765584200000,0.00000000],[1765584505000,0.00000000],[1765584776000,0.00000000],[1765585081000,0.00000000],[1765585352000,0.00000000],[1765585705000,0.00000000],[1765585976000,0.00000000],[1765586281000,0.00000000],[1765586552000,0.00000000],[1765586905000,0.00000000],[1765587177000,0.00000000],[1765587481000,0.00000000],[1765587754000,0.00000000],[1765588105000,0.00000000],[1765588376000,0.00000000],[1765588680000,0.00000000],[1765588953000,0.00000000],[1765589305000,0.00000000],[1765589576000,0.00000000],[1765589881000,0.00000000],[1765590152000,0.00000000],[1765590600000,0.00000000],[1765590856000,0.00000000],[1765591081000,0.00000000],[1765591369000,0.00000000],[1765591673000,0.00000000],[1765592057000,0.00000000],[1765592280000,0.00000000],[1765592553000,0.00000000],[1765592904000,0.00000000],[1765593177000,0.00000000],[1765593481000,0.00000000],[1765593752000,0.00000000],[1765594105000,0.00000000],[1765594377000,0.00000000],[1765594680000,0.00000000],[1765594953000,0.00000000],[1765595306000,0.00000000],[1765595577000,0.00000000],[1765595881000,0.00000000],[1765596152000,0.00000000],[1765596505000,0.00000000],[1765596809000,0.00000000],[1765597098000,0.00000000],[1765597369000,0.00000000],[1765597673000,0.00000000],[1765598072000,0.00000000],[1765598297000,0.00000000],[1765598553000,0.00000000],[1765598905000,0.00000000],[1765599177000,0.00000000],[1765599486000,0.00000000],[1765599752000,0.00000000],[1765600104000,0.00000000],[1765600377000,0.00000000],[1765600681000,0.00000000],[1765600953000,0.00000000],[1765601306000,0.00000000],[1765601577000,0.00000000],[1765601881000,0.00000000],[1765602153000,0.00000000],[1765602504000,0.00000000],[1765602778000,0.00000000],[1765603080000,0.00000000],[1765603353000,0.00000000],[1765603737000,0.00000000],[1765603977000,0.00000000],[1765604281000,0.00000000],[1765604553000,0.00000000],[1765604905000,0.00000000],[1765605177000,0.00000000],[1765605481000,0.00000000],[1765605753000,0.00000000],[1765606105000,0.00000000],[1765606376000,0.00000000],[1765606681000,0.00000000],[1765606953000,0.00000000],[1765607305000,0.00000000],[1765607576000,0.00000000],[1765607881000,0.00000000],[1765608153000,0.00000000],[1765608505000,0.00000000],[1765608777000,0.00000000],[1765609081000,0.00000000],[1765609353000,0.00000000],[1765609704000,0.00000000],[1765609977000,0.00000000],[1765610281000,0.00000000],[1765610553000,0.00000000],[1765610905000,0.00000000],[1765611177000,0.00000000],[1765611450000,0.00000000],[1765611753000,0.00000000],[1765612105000,0.00000000],[1765612378000,0.00000000],[1765612680000,0.00000000],[1765612953000,0.00000000],[1765613305000,0.00000000],[1765613577000,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: [[1765580425000,0.00000000],[1765580553000,0.00000000],[1765580905000,0.00000000],[1765581196000,0.00000000],[1765581481000,0.00000000],[1765581753000,0.00000000],[1765582072000,0.00000000],[1765582377000,0.00000000],[1765582729000,0.00000000],[1765583049000,0.00000000],[1765583304000,0.00000000],[1765583608000,0.00000000],[1765583944000,0.00000000],[1765584200000,0.00000000],[1765584505000,0.00000000],[1765584776000,0.00000000],[1765585081000,0.00000000],[1765585352000,0.00000000],[1765585705000,0.00000000],[1765585976000,0.00000000],[1765586281000,0.00000000],[1765586552000,0.00000000],[1765586905000,0.00000000],[1765587177000,0.00000000],[1765587481000,0.00000000],[1765587754000,0.00000000],[1765588105000,0.00000000],[1765588376000,0.00000000],[1765588680000,0.00000000],[1765588953000,0.00000000],[1765589305000,0.00000000],[1765589576000,0.00000000],[1765589881000,0.00000000],[1765590152000,0.00000000],[1765590600000,0.00000000],[1765590856000,0.00000000],[1765591081000,0.00000000],[1765591369000,0.00000000],[1765591673000,0.00000000],[1765592057000,0.00000000],[1765592280000,0.00000000],[1765592553000,0.00000000],[1765592904000,0.00000000],[1765593177000,0.00000000],[1765593481000,0.00000000],[1765593752000,0.00000000],[1765594105000,0.00000000],[1765594377000,0.00000000],[1765594680000,0.00000000],[1765594953000,0.00000000],[1765595306000,0.00000000],[1765595577000,0.00000000],[1765595881000,0.00000000],[1765596152000,0.00000000],[1765596505000,0.00000000],[1765596809000,0.00000000],[1765597098000,0.00000000],[1765597369000,0.00000000],[1765597673000,0.00000000],[1765598072000,0.00000000],[1765598297000,0.00000000],[1765598553000,0.00000000],[1765598905000,0.00000000],[1765599177000,0.00000000],[1765599486000,0.00000000],[1765599752000,0.00000000],[1765600104000,0.00000000],[1765600377000,0.00000000],[1765600681000,0.00000000],[1765600953000,0.00000000],[1765601306000,0.00000000],[1765601577000,0.00000000],[1765601881000,0.00000000],[1765602153000,0.00000000],[1765602504000,0.00000000],[1765602778000,0.00000000],[1765603080000,0.00000000],[1765603353000,0.00000000],[1765603737000,0.00000000],[1765603977000,0.00000000],[1765604281000,0.00000000],[1765604553000,0.00000000],[1765604905000,0.00000000],[1765605177000,0.00000000],[1765605481000,0.00000000],[1765605753000,0.00000000],[1765606105000,0.00000000],[1765606376000,0.00000000],[1765606681000,0.00000000],[1765606953000,0.00000000],[1765607305000,0.00000000],[1765607576000,0.00000000],[1765607881000,0.00000000],[1765608153000,0.00000000],[1765608505000,0.00000000],[1765608777000,0.00000000],[1765609081000,0.00000000],[1765609353000,0.00000000],[1765609704000,0.00000000],[1765609977000,0.00000000],[1765610281000,0.00000000],[1765610553000,0.00000000],[1765610905000,0.00000000],[1765611177000,0.00000000],[1765611450000,0.00000000],[1765611753000,0.00000000],[1765612105000,0.00000000],[1765612378000,0.00000000],[1765612680000,0.00000000],[1765612953000,0.00000000],[1765613305000,0.00000000],[1765613577000,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; }