var meteoCharts = {}; var meteoCompassLabels = {0: 'S', 90: 'V', 180: 'J', 270: 'Z', 360: 'S'}; var meteoRangeMin = 1795042800000; var meteoRangeMax = 1795056509000; function meteoFormatTime(ms) { return moment(ms).format('HH:mm'); } function meteoFormatDateTime(ms) { return moment(ms).format('DD.MM., HH:mm'); } function meteoComputeExtremes(points) { var minPoint = null, maxPoint = null; for (var i = 0; i < points.length; i++) { var p = points[i]; if (p.y === null || p.y === undefined) continue; if (!minPoint || p.y < minPoint.y) minPoint = p; if (!maxPoint || p.y > maxPoint.y) maxPoint = p; } return (minPoint || maxPoint) ? {min: minPoint, max: maxPoint} : null; } function meteoExtremeType(extremes, p) { if (!extremes || !p) return null; if (extremes.max && p.x === extremes.max.x && p.y === extremes.max.y) return 'max'; if (extremes.min && p.x === extremes.min.x && p.y === extremes.min.y) return 'min'; return null; } function meteoBuildDataset(spec) { var extremes = spec.highlightExtremes ? meteoComputeExtremes(spec.points) : null; var baseRadius = spec.pointRadius !== undefined ? spec.pointRadius : 0; var baseHoverRadius = baseRadius || 3; return { label: spec.label, data: spec.points, borderColor: spec.color, backgroundColor: spec.color, borderWidth: 2, tension: 0.15, fill: false, spanGaps: true, showLine: spec.showLine !== false, meteoUnit: spec.unit || '', meteoTooltipMode: spec.tooltipMode || 'default', meteoExtremes: extremes, pointRadius: function(context) { return meteoExtremeType(extremes, context.raw) ? Math.max(baseRadius, 5) : baseRadius; }, pointHoverRadius: function(context) { return meteoExtremeType(extremes, context.raw) ? Math.max(baseHoverRadius, 7) : baseHoverRadius; }, pointBackgroundColor: spec.color, pointBorderColor: '#ffffff', pointBorderWidth: function(context) { return meteoExtremeType(extremes, context.raw) ? 2 : 0; } }; } function buildMeteoChart(canvasId, resetButtonId, specs, extraOptions) { var canvas = document.getElementById(canvasId); if (!canvas || typeof Chart === 'undefined' || !specs.length) { return; } extraOptions = extraOptions || {}; var yScale = {title: {display: !!extraOptions.yLabel, text: extraOptions.yLabel || ''}}; if (extraOptions.yMin !== undefined) yScale.min = extraOptions.yMin; if (extraOptions.yMax !== undefined) yScale.max = extraOptions.yMax; if (extraOptions.yMode === 'compass') { yScale.min = 0; yScale.max = 360; yScale.ticks = { stepSize: 90, callback: function(value) { return meteoCompassLabels[value] !== undefined ? meteoCompassLabels[value] : value; } }; } meteoCharts[canvasId] = new Chart(canvas.getContext('2d'), { type: 'line', data: {datasets: specs.map(meteoBuildDataset)}, options: { responsive: true, maintainAspectRatio: false, animation: false, interaction: {mode: 'nearest', axis: 'x', intersect: false}, scales: { x: { type: 'linear', min: meteoRangeMin, max: meteoRangeMax, ticks: {maxTicksLimit: 8, callback: meteoFormatTime} }, y: yScale }, plugins: { legend: {display: true, position: 'top'}, tooltip: { callbacks: { title: function(items) { return items.length ? meteoFormatDateTime(items[0].parsed.x) : ''; }, label: function(context) { var ds = context.dataset; if (ds.meteoTooltipMode === 'windDirection') { return meteo_wind_direction_name(context.parsed.y); } var extremeType = meteoExtremeType(ds.meteoExtremes, context.raw); var suffix = extremeType === 'max' ? ' (dnešné maximum)' : (extremeType === 'min' ? ' (dnešné minimum)' : ''); return ds.label + ': ' + context.parsed.y + ds.meteoUnit + suffix; } } }, zoom: { pan: {enabled: true, mode: 'x'}, zoom: {wheel: {enabled: true}, pinch: {enabled: true}, mode: 'x'}, limits: {x: {min: meteoRangeMin, max: meteoRangeMax}} } } } }); var resetButton = document.getElementById(resetButtonId); if (resetButton) { resetButton.addEventListener('click', function() { meteoCharts[canvasId].resetZoom(); }); } } $(document).ready(function() { buildMeteoChart('chart-temperature-canvas', 'chart-temperature-reset', [{"label":"Teplota (°C)","color":"#d6212a","points":[{"x":1795042802000,"y":8.7},{"x":1795042883000,"y":8.7},{"x":1795042914000,"y":8.7},{"x":1795042947000,"y":8.7},{"x":1795042978000,"y":8.7},{"x":1795043011000,"y":8.7},{"x":1795043042000,"y":8.7},{"x":1795043123000,"y":8.7},{"x":1795043155000,"y":8.7},{"x":1795043186000,"y":8.7},{"x":1795043219000,"y":8.7},{"x":1795043250000,"y":8.7},{"x":1795043283000,"y":8.7},{"x":1795043362000,"y":8.7},{"x":1795043395000,"y":8.7},{"x":1795043426000,"y":8.7},{"x":1795043459000,"y":8.7},{"x":1795043490000,"y":8.7},{"x":1795043523000,"y":8.8},{"x":1795043603000,"y":8.8},{"x":1795043634000,"y":8.8},{"x":1795043667000,"y":8.7},{"x":1795043698000,"y":8.7},{"x":1795043731000,"y":8.7},{"x":1795043762000,"y":8.7},{"x":1795043843000,"y":8.7},{"x":1795043874000,"y":8.7},{"x":1795043907000,"y":8.6},{"x":1795043938000,"y":8.6},{"x":1795043971000,"y":8.6},{"x":1795044002000,"y":8.5},{"x":1795044082000,"y":8.5},{"x":1795044115000,"y":8.5},{"x":1795044146000,"y":8.5},{"x":1795044178000,"y":8.5},{"x":1795044210000,"y":8.5},{"x":1795044243000,"y":8.5},{"x":1795044322000,"y":8.6},{"x":1795044355000,"y":8.6},{"x":1795044386000,"y":8.6},{"x":1795044419000,"y":8.7},{"x":1795044450000,"y":8.7},{"x":1795044483000,"y":8.7},{"x":1795044563000,"y":8.8},{"x":1795044594000,"y":8.8},{"x":1795044627000,"y":8.8},{"x":1795044658000,"y":8.8},{"x":1795044690000,"y":8.9},{"x":1795044722000,"y":8.9},{"x":1795044804000,"y":8.9},{"x":1795044835000,"y":8.9},{"x":1795044867000,"y":8.9},{"x":1795044898000,"y":9},{"x":1795044931000,"y":9},{"x":1795044962000,"y":9},{"x":1795045042000,"y":9},{"x":1795045074000,"y":9},{"x":1795045106000,"y":8.9},{"x":1795045138000,"y":8.9},{"x":1795045171000,"y":8.9},{"x":1795045202000,"y":8.9},{"x":1795045282000,"y":9},{"x":1795045316000,"y":9},{"x":1795045379000,"y":9},{"x":1795045410000,"y":9},{"x":1795045443000,"y":9},{"x":1795045523000,"y":9.1},{"x":1795045554000,"y":9.2},{"x":1795045586000,"y":9.2},{"x":1795045618000,"y":9.2},{"x":1795045650000,"y":9.2},{"x":1795045682000,"y":9.2},{"x":1795045763000,"y":9.3},{"x":1795045795000,"y":9.3},{"x":1795045827000,"y":9.3},{"x":1795045858000,"y":9.3},{"x":1795045891000,"y":9.3},{"x":1795045922000,"y":9.3},{"x":1795046002000,"y":9.3},{"x":1795046034000,"y":9.3},{"x":1795046066000,"y":9.3},{"x":1795046099000,"y":9.3},{"x":1795046130000,"y":9.3},{"x":1795046162000,"y":9.3},{"x":1795046242000,"y":9.3},{"x":1795046275000,"y":9.3},{"x":1795046306000,"y":9.4},{"x":1795046339000,"y":9.4},{"x":1795046370000,"y":9.4},{"x":1795046403000,"y":9.4},{"x":1795046482000,"y":9.3},{"x":1795046514000,"y":9.3},{"x":1795046547000,"y":9.3},{"x":1795046578000,"y":9.3},{"x":1795046610000,"y":9.3},{"x":1795046642000,"y":9.3},{"x":1795046723000,"y":9.3},{"x":1795046754000,"y":9.3},{"x":1795046787000,"y":9.3},{"x":1795046818000,"y":9.3},{"x":1795046851000,"y":9.3},{"x":1795046882000,"y":9.3},{"x":1795046915000,"y":9.3},{"x":1795046946000,"y":9.2},{"x":1795047090000,"y":9.2},{"x":1795047123000,"y":9.2},{"x":1795047203000,"y":9.2},{"x":1795047236000,"y":9.2},{"x":1795047300000,"y":9.2},{"x":1795047364000,"y":9.1},{"x":1795047442000,"y":9.1},{"x":1795047507000,"y":9.2},{"x":1795047538000,"y":9.2},{"x":1795047571000,"y":9.2},{"x":1795047602000,"y":9.2},{"x":1795047684000,"y":9.2},{"x":1795047715000,"y":9.2},{"x":1795047747000,"y":9.2},{"x":1795047778000,"y":9.1},{"x":1795047812000,"y":9.1},{"x":1795047874000,"y":9.1},{"x":1795047922000,"y":9.1},{"x":1795048050000,"y":9},{"x":1795048083000,"y":9},{"x":1795048196000,"y":9},{"x":1795048290000,"y":9},{"x":1795048610000,"y":9.1},{"x":1795048708000,"y":9.1},{"x":1795048772000,"y":9.1},{"x":1795048882000,"y":9.2},{"x":1795048914000,"y":9.2},{"x":1795048946000,"y":9.2},{"x":1795048978000,"y":9.2},{"x":1795049010000,"y":9.2},{"x":1795049043000,"y":9.2},{"x":1795049154000,"y":9.2},{"x":1795049186000,"y":9.2},{"x":1795049218000,"y":9.2},{"x":1795049250000,"y":9.2},{"x":1795049282000,"y":9.2},{"x":1795049313000,"y":9.2},{"x":1795049363000,"y":9.4},{"x":1795049394000,"y":9.4},{"x":1795049428000,"y":9.4},{"x":1795049491000,"y":9.4},{"x":1795049522000,"y":9.3},{"x":1795049553000,"y":9.3},{"x":1795049602000,"y":9.3},{"x":1795049634000,"y":9.3},{"x":1795049666000,"y":9.3},{"x":1795049698000,"y":9.4},{"x":1795049730000,"y":9.4},{"x":1795049762000,"y":9.4},{"x":1795049793000,"y":9.4},{"x":1795049876000,"y":9.4},{"x":1795049939000,"y":9.4},{"x":1795049970000,"y":9.4},{"x":1795050003000,"y":9.4},{"x":1795050082000,"y":9.4},{"x":1795050114000,"y":9.4},{"x":1795050146000,"y":9.3},{"x":1795050178000,"y":9.3},{"x":1795050210000,"y":9.3},{"x":1795050242000,"y":9.2},{"x":1795050323000,"y":9.2},{"x":1795050354000,"y":9.2},{"x":1795050387000,"y":9.3},{"x":1795050418000,"y":9.3},{"x":1795050451000,"y":9.3},{"x":1795050482000,"y":9.3},{"x":1795050515000,"y":9.3},{"x":1795050546000,"y":9.4},{"x":1795050626000,"y":9.4},{"x":1795050658000,"y":9.3},{"x":1795050690000,"y":9.3},{"x":1795050722000,"y":9.3},{"x":1795050753000,"y":9.3},{"x":1795050802000,"y":9.3},{"x":1795050835000,"y":9.3},{"x":1795050866000,"y":9.3},{"x":1795050899000,"y":9.3},{"x":1795050930000,"y":9.3},{"x":1795050963000,"y":9.3},{"x":1795051042000,"y":9.4},{"x":1795051074000,"y":9.4},{"x":1795051106000,"y":9.4},{"x":1795051138000,"y":9.4},{"x":1795051170000,"y":9.4},{"x":1795051202000,"y":9.4},{"x":1795051283000,"y":9.3},{"x":1795051314000,"y":9.3},{"x":1795051347000,"y":9.3},{"x":1795051379000,"y":9.3},{"x":1795051412000,"y":9.3},{"x":1795051475000,"y":9.3},{"x":1795051522000,"y":9.4},{"x":1795051554000,"y":9.4},{"x":1795051586000,"y":9.4},{"x":1795051618000,"y":9.5},{"x":1795051650000,"y":9.5},{"x":1795051682000,"y":9.5},{"x":1795051713000,"y":9.5},{"x":1795051762000,"y":9.5},{"x":1795051799000,"y":9.5},{"x":1795051858000,"y":9.6},{"x":1795051890000,"y":9.6},{"x":1795051922000,"y":9.6},{"x":1795052004000,"y":9.6},{"x":1795052068000,"y":9.6},{"x":1795052131000,"y":9.6},{"x":1795052162000,"y":9.6},{"x":1795052194000,"y":9.6},{"x":1795052227000,"y":9.6},{"x":1795052306000,"y":9.6},{"x":1795052338000,"y":9.6},{"x":1795052370000,"y":9.6},{"x":1795052402000,"y":9.6},{"x":1795052433000,"y":9.6},{"x":1795052483000,"y":9.6},{"x":1795052516000,"y":9.6},{"x":1795052547000,"y":9.5},{"x":1795052579000,"y":9.5},{"x":1795052610000,"y":9.5},{"x":1795052644000,"y":9.5},{"x":1795052722000,"y":9.5},{"x":1795052754000,"y":9.5},{"x":1795052786000,"y":9.5},{"x":1795052818000,"y":9.5},{"x":1795052850000,"y":9.6},{"x":1795052882000,"y":9.6},{"x":1795052963000,"y":9.6},{"x":1795052994000,"y":9.6},{"x":1795053027000,"y":9.6},{"x":1795053059000,"y":9.6},{"x":1795053091000,"y":9.6},{"x":1795053122000,"y":9.6},{"x":1795053154000,"y":9.6},{"x":1795053186000,"y":9.6},{"x":1795053266000,"y":9.5},{"x":1795053298000,"y":9.5},{"x":1795053363000,"y":9.5},{"x":1795053442000,"y":9.5},{"x":1795053475000,"y":9.5},{"x":1795053506000,"y":9.5},{"x":1795053540000,"y":9.5},{"x":1795053682000,"y":9.5},{"x":1795053746000,"y":9.5},{"x":1795053810000,"y":9.5},{"x":1795054034000,"y":9.6},{"x":1795054098000,"y":9.5},{"x":1795054162000,"y":9.5},{"x":1795054226000,"y":9.5},{"x":1795054290000,"y":9.5},{"x":1795054530000,"y":9.6},{"x":1795054610000,"y":9.6},{"x":1795054708000,"y":9.6},{"x":1795054771000,"y":9.5},{"x":1795054802000,"y":9.5},{"x":1795054833000,"y":9.5},{"x":1795055091000,"y":9.5},{"x":1795055122000,"y":9.4},{"x":1795055157000,"y":9.4},{"x":1795055220000,"y":9.4},{"x":1795055283000,"y":9.4},{"x":1795055362000,"y":9.4},{"x":1795055394000,"y":9.4},{"x":1795055426000,"y":9.4},{"x":1795055458000,"y":9.4},{"x":1795055490000,"y":9.4},{"x":1795055522000,"y":9.4},{"x":1795055603000,"y":9.4},{"x":1795055634000,"y":9.4},{"x":1795055667000,"y":9.4},{"x":1795055698000,"y":9.4},{"x":1795055732000,"y":9.4},{"x":1795055794000,"y":9.4},{"x":1795055842000,"y":9.5},{"x":1795055874000,"y":9.5},{"x":1795055906000,"y":9.5},{"x":1795055938000,"y":9.5},{"x":1795055970000,"y":9.5},{"x":1795056002000,"y":9.5},{"x":1795056082000,"y":9.4},{"x":1795056115000,"y":9.4},{"x":1795056146000,"y":9.4},{"x":1795056179000,"y":9.4},{"x":1795056210000,"y":9.4},{"x":1795056243000,"y":9.4},{"x":1795056322000,"y":9.5},{"x":1795056355000,"y":9.5},{"x":1795056386000,"y":9.5},{"x":1795056418000,"y":9.5},{"x":1795056450000,"y":9.5},{"x":1795056482000,"y":9.5}],"highlightExtremes":true,"unit":" °C"},{"label":"Rosný bod (°C)","color":"#5b9f4a","points":[{"x":1795042802000,"y":4.8},{"x":1795042883000,"y":4.8},{"x":1795042914000,"y":4.8},{"x":1795042947000,"y":4.7},{"x":1795042978000,"y":4.8},{"x":1795043011000,"y":4.8},{"x":1795043042000,"y":4.7},{"x":1795043123000,"y":4.8},{"x":1795043155000,"y":4.7},{"x":1795043186000,"y":4.8},{"x":1795043219000,"y":4.8},{"x":1795043250000,"y":4.7},{"x":1795043283000,"y":4.7},{"x":1795043362000,"y":4.7},{"x":1795043395000,"y":4.7},{"x":1795043426000,"y":4.7},{"x":1795043459000,"y":4.7},{"x":1795043490000,"y":4.7},{"x":1795043523000,"y":4.8},{"x":1795043603000,"y":4.8},{"x":1795043634000,"y":4.9},{"x":1795043667000,"y":4.8},{"x":1795043698000,"y":4.8},{"x":1795043731000,"y":4.7},{"x":1795043762000,"y":4.8},{"x":1795043843000,"y":4.8},{"x":1795043874000,"y":4.8},{"x":1795043907000,"y":4.8},{"x":1795043938000,"y":4.9},{"x":1795043971000,"y":4.9},{"x":1795044002000,"y":4.8},{"x":1795044082000,"y":4.8},{"x":1795044115000,"y":4.8},{"x":1795044146000,"y":4.8},{"x":1795044178000,"y":4.7},{"x":1795044210000,"y":4.8},{"x":1795044243000,"y":4.8},{"x":1795044322000,"y":4.8},{"x":1795044355000,"y":4.8},{"x":1795044386000,"y":4.8},{"x":1795044419000,"y":4.8},{"x":1795044450000,"y":4.8},{"x":1795044483000,"y":4.8},{"x":1795044563000,"y":4.9},{"x":1795044594000,"y":4.8},{"x":1795044627000,"y":4.8},{"x":1795044658000,"y":4.9},{"x":1795044690000,"y":5},{"x":1795044722000,"y":4.9},{"x":1795044804000,"y":4.9},{"x":1795044835000,"y":4.9},{"x":1795044867000,"y":4.9},{"x":1795044898000,"y":4.9},{"x":1795044931000,"y":4.9},{"x":1795044962000,"y":4.9},{"x":1795045042000,"y":5.1},{"x":1795045074000,"y":4.9},{"x":1795045106000,"y":4.9},{"x":1795045138000,"y":4.9},{"x":1795045171000,"y":4.9},{"x":1795045202000,"y":4.9},{"x":1795045282000,"y":4.9},{"x":1795045316000,"y":4.9},{"x":1795045379000,"y":4.9},{"x":1795045410000,"y":4.9},{"x":1795045443000,"y":4.9},{"x":1795045523000,"y":5},{"x":1795045554000,"y":5.1},{"x":1795045586000,"y":5},{"x":1795045618000,"y":5},{"x":1795045650000,"y":5},{"x":1795045682000,"y":5},{"x":1795045763000,"y":5},{"x":1795045795000,"y":5},{"x":1795045827000,"y":5},{"x":1795045858000,"y":5},{"x":1795045891000,"y":5},{"x":1795045922000,"y":5},{"x":1795046002000,"y":5},{"x":1795046034000,"y":5},{"x":1795046066000,"y":5},{"x":1795046099000,"y":5},{"x":1795046130000,"y":5},{"x":1795046162000,"y":5},{"x":1795046242000,"y":5},{"x":1795046275000,"y":5},{"x":1795046306000,"y":5.1},{"x":1795046339000,"y":5.1},{"x":1795046370000,"y":5.1},{"x":1795046403000,"y":5},{"x":1795046482000,"y":5},{"x":1795046514000,"y":5},{"x":1795046547000,"y":5},{"x":1795046578000,"y":5},{"x":1795046610000,"y":5},{"x":1795046642000,"y":5},{"x":1795046723000,"y":5},{"x":1795046754000,"y":5},{"x":1795046787000,"y":5},{"x":1795046818000,"y":5},{"x":1795046851000,"y":5},{"x":1795046882000,"y":5},{"x":1795046915000,"y":5},{"x":1795046946000,"y":5},{"x":1795047090000,"y":5},{"x":1795047123000,"y":5},{"x":1795047203000,"y":5},{"x":1795047236000,"y":5},{"x":1795047300000,"y":5},{"x":1795047364000,"y":4.9},{"x":1795047442000,"y":4.9},{"x":1795047507000,"y":5},{"x":1795047538000,"y":5},{"x":1795047571000,"y":5},{"x":1795047602000,"y":5},{"x":1795047684000,"y":5},{"x":1795047715000,"y":5},{"x":1795047747000,"y":5},{"x":1795047778000,"y":5},{"x":1795047812000,"y":4.9},{"x":1795047874000,"y":4.9},{"x":1795047922000,"y":5},{"x":1795048050000,"y":4.9},{"x":1795048083000,"y":4.9},{"x":1795048196000,"y":4.9},{"x":1795048290000,"y":4.9},{"x":1795048610000,"y":4.9},{"x":1795048708000,"y":4.9},{"x":1795048772000,"y":5},{"x":1795048882000,"y":5},{"x":1795048914000,"y":5},{"x":1795048946000,"y":5.1},{"x":1795048978000,"y":5.1},{"x":1795049010000,"y":5.1},{"x":1795049043000,"y":5.1},{"x":1795049154000,"y":5},{"x":1795049186000,"y":5},{"x":1795049218000,"y":5.1},{"x":1795049250000,"y":5},{"x":1795049282000,"y":4.8},{"x":1795049313000,"y":4.8},{"x":1795049363000,"y":5.1},{"x":1795049394000,"y":5.1},{"x":1795049428000,"y":5.1},{"x":1795049491000,"y":5.1},{"x":1795049522000,"y":5},{"x":1795049553000,"y":5},{"x":1795049602000,"y":5},{"x":1795049634000,"y":4.9},{"x":1795049666000,"y":5},{"x":1795049698000,"y":5.1},{"x":1795049730000,"y":5.1},{"x":1795049762000,"y":5.1},{"x":1795049793000,"y":5.1},{"x":1795049876000,"y":5.1},{"x":1795049939000,"y":5.1},{"x":1795049970000,"y":5.1},{"x":1795050003000,"y":5.1},{"x":1795050082000,"y":5.3},{"x":1795050114000,"y":5.3},{"x":1795050146000,"y":5.2},{"x":1795050178000,"y":5.2},{"x":1795050210000,"y":5.2},{"x":1795050242000,"y":5.1},{"x":1795050323000,"y":5},{"x":1795050354000,"y":5},{"x":1795050387000,"y":5},{"x":1795050418000,"y":5},{"x":1795050451000,"y":5},{"x":1795050482000,"y":5},{"x":1795050515000,"y":5},{"x":1795050546000,"y":5.1},{"x":1795050626000,"y":5.1},{"x":1795050658000,"y":5},{"x":1795050690000,"y":5},{"x":1795050722000,"y":5},{"x":1795050753000,"y":5},{"x":1795050802000,"y":5},{"x":1795050835000,"y":5.2},{"x":1795050866000,"y":5},{"x":1795050899000,"y":5},{"x":1795050930000,"y":5},{"x":1795050963000,"y":5},{"x":1795051042000,"y":5.1},{"x":1795051074000,"y":5.1},{"x":1795051106000,"y":5.1},{"x":1795051138000,"y":5.1},{"x":1795051170000,"y":5.1},{"x":1795051202000,"y":5.3},{"x":1795051283000,"y":5},{"x":1795051314000,"y":5},{"x":1795051347000,"y":5},{"x":1795051379000,"y":5},{"x":1795051412000,"y":5},{"x":1795051475000,"y":5},{"x":1795051522000,"y":5},{"x":1795051554000,"y":5},{"x":1795051586000,"y":5},{"x":1795051618000,"y":5},{"x":1795051650000,"y":5.2},{"x":1795051682000,"y":5},{"x":1795051713000,"y":5},{"x":1795051762000,"y":4.8},{"x":1795051799000,"y":4.8},{"x":1795051858000,"y":4.9},{"x":1795051890000,"y":5.1},{"x":1795051922000,"y":5.1},{"x":1795052004000,"y":4.9},{"x":1795052068000,"y":5.1},{"x":1795052131000,"y":5.1},{"x":1795052162000,"y":5.1},{"x":1795052194000,"y":4.9},{"x":1795052227000,"y":4.9},{"x":1795052306000,"y":5.1},{"x":1795052338000,"y":4.9},{"x":1795052370000,"y":4.9},{"x":1795052402000,"y":5.1},{"x":1795052433000,"y":5.1},{"x":1795052483000,"y":5.1},{"x":1795052516000,"y":5.1},{"x":1795052547000,"y":5},{"x":1795052579000,"y":5},{"x":1795052610000,"y":5},{"x":1795052644000,"y":5},{"x":1795052722000,"y":5},{"x":1795052754000,"y":4.8},{"x":1795052786000,"y":5},{"x":1795052818000,"y":5},{"x":1795052850000,"y":5.1},{"x":1795052882000,"y":5.1},{"x":1795052963000,"y":4.9},{"x":1795052994000,"y":4.9},{"x":1795053027000,"y":5.1},{"x":1795053059000,"y":4.9},{"x":1795053091000,"y":5.1},{"x":1795053122000,"y":5.1},{"x":1795053154000,"y":5.1},{"x":1795053186000,"y":5.3},{"x":1795053266000,"y":5},{"x":1795053298000,"y":5},{"x":1795053363000,"y":5.2},{"x":1795053442000,"y":5.2},{"x":1795053475000,"y":5},{"x":1795053506000,"y":5},{"x":1795053540000,"y":5},{"x":1795053682000,"y":5},{"x":1795053746000,"y":5},{"x":1795053810000,"y":5},{"x":1795054034000,"y":5.1},{"x":1795054098000,"y":4.8},{"x":1795054162000,"y":4.8},{"x":1795054226000,"y":4.8},{"x":1795054290000,"y":4.8},{"x":1795054530000,"y":4.9},{"x":1795054610000,"y":4.9},{"x":1795054708000,"y":4.9},{"x":1795054771000,"y":4.8},{"x":1795054802000,"y":4.8},{"x":1795054833000,"y":4.8},{"x":1795055091000,"y":5},{"x":1795055122000,"y":5},{"x":1795055157000,"y":5},{"x":1795055220000,"y":4.8},{"x":1795055283000,"y":5},{"x":1795055362000,"y":5},{"x":1795055394000,"y":5},{"x":1795055426000,"y":5},{"x":1795055458000,"y":4.8},{"x":1795055490000,"y":5},{"x":1795055522000,"y":4.8},{"x":1795055603000,"y":5},{"x":1795055634000,"y":5},{"x":1795055667000,"y":5},{"x":1795055698000,"y":4.8},{"x":1795055732000,"y":4.8},{"x":1795055794000,"y":4.8},{"x":1795055842000,"y":4.8},{"x":1795055874000,"y":4.8},{"x":1795055906000,"y":4.8},{"x":1795055938000,"y":5},{"x":1795055970000,"y":4.8},{"x":1795056002000,"y":5},{"x":1795056082000,"y":4.8},{"x":1795056115000,"y":4.8},{"x":1795056146000,"y":5},{"x":1795056179000,"y":4.8},{"x":1795056210000,"y":4.8},{"x":1795056243000,"y":4.8},{"x":1795056322000,"y":4.8},{"x":1795056355000,"y":4.8},{"x":1795056386000,"y":4.8},{"x":1795056418000,"y":4.8},{"x":1795056450000,"y":4.8},{"x":1795056482000,"y":4.8}],"highlightExtremes":false,"unit":" °C"}], {"yLabel":"\u00b0C"}); }); $(document).ready(function() { buildMeteoChart('chart-humidity-canvas', 'chart-humidity-reset', [{"label":"Vlhkosť (%)","color":"#ff9000","points":[{"x":1795042802000,"y":77},{"x":1795042883000,"y":77},{"x":1795042914000,"y":77},{"x":1795042947000,"y":76},{"x":1795042978000,"y":77},{"x":1795043011000,"y":77},{"x":1795043042000,"y":76},{"x":1795043123000,"y":77},{"x":1795043155000,"y":76},{"x":1795043186000,"y":77},{"x":1795043219000,"y":77},{"x":1795043250000,"y":76},{"x":1795043283000,"y":76},{"x":1795043362000,"y":76},{"x":1795043395000,"y":76},{"x":1795043426000,"y":76},{"x":1795043459000,"y":76},{"x":1795043490000,"y":76},{"x":1795043523000,"y":76},{"x":1795043603000,"y":76},{"x":1795043634000,"y":77},{"x":1795043667000,"y":77},{"x":1795043698000,"y":77},{"x":1795043731000,"y":76},{"x":1795043762000,"y":77},{"x":1795043843000,"y":77},{"x":1795043874000,"y":77},{"x":1795043907000,"y":77},{"x":1795043938000,"y":78},{"x":1795043971000,"y":78},{"x":1795044002000,"y":78},{"x":1795044082000,"y":78},{"x":1795044115000,"y":78},{"x":1795044146000,"y":78},{"x":1795044178000,"y":77},{"x":1795044210000,"y":78},{"x":1795044243000,"y":78},{"x":1795044322000,"y":77},{"x":1795044355000,"y":77},{"x":1795044386000,"y":77},{"x":1795044419000,"y":77},{"x":1795044450000,"y":77},{"x":1795044483000,"y":77},{"x":1795044563000,"y":77},{"x":1795044594000,"y":76},{"x":1795044627000,"y":76},{"x":1795044658000,"y":77},{"x":1795044690000,"y":77},{"x":1795044722000,"y":76},{"x":1795044804000,"y":76},{"x":1795044835000,"y":76},{"x":1795044867000,"y":76},{"x":1795044898000,"y":76},{"x":1795044931000,"y":76},{"x":1795044962000,"y":76},{"x":1795045042000,"y":77},{"x":1795045074000,"y":76},{"x":1795045106000,"y":76},{"x":1795045138000,"y":76},{"x":1795045171000,"y":76},{"x":1795045202000,"y":76},{"x":1795045282000,"y":76},{"x":1795045316000,"y":76},{"x":1795045379000,"y":76},{"x":1795045410000,"y":76},{"x":1795045443000,"y":76},{"x":1795045523000,"y":76},{"x":1795045554000,"y":76},{"x":1795045586000,"y":75},{"x":1795045618000,"y":75},{"x":1795045650000,"y":75},{"x":1795045682000,"y":75},{"x":1795045763000,"y":75},{"x":1795045795000,"y":75},{"x":1795045827000,"y":75},{"x":1795045858000,"y":75},{"x":1795045891000,"y":75},{"x":1795045922000,"y":75},{"x":1795046002000,"y":75},{"x":1795046034000,"y":75},{"x":1795046066000,"y":75},{"x":1795046099000,"y":75},{"x":1795046130000,"y":75},{"x":1795046162000,"y":75},{"x":1795046242000,"y":75},{"x":1795046275000,"y":75},{"x":1795046306000,"y":75},{"x":1795046339000,"y":75},{"x":1795046370000,"y":75},{"x":1795046403000,"y":74},{"x":1795046482000,"y":75},{"x":1795046514000,"y":75},{"x":1795046547000,"y":75},{"x":1795046578000,"y":75},{"x":1795046610000,"y":75},{"x":1795046642000,"y":75},{"x":1795046723000,"y":75},{"x":1795046754000,"y":75},{"x":1795046787000,"y":75},{"x":1795046818000,"y":75},{"x":1795046851000,"y":75},{"x":1795046882000,"y":75},{"x":1795046915000,"y":75},{"x":1795046946000,"y":75},{"x":1795047090000,"y":75},{"x":1795047123000,"y":75},{"x":1795047203000,"y":75},{"x":1795047236000,"y":75},{"x":1795047300000,"y":75},{"x":1795047364000,"y":75},{"x":1795047442000,"y":75},{"x":1795047507000,"y":75},{"x":1795047538000,"y":75},{"x":1795047571000,"y":75},{"x":1795047602000,"y":75},{"x":1795047684000,"y":75},{"x":1795047715000,"y":75},{"x":1795047747000,"y":75},{"x":1795047778000,"y":76},{"x":1795047812000,"y":75},{"x":1795047874000,"y":75},{"x":1795047922000,"y":76},{"x":1795048050000,"y":76},{"x":1795048083000,"y":76},{"x":1795048196000,"y":76},{"x":1795048290000,"y":76},{"x":1795048610000,"y":75},{"x":1795048708000,"y":75},{"x":1795048772000,"y":76},{"x":1795048882000,"y":75},{"x":1795048914000,"y":75},{"x":1795048946000,"y":76},{"x":1795048978000,"y":76},{"x":1795049010000,"y":76},{"x":1795049043000,"y":76},{"x":1795049154000,"y":75},{"x":1795049186000,"y":75},{"x":1795049218000,"y":76},{"x":1795049250000,"y":75},{"x":1795049282000,"y":74},{"x":1795049313000,"y":74},{"x":1795049363000,"y":75},{"x":1795049394000,"y":75},{"x":1795049428000,"y":75},{"x":1795049491000,"y":75},{"x":1795049522000,"y":75},{"x":1795049553000,"y":75},{"x":1795049602000,"y":75},{"x":1795049634000,"y":74},{"x":1795049666000,"y":75},{"x":1795049698000,"y":75},{"x":1795049730000,"y":75},{"x":1795049762000,"y":75},{"x":1795049793000,"y":75},{"x":1795049876000,"y":75},{"x":1795049939000,"y":75},{"x":1795049970000,"y":75},{"x":1795050003000,"y":75},{"x":1795050082000,"y":76},{"x":1795050114000,"y":76},{"x":1795050146000,"y":76},{"x":1795050178000,"y":76},{"x":1795050210000,"y":76},{"x":1795050242000,"y":76},{"x":1795050323000,"y":75},{"x":1795050354000,"y":75},{"x":1795050387000,"y":75},{"x":1795050418000,"y":75},{"x":1795050451000,"y":75},{"x":1795050482000,"y":75},{"x":1795050515000,"y":75},{"x":1795050546000,"y":75},{"x":1795050626000,"y":75},{"x":1795050658000,"y":75},{"x":1795050690000,"y":75},{"x":1795050722000,"y":75},{"x":1795050753000,"y":75},{"x":1795050802000,"y":75},{"x":1795050835000,"y":76},{"x":1795050866000,"y":75},{"x":1795050899000,"y":75},{"x":1795050930000,"y":75},{"x":1795050963000,"y":75},{"x":1795051042000,"y":75},{"x":1795051074000,"y":75},{"x":1795051106000,"y":75},{"x":1795051138000,"y":75},{"x":1795051170000,"y":75},{"x":1795051202000,"y":76},{"x":1795051283000,"y":75},{"x":1795051314000,"y":75},{"x":1795051347000,"y":75},{"x":1795051379000,"y":75},{"x":1795051412000,"y":75},{"x":1795051475000,"y":75},{"x":1795051522000,"y":74},{"x":1795051554000,"y":74},{"x":1795051586000,"y":74},{"x":1795051618000,"y":74},{"x":1795051650000,"y":75},{"x":1795051682000,"y":74},{"x":1795051713000,"y":74},{"x":1795051762000,"y":73},{"x":1795051799000,"y":73},{"x":1795051858000,"y":73},{"x":1795051890000,"y":74},{"x":1795051922000,"y":74},{"x":1795052004000,"y":73},{"x":1795052068000,"y":74},{"x":1795052131000,"y":74},{"x":1795052162000,"y":74},{"x":1795052194000,"y":73},{"x":1795052227000,"y":73},{"x":1795052306000,"y":74},{"x":1795052338000,"y":73},{"x":1795052370000,"y":73},{"x":1795052402000,"y":74},{"x":1795052433000,"y":74},{"x":1795052483000,"y":74},{"x":1795052516000,"y":74},{"x":1795052547000,"y":74},{"x":1795052579000,"y":74},{"x":1795052610000,"y":74},{"x":1795052644000,"y":74},{"x":1795052722000,"y":74},{"x":1795052754000,"y":73},{"x":1795052786000,"y":74},{"x":1795052818000,"y":74},{"x":1795052850000,"y":74},{"x":1795052882000,"y":74},{"x":1795052963000,"y":73},{"x":1795052994000,"y":73},{"x":1795053027000,"y":74},{"x":1795053059000,"y":73},{"x":1795053091000,"y":74},{"x":1795053122000,"y":74},{"x":1795053154000,"y":74},{"x":1795053186000,"y":75},{"x":1795053266000,"y":74},{"x":1795053298000,"y":74},{"x":1795053363000,"y":75},{"x":1795053442000,"y":75},{"x":1795053475000,"y":74},{"x":1795053506000,"y":74},{"x":1795053540000,"y":74},{"x":1795053682000,"y":74},{"x":1795053746000,"y":74},{"x":1795053810000,"y":74},{"x":1795054034000,"y":74},{"x":1795054098000,"y":73},{"x":1795054162000,"y":73},{"x":1795054226000,"y":73},{"x":1795054290000,"y":73},{"x":1795054530000,"y":73},{"x":1795054610000,"y":73},{"x":1795054708000,"y":73},{"x":1795054771000,"y":73},{"x":1795054802000,"y":73},{"x":1795054833000,"y":73},{"x":1795055091000,"y":74},{"x":1795055122000,"y":74},{"x":1795055157000,"y":74},{"x":1795055220000,"y":73},{"x":1795055283000,"y":74},{"x":1795055362000,"y":74},{"x":1795055394000,"y":74},{"x":1795055426000,"y":74},{"x":1795055458000,"y":73},{"x":1795055490000,"y":74},{"x":1795055522000,"y":73},{"x":1795055603000,"y":74},{"x":1795055634000,"y":74},{"x":1795055667000,"y":74},{"x":1795055698000,"y":73},{"x":1795055732000,"y":73},{"x":1795055794000,"y":73},{"x":1795055842000,"y":73},{"x":1795055874000,"y":73},{"x":1795055906000,"y":73},{"x":1795055938000,"y":74},{"x":1795055970000,"y":73},{"x":1795056002000,"y":74},{"x":1795056082000,"y":73},{"x":1795056115000,"y":73},{"x":1795056146000,"y":74},{"x":1795056179000,"y":73},{"x":1795056210000,"y":73},{"x":1795056243000,"y":73},{"x":1795056322000,"y":73},{"x":1795056355000,"y":73},{"x":1795056386000,"y":73},{"x":1795056418000,"y":73},{"x":1795056450000,"y":73},{"x":1795056482000,"y":73}],"highlightExtremes":true,"unit":" %"}], {"yLabel":"%"}); }); $(document).ready(function() { buildMeteoChart('chart-pressure-canvas', 'chart-pressure-reset', [{"label":"Atmosférický tlak (hPa)","color":"#000000","points":[{"x":1795042802000,"y":1001.8},{"x":1795042883000,"y":1001.7},{"x":1795042914000,"y":1001.8},{"x":1795042947000,"y":1001.8},{"x":1795042978000,"y":1001.8},{"x":1795043011000,"y":1001.8},{"x":1795043042000,"y":1001.6},{"x":1795043123000,"y":1001.9},{"x":1795043155000,"y":1001.8},{"x":1795043186000,"y":1001.8},{"x":1795043219000,"y":1001.9},{"x":1795043250000,"y":1001.9},{"x":1795043283000,"y":1001.7},{"x":1795043362000,"y":1001.9},{"x":1795043395000,"y":1001.8},{"x":1795043426000,"y":1001.8},{"x":1795043459000,"y":1002},{"x":1795043490000,"y":1002},{"x":1795043523000,"y":1001.9},{"x":1795043603000,"y":1001.9},{"x":1795043634000,"y":1001.9},{"x":1795043667000,"y":1001.9},{"x":1795043698000,"y":1002.1},{"x":1795043731000,"y":1002.1},{"x":1795043762000,"y":1002},{"x":1795043843000,"y":1002.2},{"x":1795043874000,"y":1002},{"x":1795043907000,"y":1002},{"x":1795043938000,"y":1002.1},{"x":1795043971000,"y":1002.1},{"x":1795044002000,"y":1002.1},{"x":1795044082000,"y":1002.1},{"x":1795044115000,"y":1002},{"x":1795044146000,"y":1002},{"x":1795044178000,"y":1002},{"x":1795044210000,"y":1002},{"x":1795044243000,"y":1002.1},{"x":1795044322000,"y":1002.1},{"x":1795044355000,"y":1002},{"x":1795044386000,"y":1002},{"x":1795044419000,"y":1002.1},{"x":1795044450000,"y":1002.1},{"x":1795044483000,"y":1002.1},{"x":1795044563000,"y":1002.2},{"x":1795044594000,"y":1002},{"x":1795044627000,"y":1002},{"x":1795044658000,"y":1002.2},{"x":1795044690000,"y":1002.2},{"x":1795044722000,"y":1002.1},{"x":1795044804000,"y":1002.1},{"x":1795044835000,"y":1002.1},{"x":1795044867000,"y":1002.1},{"x":1795044898000,"y":1002},{"x":1795044931000,"y":1002},{"x":1795044962000,"y":1002.1},{"x":1795045042000,"y":1002.1},{"x":1795045074000,"y":1002.1},{"x":1795045106000,"y":1002.1},{"x":1795045138000,"y":1002},{"x":1795045171000,"y":1002},{"x":1795045202000,"y":1002},{"x":1795045282000,"y":1002},{"x":1795045316000,"y":1002.2},{"x":1795045379000,"y":1002},{"x":1795045410000,"y":1002},{"x":1795045443000,"y":1002},{"x":1795045523000,"y":1002.1},{"x":1795045554000,"y":1002.1},{"x":1795045586000,"y":1002.1},{"x":1795045618000,"y":1002},{"x":1795045650000,"y":1002},{"x":1795045682000,"y":1001.9},{"x":1795045763000,"y":1001.8},{"x":1795045795000,"y":1002},{"x":1795045827000,"y":1002},{"x":1795045858000,"y":1002},{"x":1795045891000,"y":1002},{"x":1795045922000,"y":1002.1},{"x":1795046002000,"y":1002},{"x":1795046034000,"y":1002},{"x":1795046066000,"y":1002},{"x":1795046099000,"y":1002.1},{"x":1795046130000,"y":1002.1},{"x":1795046162000,"y":1002},{"x":1795046242000,"y":1001.9},{"x":1795046275000,"y":1002},{"x":1795046306000,"y":1002},{"x":1795046339000,"y":1002.2},{"x":1795046370000,"y":1002.2},{"x":1795046403000,"y":1002.1},{"x":1795046482000,"y":1002.1},{"x":1795046514000,"y":1002.1},{"x":1795046547000,"y":1002.1},{"x":1795046578000,"y":1002},{"x":1795046610000,"y":1002},{"x":1795046642000,"y":1002.1},{"x":1795046723000,"y":1002},{"x":1795046754000,"y":1002.2},{"x":1795046787000,"y":1002.2},{"x":1795046818000,"y":1002.1},{"x":1795046851000,"y":1002.1},{"x":1795046882000,"y":1002.1},{"x":1795046915000,"y":1002.1},{"x":1795046946000,"y":1002.1},{"x":1795047090000,"y":1002.3},{"x":1795047123000,"y":1002.3},{"x":1795047203000,"y":1002.1},{"x":1795047236000,"y":1002.1},{"x":1795047300000,"y":1002.3},{"x":1795047364000,"y":1002.3},{"x":1795047442000,"y":1002.3},{"x":1795047507000,"y":1002.3},{"x":1795047538000,"y":1002.3},{"x":1795047571000,"y":1002.3},{"x":1795047602000,"y":1002.3},{"x":1795047684000,"y":1002.3},{"x":1795047715000,"y":1002.1},{"x":1795047747000,"y":1002.1},{"x":1795047778000,"y":1002.3},{"x":1795047812000,"y":1002.3},{"x":1795047874000,"y":1002.4},{"x":1795047922000,"y":1002.4},{"x":1795048050000,"y":1002.3},{"x":1795048083000,"y":1002.5},{"x":1795048196000,"y":1002.3},{"x":1795048290000,"y":1002.5},{"x":1795048610000,"y":1002.5},{"x":1795048708000,"y":1002.5},{"x":1795048772000,"y":1002.5},{"x":1795048882000,"y":1002.5},{"x":1795048914000,"y":1002.8},{"x":1795048946000,"y":1002.8},{"x":1795048978000,"y":1002.7},{"x":1795049010000,"y":1002.7},{"x":1795049043000,"y":1002.5},{"x":1795049154000,"y":1002.5},{"x":1795049186000,"y":1002.5},{"x":1795049218000,"y":1002.7},{"x":1795049250000,"y":1002.7},{"x":1795049282000,"y":1002.4},{"x":1795049313000,"y":1002.6},{"x":1795049363000,"y":1002.5},{"x":1795049394000,"y":1002.4},{"x":1795049428000,"y":1002.4},{"x":1795049491000,"y":1002.6},{"x":1795049522000,"y":1002.5},{"x":1795049553000,"y":1002.4},{"x":1795049602000,"y":1002.4},{"x":1795049634000,"y":1002.4},{"x":1795049666000,"y":1002.4},{"x":1795049698000,"y":1002.5},{"x":1795049730000,"y":1002.5},{"x":1795049762000,"y":1002.4},{"x":1795049793000,"y":1002.5},{"x":1795049876000,"y":1002.4},{"x":1795049939000,"y":1002.4},{"x":1795049970000,"y":1002.4},{"x":1795050003000,"y":1002.5},{"x":1795050082000,"y":1002.5},{"x":1795050114000,"y":1002.5},{"x":1795050146000,"y":1002.5},{"x":1795050178000,"y":1002.5},{"x":1795050210000,"y":1002.5},{"x":1795050242000,"y":1002.5},{"x":1795050323000,"y":1002.4},{"x":1795050354000,"y":1002.5},{"x":1795050387000,"y":1002.4},{"x":1795050418000,"y":1002.7},{"x":1795050451000,"y":1002.7},{"x":1795050482000,"y":1002.3},{"x":1795050515000,"y":1002.7},{"x":1795050546000,"y":1002.6},{"x":1795050626000,"y":1002.5},{"x":1795050658000,"y":1002.5},{"x":1795050690000,"y":1002.5},{"x":1795050722000,"y":1002.5},{"x":1795050753000,"y":1002.5},{"x":1795050802000,"y":1002.5},{"x":1795050835000,"y":1002.5},{"x":1795050866000,"y":1002.5},{"x":1795050899000,"y":1002.5},{"x":1795050930000,"y":1002.5},{"x":1795050963000,"y":1002.5},{"x":1795051042000,"y":1002.3},{"x":1795051074000,"y":1002.2},{"x":1795051106000,"y":1002.2},{"x":1795051138000,"y":1002.5},{"x":1795051170000,"y":1002.5},{"x":1795051202000,"y":1002.6},{"x":1795051283000,"y":1002.4},{"x":1795051314000,"y":1002.2},{"x":1795051347000,"y":1002.2},{"x":1795051379000,"y":1002.4},{"x":1795051412000,"y":1002.4},{"x":1795051475000,"y":1002.2},{"x":1795051522000,"y":1002.2},{"x":1795051554000,"y":1002.5},{"x":1795051586000,"y":1002.5},{"x":1795051618000,"y":1002.3},{"x":1795051650000,"y":1002.3},{"x":1795051682000,"y":1002.5},{"x":1795051713000,"y":1002.5},{"x":1795051762000,"y":1002.5},{"x":1795051799000,"y":1002.4},{"x":1795051858000,"y":1002.3},{"x":1795051890000,"y":1002.3},{"x":1795051922000,"y":1002.3},{"x":1795052004000,"y":1002.4},{"x":1795052068000,"y":1002.3},{"x":1795052131000,"y":1002.3},{"x":1795052162000,"y":1002.3},{"x":1795052194000,"y":1002.5},{"x":1795052227000,"y":1002.5},{"x":1795052306000,"y":1002.5},{"x":1795052338000,"y":1002.4},{"x":1795052370000,"y":1002.4},{"x":1795052402000,"y":1002.2},{"x":1795052433000,"y":1002.5},{"x":1795052483000,"y":1002.5},{"x":1795052516000,"y":1002.5},{"x":1795052547000,"y":1002.5},{"x":1795052579000,"y":1002.5},{"x":1795052610000,"y":1002.5},{"x":1795052644000,"y":1002.6},{"x":1795052722000,"y":1002.4},{"x":1795052754000,"y":1002.6},{"x":1795052786000,"y":1002.6},{"x":1795052818000,"y":1002.4},{"x":1795052850000,"y":1002.4},{"x":1795052882000,"y":1002.5},{"x":1795052963000,"y":1002.6},{"x":1795052994000,"y":1002.4},{"x":1795053027000,"y":1002.4},{"x":1795053059000,"y":1002.3},{"x":1795053091000,"y":1002.3},{"x":1795053122000,"y":1002.5},{"x":1795053154000,"y":1002.6},{"x":1795053186000,"y":1002.6},{"x":1795053266000,"y":1002.5},{"x":1795053298000,"y":1002.5},{"x":1795053363000,"y":1002.5},{"x":1795053442000,"y":1002.6},{"x":1795053475000,"y":1002.5},{"x":1795053506000,"y":1002.5},{"x":1795053540000,"y":1002.6},{"x":1795053682000,"y":1002.6},{"x":1795053746000,"y":1002.9},{"x":1795053810000,"y":1002.6},{"x":1795054034000,"y":1002.7},{"x":1795054098000,"y":1002.6},{"x":1795054162000,"y":1002.5},{"x":1795054226000,"y":1002.6},{"x":1795054290000,"y":1002.5},{"x":1795054530000,"y":1002.5},{"x":1795054610000,"y":1002.7},{"x":1795054708000,"y":1002.7},{"x":1795054771000,"y":1002.3},{"x":1795054802000,"y":1002.6},{"x":1795054833000,"y":1002.5},{"x":1795055091000,"y":1002.6},{"x":1795055122000,"y":1002.6},{"x":1795055157000,"y":1002.4},{"x":1795055220000,"y":1002.6},{"x":1795055283000,"y":1002.6},{"x":1795055362000,"y":1002.7},{"x":1795055394000,"y":1002.6},{"x":1795055426000,"y":1002.6},{"x":1795055458000,"y":1002.4},{"x":1795055490000,"y":1002.4},{"x":1795055522000,"y":1002.3},{"x":1795055603000,"y":1002.5},{"x":1795055634000,"y":1002.5},{"x":1795055667000,"y":1002.5},{"x":1795055698000,"y":1002.4},{"x":1795055732000,"y":1002.4},{"x":1795055794000,"y":1002.4},{"x":1795055842000,"y":1002.4},{"x":1795055874000,"y":1002.6},{"x":1795055906000,"y":1002.6},{"x":1795055938000,"y":1002.6},{"x":1795055970000,"y":1002.6},{"x":1795056002000,"y":1002.7},{"x":1795056082000,"y":1002.7},{"x":1795056115000,"y":1002.6},{"x":1795056146000,"y":1002.6},{"x":1795056179000,"y":1002.7},{"x":1795056210000,"y":1002.7},{"x":1795056243000,"y":1003},{"x":1795056322000,"y":1002.8},{"x":1795056355000,"y":1002.8},{"x":1795056386000,"y":1002.8},{"x":1795056418000,"y":1002.8},{"x":1795056450000,"y":1002.8},{"x":1795056482000,"y":1002.6}],"highlightExtremes":true,"unit":" hPa"}], {"yLabel":"hPa"}); }); $(document).ready(function() { buildMeteoChart('chart-wind-canvas', 'chart-wind-reset', [{"label":"Rýchlosť vetra (km\/h)","color":"#002f80","points":[{"x":1795042802000,"y":5},{"x":1795042883000,"y":8.6},{"x":1795042914000,"y":5},{"x":1795042947000,"y":3.6},{"x":1795042978000,"y":8.6},{"x":1795043011000,"y":8.6},{"x":1795043042000,"y":7.9},{"x":1795043123000,"y":10.8},{"x":1795043155000,"y":2.9},{"x":1795043186000,"y":2.9},{"x":1795043219000,"y":13},{"x":1795043250000,"y":5},{"x":1795043283000,"y":4.3},{"x":1795043362000,"y":2.9},{"x":1795043395000,"y":4.3},{"x":1795043426000,"y":6.5},{"x":1795043459000,"y":15.1},{"x":1795043490000,"y":7.6},{"x":1795043523000,"y":3.6},{"x":1795043603000,"y":0.7},{"x":1795043634000,"y":2.5},{"x":1795043667000,"y":5},{"x":1795043698000,"y":5},{"x":1795043731000,"y":1.4},{"x":1795043762000,"y":2.9},{"x":1795043843000,"y":4},{"x":1795043874000,"y":1.4},{"x":1795043907000,"y":1.4},{"x":1795043938000,"y":2.9},{"x":1795043971000,"y":2.9},{"x":1795044002000,"y":9},{"x":1795044082000,"y":3.6},{"x":1795044115000,"y":2.2},{"x":1795044146000,"y":5.8},{"x":1795044178000,"y":3.6},{"x":1795044210000,"y":6.1},{"x":1795044243000,"y":7.6},{"x":1795044322000,"y":5},{"x":1795044355000,"y":6.8},{"x":1795044386000,"y":6.1},{"x":1795044419000,"y":5},{"x":1795044450000,"y":6.8},{"x":1795044483000,"y":9.7},{"x":1795044563000,"y":5.8},{"x":1795044594000,"y":12.2},{"x":1795044627000,"y":6.5},{"x":1795044658000,"y":4},{"x":1795044690000,"y":6.8},{"x":1795044722000,"y":5},{"x":1795044804000,"y":5},{"x":1795044835000,"y":9},{"x":1795044867000,"y":5},{"x":1795044898000,"y":3.6},{"x":1795044931000,"y":5},{"x":1795044962000,"y":6.1},{"x":1795045042000,"y":2.9},{"x":1795045074000,"y":3.6},{"x":1795045106000,"y":4},{"x":1795045138000,"y":2.5},{"x":1795045171000,"y":2.2},{"x":1795045202000,"y":9},{"x":1795045282000,"y":5},{"x":1795045316000,"y":2.9},{"x":1795045379000,"y":5},{"x":1795045410000,"y":9},{"x":1795045443000,"y":2.9},{"x":1795045523000,"y":5},{"x":1795045554000,"y":2.9},{"x":1795045586000,"y":10.8},{"x":1795045618000,"y":2.2},{"x":1795045650000,"y":6.1},{"x":1795045682000,"y":2.2},{"x":1795045763000,"y":6.8},{"x":1795045795000,"y":2.2},{"x":1795045827000,"y":10.1},{"x":1795045858000,"y":2.9},{"x":1795045891000,"y":5},{"x":1795045922000,"y":6.1},{"x":1795046002000,"y":6.1},{"x":1795046034000,"y":2.9},{"x":1795046066000,"y":5},{"x":1795046099000,"y":4},{"x":1795046130000,"y":2.5},{"x":1795046162000,"y":12.6},{"x":1795046242000,"y":12.2},{"x":1795046275000,"y":3.6},{"x":1795046306000,"y":6.1},{"x":1795046339000,"y":5},{"x":1795046370000,"y":2.9},{"x":1795046403000,"y":10.1},{"x":1795046482000,"y":2.9},{"x":1795046514000,"y":6.1},{"x":1795046547000,"y":1.4},{"x":1795046578000,"y":4},{"x":1795046610000,"y":5},{"x":1795046642000,"y":7.9},{"x":1795046723000,"y":5},{"x":1795046754000,"y":4},{"x":1795046787000,"y":5},{"x":1795046818000,"y":6.8},{"x":1795046851000,"y":4},{"x":1795046882000,"y":2.9},{"x":1795046915000,"y":1.4},{"x":1795046946000,"y":2.2},{"x":1795047090000,"y":5},{"x":1795047123000,"y":4},{"x":1795047203000,"y":2.9},{"x":1795047236000,"y":1.4},{"x":1795047300000,"y":2.9},{"x":1795047364000,"y":8.6},{"x":1795047442000,"y":3.6},{"x":1795047507000,"y":5},{"x":1795047538000,"y":2.2},{"x":1795047571000,"y":9},{"x":1795047602000,"y":4},{"x":1795047684000,"y":2.2},{"x":1795047715000,"y":0.4},{"x":1795047747000,"y":9.7},{"x":1795047778000,"y":4},{"x":1795047812000,"y":4},{"x":1795047874000,"y":2.5},{"x":1795047922000,"y":5},{"x":1795048050000,"y":5},{"x":1795048083000,"y":5.8},{"x":1795048196000,"y":4.3},{"x":1795048290000,"y":1.4},{"x":1795048610000,"y":4.3},{"x":1795048708000,"y":2.2},{"x":1795048772000,"y":7.6},{"x":1795048882000,"y":2.9},{"x":1795048914000,"y":3.6},{"x":1795048946000,"y":1.4},{"x":1795048978000,"y":2.2},{"x":1795049010000,"y":5},{"x":1795049043000,"y":2.9},{"x":1795049154000,"y":1.4},{"x":1795049186000,"y":0.7},{"x":1795049218000,"y":4},{"x":1795049250000,"y":12.6},{"x":1795049282000,"y":6.5},{"x":1795049313000,"y":5.8},{"x":1795049363000,"y":2.5},{"x":1795049394000,"y":2.9},{"x":1795049428000,"y":4.3},{"x":1795049491000,"y":7.9},{"x":1795049522000,"y":2.9},{"x":1795049553000,"y":2.5},{"x":1795049602000,"y":10.1},{"x":1795049634000,"y":7.6},{"x":1795049666000,"y":0},{"x":1795049698000,"y":5.8},{"x":1795049730000,"y":5},{"x":1795049762000,"y":6.5},{"x":1795049793000,"y":2.5},{"x":1795049876000,"y":2.9},{"x":1795049939000,"y":6.1},{"x":1795049970000,"y":4},{"x":1795050003000,"y":2.9},{"x":1795050082000,"y":2.5},{"x":1795050114000,"y":0.7},{"x":1795050146000,"y":6.1},{"x":1795050178000,"y":1.4},{"x":1795050210000,"y":2.9},{"x":1795050242000,"y":2.5},{"x":1795050323000,"y":5},{"x":1795050354000,"y":5},{"x":1795050387000,"y":2.2},{"x":1795050418000,"y":13},{"x":1795050451000,"y":3.6},{"x":1795050482000,"y":10.8},{"x":1795050515000,"y":5},{"x":1795050546000,"y":2.5},{"x":1795050626000,"y":3.6},{"x":1795050658000,"y":8.6},{"x":1795050690000,"y":2.5},{"x":1795050722000,"y":10.1},{"x":1795050753000,"y":5},{"x":1795050802000,"y":1.4},{"x":1795050835000,"y":6.5},{"x":1795050866000,"y":8.6},{"x":1795050899000,"y":2.9},{"x":1795050930000,"y":4},{"x":1795050963000,"y":4},{"x":1795051042000,"y":3.6},{"x":1795051074000,"y":6.8},{"x":1795051106000,"y":4},{"x":1795051138000,"y":4},{"x":1795051170000,"y":2.5},{"x":1795051202000,"y":3.6},{"x":1795051283000,"y":6.5},{"x":1795051314000,"y":8.6},{"x":1795051347000,"y":2.9},{"x":1795051379000,"y":6.8},{"x":1795051412000,"y":5.8},{"x":1795051475000,"y":6.1},{"x":1795051522000,"y":5},{"x":1795051554000,"y":5},{"x":1795051586000,"y":5.8},{"x":1795051618000,"y":3.6},{"x":1795051650000,"y":2.2},{"x":1795051682000,"y":12.2},{"x":1795051713000,"y":8.6},{"x":1795051762000,"y":5.8},{"x":1795051799000,"y":10.4},{"x":1795051858000,"y":5.8},{"x":1795051890000,"y":6.5},{"x":1795051922000,"y":12.6},{"x":1795052004000,"y":5},{"x":1795052068000,"y":2.2},{"x":1795052131000,"y":7.6},{"x":1795052162000,"y":8.6},{"x":1795052194000,"y":9.7},{"x":1795052227000,"y":10.8},{"x":1795052306000,"y":2.9},{"x":1795052338000,"y":6.5},{"x":1795052370000,"y":15.5},{"x":1795052402000,"y":4.3},{"x":1795052433000,"y":5.8},{"x":1795052483000,"y":6.5},{"x":1795052516000,"y":1.4},{"x":1795052547000,"y":4},{"x":1795052579000,"y":2.2},{"x":1795052610000,"y":2.2},{"x":1795052644000,"y":6.5},{"x":1795052722000,"y":6.1},{"x":1795052754000,"y":16.9},{"x":1795052786000,"y":5},{"x":1795052818000,"y":6.5},{"x":1795052850000,"y":10.1},{"x":1795052882000,"y":6.5},{"x":1795052963000,"y":7.6},{"x":1795052994000,"y":10.1},{"x":1795053027000,"y":10.8},{"x":1795053059000,"y":12.6},{"x":1795053091000,"y":7.6},{"x":1795053122000,"y":5.8},{"x":1795053154000,"y":6.1},{"x":1795053186000,"y":9},{"x":1795053266000,"y":4},{"x":1795053298000,"y":6.5},{"x":1795053363000,"y":6.5},{"x":1795053442000,"y":8.6},{"x":1795053475000,"y":13.3},{"x":1795053506000,"y":10.1},{"x":1795053540000,"y":6.1},{"x":1795053682000,"y":2.9},{"x":1795053746000,"y":4.3},{"x":1795053810000,"y":4},{"x":1795054034000,"y":5},{"x":1795054098000,"y":7.9},{"x":1795054162000,"y":3.6},{"x":1795054226000,"y":10.1},{"x":1795054290000,"y":8.6},{"x":1795054530000,"y":5},{"x":1795054610000,"y":5},{"x":1795054708000,"y":2.5},{"x":1795054771000,"y":6.1},{"x":1795054802000,"y":13},{"x":1795054833000,"y":16.9},{"x":1795055091000,"y":2.2},{"x":1795055122000,"y":5.8},{"x":1795055157000,"y":7.6},{"x":1795055220000,"y":5.8},{"x":1795055283000,"y":5},{"x":1795055362000,"y":7.6},{"x":1795055394000,"y":2.9},{"x":1795055426000,"y":6.5},{"x":1795055458000,"y":8.6},{"x":1795055490000,"y":2.2},{"x":1795055522000,"y":14.4},{"x":1795055603000,"y":10.8},{"x":1795055634000,"y":4.3},{"x":1795055667000,"y":4},{"x":1795055698000,"y":16.9},{"x":1795055732000,"y":12.6},{"x":1795055794000,"y":6.1},{"x":1795055842000,"y":16.2},{"x":1795055874000,"y":5.8},{"x":1795055906000,"y":7.9},{"x":1795055938000,"y":6.5},{"x":1795055970000,"y":7.9},{"x":1795056002000,"y":5.8},{"x":1795056082000,"y":12.6},{"x":1795056115000,"y":2.9},{"x":1795056146000,"y":6.5},{"x":1795056179000,"y":5},{"x":1795056210000,"y":10.8},{"x":1795056243000,"y":12.2},{"x":1795056322000,"y":12.2},{"x":1795056355000,"y":9},{"x":1795056386000,"y":6.5},{"x":1795056418000,"y":8.6},{"x":1795056450000,"y":4},{"x":1795056482000,"y":2.9}],"highlightExtremes":true,"unit":" km\/h"},{"label":"Náraz vetra (km\/h)","color":"#EF9856","points":[{"x":1795042802000,"y":7.6},{"x":1795042883000,"y":13},{"x":1795042914000,"y":7.6},{"x":1795042947000,"y":5},{"x":1795042978000,"y":13},{"x":1795043011000,"y":10.1},{"x":1795043042000,"y":10.1},{"x":1795043123000,"y":18},{"x":1795043155000,"y":5},{"x":1795043186000,"y":5},{"x":1795043219000,"y":18},{"x":1795043250000,"y":7.6},{"x":1795043283000,"y":7.6},{"x":1795043362000,"y":5},{"x":1795043395000,"y":7.6},{"x":1795043426000,"y":7.6},{"x":1795043459000,"y":23},{"x":1795043490000,"y":13},{"x":1795043523000,"y":5},{"x":1795043603000,"y":2.5},{"x":1795043634000,"y":2.5},{"x":1795043667000,"y":5},{"x":1795043698000,"y":7.6},{"x":1795043731000,"y":2.5},{"x":1795043762000,"y":5},{"x":1795043843000,"y":5},{"x":1795043874000,"y":5},{"x":1795043907000,"y":2.5},{"x":1795043938000,"y":5},{"x":1795043971000,"y":7.6},{"x":1795044002000,"y":13},{"x":1795044082000,"y":7.6},{"x":1795044115000,"y":5},{"x":1795044146000,"y":7.6},{"x":1795044178000,"y":5},{"x":1795044210000,"y":7.6},{"x":1795044243000,"y":13},{"x":1795044322000,"y":7.6},{"x":1795044355000,"y":13},{"x":1795044386000,"y":7.6},{"x":1795044419000,"y":7.6},{"x":1795044450000,"y":10.1},{"x":1795044483000,"y":23},{"x":1795044563000,"y":7.6},{"x":1795044594000,"y":15.5},{"x":1795044627000,"y":10.1},{"x":1795044658000,"y":5},{"x":1795044690000,"y":10.1},{"x":1795044722000,"y":7.6},{"x":1795044804000,"y":15.5},{"x":1795044835000,"y":20.5},{"x":1795044867000,"y":7.6},{"x":1795044898000,"y":5},{"x":1795044931000,"y":7.6},{"x":1795044962000,"y":7.6},{"x":1795045042000,"y":5},{"x":1795045074000,"y":5},{"x":1795045106000,"y":7.6},{"x":1795045138000,"y":2.5},{"x":1795045171000,"y":2.5},{"x":1795045202000,"y":20.5},{"x":1795045282000,"y":7.6},{"x":1795045316000,"y":7.6},{"x":1795045379000,"y":7.6},{"x":1795045410000,"y":13},{"x":1795045443000,"y":5},{"x":1795045523000,"y":5},{"x":1795045554000,"y":5},{"x":1795045586000,"y":18},{"x":1795045618000,"y":2.5},{"x":1795045650000,"y":10.1},{"x":1795045682000,"y":2.5},{"x":1795045763000,"y":13},{"x":1795045795000,"y":5},{"x":1795045827000,"y":15.5},{"x":1795045858000,"y":5},{"x":1795045891000,"y":7.6},{"x":1795045922000,"y":7.6},{"x":1795046002000,"y":7.6},{"x":1795046034000,"y":5},{"x":1795046066000,"y":7.6},{"x":1795046099000,"y":5},{"x":1795046130000,"y":2.5},{"x":1795046162000,"y":18},{"x":1795046242000,"y":20.5},{"x":1795046275000,"y":5},{"x":1795046306000,"y":7.6},{"x":1795046339000,"y":7.6},{"x":1795046370000,"y":5},{"x":1795046403000,"y":15.5},{"x":1795046482000,"y":5},{"x":1795046514000,"y":7.6},{"x":1795046547000,"y":2.5},{"x":1795046578000,"y":10.1},{"x":1795046610000,"y":7.6},{"x":1795046642000,"y":10.1},{"x":1795046723000,"y":7.6},{"x":1795046754000,"y":5},{"x":1795046787000,"y":7.6},{"x":1795046818000,"y":10.1},{"x":1795046851000,"y":5},{"x":1795046882000,"y":5},{"x":1795046915000,"y":2.5},{"x":1795046946000,"y":2.5},{"x":1795047090000,"y":5},{"x":1795047123000,"y":7.6},{"x":1795047203000,"y":5},{"x":1795047236000,"y":2.5},{"x":1795047300000,"y":5},{"x":1795047364000,"y":13},{"x":1795047442000,"y":5},{"x":1795047507000,"y":7.6},{"x":1795047538000,"y":2.5},{"x":1795047571000,"y":10.1},{"x":1795047602000,"y":10.1},{"x":1795047684000,"y":2.5},{"x":1795047715000,"y":2.5},{"x":1795047747000,"y":13},{"x":1795047778000,"y":10.1},{"x":1795047812000,"y":5},{"x":1795047874000,"y":5},{"x":1795047922000,"y":10.1},{"x":1795048050000,"y":7.6},{"x":1795048083000,"y":7.6},{"x":1795048196000,"y":7.6},{"x":1795048290000,"y":2.5},{"x":1795048610000,"y":5},{"x":1795048708000,"y":2.5},{"x":1795048772000,"y":13},{"x":1795048882000,"y":5},{"x":1795048914000,"y":5},{"x":1795048946000,"y":2.5},{"x":1795048978000,"y":2.5},{"x":1795049010000,"y":7.6},{"x":1795049043000,"y":5},{"x":1795049154000,"y":2.5},{"x":1795049186000,"y":2.5},{"x":1795049218000,"y":5},{"x":1795049250000,"y":23},{"x":1795049282000,"y":10.1},{"x":1795049313000,"y":7.6},{"x":1795049363000,"y":2.5},{"x":1795049394000,"y":5},{"x":1795049428000,"y":7.6},{"x":1795049491000,"y":15.5},{"x":1795049522000,"y":5},{"x":1795049553000,"y":5},{"x":1795049602000,"y":18},{"x":1795049634000,"y":13},{"x":1795049666000,"y":0},{"x":1795049698000,"y":7.6},{"x":1795049730000,"y":7.6},{"x":1795049762000,"y":7.6},{"x":1795049793000,"y":5},{"x":1795049876000,"y":5},{"x":1795049939000,"y":10.1},{"x":1795049970000,"y":7.6},{"x":1795050003000,"y":5},{"x":1795050082000,"y":5},{"x":1795050114000,"y":2.5},{"x":1795050146000,"y":10.1},{"x":1795050178000,"y":2.5},{"x":1795050210000,"y":5},{"x":1795050242000,"y":5},{"x":1795050323000,"y":5},{"x":1795050354000,"y":7.6},{"x":1795050387000,"y":2.5},{"x":1795050418000,"y":25.6},{"x":1795050451000,"y":5},{"x":1795050482000,"y":15.5},{"x":1795050515000,"y":7.6},{"x":1795050546000,"y":2.5},{"x":1795050626000,"y":5},{"x":1795050658000,"y":13},{"x":1795050690000,"y":2.5},{"x":1795050722000,"y":15.5},{"x":1795050753000,"y":7.6},{"x":1795050802000,"y":2.5},{"x":1795050835000,"y":7.6},{"x":1795050866000,"y":13},{"x":1795050899000,"y":5},{"x":1795050930000,"y":5},{"x":1795050963000,"y":5},{"x":1795051042000,"y":5},{"x":1795051074000,"y":10.1},{"x":1795051106000,"y":7.6},{"x":1795051138000,"y":5},{"x":1795051170000,"y":5},{"x":1795051202000,"y":5},{"x":1795051283000,"y":13},{"x":1795051314000,"y":15.5},{"x":1795051347000,"y":5},{"x":1795051379000,"y":13},{"x":1795051412000,"y":7.6},{"x":1795051475000,"y":7.6},{"x":1795051522000,"y":7.6},{"x":1795051554000,"y":5},{"x":1795051586000,"y":10.1},{"x":1795051618000,"y":5},{"x":1795051650000,"y":2.5},{"x":1795051682000,"y":18},{"x":1795051713000,"y":10.1},{"x":1795051762000,"y":7.6},{"x":1795051799000,"y":15.5},{"x":1795051858000,"y":7.6},{"x":1795051890000,"y":10.1},{"x":1795051922000,"y":15.5},{"x":1795052004000,"y":7.6},{"x":1795052068000,"y":2.5},{"x":1795052131000,"y":15.5},{"x":1795052162000,"y":13},{"x":1795052194000,"y":13},{"x":1795052227000,"y":15.5},{"x":1795052306000,"y":5},{"x":1795052338000,"y":7.6},{"x":1795052370000,"y":20.5},{"x":1795052402000,"y":5},{"x":1795052433000,"y":7.6},{"x":1795052483000,"y":10.1},{"x":1795052516000,"y":2.5},{"x":1795052547000,"y":5},{"x":1795052579000,"y":2.5},{"x":1795052610000,"y":2.5},{"x":1795052644000,"y":10.1},{"x":1795052722000,"y":10.1},{"x":1795052754000,"y":23},{"x":1795052786000,"y":10.1},{"x":1795052818000,"y":10.1},{"x":1795052850000,"y":20.5},{"x":1795052882000,"y":10.1},{"x":1795052963000,"y":13},{"x":1795052994000,"y":18},{"x":1795053027000,"y":18},{"x":1795053059000,"y":18},{"x":1795053091000,"y":10.1},{"x":1795053122000,"y":7.6},{"x":1795053154000,"y":10.1},{"x":1795053186000,"y":15.5},{"x":1795053266000,"y":7.6},{"x":1795053298000,"y":7.6},{"x":1795053363000,"y":10.1},{"x":1795053442000,"y":13},{"x":1795053475000,"y":18},{"x":1795053506000,"y":15.5},{"x":1795053540000,"y":13},{"x":1795053682000,"y":5},{"x":1795053746000,"y":5},{"x":1795053810000,"y":5},{"x":1795054034000,"y":7.6},{"x":1795054098000,"y":13},{"x":1795054162000,"y":5},{"x":1795054226000,"y":15.5},{"x":1795054290000,"y":13},{"x":1795054530000,"y":5},{"x":1795054610000,"y":7.6},{"x":1795054708000,"y":2.5},{"x":1795054771000,"y":7.6},{"x":1795054802000,"y":15.5},{"x":1795054833000,"y":20.5},{"x":1795055091000,"y":2.5},{"x":1795055122000,"y":7.6},{"x":1795055157000,"y":10.1},{"x":1795055220000,"y":7.6},{"x":1795055283000,"y":7.6},{"x":1795055362000,"y":15.5},{"x":1795055394000,"y":5},{"x":1795055426000,"y":10.1},{"x":1795055458000,"y":13},{"x":1795055490000,"y":2.5},{"x":1795055522000,"y":23},{"x":1795055603000,"y":23},{"x":1795055634000,"y":7.6},{"x":1795055667000,"y":7.6},{"x":1795055698000,"y":25.6},{"x":1795055732000,"y":23},{"x":1795055794000,"y":7.6},{"x":1795055842000,"y":20.5},{"x":1795055874000,"y":10.1},{"x":1795055906000,"y":15.5},{"x":1795055938000,"y":10.1},{"x":1795055970000,"y":18},{"x":1795056002000,"y":7.6},{"x":1795056082000,"y":15.5},{"x":1795056115000,"y":7.6},{"x":1795056146000,"y":10.1},{"x":1795056179000,"y":7.6},{"x":1795056210000,"y":23},{"x":1795056243000,"y":18},{"x":1795056322000,"y":20.5},{"x":1795056355000,"y":13},{"x":1795056386000,"y":7.6},{"x":1795056418000,"y":13},{"x":1795056450000,"y":5},{"x":1795056482000,"y":5}],"highlightExtremes":true,"unit":" km\/h","showLine":false,"pointRadius":3}], {"yLabel":"km\/h"}); }); $(document).ready(function() { buildMeteoChart('chart-wind-direction-canvas', 'chart-wind-direction-reset', [{"label":"Smer vetra","color":"#002f80","points":[{"x":1795042802000,"y":241},{"x":1795042883000,"y":160},{"x":1795042914000,"y":280},{"x":1795042947000,"y":159},{"x":1795042978000,"y":286},{"x":1795043011000,"y":240},{"x":1795043042000,"y":278},{"x":1795043123000,"y":242},{"x":1795043155000,"y":163},{"x":1795043186000,"y":315},{"x":1795043219000,"y":296},{"x":1795043250000,"y":132},{"x":1795043283000,"y":32},{"x":1795043362000,"y":49},{"x":1795043395000,"y":220},{"x":1795043426000,"y":225},{"x":1795043459000,"y":230},{"x":1795043490000,"y":239},{"x":1795043523000,"y":151},{"x":1795043603000,"y":63},{"x":1795043634000,"y":275},{"x":1795043667000,"y":202},{"x":1795043698000,"y":233},{"x":1795043731000,"y":118},{"x":1795043762000,"y":273},{"x":1795043843000,"y":326},{"x":1795043874000,"y":152},{"x":1795043907000,"y":76},{"x":1795043938000,"y":298},{"x":1795043971000,"y":218},{"x":1795044002000,"y":291},{"x":1795044082000,"y":228},{"x":1795044115000,"y":53},{"x":1795044146000,"y":264},{"x":1795044178000,"y":13},{"x":1795044210000,"y":275},{"x":1795044243000,"y":217},{"x":1795044322000,"y":275},{"x":1795044355000,"y":239},{"x":1795044386000,"y":224},{"x":1795044419000,"y":341},{"x":1795044450000,"y":246},{"x":1795044483000,"y":302},{"x":1795044563000,"y":228},{"x":1795044594000,"y":233},{"x":1795044627000,"y":188},{"x":1795044658000,"y":306},{"x":1795044690000,"y":267},{"x":1795044722000,"y":222},{"x":1795044804000,"y":219},{"x":1795044835000,"y":334},{"x":1795044867000,"y":284},{"x":1795044898000,"y":262},{"x":1795044931000,"y":297},{"x":1795044962000,"y":0},{"x":1795045042000,"y":327},{"x":1795045074000,"y":126},{"x":1795045106000,"y":151},{"x":1795045138000,"y":244},{"x":1795045171000,"y":54},{"x":1795045202000,"y":244},{"x":1795045282000,"y":232},{"x":1795045316000,"y":276},{"x":1795045379000,"y":156},{"x":1795045410000,"y":303},{"x":1795045443000,"y":94},{"x":1795045523000,"y":249},{"x":1795045554000,"y":222},{"x":1795045586000,"y":278},{"x":1795045618000,"y":338},{"x":1795045650000,"y":287},{"x":1795045682000,"y":316},{"x":1795045763000,"y":288},{"x":1795045795000,"y":66},{"x":1795045827000,"y":265},{"x":1795045858000,"y":264},{"x":1795045891000,"y":193},{"x":1795045922000,"y":269},{"x":1795046002000,"y":287},{"x":1795046034000,"y":158},{"x":1795046066000,"y":53},{"x":1795046099000,"y":342},{"x":1795046130000,"y":339},{"x":1795046162000,"y":162},{"x":1795046242000,"y":252},{"x":1795046275000,"y":238},{"x":1795046306000,"y":189},{"x":1795046339000,"y":146},{"x":1795046370000,"y":163},{"x":1795046403000,"y":268},{"x":1795046482000,"y":183},{"x":1795046514000,"y":248},{"x":1795046547000,"y":296},{"x":1795046578000,"y":250},{"x":1795046610000,"y":267},{"x":1795046642000,"y":235},{"x":1795046723000,"y":278},{"x":1795046754000,"y":332},{"x":1795046787000,"y":254},{"x":1795046818000,"y":298},{"x":1795046851000,"y":266},{"x":1795046882000,"y":318},{"x":1795046915000,"y":42},{"x":1795046946000,"y":157},{"x":1795047090000,"y":231},{"x":1795047123000,"y":325},{"x":1795047203000,"y":183},{"x":1795047236000,"y":226},{"x":1795047300000,"y":156},{"x":1795047364000,"y":284},{"x":1795047442000,"y":312},{"x":1795047507000,"y":171},{"x":1795047538000,"y":207},{"x":1795047571000,"y":242},{"x":1795047602000,"y":261},{"x":1795047684000,"y":128},{"x":1795047715000,"y":114},{"x":1795047747000,"y":161},{"x":1795047778000,"y":228},{"x":1795047812000,"y":351},{"x":1795047874000,"y":243},{"x":1795047922000,"y":293},{"x":1795048050000,"y":253},{"x":1795048083000,"y":170},{"x":1795048196000,"y":204},{"x":1795048290000,"y":169},{"x":1795048610000,"y":221},{"x":1795048708000,"y":134},{"x":1795048772000,"y":233},{"x":1795048882000,"y":176},{"x":1795048914000,"y":254},{"x":1795048946000,"y":251},{"x":1795048978000,"y":158},{"x":1795049010000,"y":302},{"x":1795049043000,"y":322},{"x":1795049154000,"y":119},{"x":1795049186000,"y":148},{"x":1795049218000,"y":239},{"x":1795049250000,"y":178},{"x":1795049282000,"y":277},{"x":1795049313000,"y":220},{"x":1795049363000,"y":138},{"x":1795049394000,"y":114},{"x":1795049428000,"y":128},{"x":1795049491000,"y":195},{"x":1795049522000,"y":277},{"x":1795049553000,"y":62},{"x":1795049602000,"y":258},{"x":1795049634000,"y":203},{"x":1795049666000,"y":143},{"x":1795049698000,"y":302},{"x":1795049730000,"y":339},{"x":1795049762000,"y":185},{"x":1795049793000,"y":45},{"x":1795049876000,"y":236},{"x":1795049939000,"y":267},{"x":1795049970000,"y":277},{"x":1795050003000,"y":226},{"x":1795050082000,"y":215},{"x":1795050114000,"y":171},{"x":1795050146000,"y":1},{"x":1795050178000,"y":71},{"x":1795050210000,"y":154},{"x":1795050242000,"y":350},{"x":1795050323000,"y":275},{"x":1795050354000,"y":243},{"x":1795050387000,"y":68},{"x":1795050418000,"y":275},{"x":1795050451000,"y":303},{"x":1795050482000,"y":252},{"x":1795050515000,"y":307},{"x":1795050546000,"y":159},{"x":1795050626000,"y":238},{"x":1795050658000,"y":279},{"x":1795050690000,"y":134},{"x":1795050722000,"y":126},{"x":1795050753000,"y":174},{"x":1795050802000,"y":46},{"x":1795050835000,"y":265},{"x":1795050866000,"y":208},{"x":1795050899000,"y":102},{"x":1795050930000,"y":145},{"x":1795050963000,"y":30},{"x":1795051042000,"y":240},{"x":1795051074000,"y":202},{"x":1795051106000,"y":152},{"x":1795051138000,"y":66},{"x":1795051170000,"y":167},{"x":1795051202000,"y":241},{"x":1795051283000,"y":170},{"x":1795051314000,"y":322},{"x":1795051347000,"y":243},{"x":1795051379000,"y":172},{"x":1795051412000,"y":313},{"x":1795051475000,"y":166},{"x":1795051522000,"y":248},{"x":1795051554000,"y":282},{"x":1795051586000,"y":211},{"x":1795051618000,"y":253},{"x":1795051650000,"y":146},{"x":1795051682000,"y":289},{"x":1795051713000,"y":218},{"x":1795051762000,"y":307},{"x":1795051799000,"y":220},{"x":1795051858000,"y":209},{"x":1795051890000,"y":10},{"x":1795051922000,"y":295},{"x":1795052004000,"y":185},{"x":1795052068000,"y":101},{"x":1795052131000,"y":272},{"x":1795052162000,"y":214},{"x":1795052194000,"y":171},{"x":1795052227000,"y":175},{"x":1795052306000,"y":219},{"x":1795052338000,"y":320},{"x":1795052370000,"y":348},{"x":1795052402000,"y":126},{"x":1795052433000,"y":192},{"x":1795052483000,"y":318},{"x":1795052516000,"y":242},{"x":1795052547000,"y":251},{"x":1795052579000,"y":69},{"x":1795052610000,"y":36},{"x":1795052644000,"y":316},{"x":1795052722000,"y":200},{"x":1795052754000,"y":186},{"x":1795052786000,"y":294},{"x":1795052818000,"y":182},{"x":1795052850000,"y":294},{"x":1795052882000,"y":236},{"x":1795052963000,"y":309},{"x":1795052994000,"y":224},{"x":1795053027000,"y":313},{"x":1795053059000,"y":262},{"x":1795053091000,"y":166},{"x":1795053122000,"y":291},{"x":1795053154000,"y":172},{"x":1795053186000,"y":306},{"x":1795053266000,"y":80},{"x":1795053298000,"y":244},{"x":1795053363000,"y":275},{"x":1795053442000,"y":220},{"x":1795053475000,"y":282},{"x":1795053506000,"y":280},{"x":1795053540000,"y":244},{"x":1795053682000,"y":191},{"x":1795053746000,"y":227},{"x":1795053810000,"y":194},{"x":1795054034000,"y":286},{"x":1795054098000,"y":237},{"x":1795054162000,"y":106},{"x":1795054226000,"y":152},{"x":1795054290000,"y":248},{"x":1795054530000,"y":275},{"x":1795054610000,"y":160},{"x":1795054708000,"y":318},{"x":1795054771000,"y":217},{"x":1795054802000,"y":251},{"x":1795054833000,"y":132},{"x":1795055091000,"y":159},{"x":1795055122000,"y":208},{"x":1795055157000,"y":257},{"x":1795055220000,"y":152},{"x":1795055283000,"y":272},{"x":1795055362000,"y":195},{"x":1795055394000,"y":357},{"x":1795055426000,"y":300},{"x":1795055458000,"y":159},{"x":1795055490000,"y":287},{"x":1795055522000,"y":251},{"x":1795055603000,"y":250},{"x":1795055634000,"y":142},{"x":1795055667000,"y":184},{"x":1795055698000,"y":254},{"x":1795055732000,"y":259},{"x":1795055794000,"y":255},{"x":1795055842000,"y":267},{"x":1795055874000,"y":225},{"x":1795055906000,"y":310},{"x":1795055938000,"y":214},{"x":1795055970000,"y":236},{"x":1795056002000,"y":266},{"x":1795056082000,"y":233},{"x":1795056115000,"y":248},{"x":1795056146000,"y":187},{"x":1795056179000,"y":330},{"x":1795056210000,"y":330},{"x":1795056243000,"y":239},{"x":1795056322000,"y":285},{"x":1795056355000,"y":280},{"x":1795056386000,"y":239},{"x":1795056418000,"y":274},{"x":1795056450000,"y":117},{"x":1795056482000,"y":170}],"highlightExtremes":false,"showLine":false,"pointRadius":3,"tooltipMode":"windDirection"}], {"yMode":"compass"}); }); $(document).ready(function() { buildMeteoChart('chart-solar-radiation-canvas', 'chart-solar-radiation-reset', [{"label":"Slnečné žiarenie (W\/m2)","color":"#ffb92f","points":[{"x":1795042802000,"y":0},{"x":1795042883000,"y":0},{"x":1795042914000,"y":0},{"x":1795042947000,"y":0},{"x":1795042978000,"y":0},{"x":1795043011000,"y":0},{"x":1795043042000,"y":0},{"x":1795043123000,"y":0},{"x":1795043155000,"y":0},{"x":1795043186000,"y":0},{"x":1795043219000,"y":0},{"x":1795043250000,"y":0},{"x":1795043283000,"y":0},{"x":1795043362000,"y":0},{"x":1795043395000,"y":0},{"x":1795043426000,"y":0},{"x":1795043459000,"y":0},{"x":1795043490000,"y":0},{"x":1795043523000,"y":0},{"x":1795043603000,"y":0},{"x":1795043634000,"y":0},{"x":1795043667000,"y":0},{"x":1795043698000,"y":0},{"x":1795043731000,"y":0},{"x":1795043762000,"y":0},{"x":1795043843000,"y":0},{"x":1795043874000,"y":0},{"x":1795043907000,"y":0},{"x":1795043938000,"y":0},{"x":1795043971000,"y":0},{"x":1795044002000,"y":0},{"x":1795044082000,"y":0},{"x":1795044115000,"y":0},{"x":1795044146000,"y":0},{"x":1795044178000,"y":0},{"x":1795044210000,"y":0},{"x":1795044243000,"y":0},{"x":1795044322000,"y":0},{"x":1795044355000,"y":0},{"x":1795044386000,"y":0},{"x":1795044419000,"y":0},{"x":1795044450000,"y":0},{"x":1795044483000,"y":0},{"x":1795044563000,"y":0},{"x":1795044594000,"y":0},{"x":1795044627000,"y":0},{"x":1795044658000,"y":0},{"x":1795044690000,"y":0},{"x":1795044722000,"y":0},{"x":1795044804000,"y":0},{"x":1795044835000,"y":0},{"x":1795044867000,"y":0},{"x":1795044898000,"y":0},{"x":1795044931000,"y":0},{"x":1795044962000,"y":0},{"x":1795045042000,"y":0},{"x":1795045074000,"y":0},{"x":1795045106000,"y":0},{"x":1795045138000,"y":0},{"x":1795045171000,"y":0},{"x":1795045202000,"y":0},{"x":1795045282000,"y":0},{"x":1795045316000,"y":0},{"x":1795045379000,"y":0},{"x":1795045410000,"y":0},{"x":1795045443000,"y":0},{"x":1795045523000,"y":0},{"x":1795045554000,"y":0},{"x":1795045586000,"y":0},{"x":1795045618000,"y":0},{"x":1795045650000,"y":0},{"x":1795045682000,"y":0},{"x":1795045763000,"y":0},{"x":1795045795000,"y":0},{"x":1795045827000,"y":0},{"x":1795045858000,"y":0},{"x":1795045891000,"y":0},{"x":1795045922000,"y":0},{"x":1795046002000,"y":0},{"x":1795046034000,"y":0},{"x":1795046066000,"y":0},{"x":1795046099000,"y":0},{"x":1795046130000,"y":0},{"x":1795046162000,"y":0},{"x":1795046242000,"y":0},{"x":1795046275000,"y":0},{"x":1795046306000,"y":0},{"x":1795046339000,"y":0},{"x":1795046370000,"y":0},{"x":1795046403000,"y":0},{"x":1795046482000,"y":0},{"x":1795046514000,"y":0},{"x":1795046547000,"y":0},{"x":1795046578000,"y":0},{"x":1795046610000,"y":0},{"x":1795046642000,"y":0},{"x":1795046723000,"y":0},{"x":1795046754000,"y":0},{"x":1795046787000,"y":0},{"x":1795046818000,"y":0},{"x":1795046851000,"y":0},{"x":1795046882000,"y":0},{"x":1795046915000,"y":0},{"x":1795046946000,"y":0},{"x":1795047090000,"y":0},{"x":1795047123000,"y":0},{"x":1795047203000,"y":0},{"x":1795047236000,"y":0},{"x":1795047300000,"y":0},{"x":1795047364000,"y":0},{"x":1795047442000,"y":0},{"x":1795047507000,"y":0},{"x":1795047538000,"y":0},{"x":1795047571000,"y":0},{"x":1795047602000,"y":0},{"x":1795047684000,"y":0},{"x":1795047715000,"y":0},{"x":1795047747000,"y":0},{"x":1795047778000,"y":0},{"x":1795047812000,"y":0},{"x":1795047874000,"y":0},{"x":1795047922000,"y":0},{"x":1795048050000,"y":0},{"x":1795048083000,"y":0},{"x":1795048196000,"y":0},{"x":1795048290000,"y":0},{"x":1795048610000,"y":0},{"x":1795048708000,"y":0},{"x":1795048772000,"y":0},{"x":1795048882000,"y":0},{"x":1795048914000,"y":0},{"x":1795048946000,"y":0},{"x":1795048978000,"y":0},{"x":1795049010000,"y":0},{"x":1795049043000,"y":0},{"x":1795049154000,"y":0},{"x":1795049186000,"y":0},{"x":1795049218000,"y":0},{"x":1795049250000,"y":0},{"x":1795049282000,"y":0},{"x":1795049313000,"y":0},{"x":1795049363000,"y":0},{"x":1795049394000,"y":0},{"x":1795049428000,"y":0},{"x":1795049491000,"y":0},{"x":1795049522000,"y":0},{"x":1795049553000,"y":0},{"x":1795049602000,"y":0},{"x":1795049634000,"y":0},{"x":1795049666000,"y":0},{"x":1795049698000,"y":0},{"x":1795049730000,"y":0},{"x":1795049762000,"y":0},{"x":1795049793000,"y":0},{"x":1795049876000,"y":0},{"x":1795049939000,"y":0},{"x":1795049970000,"y":0},{"x":1795050003000,"y":0},{"x":1795050082000,"y":0},{"x":1795050114000,"y":0},{"x":1795050146000,"y":0},{"x":1795050178000,"y":0},{"x":1795050210000,"y":0},{"x":1795050242000,"y":0},{"x":1795050323000,"y":0},{"x":1795050354000,"y":0},{"x":1795050387000,"y":0},{"x":1795050418000,"y":0},{"x":1795050451000,"y":0},{"x":1795050482000,"y":0},{"x":1795050515000,"y":0},{"x":1795050546000,"y":0},{"x":1795050626000,"y":0},{"x":1795050658000,"y":0},{"x":1795050690000,"y":0},{"x":1795050722000,"y":0},{"x":1795050753000,"y":0},{"x":1795050802000,"y":0},{"x":1795050835000,"y":0},{"x":1795050866000,"y":0},{"x":1795050899000,"y":0},{"x":1795050930000,"y":0},{"x":1795050963000,"y":0},{"x":1795051042000,"y":0},{"x":1795051074000,"y":0},{"x":1795051106000,"y":0},{"x":1795051138000,"y":0},{"x":1795051170000,"y":0},{"x":1795051202000,"y":0},{"x":1795051283000,"y":0},{"x":1795051314000,"y":0},{"x":1795051347000,"y":0},{"x":1795051379000,"y":0},{"x":1795051412000,"y":0},{"x":1795051475000,"y":0},{"x":1795051522000,"y":0},{"x":1795051554000,"y":0},{"x":1795051586000,"y":0},{"x":1795051618000,"y":0},{"x":1795051650000,"y":0},{"x":1795051682000,"y":0},{"x":1795051713000,"y":0},{"x":1795051762000,"y":0},{"x":1795051799000,"y":0},{"x":1795051858000,"y":0},{"x":1795051890000,"y":0},{"x":1795051922000,"y":0},{"x":1795052004000,"y":0},{"x":1795052068000,"y":0},{"x":1795052131000,"y":0},{"x":1795052162000,"y":0},{"x":1795052194000,"y":0},{"x":1795052227000,"y":0},{"x":1795052306000,"y":0},{"x":1795052338000,"y":0},{"x":1795052370000,"y":0},{"x":1795052402000,"y":0},{"x":1795052433000,"y":0},{"x":1795052483000,"y":0},{"x":1795052516000,"y":0},{"x":1795052547000,"y":0},{"x":1795052579000,"y":0},{"x":1795052610000,"y":0},{"x":1795052644000,"y":0},{"x":1795052722000,"y":0},{"x":1795052754000,"y":0},{"x":1795052786000,"y":0},{"x":1795052818000,"y":0},{"x":1795052850000,"y":0},{"x":1795052882000,"y":0},{"x":1795052963000,"y":0},{"x":1795052994000,"y":0},{"x":1795053027000,"y":0},{"x":1795053059000,"y":0},{"x":1795053091000,"y":0},{"x":1795053122000,"y":0},{"x":1795053154000,"y":0},{"x":1795053186000,"y":0},{"x":1795053266000,"y":0},{"x":1795053298000,"y":0},{"x":1795053363000,"y":0},{"x":1795053442000,"y":0},{"x":1795053475000,"y":0},{"x":1795053506000,"y":0},{"x":1795053540000,"y":0},{"x":1795053682000,"y":0},{"x":1795053746000,"y":0},{"x":1795053810000,"y":0},{"x":1795054034000,"y":0},{"x":1795054098000,"y":0},{"x":1795054162000,"y":0},{"x":1795054226000,"y":0},{"x":1795054290000,"y":0},{"x":1795054530000,"y":0},{"x":1795054610000,"y":0},{"x":1795054708000,"y":0},{"x":1795054771000,"y":0},{"x":1795054802000,"y":0},{"x":1795054833000,"y":0},{"x":1795055091000,"y":0},{"x":1795055122000,"y":0},{"x":1795055157000,"y":0},{"x":1795055220000,"y":0},{"x":1795055283000,"y":0},{"x":1795055362000,"y":0},{"x":1795055394000,"y":0},{"x":1795055426000,"y":0},{"x":1795055458000,"y":0},{"x":1795055490000,"y":0},{"x":1795055522000,"y":0},{"x":1795055603000,"y":0},{"x":1795055634000,"y":0},{"x":1795055667000,"y":0},{"x":1795055698000,"y":0},{"x":1795055732000,"y":0},{"x":1795055794000,"y":0},{"x":1795055842000,"y":0},{"x":1795055874000,"y":0},{"x":1795055906000,"y":0},{"x":1795055938000,"y":0},{"x":1795055970000,"y":0},{"x":1795056002000,"y":0},{"x":1795056082000,"y":0},{"x":1795056115000,"y":0},{"x":1795056146000,"y":0},{"x":1795056179000,"y":0},{"x":1795056210000,"y":0},{"x":1795056243000,"y":0},{"x":1795056322000,"y":0},{"x":1795056355000,"y":0},{"x":1795056386000,"y":0},{"x":1795056418000,"y":0},{"x":1795056450000,"y":0},{"x":1795056482000,"y":0}],"highlightExtremes":true,"unit":" W\/m2"}], {"yLabel":"W\/m2","yMin":0}); }); $(document).ready(function() { buildMeteoChart('chart-uv-canvas', 'chart-uv-reset', [{"label":"UV žiarenie","color":"#802674","points":[{"x":1795042802000,"y":0},{"x":1795042883000,"y":0},{"x":1795042914000,"y":0},{"x":1795042947000,"y":0},{"x":1795042978000,"y":0},{"x":1795043011000,"y":0},{"x":1795043042000,"y":0},{"x":1795043123000,"y":0},{"x":1795043155000,"y":0},{"x":1795043186000,"y":0},{"x":1795043219000,"y":0},{"x":1795043250000,"y":0},{"x":1795043283000,"y":0},{"x":1795043362000,"y":0},{"x":1795043395000,"y":0},{"x":1795043426000,"y":0},{"x":1795043459000,"y":0},{"x":1795043490000,"y":0},{"x":1795043523000,"y":0},{"x":1795043603000,"y":0},{"x":1795043634000,"y":0},{"x":1795043667000,"y":0},{"x":1795043698000,"y":0},{"x":1795043731000,"y":0},{"x":1795043762000,"y":0},{"x":1795043843000,"y":0},{"x":1795043874000,"y":0},{"x":1795043907000,"y":0},{"x":1795043938000,"y":0},{"x":1795043971000,"y":0},{"x":1795044002000,"y":0},{"x":1795044082000,"y":0},{"x":1795044115000,"y":0},{"x":1795044146000,"y":0},{"x":1795044178000,"y":0},{"x":1795044210000,"y":0},{"x":1795044243000,"y":0},{"x":1795044322000,"y":0},{"x":1795044355000,"y":0},{"x":1795044386000,"y":0},{"x":1795044419000,"y":0},{"x":1795044450000,"y":0},{"x":1795044483000,"y":0},{"x":1795044563000,"y":0},{"x":1795044594000,"y":0},{"x":1795044627000,"y":0},{"x":1795044658000,"y":0},{"x":1795044690000,"y":0},{"x":1795044722000,"y":0},{"x":1795044804000,"y":0},{"x":1795044835000,"y":0},{"x":1795044867000,"y":0},{"x":1795044898000,"y":0},{"x":1795044931000,"y":0},{"x":1795044962000,"y":0},{"x":1795045042000,"y":0},{"x":1795045074000,"y":0},{"x":1795045106000,"y":0},{"x":1795045138000,"y":0},{"x":1795045171000,"y":0},{"x":1795045202000,"y":0},{"x":1795045282000,"y":0},{"x":1795045316000,"y":0},{"x":1795045379000,"y":0},{"x":1795045410000,"y":0},{"x":1795045443000,"y":0},{"x":1795045523000,"y":0},{"x":1795045554000,"y":0},{"x":1795045586000,"y":0},{"x":1795045618000,"y":0},{"x":1795045650000,"y":0},{"x":1795045682000,"y":0},{"x":1795045763000,"y":0},{"x":1795045795000,"y":0},{"x":1795045827000,"y":0},{"x":1795045858000,"y":0},{"x":1795045891000,"y":0},{"x":1795045922000,"y":0},{"x":1795046002000,"y":0},{"x":1795046034000,"y":0},{"x":1795046066000,"y":0},{"x":1795046099000,"y":0},{"x":1795046130000,"y":0},{"x":1795046162000,"y":0},{"x":1795046242000,"y":0},{"x":1795046275000,"y":0},{"x":1795046306000,"y":0},{"x":1795046339000,"y":0},{"x":1795046370000,"y":0},{"x":1795046403000,"y":0},{"x":1795046482000,"y":0},{"x":1795046514000,"y":0},{"x":1795046547000,"y":0},{"x":1795046578000,"y":0},{"x":1795046610000,"y":0},{"x":1795046642000,"y":0},{"x":1795046723000,"y":0},{"x":1795046754000,"y":0},{"x":1795046787000,"y":0},{"x":1795046818000,"y":0},{"x":1795046851000,"y":0},{"x":1795046882000,"y":0},{"x":1795046915000,"y":0},{"x":1795046946000,"y":0},{"x":1795047090000,"y":0},{"x":1795047123000,"y":0},{"x":1795047203000,"y":0},{"x":1795047236000,"y":0},{"x":1795047300000,"y":0},{"x":1795047364000,"y":0},{"x":1795047442000,"y":0},{"x":1795047507000,"y":0},{"x":1795047538000,"y":0},{"x":1795047571000,"y":0},{"x":1795047602000,"y":0},{"x":1795047684000,"y":0},{"x":1795047715000,"y":0},{"x":1795047747000,"y":0},{"x":1795047778000,"y":0},{"x":1795047812000,"y":0},{"x":1795047874000,"y":0},{"x":1795047922000,"y":0},{"x":1795048050000,"y":0},{"x":1795048083000,"y":0},{"x":1795048196000,"y":0},{"x":1795048290000,"y":0},{"x":1795048610000,"y":0},{"x":1795048708000,"y":0},{"x":1795048772000,"y":0},{"x":1795048882000,"y":0},{"x":1795048914000,"y":0},{"x":1795048946000,"y":0},{"x":1795048978000,"y":0},{"x":1795049010000,"y":0},{"x":1795049043000,"y":0},{"x":1795049154000,"y":0},{"x":1795049186000,"y":0},{"x":1795049218000,"y":0},{"x":1795049250000,"y":0},{"x":1795049282000,"y":0},{"x":1795049313000,"y":0},{"x":1795049363000,"y":0},{"x":1795049394000,"y":0},{"x":1795049428000,"y":0},{"x":1795049491000,"y":0},{"x":1795049522000,"y":0},{"x":1795049553000,"y":0},{"x":1795049602000,"y":0},{"x":1795049634000,"y":0},{"x":1795049666000,"y":0},{"x":1795049698000,"y":0},{"x":1795049730000,"y":0},{"x":1795049762000,"y":0},{"x":1795049793000,"y":0},{"x":1795049876000,"y":0},{"x":1795049939000,"y":0},{"x":1795049970000,"y":0},{"x":1795050003000,"y":0},{"x":1795050082000,"y":0},{"x":1795050114000,"y":0},{"x":1795050146000,"y":0},{"x":1795050178000,"y":0},{"x":1795050210000,"y":0},{"x":1795050242000,"y":0},{"x":1795050323000,"y":0},{"x":1795050354000,"y":0},{"x":1795050387000,"y":0},{"x":1795050418000,"y":0},{"x":1795050451000,"y":0},{"x":1795050482000,"y":0},{"x":1795050515000,"y":0},{"x":1795050546000,"y":0},{"x":1795050626000,"y":0},{"x":1795050658000,"y":0},{"x":1795050690000,"y":0},{"x":1795050722000,"y":0},{"x":1795050753000,"y":0},{"x":1795050802000,"y":0},{"x":1795050835000,"y":0},{"x":1795050866000,"y":0},{"x":1795050899000,"y":0},{"x":1795050930000,"y":0},{"x":1795050963000,"y":0},{"x":1795051042000,"y":0},{"x":1795051074000,"y":0},{"x":1795051106000,"y":0},{"x":1795051138000,"y":0},{"x":1795051170000,"y":0},{"x":1795051202000,"y":0},{"x":1795051283000,"y":0},{"x":1795051314000,"y":0},{"x":1795051347000,"y":0},{"x":1795051379000,"y":0},{"x":1795051412000,"y":0},{"x":1795051475000,"y":0},{"x":1795051522000,"y":0},{"x":1795051554000,"y":0},{"x":1795051586000,"y":0},{"x":1795051618000,"y":0},{"x":1795051650000,"y":0},{"x":1795051682000,"y":0},{"x":1795051713000,"y":0},{"x":1795051762000,"y":0},{"x":1795051799000,"y":0},{"x":1795051858000,"y":0},{"x":1795051890000,"y":0},{"x":1795051922000,"y":0},{"x":1795052004000,"y":0},{"x":1795052068000,"y":0},{"x":1795052131000,"y":0},{"x":1795052162000,"y":0},{"x":1795052194000,"y":0},{"x":1795052227000,"y":0},{"x":1795052306000,"y":0},{"x":1795052338000,"y":0},{"x":1795052370000,"y":0},{"x":1795052402000,"y":0},{"x":1795052433000,"y":0},{"x":1795052483000,"y":0},{"x":1795052516000,"y":0},{"x":1795052547000,"y":0},{"x":1795052579000,"y":0},{"x":1795052610000,"y":0},{"x":1795052644000,"y":0},{"x":1795052722000,"y":0},{"x":1795052754000,"y":0},{"x":1795052786000,"y":0},{"x":1795052818000,"y":0},{"x":1795052850000,"y":0},{"x":1795052882000,"y":0},{"x":1795052963000,"y":0},{"x":1795052994000,"y":0},{"x":1795053027000,"y":0},{"x":1795053059000,"y":0},{"x":1795053091000,"y":0},{"x":1795053122000,"y":0},{"x":1795053154000,"y":0},{"x":1795053186000,"y":0},{"x":1795053266000,"y":0},{"x":1795053298000,"y":0},{"x":1795053363000,"y":0},{"x":1795053442000,"y":0},{"x":1795053475000,"y":0},{"x":1795053506000,"y":0},{"x":1795053540000,"y":0},{"x":1795053682000,"y":0},{"x":1795053746000,"y":0},{"x":1795053810000,"y":0},{"x":1795054034000,"y":0},{"x":1795054098000,"y":0},{"x":1795054162000,"y":0},{"x":1795054226000,"y":0},{"x":1795054290000,"y":0},{"x":1795054530000,"y":0},{"x":1795054610000,"y":0},{"x":1795054708000,"y":0},{"x":1795054771000,"y":0},{"x":1795054802000,"y":0},{"x":1795054833000,"y":0},{"x":1795055091000,"y":0},{"x":1795055122000,"y":0},{"x":1795055157000,"y":0},{"x":1795055220000,"y":0},{"x":1795055283000,"y":0},{"x":1795055362000,"y":0},{"x":1795055394000,"y":0},{"x":1795055426000,"y":0},{"x":1795055458000,"y":0},{"x":1795055490000,"y":0},{"x":1795055522000,"y":0},{"x":1795055603000,"y":0},{"x":1795055634000,"y":0},{"x":1795055667000,"y":0},{"x":1795055698000,"y":0},{"x":1795055732000,"y":0},{"x":1795055794000,"y":0},{"x":1795055842000,"y":0},{"x":1795055874000,"y":0},{"x":1795055906000,"y":0},{"x":1795055938000,"y":0},{"x":1795055970000,"y":0},{"x":1795056002000,"y":0},{"x":1795056082000,"y":0},{"x":1795056115000,"y":0},{"x":1795056146000,"y":0},{"x":1795056179000,"y":0},{"x":1795056210000,"y":0},{"x":1795056243000,"y":0},{"x":1795056322000,"y":0},{"x":1795056355000,"y":0},{"x":1795056386000,"y":0},{"x":1795056418000,"y":0},{"x":1795056450000,"y":0},{"x":1795056482000,"y":0}],"highlightExtremes":true}], {"yMin":0}); }); $(document).ready(function() { buildMeteoChart('chart-rain-canvas', 'chart-rain-reset', [{"label":"Zrážky (mm)","color":"#008fbf","points":[{"x":1795042802000,"y":0},{"x":1795042883000,"y":0},{"x":1795042914000,"y":0},{"x":1795042947000,"y":0},{"x":1795042978000,"y":0},{"x":1795043011000,"y":0},{"x":1795043042000,"y":0},{"x":1795043123000,"y":0},{"x":1795043155000,"y":0},{"x":1795043186000,"y":0},{"x":1795043219000,"y":0},{"x":1795043250000,"y":0},{"x":1795043283000,"y":0},{"x":1795043362000,"y":0},{"x":1795043395000,"y":0},{"x":1795043426000,"y":0},{"x":1795043459000,"y":0},{"x":1795043490000,"y":0},{"x":1795043523000,"y":0},{"x":1795043603000,"y":0},{"x":1795043634000,"y":0},{"x":1795043667000,"y":0},{"x":1795043698000,"y":0},{"x":1795043731000,"y":0},{"x":1795043762000,"y":0},{"x":1795043843000,"y":0},{"x":1795043874000,"y":0},{"x":1795043907000,"y":0},{"x":1795043938000,"y":0},{"x":1795043971000,"y":0},{"x":1795044002000,"y":0},{"x":1795044082000,"y":0},{"x":1795044115000,"y":0},{"x":1795044146000,"y":0},{"x":1795044178000,"y":0},{"x":1795044210000,"y":0},{"x":1795044243000,"y":0},{"x":1795044322000,"y":0},{"x":1795044355000,"y":0},{"x":1795044386000,"y":0},{"x":1795044419000,"y":0},{"x":1795044450000,"y":0},{"x":1795044483000,"y":0},{"x":1795044563000,"y":0},{"x":1795044594000,"y":0},{"x":1795044627000,"y":0},{"x":1795044658000,"y":0},{"x":1795044690000,"y":0},{"x":1795044722000,"y":0},{"x":1795044804000,"y":0},{"x":1795044835000,"y":0},{"x":1795044867000,"y":0},{"x":1795044898000,"y":0},{"x":1795044931000,"y":0},{"x":1795044962000,"y":0},{"x":1795045042000,"y":0},{"x":1795045074000,"y":0},{"x":1795045106000,"y":0},{"x":1795045138000,"y":0},{"x":1795045171000,"y":0},{"x":1795045202000,"y":0},{"x":1795045282000,"y":0},{"x":1795045316000,"y":0},{"x":1795045379000,"y":0},{"x":1795045410000,"y":0},{"x":1795045443000,"y":0},{"x":1795045523000,"y":0},{"x":1795045554000,"y":0},{"x":1795045586000,"y":0},{"x":1795045618000,"y":0},{"x":1795045650000,"y":0},{"x":1795045682000,"y":0},{"x":1795045763000,"y":0},{"x":1795045795000,"y":0},{"x":1795045827000,"y":0},{"x":1795045858000,"y":0},{"x":1795045891000,"y":0},{"x":1795045922000,"y":0},{"x":1795046002000,"y":0},{"x":1795046034000,"y":0},{"x":1795046066000,"y":0},{"x":1795046099000,"y":0},{"x":1795046130000,"y":0},{"x":1795046162000,"y":0},{"x":1795046242000,"y":0},{"x":1795046275000,"y":0},{"x":1795046306000,"y":0},{"x":1795046339000,"y":0},{"x":1795046370000,"y":0},{"x":1795046403000,"y":0},{"x":1795046482000,"y":0},{"x":1795046514000,"y":0},{"x":1795046547000,"y":0},{"x":1795046578000,"y":0},{"x":1795046610000,"y":0},{"x":1795046642000,"y":0},{"x":1795046723000,"y":0},{"x":1795046754000,"y":0},{"x":1795046787000,"y":0},{"x":1795046818000,"y":0},{"x":1795046851000,"y":0},{"x":1795046882000,"y":0},{"x":1795046915000,"y":0},{"x":1795046946000,"y":0},{"x":1795047090000,"y":0},{"x":1795047123000,"y":0},{"x":1795047203000,"y":0},{"x":1795047236000,"y":0},{"x":1795047300000,"y":0},{"x":1795047364000,"y":0},{"x":1795047442000,"y":0},{"x":1795047507000,"y":0},{"x":1795047538000,"y":0},{"x":1795047571000,"y":0},{"x":1795047602000,"y":0},{"x":1795047684000,"y":0},{"x":1795047715000,"y":0},{"x":1795047747000,"y":0},{"x":1795047778000,"y":0},{"x":1795047812000,"y":0},{"x":1795047874000,"y":0},{"x":1795047922000,"y":0},{"x":1795048050000,"y":0},{"x":1795048083000,"y":0},{"x":1795048196000,"y":0},{"x":1795048290000,"y":0},{"x":1795048610000,"y":0},{"x":1795048708000,"y":0},{"x":1795048772000,"y":0},{"x":1795048882000,"y":0},{"x":1795048914000,"y":0},{"x":1795048946000,"y":0},{"x":1795048978000,"y":0},{"x":1795049010000,"y":0},{"x":1795049043000,"y":0},{"x":1795049154000,"y":0},{"x":1795049186000,"y":0},{"x":1795049218000,"y":0},{"x":1795049250000,"y":0},{"x":1795049282000,"y":0},{"x":1795049313000,"y":0},{"x":1795049363000,"y":0},{"x":1795049394000,"y":0},{"x":1795049428000,"y":0},{"x":1795049491000,"y":0},{"x":1795049522000,"y":0},{"x":1795049553000,"y":0},{"x":1795049602000,"y":0},{"x":1795049634000,"y":0},{"x":1795049666000,"y":0},{"x":1795049698000,"y":0},{"x":1795049730000,"y":0},{"x":1795049762000,"y":0},{"x":1795049793000,"y":0},{"x":1795049876000,"y":0},{"x":1795049939000,"y":0},{"x":1795049970000,"y":0},{"x":1795050003000,"y":0},{"x":1795050082000,"y":0},{"x":1795050114000,"y":0},{"x":1795050146000,"y":0},{"x":1795050178000,"y":0},{"x":1795050210000,"y":0},{"x":1795050242000,"y":0},{"x":1795050323000,"y":0},{"x":1795050354000,"y":0},{"x":1795050387000,"y":0},{"x":1795050418000,"y":0},{"x":1795050451000,"y":0},{"x":1795050482000,"y":0},{"x":1795050515000,"y":0},{"x":1795050546000,"y":0},{"x":1795050626000,"y":0},{"x":1795050658000,"y":0},{"x":1795050690000,"y":0},{"x":1795050722000,"y":0},{"x":1795050753000,"y":0},{"x":1795050802000,"y":0},{"x":1795050835000,"y":0},{"x":1795050866000,"y":0},{"x":1795050899000,"y":0},{"x":1795050930000,"y":0},{"x":1795050963000,"y":0},{"x":1795051042000,"y":0},{"x":1795051074000,"y":0},{"x":1795051106000,"y":0},{"x":1795051138000,"y":0},{"x":1795051170000,"y":0},{"x":1795051202000,"y":0},{"x":1795051283000,"y":0},{"x":1795051314000,"y":0},{"x":1795051347000,"y":0},{"x":1795051379000,"y":0},{"x":1795051412000,"y":0},{"x":1795051475000,"y":0},{"x":1795051522000,"y":0},{"x":1795051554000,"y":0},{"x":1795051586000,"y":0},{"x":1795051618000,"y":0},{"x":1795051650000,"y":0},{"x":1795051682000,"y":0},{"x":1795051713000,"y":0},{"x":1795051762000,"y":0},{"x":1795051799000,"y":0},{"x":1795051858000,"y":0},{"x":1795051890000,"y":0},{"x":1795051922000,"y":0},{"x":1795052004000,"y":0},{"x":1795052068000,"y":0},{"x":1795052131000,"y":0},{"x":1795052162000,"y":0},{"x":1795052194000,"y":0},{"x":1795052227000,"y":0},{"x":1795052306000,"y":0},{"x":1795052338000,"y":0},{"x":1795052370000,"y":0},{"x":1795052402000,"y":0},{"x":1795052433000,"y":0},{"x":1795052483000,"y":0},{"x":1795052516000,"y":0},{"x":1795052547000,"y":0},{"x":1795052579000,"y":0},{"x":1795052610000,"y":0},{"x":1795052644000,"y":0},{"x":1795052722000,"y":0},{"x":1795052754000,"y":0},{"x":1795052786000,"y":0},{"x":1795052818000,"y":0},{"x":1795052850000,"y":0},{"x":1795052882000,"y":0},{"x":1795052963000,"y":0},{"x":1795052994000,"y":0},{"x":1795053027000,"y":0},{"x":1795053059000,"y":0},{"x":1795053091000,"y":0},{"x":1795053122000,"y":0},{"x":1795053154000,"y":0},{"x":1795053186000,"y":0},{"x":1795053266000,"y":0},{"x":1795053298000,"y":0},{"x":1795053363000,"y":0},{"x":1795053442000,"y":0},{"x":1795053475000,"y":0},{"x":1795053506000,"y":0},{"x":1795053540000,"y":0},{"x":1795053682000,"y":0},{"x":1795053746000,"y":0},{"x":1795053810000,"y":0},{"x":1795054034000,"y":0},{"x":1795054098000,"y":0},{"x":1795054162000,"y":0},{"x":1795054226000,"y":0},{"x":1795054290000,"y":0},{"x":1795054530000,"y":0},{"x":1795054610000,"y":0},{"x":1795054708000,"y":0},{"x":1795054771000,"y":0},{"x":1795054802000,"y":0},{"x":1795054833000,"y":0},{"x":1795055091000,"y":0},{"x":1795055122000,"y":0},{"x":1795055157000,"y":0},{"x":1795055220000,"y":0},{"x":1795055283000,"y":0},{"x":1795055362000,"y":0},{"x":1795055394000,"y":0},{"x":1795055426000,"y":0},{"x":1795055458000,"y":0},{"x":1795055490000,"y":0},{"x":1795055522000,"y":0},{"x":1795055603000,"y":0},{"x":1795055634000,"y":0},{"x":1795055667000,"y":0},{"x":1795055698000,"y":0},{"x":1795055732000,"y":0},{"x":1795055794000,"y":0},{"x":1795055842000,"y":0},{"x":1795055874000,"y":0},{"x":1795055906000,"y":0},{"x":1795055938000,"y":0},{"x":1795055970000,"y":0},{"x":1795056002000,"y":0},{"x":1795056082000,"y":0},{"x":1795056115000,"y":0},{"x":1795056146000,"y":0},{"x":1795056179000,"y":0},{"x":1795056210000,"y":0},{"x":1795056243000,"y":0},{"x":1795056322000,"y":0},{"x":1795056355000,"y":0},{"x":1795056386000,"y":0},{"x":1795056418000,"y":0},{"x":1795056450000,"y":0},{"x":1795056482000,"y":0}],"highlightExtremes":false,"unit":" mm"}], {"yLabel":"mm","yMin":0}); }); $('.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; }