var meteoCharts = {}; var meteoCompassLabels = {0: 'S', 90: 'V', 180: 'J', 270: 'Z', 360: 'S'}; var meteoRangeMin = 1794006000000; var meteoRangeMax = 1794023187000; 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":1794006029000,"y":-4},{"x":1794006096000,"y":-4},{"x":1794006158000,"y":-4.1},{"x":1794006221000,"y":-4.2},{"x":1794006285000,"y":-4.3},{"x":1794006349000,"y":-4.4},{"x":1794006413000,"y":-4.4},{"x":1794006479000,"y":-4.4},{"x":1794006558000,"y":-4.5},{"x":1794006623000,"y":-4.6},{"x":1794006686000,"y":-4.6},{"x":1794006750000,"y":-4.6},{"x":1794006812000,"y":-4.6},{"x":1794006877000,"y":-4.6},{"x":1794006942000,"y":-4.6},{"x":1794007005000,"y":-4.5},{"x":1794007069000,"y":-4.4},{"x":1794007133000,"y":-4.3},{"x":1794007198000,"y":-4.3},{"x":1794007262000,"y":-4.2},{"x":1794007326000,"y":-4.2},{"x":1794007389000,"y":-4.1},{"x":1794007454000,"y":-4},{"x":1794007517000,"y":-4},{"x":1794007581000,"y":-4},{"x":1794007645000,"y":-4},{"x":1794007713000,"y":-4.1},{"x":1794007773000,"y":-4.1},{"x":1794007837000,"y":-4.1},{"x":1794007901000,"y":-4},{"x":1794007965000,"y":-3.9},{"x":1794008029000,"y":-3.9},{"x":1794008101000,"y":-3.6},{"x":1794008174000,"y":-3.2},{"x":1794008237000,"y":-3.1},{"x":1794008301000,"y":-3.1},{"x":1794008365000,"y":-3.2},{"x":1794008429000,"y":-3.3},{"x":1794008493000,"y":-3.3},{"x":1794008558000,"y":-3.3},{"x":1794008622000,"y":-3.3},{"x":1794008685000,"y":-3.4},{"x":1794008750000,"y":-3.3},{"x":1794008814000,"y":-3.3},{"x":1794008877000,"y":-3.3},{"x":1794008941000,"y":-3.4},{"x":1794009005000,"y":-3.6},{"x":1794009069000,"y":-3.7},{"x":1794009134000,"y":-3.9},{"x":1794009199000,"y":-4},{"x":1794009261000,"y":-4.1},{"x":1794009325000,"y":-4.1},{"x":1794009389000,"y":-4},{"x":1794009453000,"y":-3.9},{"x":1794009517000,"y":-3.6},{"x":1794009582000,"y":-3.5},{"x":1794009645000,"y":-3.5},{"x":1794009710000,"y":-3.5},{"x":1794009774000,"y":-3.5},{"x":1794009837000,"y":-3.7},{"x":1794009901000,"y":-3.8},{"x":1794009966000,"y":-3.9},{"x":1794010029000,"y":-4},{"x":1794010094000,"y":-4},{"x":1794010157000,"y":-4.1},{"x":1794010222000,"y":-4.2},{"x":1794010286000,"y":-4.2},{"x":1794010350000,"y":-4.3},{"x":1794010413000,"y":-4.3},{"x":1794010478000,"y":-4.3},{"x":1794010541000,"y":-4.4},{"x":1794010606000,"y":-4.5},{"x":1794010669000,"y":-4.5},{"x":1794010733000,"y":-4.5},{"x":1794010797000,"y":-4.6},{"x":1794010863000,"y":-4.6},{"x":1794010925000,"y":-4.7},{"x":1794010989000,"y":-4.6},{"x":1794011053000,"y":-4.6},{"x":1794011119000,"y":-4.7},{"x":1794011182000,"y":-4.7},{"x":1794011246000,"y":-4.7},{"x":1794011310000,"y":-4.7},{"x":1794011372000,"y":-4.7},{"x":1794011438000,"y":-4.8},{"x":1794011501000,"y":-4.8},{"x":1794011566000,"y":-4.8},{"x":1794011631000,"y":-4.8},{"x":1794011694000,"y":-4.8},{"x":1794011757000,"y":-4.8},{"x":1794011821000,"y":-4.7},{"x":1794011885000,"y":-4.6},{"x":1794011950000,"y":-4.4},{"x":1794012014000,"y":-4.3},{"x":1794012078000,"y":-4.2},{"x":1794012142000,"y":-4.1},{"x":1794012206000,"y":-4.1},{"x":1794012269000,"y":-4.2},{"x":1794012332000,"y":-4.2},{"x":1794012398000,"y":-4.2},{"x":1794012461000,"y":-4.3},{"x":1794012525000,"y":-4.2},{"x":1794012589000,"y":-4.2},{"x":1794012655000,"y":-4.3},{"x":1794012718000,"y":-4.3},{"x":1794012781000,"y":-4.4},{"x":1794012846000,"y":-4.4},{"x":1794012909000,"y":-4.5},{"x":1794012978000,"y":-4.5},{"x":1794013052000,"y":-4.5},{"x":1794013112000,"y":-4.6},{"x":1794013172000,"y":-4.6},{"x":1794013232000,"y":-4.6},{"x":1794013292000,"y":-4.6},{"x":1794013357000,"y":-4.5},{"x":1794013422000,"y":-4.5},{"x":1794013485000,"y":-4.6},{"x":1794013551000,"y":-4.7},{"x":1794013614000,"y":-4.8},{"x":1794013677000,"y":-4.9},{"x":1794013742000,"y":-5},{"x":1794013805000,"y":-5.1},{"x":1794013873000,"y":-5.1},{"x":1794013952000,"y":-5.2},{"x":1794014016000,"y":-5.3},{"x":1794014078000,"y":-5.3},{"x":1794014141000,"y":-5.4},{"x":1794014207000,"y":-5.5},{"x":1794014269000,"y":-5.5},{"x":1794014334000,"y":-5.6},{"x":1794014397000,"y":-5.6},{"x":1794014461000,"y":-5.6},{"x":1794014526000,"y":-5.6},{"x":1794014590000,"y":-5.6},{"x":1794014655000,"y":-5.5},{"x":1794014717000,"y":-5.5},{"x":1794014782000,"y":-5.2},{"x":1794014845000,"y":-5.1},{"x":1794014910000,"y":-5.1},{"x":1794014973000,"y":-5.1},{"x":1794015037000,"y":-5.1},{"x":1794015101000,"y":-5.1},{"x":1794015166000,"y":-5.1},{"x":1794015230000,"y":-5},{"x":1794015294000,"y":-4.9},{"x":1794015359000,"y":-4.8},{"x":1794015422000,"y":-4.6},{"x":1794015487000,"y":-4.6},{"x":1794015549000,"y":-4.6},{"x":1794015613000,"y":-4.6},{"x":1794015678000,"y":-4.5},{"x":1794015744000,"y":-4.5},{"x":1794015806000,"y":-4.5},{"x":1794015870000,"y":-4.4},{"x":1794015932000,"y":-4.4},{"x":1794015997000,"y":-4.4},{"x":1794016062000,"y":-4.4},{"x":1794016126000,"y":-4.4},{"x":1794016190000,"y":-4.4},{"x":1794016254000,"y":-4.5},{"x":1794016317000,"y":-4.5},{"x":1794016381000,"y":-4.6},{"x":1794016446000,"y":-4.6},{"x":1794016509000,"y":-4.6},{"x":1794016574000,"y":-5},{"x":1794016638000,"y":-5.1},{"x":1794016703000,"y":-5.2},{"x":1794016766000,"y":-5.2},{"x":1794016830000,"y":-5.2},{"x":1794016893000,"y":-5.2},{"x":1794016958000,"y":-5.2},{"x":1794017022000,"y":-5.1},{"x":1794017086000,"y":-5.1},{"x":1794017152000,"y":-5.1},{"x":1794017214000,"y":-5.1},{"x":1794017278000,"y":-5.1},{"x":1794017342000,"y":-5.1},{"x":1794017407000,"y":-5.1},{"x":1794017471000,"y":-5.1},{"x":1794017534000,"y":-5.1},{"x":1794017597000,"y":-5.2},{"x":1794017662000,"y":-5.2},{"x":1794017726000,"y":-5.2},{"x":1794017791000,"y":-5.2},{"x":1794017852000,"y":-5.2},{"x":1794017918000,"y":-5.2},{"x":1794017981000,"y":-5.2},{"x":1794018046000,"y":-5.2},{"x":1794018110000,"y":-5.1},{"x":1794018174000,"y":-5},{"x":1794018237000,"y":-5},{"x":1794018302000,"y":-5},{"x":1794018367000,"y":-5.1},{"x":1794018429000,"y":-5.1},{"x":1794018494000,"y":-5.1},{"x":1794018557000,"y":-5.1},{"x":1794018622000,"y":-5.2},{"x":1794018686000,"y":-5.2},{"x":1794018750000,"y":-5.2},{"x":1794018813000,"y":-5.3},{"x":1794018878000,"y":-5.3},{"x":1794018942000,"y":-5.4},{"x":1794019007000,"y":-5.4},{"x":1794019069000,"y":-5.4},{"x":1794019133000,"y":-5.4},{"x":1794019199000,"y":-5.3},{"x":1794019261000,"y":-5.2},{"x":1794019327000,"y":-5.2},{"x":1794019390000,"y":-5.5},{"x":1794019453000,"y":-5.8},{"x":1794019517000,"y":-5.9},{"x":1794019581000,"y":-6},{"x":1794019647000,"y":-6},{"x":1794019710000,"y":-6},{"x":1794019773000,"y":-6},{"x":1794019837000,"y":-6},{"x":1794019902000,"y":-6},{"x":1794019966000,"y":-5.9},{"x":1794020031000,"y":-5.9},{"x":1794020094000,"y":-5.9},{"x":1794020157000,"y":-6},{"x":1794020222000,"y":-6},{"x":1794020287000,"y":-6},{"x":1794020349000,"y":-5.9},{"x":1794020414000,"y":-5.9},{"x":1794020478000,"y":-5.8},{"x":1794020543000,"y":-5.8},{"x":1794020606000,"y":-5.7},{"x":1794020670000,"y":-5.7},{"x":1794020733000,"y":-5.6},{"x":1794020797000,"y":-5.6},{"x":1794020862000,"y":-5.6},{"x":1794020926000,"y":-5.6},{"x":1794020990000,"y":-5.6},{"x":1794021054000,"y":-5.6},{"x":1794021119000,"y":-5.5},{"x":1794021182000,"y":-5.5},{"x":1794021246000,"y":-5.5},{"x":1794021311000,"y":-5.5},{"x":1794021374000,"y":-5.5},{"x":1794021439000,"y":-5.5},{"x":1794021502000,"y":-5.5},{"x":1794021566000,"y":-5.5},{"x":1794021630000,"y":-5.6},{"x":1794021693000,"y":-5.6},{"x":1794021758000,"y":-5.5},{"x":1794021823000,"y":-5.5},{"x":1794021886000,"y":-5.5},{"x":1794021950000,"y":-5.4},{"x":1794022014000,"y":-5.4},{"x":1794022077000,"y":-5.4},{"x":1794022142000,"y":-5.3},{"x":1794022206000,"y":-5.3},{"x":1794022271000,"y":-5.4},{"x":1794022335000,"y":-5.5},{"x":1794022398000,"y":-5.5},{"x":1794022462000,"y":-5.5},{"x":1794022526000,"y":-5.5},{"x":1794022589000,"y":-5.6},{"x":1794022653000,"y":-5.6},{"x":1794022719000,"y":-5.7},{"x":1794022782000,"y":-5.8},{"x":1794022847000,"y":-5.8},{"x":1794022910000,"y":-5.8},{"x":1794022974000,"y":-5.8},{"x":1794023038000,"y":-5.8},{"x":1794023102000,"y":-5.8},{"x":1794023166000,"y":-5.8}],"highlightExtremes":true,"unit":" °C"},{"label":"Rosný bod (°C)","color":"#5b9f4a","points":[{"x":1794006029000,"y":-4.4},{"x":1794006096000,"y":-4.4},{"x":1794006158000,"y":-4.5},{"x":1794006221000,"y":-4.6},{"x":1794006285000,"y":-4.7},{"x":1794006349000,"y":-4.8},{"x":1794006413000,"y":-4.8},{"x":1794006479000,"y":-4.8},{"x":1794006558000,"y":-4.9},{"x":1794006623000,"y":-5},{"x":1794006686000,"y":-5},{"x":1794006750000,"y":-5},{"x":1794006812000,"y":-5},{"x":1794006877000,"y":-5},{"x":1794006942000,"y":-5},{"x":1794007005000,"y":-4.9},{"x":1794007069000,"y":-4.8},{"x":1794007133000,"y":-4.7},{"x":1794007198000,"y":-4.7},{"x":1794007262000,"y":-4.6},{"x":1794007326000,"y":-4.6},{"x":1794007389000,"y":-4.5},{"x":1794007454000,"y":-4.4},{"x":1794007517000,"y":-4.4},{"x":1794007581000,"y":-4.4},{"x":1794007645000,"y":-4.4},{"x":1794007713000,"y":-4.5},{"x":1794007773000,"y":-4.5},{"x":1794007837000,"y":-4.5},{"x":1794007901000,"y":-4.4},{"x":1794007965000,"y":-4.3},{"x":1794008029000,"y":-4.3},{"x":1794008101000,"y":-4},{"x":1794008174000,"y":-3.6},{"x":1794008237000,"y":-3.5},{"x":1794008301000,"y":-3.5},{"x":1794008365000,"y":-3.6},{"x":1794008429000,"y":-3.7},{"x":1794008493000,"y":-3.7},{"x":1794008558000,"y":-3.7},{"x":1794008622000,"y":-3.7},{"x":1794008685000,"y":-3.8},{"x":1794008750000,"y":-3.7},{"x":1794008814000,"y":-3.7},{"x":1794008877000,"y":-3.7},{"x":1794008941000,"y":-3.8},{"x":1794009005000,"y":-4},{"x":1794009069000,"y":-4.1},{"x":1794009134000,"y":-4.3},{"x":1794009199000,"y":-4.4},{"x":1794009261000,"y":-4.5},{"x":1794009325000,"y":-4.5},{"x":1794009389000,"y":-4.4},{"x":1794009453000,"y":-4.3},{"x":1794009517000,"y":-4},{"x":1794009582000,"y":-3.9},{"x":1794009645000,"y":-3.9},{"x":1794009710000,"y":-3.9},{"x":1794009774000,"y":-3.9},{"x":1794009837000,"y":-4.1},{"x":1794009901000,"y":-4.2},{"x":1794009966000,"y":-4.3},{"x":1794010029000,"y":-4.4},{"x":1794010094000,"y":-4.4},{"x":1794010157000,"y":-4.5},{"x":1794010222000,"y":-4.6},{"x":1794010286000,"y":-4.6},{"x":1794010350000,"y":-4.7},{"x":1794010413000,"y":-4.7},{"x":1794010478000,"y":-4.7},{"x":1794010541000,"y":-4.8},{"x":1794010606000,"y":-4.9},{"x":1794010669000,"y":-4.9},{"x":1794010733000,"y":-4.9},{"x":1794010797000,"y":-5.1},{"x":1794010863000,"y":-5.1},{"x":1794010925000,"y":-5.2},{"x":1794010989000,"y":-5.1},{"x":1794011053000,"y":-5.1},{"x":1794011119000,"y":-5.2},{"x":1794011182000,"y":-5.2},{"x":1794011246000,"y":-5.2},{"x":1794011310000,"y":-5.2},{"x":1794011372000,"y":-5.2},{"x":1794011438000,"y":-5.3},{"x":1794011501000,"y":-5.3},{"x":1794011566000,"y":-5.3},{"x":1794011631000,"y":-5.3},{"x":1794011694000,"y":-5.3},{"x":1794011757000,"y":-5.3},{"x":1794011821000,"y":-5.2},{"x":1794011885000,"y":-5.1},{"x":1794011950000,"y":-4.8},{"x":1794012014000,"y":-4.7},{"x":1794012078000,"y":-4.6},{"x":1794012142000,"y":-4.5},{"x":1794012206000,"y":-4.5},{"x":1794012269000,"y":-4.8},{"x":1794012332000,"y":-4.8},{"x":1794012398000,"y":-4.8},{"x":1794012461000,"y":-4.7},{"x":1794012525000,"y":-4.6},{"x":1794012589000,"y":-4.8},{"x":1794012655000,"y":-4.9},{"x":1794012718000,"y":-4.9},{"x":1794012781000,"y":-4.9},{"x":1794012846000,"y":-4.9},{"x":1794012909000,"y":-5},{"x":1794012978000,"y":-5},{"x":1794013052000,"y":-5},{"x":1794013112000,"y":-5.1},{"x":1794013172000,"y":-5.1},{"x":1794013232000,"y":-5.1},{"x":1794013292000,"y":-5.1},{"x":1794013357000,"y":-5},{"x":1794013422000,"y":-5},{"x":1794013485000,"y":-5.1},{"x":1794013551000,"y":-5.2},{"x":1794013614000,"y":-5.3},{"x":1794013677000,"y":-5.4},{"x":1794013742000,"y":-5.5},{"x":1794013805000,"y":-5.6},{"x":1794013873000,"y":-5.6},{"x":1794013952000,"y":-5.7},{"x":1794014016000,"y":-5.8},{"x":1794014078000,"y":-5.8},{"x":1794014141000,"y":-6.1},{"x":1794014207000,"y":-6.2},{"x":1794014269000,"y":-6.2},{"x":1794014334000,"y":-6.3},{"x":1794014397000,"y":-6.3},{"x":1794014461000,"y":-6.3},{"x":1794014526000,"y":-6.3},{"x":1794014590000,"y":-6.1},{"x":1794014655000,"y":-6},{"x":1794014717000,"y":-6},{"x":1794014782000,"y":-5.7},{"x":1794014845000,"y":-5.6},{"x":1794014910000,"y":-5.6},{"x":1794014973000,"y":-5.6},{"x":1794015037000,"y":-5.6},{"x":1794015101000,"y":-5.6},{"x":1794015166000,"y":-5.6},{"x":1794015230000,"y":-5.5},{"x":1794015294000,"y":-5.4},{"x":1794015359000,"y":-5.3},{"x":1794015422000,"y":-5.1},{"x":1794015487000,"y":-5.1},{"x":1794015549000,"y":-5.1},{"x":1794015613000,"y":-5.1},{"x":1794015678000,"y":-5},{"x":1794015744000,"y":-5},{"x":1794015806000,"y":-5},{"x":1794015870000,"y":-4.9},{"x":1794015932000,"y":-4.9},{"x":1794015997000,"y":-4.9},{"x":1794016062000,"y":-4.9},{"x":1794016126000,"y":-4.9},{"x":1794016190000,"y":-4.9},{"x":1794016254000,"y":-5},{"x":1794016317000,"y":-5},{"x":1794016381000,"y":-5.1},{"x":1794016446000,"y":-5.1},{"x":1794016509000,"y":-5.1},{"x":1794016574000,"y":-5.5},{"x":1794016638000,"y":-5.6},{"x":1794016703000,"y":-5.7},{"x":1794016766000,"y":-5.7},{"x":1794016830000,"y":-5.7},{"x":1794016893000,"y":-5.7},{"x":1794016958000,"y":-5.7},{"x":1794017022000,"y":-5.6},{"x":1794017086000,"y":-5.6},{"x":1794017152000,"y":-5.6},{"x":1794017214000,"y":-5.6},{"x":1794017278000,"y":-5.6},{"x":1794017342000,"y":-5.6},{"x":1794017407000,"y":-5.6},{"x":1794017471000,"y":-5.6},{"x":1794017534000,"y":-5.6},{"x":1794017597000,"y":-5.7},{"x":1794017662000,"y":-5.7},{"x":1794017726000,"y":-5.7},{"x":1794017791000,"y":-5.7},{"x":1794017852000,"y":-5.7},{"x":1794017918000,"y":-5.7},{"x":1794017981000,"y":-5.7},{"x":1794018046000,"y":-5.7},{"x":1794018110000,"y":-5.6},{"x":1794018174000,"y":-5.5},{"x":1794018237000,"y":-5.5},{"x":1794018302000,"y":-5.5},{"x":1794018367000,"y":-5.6},{"x":1794018429000,"y":-5.6},{"x":1794018494000,"y":-5.6},{"x":1794018557000,"y":-5.6},{"x":1794018622000,"y":-5.7},{"x":1794018686000,"y":-5.7},{"x":1794018750000,"y":-5.7},{"x":1794018813000,"y":-5.8},{"x":1794018878000,"y":-5.8},{"x":1794018942000,"y":-5.9},{"x":1794019007000,"y":-5.9},{"x":1794019069000,"y":-5.9},{"x":1794019133000,"y":-5.9},{"x":1794019199000,"y":-5.8},{"x":1794019261000,"y":-5.7},{"x":1794019327000,"y":-5.7},{"x":1794019390000,"y":-6.2},{"x":1794019453000,"y":-6.5},{"x":1794019517000,"y":-6.6},{"x":1794019581000,"y":-6.7},{"x":1794019647000,"y":-6.7},{"x":1794019710000,"y":-6.7},{"x":1794019773000,"y":-6.7},{"x":1794019837000,"y":-6.7},{"x":1794019902000,"y":-6.7},{"x":1794019966000,"y":-6.6},{"x":1794020031000,"y":-6.6},{"x":1794020094000,"y":-6.6},{"x":1794020157000,"y":-6.7},{"x":1794020222000,"y":-6.7},{"x":1794020287000,"y":-6.7},{"x":1794020349000,"y":-6.6},{"x":1794020414000,"y":-6.6},{"x":1794020478000,"y":-6.5},{"x":1794020543000,"y":-6.5},{"x":1794020606000,"y":-6.4},{"x":1794020670000,"y":-6.4},{"x":1794020733000,"y":-6.3},{"x":1794020797000,"y":-6.3},{"x":1794020862000,"y":-6.3},{"x":1794020926000,"y":-6.1},{"x":1794020990000,"y":-6.1},{"x":1794021054000,"y":-6.1},{"x":1794021119000,"y":-6},{"x":1794021182000,"y":-6},{"x":1794021246000,"y":-6},{"x":1794021311000,"y":-6},{"x":1794021374000,"y":-6},{"x":1794021439000,"y":-6},{"x":1794021502000,"y":-6},{"x":1794021566000,"y":-6},{"x":1794021630000,"y":-6.1},{"x":1794021693000,"y":-6.1},{"x":1794021758000,"y":-6},{"x":1794021823000,"y":-6},{"x":1794021886000,"y":-6},{"x":1794021950000,"y":-5.9},{"x":1794022014000,"y":-5.9},{"x":1794022077000,"y":-5.9},{"x":1794022142000,"y":-5.8},{"x":1794022206000,"y":-5.8},{"x":1794022271000,"y":-6.1},{"x":1794022335000,"y":-6},{"x":1794022398000,"y":-6},{"x":1794022462000,"y":-6},{"x":1794022526000,"y":-6},{"x":1794022589000,"y":-6.3},{"x":1794022653000,"y":-6.3},{"x":1794022719000,"y":-6.4},{"x":1794022782000,"y":-6.5},{"x":1794022847000,"y":-6.5},{"x":1794022910000,"y":-6.5},{"x":1794022974000,"y":-6.5},{"x":1794023038000,"y":-6.5},{"x":1794023102000,"y":-6.5},{"x":1794023166000,"y":-6.3}],"highlightExtremes":false,"unit":" °C"}], {"yLabel":"\u00b0C"}); }); $(document).ready(function() { buildMeteoChart('chart-humidity-canvas', 'chart-humidity-reset', [{"label":"Vlhkosť (%)","color":"#ff9000","points":[{"x":1794006029000,"y":97},{"x":1794006096000,"y":97},{"x":1794006158000,"y":97},{"x":1794006221000,"y":97},{"x":1794006285000,"y":97},{"x":1794006349000,"y":97},{"x":1794006413000,"y":97},{"x":1794006479000,"y":97},{"x":1794006558000,"y":97},{"x":1794006623000,"y":97},{"x":1794006686000,"y":97},{"x":1794006750000,"y":97},{"x":1794006812000,"y":97},{"x":1794006877000,"y":97},{"x":1794006942000,"y":97},{"x":1794007005000,"y":97},{"x":1794007069000,"y":97},{"x":1794007133000,"y":97},{"x":1794007198000,"y":97},{"x":1794007262000,"y":97},{"x":1794007326000,"y":97},{"x":1794007389000,"y":97},{"x":1794007454000,"y":97},{"x":1794007517000,"y":97},{"x":1794007581000,"y":97},{"x":1794007645000,"y":97},{"x":1794007713000,"y":97},{"x":1794007773000,"y":97},{"x":1794007837000,"y":97},{"x":1794007901000,"y":97},{"x":1794007965000,"y":97},{"x":1794008029000,"y":97},{"x":1794008101000,"y":97},{"x":1794008174000,"y":97},{"x":1794008237000,"y":97},{"x":1794008301000,"y":97},{"x":1794008365000,"y":97},{"x":1794008429000,"y":97},{"x":1794008493000,"y":97},{"x":1794008558000,"y":97},{"x":1794008622000,"y":97},{"x":1794008685000,"y":97},{"x":1794008750000,"y":97},{"x":1794008814000,"y":97},{"x":1794008877000,"y":97},{"x":1794008941000,"y":97},{"x":1794009005000,"y":97},{"x":1794009069000,"y":97},{"x":1794009134000,"y":97},{"x":1794009199000,"y":97},{"x":1794009261000,"y":97},{"x":1794009325000,"y":97},{"x":1794009389000,"y":97},{"x":1794009453000,"y":97},{"x":1794009517000,"y":97},{"x":1794009582000,"y":97},{"x":1794009645000,"y":97},{"x":1794009710000,"y":97},{"x":1794009774000,"y":97},{"x":1794009837000,"y":97},{"x":1794009901000,"y":97},{"x":1794009966000,"y":97},{"x":1794010029000,"y":97},{"x":1794010094000,"y":97},{"x":1794010157000,"y":97},{"x":1794010222000,"y":97},{"x":1794010286000,"y":97},{"x":1794010350000,"y":97},{"x":1794010413000,"y":97},{"x":1794010478000,"y":97},{"x":1794010541000,"y":97},{"x":1794010606000,"y":97},{"x":1794010669000,"y":97},{"x":1794010733000,"y":97},{"x":1794010797000,"y":96},{"x":1794010863000,"y":96},{"x":1794010925000,"y":96},{"x":1794010989000,"y":96},{"x":1794011053000,"y":96},{"x":1794011119000,"y":96},{"x":1794011182000,"y":96},{"x":1794011246000,"y":96},{"x":1794011310000,"y":96},{"x":1794011372000,"y":96},{"x":1794011438000,"y":96},{"x":1794011501000,"y":96},{"x":1794011566000,"y":96},{"x":1794011631000,"y":96},{"x":1794011694000,"y":96},{"x":1794011757000,"y":96},{"x":1794011821000,"y":96},{"x":1794011885000,"y":96},{"x":1794011950000,"y":97},{"x":1794012014000,"y":97},{"x":1794012078000,"y":97},{"x":1794012142000,"y":97},{"x":1794012206000,"y":97},{"x":1794012269000,"y":96},{"x":1794012332000,"y":96},{"x":1794012398000,"y":96},{"x":1794012461000,"y":97},{"x":1794012525000,"y":97},{"x":1794012589000,"y":96},{"x":1794012655000,"y":96},{"x":1794012718000,"y":96},{"x":1794012781000,"y":96},{"x":1794012846000,"y":96},{"x":1794012909000,"y":96},{"x":1794012978000,"y":96},{"x":1794013052000,"y":96},{"x":1794013112000,"y":96},{"x":1794013172000,"y":96},{"x":1794013232000,"y":96},{"x":1794013292000,"y":96},{"x":1794013357000,"y":96},{"x":1794013422000,"y":96},{"x":1794013485000,"y":96},{"x":1794013551000,"y":96},{"x":1794013614000,"y":96},{"x":1794013677000,"y":96},{"x":1794013742000,"y":96},{"x":1794013805000,"y":96},{"x":1794013873000,"y":96},{"x":1794013952000,"y":96},{"x":1794014016000,"y":96},{"x":1794014078000,"y":96},{"x":1794014141000,"y":95},{"x":1794014207000,"y":95},{"x":1794014269000,"y":95},{"x":1794014334000,"y":95},{"x":1794014397000,"y":95},{"x":1794014461000,"y":95},{"x":1794014526000,"y":95},{"x":1794014590000,"y":96},{"x":1794014655000,"y":96},{"x":1794014717000,"y":96},{"x":1794014782000,"y":96},{"x":1794014845000,"y":96},{"x":1794014910000,"y":96},{"x":1794014973000,"y":96},{"x":1794015037000,"y":96},{"x":1794015101000,"y":96},{"x":1794015166000,"y":96},{"x":1794015230000,"y":96},{"x":1794015294000,"y":96},{"x":1794015359000,"y":96},{"x":1794015422000,"y":96},{"x":1794015487000,"y":96},{"x":1794015549000,"y":96},{"x":1794015613000,"y":96},{"x":1794015678000,"y":96},{"x":1794015744000,"y":96},{"x":1794015806000,"y":96},{"x":1794015870000,"y":96},{"x":1794015932000,"y":96},{"x":1794015997000,"y":96},{"x":1794016062000,"y":96},{"x":1794016126000,"y":96},{"x":1794016190000,"y":96},{"x":1794016254000,"y":96},{"x":1794016317000,"y":96},{"x":1794016381000,"y":96},{"x":1794016446000,"y":96},{"x":1794016509000,"y":96},{"x":1794016574000,"y":96},{"x":1794016638000,"y":96},{"x":1794016703000,"y":96},{"x":1794016766000,"y":96},{"x":1794016830000,"y":96},{"x":1794016893000,"y":96},{"x":1794016958000,"y":96},{"x":1794017022000,"y":96},{"x":1794017086000,"y":96},{"x":1794017152000,"y":96},{"x":1794017214000,"y":96},{"x":1794017278000,"y":96},{"x":1794017342000,"y":96},{"x":1794017407000,"y":96},{"x":1794017471000,"y":96},{"x":1794017534000,"y":96},{"x":1794017597000,"y":96},{"x":1794017662000,"y":96},{"x":1794017726000,"y":96},{"x":1794017791000,"y":96},{"x":1794017852000,"y":96},{"x":1794017918000,"y":96},{"x":1794017981000,"y":96},{"x":1794018046000,"y":96},{"x":1794018110000,"y":96},{"x":1794018174000,"y":96},{"x":1794018237000,"y":96},{"x":1794018302000,"y":96},{"x":1794018367000,"y":96},{"x":1794018429000,"y":96},{"x":1794018494000,"y":96},{"x":1794018557000,"y":96},{"x":1794018622000,"y":96},{"x":1794018686000,"y":96},{"x":1794018750000,"y":96},{"x":1794018813000,"y":96},{"x":1794018878000,"y":96},{"x":1794018942000,"y":96},{"x":1794019007000,"y":96},{"x":1794019069000,"y":96},{"x":1794019133000,"y":96},{"x":1794019199000,"y":96},{"x":1794019261000,"y":96},{"x":1794019327000,"y":96},{"x":1794019390000,"y":95},{"x":1794019453000,"y":95},{"x":1794019517000,"y":95},{"x":1794019581000,"y":95},{"x":1794019647000,"y":95},{"x":1794019710000,"y":95},{"x":1794019773000,"y":95},{"x":1794019837000,"y":95},{"x":1794019902000,"y":95},{"x":1794019966000,"y":95},{"x":1794020031000,"y":95},{"x":1794020094000,"y":95},{"x":1794020157000,"y":95},{"x":1794020222000,"y":95},{"x":1794020287000,"y":95},{"x":1794020349000,"y":95},{"x":1794020414000,"y":95},{"x":1794020478000,"y":95},{"x":1794020543000,"y":95},{"x":1794020606000,"y":95},{"x":1794020670000,"y":95},{"x":1794020733000,"y":95},{"x":1794020797000,"y":95},{"x":1794020862000,"y":95},{"x":1794020926000,"y":96},{"x":1794020990000,"y":96},{"x":1794021054000,"y":96},{"x":1794021119000,"y":96},{"x":1794021182000,"y":96},{"x":1794021246000,"y":96},{"x":1794021311000,"y":96},{"x":1794021374000,"y":96},{"x":1794021439000,"y":96},{"x":1794021502000,"y":96},{"x":1794021566000,"y":96},{"x":1794021630000,"y":96},{"x":1794021693000,"y":96},{"x":1794021758000,"y":96},{"x":1794021823000,"y":96},{"x":1794021886000,"y":96},{"x":1794021950000,"y":96},{"x":1794022014000,"y":96},{"x":1794022077000,"y":96},{"x":1794022142000,"y":96},{"x":1794022206000,"y":96},{"x":1794022271000,"y":95},{"x":1794022335000,"y":96},{"x":1794022398000,"y":96},{"x":1794022462000,"y":96},{"x":1794022526000,"y":96},{"x":1794022589000,"y":95},{"x":1794022653000,"y":95},{"x":1794022719000,"y":95},{"x":1794022782000,"y":95},{"x":1794022847000,"y":95},{"x":1794022910000,"y":95},{"x":1794022974000,"y":95},{"x":1794023038000,"y":95},{"x":1794023102000,"y":95},{"x":1794023166000,"y":96}],"highlightExtremes":true,"unit":" %"}], {"yLabel":"%"}); }); $(document).ready(function() { buildMeteoChart('chart-pressure-canvas', 'chart-pressure-reset', [{"label":"Atmosférický tlak (hPa)","color":"#000000","points":[{"x":1794006029000,"y":1030.2},{"x":1794006096000,"y":1030},{"x":1794006158000,"y":1030.4},{"x":1794006221000,"y":1030.2},{"x":1794006285000,"y":1030.3},{"x":1794006349000,"y":1030.3},{"x":1794006413000,"y":1030.2},{"x":1794006479000,"y":1030.4},{"x":1794006558000,"y":1030.3},{"x":1794006623000,"y":1030.2},{"x":1794006686000,"y":1030.1},{"x":1794006750000,"y":1030.2},{"x":1794006812000,"y":1030.2},{"x":1794006877000,"y":1030.4},{"x":1794006942000,"y":1030.3},{"x":1794007005000,"y":1030.2},{"x":1794007069000,"y":1030.4},{"x":1794007133000,"y":1030.3},{"x":1794007198000,"y":1030.5},{"x":1794007262000,"y":1030.3},{"x":1794007326000,"y":1030.3},{"x":1794007389000,"y":1030.3},{"x":1794007454000,"y":1030.5},{"x":1794007517000,"y":1030.1},{"x":1794007581000,"y":1030.2},{"x":1794007645000,"y":1030.1},{"x":1794007713000,"y":1030.3},{"x":1794007773000,"y":1030.2},{"x":1794007837000,"y":1030.4},{"x":1794007901000,"y":1030.2},{"x":1794007965000,"y":1030.2},{"x":1794008029000,"y":1030.2},{"x":1794008101000,"y":1030.2},{"x":1794008174000,"y":1030.2},{"x":1794008237000,"y":1030.2},{"x":1794008301000,"y":1030.3},{"x":1794008365000,"y":1030.3},{"x":1794008429000,"y":1030.5},{"x":1794008493000,"y":1030.2},{"x":1794008558000,"y":1030.3},{"x":1794008622000,"y":1030.3},{"x":1794008685000,"y":1030.4},{"x":1794008750000,"y":1030.4},{"x":1794008814000,"y":1030.3},{"x":1794008877000,"y":1030.3},{"x":1794008941000,"y":1030.1},{"x":1794009005000,"y":1030.3},{"x":1794009069000,"y":1030.1},{"x":1794009134000,"y":1030.3},{"x":1794009199000,"y":1030.4},{"x":1794009261000,"y":1030.4},{"x":1794009325000,"y":1030.4},{"x":1794009389000,"y":1030},{"x":1794009453000,"y":1030.1},{"x":1794009517000,"y":1030.3},{"x":1794009582000,"y":1030.1},{"x":1794009645000,"y":1030.3},{"x":1794009710000,"y":1030.1},{"x":1794009774000,"y":1030.1},{"x":1794009837000,"y":1030.3},{"x":1794009901000,"y":1030.3},{"x":1794009966000,"y":1030.4},{"x":1794010029000,"y":1030.4},{"x":1794010094000,"y":1030.2},{"x":1794010157000,"y":1030.3},{"x":1794010222000,"y":1030.4},{"x":1794010286000,"y":1030.2},{"x":1794010350000,"y":1030.4},{"x":1794010413000,"y":1030.3},{"x":1794010478000,"y":1030.4},{"x":1794010541000,"y":1030.2},{"x":1794010606000,"y":1030.4},{"x":1794010669000,"y":1030.2},{"x":1794010733000,"y":1030.5},{"x":1794010797000,"y":1030.5},{"x":1794010863000,"y":1030.3},{"x":1794010925000,"y":1030.4},{"x":1794010989000,"y":1030.3},{"x":1794011053000,"y":1030.4},{"x":1794011119000,"y":1030.3},{"x":1794011182000,"y":1030.3},{"x":1794011246000,"y":1030.4},{"x":1794011310000,"y":1030.4},{"x":1794011372000,"y":1030.3},{"x":1794011438000,"y":1030.4},{"x":1794011501000,"y":1030.2},{"x":1794011566000,"y":1030.4},{"x":1794011631000,"y":1030.3},{"x":1794011694000,"y":1030.4},{"x":1794011757000,"y":1030.4},{"x":1794011821000,"y":1030.4},{"x":1794011885000,"y":1030.3},{"x":1794011950000,"y":1030.3},{"x":1794012014000,"y":1030.4},{"x":1794012078000,"y":1030.2},{"x":1794012142000,"y":1030.3},{"x":1794012206000,"y":1030.6},{"x":1794012269000,"y":1030.4},{"x":1794012332000,"y":1030.3},{"x":1794012398000,"y":1030.5},{"x":1794012461000,"y":1030.3},{"x":1794012525000,"y":1030.4},{"x":1794012589000,"y":1030.4},{"x":1794012655000,"y":1030.4},{"x":1794012718000,"y":1030.4},{"x":1794012781000,"y":1030.4},{"x":1794012846000,"y":1030.4},{"x":1794012909000,"y":1030.4},{"x":1794012978000,"y":1030.5},{"x":1794013052000,"y":1030.4},{"x":1794013112000,"y":1030.3},{"x":1794013172000,"y":1030.3},{"x":1794013232000,"y":1030.1},{"x":1794013292000,"y":1030.2},{"x":1794013357000,"y":1030.3},{"x":1794013422000,"y":1030.3},{"x":1794013485000,"y":1030.2},{"x":1794013551000,"y":1030.2},{"x":1794013614000,"y":1030.3},{"x":1794013677000,"y":1030.3},{"x":1794013742000,"y":1030.3},{"x":1794013805000,"y":1030.3},{"x":1794013873000,"y":1030.3},{"x":1794013952000,"y":1030.4},{"x":1794014016000,"y":1030.3},{"x":1794014078000,"y":1030.3},{"x":1794014141000,"y":1030.5},{"x":1794014207000,"y":1030.5},{"x":1794014269000,"y":1030.6},{"x":1794014334000,"y":1030.4},{"x":1794014397000,"y":1030.6},{"x":1794014461000,"y":1030.4},{"x":1794014526000,"y":1030.6},{"x":1794014590000,"y":1030.5},{"x":1794014655000,"y":1030.4},{"x":1794014717000,"y":1030.6},{"x":1794014782000,"y":1030.4},{"x":1794014845000,"y":1030.3},{"x":1794014910000,"y":1030.2},{"x":1794014973000,"y":1030.2},{"x":1794015037000,"y":1030.4},{"x":1794015101000,"y":1030.4},{"x":1794015166000,"y":1030.4},{"x":1794015230000,"y":1030.3},{"x":1794015294000,"y":1030.3},{"x":1794015359000,"y":1030.4},{"x":1794015422000,"y":1030.5},{"x":1794015487000,"y":1030.4},{"x":1794015549000,"y":1030.5},{"x":1794015613000,"y":1030.2},{"x":1794015678000,"y":1030.2},{"x":1794015744000,"y":1030.2},{"x":1794015806000,"y":1030.5},{"x":1794015870000,"y":1030.2},{"x":1794015932000,"y":1030.3},{"x":1794015997000,"y":1030.5},{"x":1794016062000,"y":1030.2},{"x":1794016126000,"y":1030.2},{"x":1794016190000,"y":1030.3},{"x":1794016254000,"y":1030.3},{"x":1794016317000,"y":1030.2},{"x":1794016381000,"y":1030.1},{"x":1794016446000,"y":1030.4},{"x":1794016509000,"y":1030.4},{"x":1794016574000,"y":1030.4},{"x":1794016638000,"y":1030.3},{"x":1794016703000,"y":1030.4},{"x":1794016766000,"y":1030.4},{"x":1794016830000,"y":1030.2},{"x":1794016893000,"y":1030.4},{"x":1794016958000,"y":1030.2},{"x":1794017022000,"y":1030.3},{"x":1794017086000,"y":1030.3},{"x":1794017152000,"y":1030.4},{"x":1794017214000,"y":1030.3},{"x":1794017278000,"y":1030.4},{"x":1794017342000,"y":1030.3},{"x":1794017407000,"y":1030.4},{"x":1794017471000,"y":1030.3},{"x":1794017534000,"y":1030.5},{"x":1794017597000,"y":1030.4},{"x":1794017662000,"y":1030.3},{"x":1794017726000,"y":1030.4},{"x":1794017791000,"y":1030.3},{"x":1794017852000,"y":1030.3},{"x":1794017918000,"y":1030.3},{"x":1794017981000,"y":1030.4},{"x":1794018046000,"y":1030.2},{"x":1794018110000,"y":1030.5},{"x":1794018174000,"y":1030.2},{"x":1794018237000,"y":1030.5},{"x":1794018302000,"y":1030.4},{"x":1794018367000,"y":1030.4},{"x":1794018429000,"y":1030.1},{"x":1794018494000,"y":1030.2},{"x":1794018557000,"y":1030.4},{"x":1794018622000,"y":1030.3},{"x":1794018686000,"y":1030.5},{"x":1794018750000,"y":1030.4},{"x":1794018813000,"y":1030.2},{"x":1794018878000,"y":1030.3},{"x":1794018942000,"y":1030.3},{"x":1794019007000,"y":1030.4},{"x":1794019069000,"y":1030.4},{"x":1794019133000,"y":1030.4},{"x":1794019199000,"y":1030.2},{"x":1794019261000,"y":1030.2},{"x":1794019327000,"y":1030.1},{"x":1794019390000,"y":1030.4},{"x":1794019453000,"y":1030.2},{"x":1794019517000,"y":1030.2},{"x":1794019581000,"y":1030.5},{"x":1794019647000,"y":1030.5},{"x":1794019710000,"y":1030.3},{"x":1794019773000,"y":1030.2},{"x":1794019837000,"y":1030.5},{"x":1794019902000,"y":1030.2},{"x":1794019966000,"y":1030.6},{"x":1794020031000,"y":1030.4},{"x":1794020094000,"y":1030.5},{"x":1794020157000,"y":1030.5},{"x":1794020222000,"y":1030.3},{"x":1794020287000,"y":1030.3},{"x":1794020349000,"y":1030.5},{"x":1794020414000,"y":1030.4},{"x":1794020478000,"y":1030.4},{"x":1794020543000,"y":1030.3},{"x":1794020606000,"y":1030.3},{"x":1794020670000,"y":1030.4},{"x":1794020733000,"y":1030.4},{"x":1794020797000,"y":1030.4},{"x":1794020862000,"y":1030.4},{"x":1794020926000,"y":1030.4},{"x":1794020990000,"y":1030.3},{"x":1794021054000,"y":1030.4},{"x":1794021119000,"y":1030.3},{"x":1794021182000,"y":1030.5},{"x":1794021246000,"y":1030.4},{"x":1794021311000,"y":1030.3},{"x":1794021374000,"y":1030.3},{"x":1794021439000,"y":1030.2},{"x":1794021502000,"y":1030.4},{"x":1794021566000,"y":1030.3},{"x":1794021630000,"y":1030.2},{"x":1794021693000,"y":1030.3},{"x":1794021758000,"y":1030.3},{"x":1794021823000,"y":1030.4},{"x":1794021886000,"y":1030.5},{"x":1794021950000,"y":1030.2},{"x":1794022014000,"y":1030.3},{"x":1794022077000,"y":1030.1},{"x":1794022142000,"y":1030.1},{"x":1794022206000,"y":1030.2},{"x":1794022271000,"y":1030.4},{"x":1794022335000,"y":1030.3},{"x":1794022398000,"y":1030.4},{"x":1794022462000,"y":1030.4},{"x":1794022526000,"y":1030.5},{"x":1794022589000,"y":1030.5},{"x":1794022653000,"y":1030.4},{"x":1794022719000,"y":1030.2},{"x":1794022782000,"y":1030.2},{"x":1794022847000,"y":1030.2},{"x":1794022910000,"y":1030.4},{"x":1794022974000,"y":1030.4},{"x":1794023038000,"y":1030.3},{"x":1794023102000,"y":1030.3},{"x":1794023166000,"y":1030.5}],"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":1794006029000,"y":0},{"x":1794006096000,"y":0},{"x":1794006158000,"y":0},{"x":1794006221000,"y":0},{"x":1794006285000,"y":0},{"x":1794006349000,"y":0},{"x":1794006413000,"y":0},{"x":1794006479000,"y":0},{"x":1794006558000,"y":0},{"x":1794006623000,"y":0},{"x":1794006686000,"y":0},{"x":1794006750000,"y":0},{"x":1794006812000,"y":0},{"x":1794006877000,"y":0},{"x":1794006942000,"y":0},{"x":1794007005000,"y":0},{"x":1794007069000,"y":0},{"x":1794007133000,"y":0},{"x":1794007198000,"y":0},{"x":1794007262000,"y":0},{"x":1794007326000,"y":0},{"x":1794007389000,"y":0},{"x":1794007454000,"y":0},{"x":1794007517000,"y":0},{"x":1794007581000,"y":0},{"x":1794007645000,"y":0},{"x":1794007713000,"y":0},{"x":1794007773000,"y":0},{"x":1794007837000,"y":0},{"x":1794007901000,"y":0},{"x":1794007965000,"y":0},{"x":1794008029000,"y":0.4},{"x":1794008101000,"y":0},{"x":1794008174000,"y":0},{"x":1794008237000,"y":0},{"x":1794008301000,"y":0},{"x":1794008365000,"y":0},{"x":1794008429000,"y":0.4},{"x":1794008493000,"y":0},{"x":1794008558000,"y":0},{"x":1794008622000,"y":0},{"x":1794008685000,"y":0},{"x":1794008750000,"y":0},{"x":1794008814000,"y":0},{"x":1794008877000,"y":0},{"x":1794008941000,"y":0},{"x":1794009005000,"y":0},{"x":1794009069000,"y":0.4},{"x":1794009134000,"y":0},{"x":1794009199000,"y":0},{"x":1794009261000,"y":0},{"x":1794009325000,"y":0},{"x":1794009389000,"y":0},{"x":1794009453000,"y":0},{"x":1794009517000,"y":0},{"x":1794009582000,"y":0},{"x":1794009645000,"y":0},{"x":1794009710000,"y":0},{"x":1794009774000,"y":0},{"x":1794009837000,"y":0},{"x":1794009901000,"y":0},{"x":1794009966000,"y":0},{"x":1794010029000,"y":0},{"x":1794010094000,"y":0},{"x":1794010157000,"y":0},{"x":1794010222000,"y":0},{"x":1794010286000,"y":0},{"x":1794010350000,"y":0},{"x":1794010413000,"y":0},{"x":1794010478000,"y":0},{"x":1794010541000,"y":0},{"x":1794010606000,"y":0},{"x":1794010669000,"y":0},{"x":1794010733000,"y":0},{"x":1794010797000,"y":0},{"x":1794010863000,"y":0},{"x":1794010925000,"y":0},{"x":1794010989000,"y":0},{"x":1794011053000,"y":0},{"x":1794011119000,"y":0},{"x":1794011182000,"y":0},{"x":1794011246000,"y":0},{"x":1794011310000,"y":0},{"x":1794011372000,"y":0},{"x":1794011438000,"y":0},{"x":1794011501000,"y":0},{"x":1794011566000,"y":0},{"x":1794011631000,"y":0},{"x":1794011694000,"y":0},{"x":1794011757000,"y":0},{"x":1794011821000,"y":0},{"x":1794011885000,"y":0},{"x":1794011950000,"y":0},{"x":1794012014000,"y":0},{"x":1794012078000,"y":0},{"x":1794012142000,"y":0},{"x":1794012206000,"y":0},{"x":1794012269000,"y":0},{"x":1794012332000,"y":0},{"x":1794012398000,"y":0},{"x":1794012461000,"y":0},{"x":1794012525000,"y":0},{"x":1794012589000,"y":0},{"x":1794012655000,"y":0},{"x":1794012718000,"y":0},{"x":1794012781000,"y":0},{"x":1794012846000,"y":0},{"x":1794012909000,"y":0},{"x":1794012978000,"y":4.3},{"x":1794013052000,"y":0},{"x":1794013112000,"y":0},{"x":1794013172000,"y":0},{"x":1794013232000,"y":0},{"x":1794013292000,"y":0},{"x":1794013357000,"y":0},{"x":1794013422000,"y":0},{"x":1794013485000,"y":0},{"x":1794013551000,"y":0},{"x":1794013614000,"y":0},{"x":1794013677000,"y":0},{"x":1794013742000,"y":0},{"x":1794013805000,"y":0},{"x":1794013873000,"y":0},{"x":1794013952000,"y":0},{"x":1794014016000,"y":0},{"x":1794014078000,"y":0},{"x":1794014141000,"y":0},{"x":1794014207000,"y":0},{"x":1794014269000,"y":0},{"x":1794014334000,"y":0},{"x":1794014397000,"y":0},{"x":1794014461000,"y":0},{"x":1794014526000,"y":0},{"x":1794014590000,"y":0},{"x":1794014655000,"y":0},{"x":1794014717000,"y":0},{"x":1794014782000,"y":0},{"x":1794014845000,"y":0},{"x":1794014910000,"y":0},{"x":1794014973000,"y":0},{"x":1794015037000,"y":0},{"x":1794015101000,"y":0},{"x":1794015166000,"y":0},{"x":1794015230000,"y":0},{"x":1794015294000,"y":0},{"x":1794015359000,"y":0},{"x":1794015422000,"y":0},{"x":1794015487000,"y":0},{"x":1794015549000,"y":0},{"x":1794015613000,"y":0},{"x":1794015678000,"y":0},{"x":1794015744000,"y":0},{"x":1794015806000,"y":0},{"x":1794015870000,"y":0},{"x":1794015932000,"y":0},{"x":1794015997000,"y":0},{"x":1794016062000,"y":0},{"x":1794016126000,"y":0},{"x":1794016190000,"y":0},{"x":1794016254000,"y":0},{"x":1794016317000,"y":0},{"x":1794016381000,"y":0},{"x":1794016446000,"y":0},{"x":1794016509000,"y":0.4},{"x":1794016574000,"y":0},{"x":1794016638000,"y":0},{"x":1794016703000,"y":0},{"x":1794016766000,"y":0},{"x":1794016830000,"y":0},{"x":1794016893000,"y":0},{"x":1794016958000,"y":0},{"x":1794017022000,"y":0},{"x":1794017086000,"y":0},{"x":1794017152000,"y":0},{"x":1794017214000,"y":0},{"x":1794017278000,"y":0},{"x":1794017342000,"y":0},{"x":1794017407000,"y":0},{"x":1794017471000,"y":0},{"x":1794017534000,"y":0},{"x":1794017597000,"y":0},{"x":1794017662000,"y":0},{"x":1794017726000,"y":0},{"x":1794017791000,"y":0},{"x":1794017852000,"y":0},{"x":1794017918000,"y":0},{"x":1794017981000,"y":0},{"x":1794018046000,"y":0},{"x":1794018110000,"y":0},{"x":1794018174000,"y":0},{"x":1794018237000,"y":0},{"x":1794018302000,"y":0},{"x":1794018367000,"y":0},{"x":1794018429000,"y":0},{"x":1794018494000,"y":0},{"x":1794018557000,"y":0},{"x":1794018622000,"y":0},{"x":1794018686000,"y":0},{"x":1794018750000,"y":0},{"x":1794018813000,"y":0},{"x":1794018878000,"y":0},{"x":1794018942000,"y":0},{"x":1794019007000,"y":0},{"x":1794019069000,"y":0},{"x":1794019133000,"y":0},{"x":1794019199000,"y":0},{"x":1794019261000,"y":0},{"x":1794019327000,"y":0},{"x":1794019390000,"y":0},{"x":1794019453000,"y":0},{"x":1794019517000,"y":0},{"x":1794019581000,"y":0},{"x":1794019647000,"y":0},{"x":1794019710000,"y":0},{"x":1794019773000,"y":0},{"x":1794019837000,"y":0},{"x":1794019902000,"y":0},{"x":1794019966000,"y":0},{"x":1794020031000,"y":0},{"x":1794020094000,"y":0},{"x":1794020157000,"y":0},{"x":1794020222000,"y":0},{"x":1794020287000,"y":0},{"x":1794020349000,"y":0},{"x":1794020414000,"y":0},{"x":1794020478000,"y":0},{"x":1794020543000,"y":0},{"x":1794020606000,"y":0},{"x":1794020670000,"y":0},{"x":1794020733000,"y":0},{"x":1794020797000,"y":0},{"x":1794020862000,"y":0},{"x":1794020926000,"y":0},{"x":1794020990000,"y":0},{"x":1794021054000,"y":0},{"x":1794021119000,"y":0},{"x":1794021182000,"y":0},{"x":1794021246000,"y":0},{"x":1794021311000,"y":0},{"x":1794021374000,"y":0},{"x":1794021439000,"y":0},{"x":1794021502000,"y":0},{"x":1794021566000,"y":0},{"x":1794021630000,"y":0},{"x":1794021693000,"y":0},{"x":1794021758000,"y":0},{"x":1794021823000,"y":0},{"x":1794021886000,"y":0},{"x":1794021950000,"y":0},{"x":1794022014000,"y":0},{"x":1794022077000,"y":0},{"x":1794022142000,"y":0},{"x":1794022206000,"y":0},{"x":1794022271000,"y":0},{"x":1794022335000,"y":0},{"x":1794022398000,"y":0},{"x":1794022462000,"y":0},{"x":1794022526000,"y":0},{"x":1794022589000,"y":0},{"x":1794022653000,"y":0},{"x":1794022719000,"y":0},{"x":1794022782000,"y":0},{"x":1794022847000,"y":0},{"x":1794022910000,"y":0},{"x":1794022974000,"y":0},{"x":1794023038000,"y":0},{"x":1794023102000,"y":0},{"x":1794023166000,"y":0}],"highlightExtremes":true,"unit":" km\/h"},{"label":"Náraz vetra (km\/h)","color":"#EF9856","points":[{"x":1794006029000,"y":0},{"x":1794006096000,"y":0},{"x":1794006158000,"y":0},{"x":1794006221000,"y":0},{"x":1794006285000,"y":0},{"x":1794006349000,"y":0},{"x":1794006413000,"y":0},{"x":1794006479000,"y":0},{"x":1794006558000,"y":0},{"x":1794006623000,"y":0},{"x":1794006686000,"y":0},{"x":1794006750000,"y":0},{"x":1794006812000,"y":0},{"x":1794006877000,"y":0},{"x":1794006942000,"y":0},{"x":1794007005000,"y":0},{"x":1794007069000,"y":0},{"x":1794007133000,"y":0},{"x":1794007198000,"y":0},{"x":1794007262000,"y":0},{"x":1794007326000,"y":0},{"x":1794007389000,"y":0},{"x":1794007454000,"y":0},{"x":1794007517000,"y":0},{"x":1794007581000,"y":0},{"x":1794007645000,"y":0},{"x":1794007713000,"y":0},{"x":1794007773000,"y":0},{"x":1794007837000,"y":0},{"x":1794007901000,"y":0},{"x":1794007965000,"y":0},{"x":1794008029000,"y":2.5},{"x":1794008101000,"y":0},{"x":1794008174000,"y":0},{"x":1794008237000,"y":0},{"x":1794008301000,"y":0},{"x":1794008365000,"y":0},{"x":1794008429000,"y":2.5},{"x":1794008493000,"y":0},{"x":1794008558000,"y":0},{"x":1794008622000,"y":0},{"x":1794008685000,"y":0},{"x":1794008750000,"y":0},{"x":1794008814000,"y":0},{"x":1794008877000,"y":0},{"x":1794008941000,"y":0},{"x":1794009005000,"y":0},{"x":1794009069000,"y":2.5},{"x":1794009134000,"y":0},{"x":1794009199000,"y":0},{"x":1794009261000,"y":0},{"x":1794009325000,"y":0},{"x":1794009389000,"y":0},{"x":1794009453000,"y":0},{"x":1794009517000,"y":0},{"x":1794009582000,"y":0},{"x":1794009645000,"y":0},{"x":1794009710000,"y":0},{"x":1794009774000,"y":0},{"x":1794009837000,"y":0},{"x":1794009901000,"y":0},{"x":1794009966000,"y":0},{"x":1794010029000,"y":0},{"x":1794010094000,"y":0},{"x":1794010157000,"y":0},{"x":1794010222000,"y":0},{"x":1794010286000,"y":0},{"x":1794010350000,"y":0},{"x":1794010413000,"y":0},{"x":1794010478000,"y":0},{"x":1794010541000,"y":0},{"x":1794010606000,"y":0},{"x":1794010669000,"y":0},{"x":1794010733000,"y":0},{"x":1794010797000,"y":0},{"x":1794010863000,"y":0},{"x":1794010925000,"y":0},{"x":1794010989000,"y":0},{"x":1794011053000,"y":0},{"x":1794011119000,"y":0},{"x":1794011182000,"y":0},{"x":1794011246000,"y":0},{"x":1794011310000,"y":0},{"x":1794011372000,"y":0},{"x":1794011438000,"y":0},{"x":1794011501000,"y":0},{"x":1794011566000,"y":0},{"x":1794011631000,"y":0},{"x":1794011694000,"y":0},{"x":1794011757000,"y":0},{"x":1794011821000,"y":0},{"x":1794011885000,"y":0},{"x":1794011950000,"y":0},{"x":1794012014000,"y":0},{"x":1794012078000,"y":0},{"x":1794012142000,"y":0},{"x":1794012206000,"y":0},{"x":1794012269000,"y":0},{"x":1794012332000,"y":0},{"x":1794012398000,"y":0},{"x":1794012461000,"y":0},{"x":1794012525000,"y":0},{"x":1794012589000,"y":0},{"x":1794012655000,"y":0},{"x":1794012718000,"y":0},{"x":1794012781000,"y":0},{"x":1794012846000,"y":0},{"x":1794012909000,"y":0},{"x":1794012978000,"y":7.6},{"x":1794013052000,"y":0},{"x":1794013112000,"y":0},{"x":1794013172000,"y":0},{"x":1794013232000,"y":0},{"x":1794013292000,"y":0},{"x":1794013357000,"y":0},{"x":1794013422000,"y":0},{"x":1794013485000,"y":0},{"x":1794013551000,"y":0},{"x":1794013614000,"y":0},{"x":1794013677000,"y":0},{"x":1794013742000,"y":0},{"x":1794013805000,"y":0},{"x":1794013873000,"y":0},{"x":1794013952000,"y":0},{"x":1794014016000,"y":0},{"x":1794014078000,"y":0},{"x":1794014141000,"y":0},{"x":1794014207000,"y":0},{"x":1794014269000,"y":0},{"x":1794014334000,"y":0},{"x":1794014397000,"y":0},{"x":1794014461000,"y":0},{"x":1794014526000,"y":0},{"x":1794014590000,"y":0},{"x":1794014655000,"y":0},{"x":1794014717000,"y":0},{"x":1794014782000,"y":0},{"x":1794014845000,"y":0},{"x":1794014910000,"y":0},{"x":1794014973000,"y":0},{"x":1794015037000,"y":0},{"x":1794015101000,"y":0},{"x":1794015166000,"y":0},{"x":1794015230000,"y":0},{"x":1794015294000,"y":0},{"x":1794015359000,"y":0},{"x":1794015422000,"y":0},{"x":1794015487000,"y":0},{"x":1794015549000,"y":0},{"x":1794015613000,"y":0},{"x":1794015678000,"y":0},{"x":1794015744000,"y":0},{"x":1794015806000,"y":0},{"x":1794015870000,"y":0},{"x":1794015932000,"y":0},{"x":1794015997000,"y":0},{"x":1794016062000,"y":0},{"x":1794016126000,"y":0},{"x":1794016190000,"y":0},{"x":1794016254000,"y":0},{"x":1794016317000,"y":0},{"x":1794016381000,"y":0},{"x":1794016446000,"y":0},{"x":1794016509000,"y":2.5},{"x":1794016574000,"y":0},{"x":1794016638000,"y":0},{"x":1794016703000,"y":0},{"x":1794016766000,"y":0},{"x":1794016830000,"y":0},{"x":1794016893000,"y":0},{"x":1794016958000,"y":0},{"x":1794017022000,"y":0},{"x":1794017086000,"y":0},{"x":1794017152000,"y":0},{"x":1794017214000,"y":0},{"x":1794017278000,"y":0},{"x":1794017342000,"y":0},{"x":1794017407000,"y":0},{"x":1794017471000,"y":0},{"x":1794017534000,"y":0},{"x":1794017597000,"y":0},{"x":1794017662000,"y":0},{"x":1794017726000,"y":0},{"x":1794017791000,"y":0},{"x":1794017852000,"y":0},{"x":1794017918000,"y":0},{"x":1794017981000,"y":0},{"x":1794018046000,"y":0},{"x":1794018110000,"y":0},{"x":1794018174000,"y":0},{"x":1794018237000,"y":0},{"x":1794018302000,"y":0},{"x":1794018367000,"y":0},{"x":1794018429000,"y":0},{"x":1794018494000,"y":0},{"x":1794018557000,"y":0},{"x":1794018622000,"y":0},{"x":1794018686000,"y":0},{"x":1794018750000,"y":0},{"x":1794018813000,"y":0},{"x":1794018878000,"y":0},{"x":1794018942000,"y":0},{"x":1794019007000,"y":0},{"x":1794019069000,"y":0},{"x":1794019133000,"y":0},{"x":1794019199000,"y":0},{"x":1794019261000,"y":0},{"x":1794019327000,"y":0},{"x":1794019390000,"y":0},{"x":1794019453000,"y":0},{"x":1794019517000,"y":0},{"x":1794019581000,"y":0},{"x":1794019647000,"y":0},{"x":1794019710000,"y":0},{"x":1794019773000,"y":0},{"x":1794019837000,"y":0},{"x":1794019902000,"y":0},{"x":1794019966000,"y":0},{"x":1794020031000,"y":0},{"x":1794020094000,"y":0},{"x":1794020157000,"y":0},{"x":1794020222000,"y":0},{"x":1794020287000,"y":0},{"x":1794020349000,"y":0},{"x":1794020414000,"y":0},{"x":1794020478000,"y":0},{"x":1794020543000,"y":0},{"x":1794020606000,"y":0},{"x":1794020670000,"y":0},{"x":1794020733000,"y":0},{"x":1794020797000,"y":0},{"x":1794020862000,"y":0},{"x":1794020926000,"y":0},{"x":1794020990000,"y":0},{"x":1794021054000,"y":0},{"x":1794021119000,"y":0},{"x":1794021182000,"y":0},{"x":1794021246000,"y":0},{"x":1794021311000,"y":0},{"x":1794021374000,"y":0},{"x":1794021439000,"y":0},{"x":1794021502000,"y":0},{"x":1794021566000,"y":0},{"x":1794021630000,"y":0},{"x":1794021693000,"y":0},{"x":1794021758000,"y":0},{"x":1794021823000,"y":0},{"x":1794021886000,"y":0},{"x":1794021950000,"y":0},{"x":1794022014000,"y":0},{"x":1794022077000,"y":0},{"x":1794022142000,"y":0},{"x":1794022206000,"y":0},{"x":1794022271000,"y":0},{"x":1794022335000,"y":0},{"x":1794022398000,"y":0},{"x":1794022462000,"y":0},{"x":1794022526000,"y":0},{"x":1794022589000,"y":0},{"x":1794022653000,"y":0},{"x":1794022719000,"y":0},{"x":1794022782000,"y":0},{"x":1794022847000,"y":0},{"x":1794022910000,"y":0},{"x":1794022974000,"y":0},{"x":1794023038000,"y":0},{"x":1794023102000,"y":0},{"x":1794023166000,"y":0}],"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":1794006029000,"y":6},{"x":1794006096000,"y":7},{"x":1794006158000,"y":7},{"x":1794006221000,"y":7},{"x":1794006285000,"y":7},{"x":1794006349000,"y":7},{"x":1794006413000,"y":6},{"x":1794006479000,"y":7},{"x":1794006558000,"y":7},{"x":1794006623000,"y":7},{"x":1794006686000,"y":7},{"x":1794006750000,"y":7},{"x":1794006812000,"y":7},{"x":1794006877000,"y":6},{"x":1794006942000,"y":7},{"x":1794007005000,"y":13},{"x":1794007069000,"y":12},{"x":1794007133000,"y":12},{"x":1794007198000,"y":10},{"x":1794007262000,"y":11},{"x":1794007326000,"y":10},{"x":1794007389000,"y":5},{"x":1794007454000,"y":8},{"x":1794007517000,"y":22},{"x":1794007581000,"y":11},{"x":1794007645000,"y":17},{"x":1794007713000,"y":11},{"x":1794007773000,"y":10},{"x":1794007837000,"y":15},{"x":1794007901000,"y":11},{"x":1794007965000,"y":12},{"x":1794008029000,"y":25},{"x":1794008101000,"y":27},{"x":1794008174000,"y":27},{"x":1794008237000,"y":22},{"x":1794008301000,"y":29},{"x":1794008365000,"y":18},{"x":1794008429000,"y":19},{"x":1794008493000,"y":14},{"x":1794008558000,"y":10},{"x":1794008622000,"y":13},{"x":1794008685000,"y":11},{"x":1794008750000,"y":28},{"x":1794008814000,"y":15},{"x":1794008877000,"y":28},{"x":1794008941000,"y":9},{"x":1794009005000,"y":17},{"x":1794009069000,"y":24},{"x":1794009134000,"y":12},{"x":1794009199000,"y":16},{"x":1794009261000,"y":20},{"x":1794009325000,"y":13},{"x":1794009389000,"y":15},{"x":1794009453000,"y":13},{"x":1794009517000,"y":10},{"x":1794009582000,"y":10},{"x":1794009645000,"y":10},{"x":1794009710000,"y":10},{"x":1794009774000,"y":9},{"x":1794009837000,"y":10},{"x":1794009901000,"y":9},{"x":1794009966000,"y":9},{"x":1794010029000,"y":10},{"x":1794010094000,"y":9},{"x":1794010157000,"y":8},{"x":1794010222000,"y":6},{"x":1794010286000,"y":7},{"x":1794010350000,"y":9},{"x":1794010413000,"y":7},{"x":1794010478000,"y":8},{"x":1794010541000,"y":8},{"x":1794010606000,"y":8},{"x":1794010669000,"y":8},{"x":1794010733000,"y":8},{"x":1794010797000,"y":8},{"x":1794010863000,"y":6},{"x":1794010925000,"y":7},{"x":1794010989000,"y":9},{"x":1794011053000,"y":11},{"x":1794011119000,"y":14},{"x":1794011182000,"y":16},{"x":1794011246000,"y":26},{"x":1794011310000,"y":15},{"x":1794011372000,"y":10},{"x":1794011438000,"y":9},{"x":1794011501000,"y":9},{"x":1794011566000,"y":9},{"x":1794011631000,"y":8},{"x":1794011694000,"y":7},{"x":1794011757000,"y":5},{"x":1794011821000,"y":6},{"x":1794011885000,"y":6},{"x":1794011950000,"y":2},{"x":1794012014000,"y":5},{"x":1794012078000,"y":2},{"x":1794012142000,"y":6},{"x":1794012206000,"y":7},{"x":1794012269000,"y":7},{"x":1794012332000,"y":7},{"x":1794012398000,"y":10},{"x":1794012461000,"y":6},{"x":1794012525000,"y":8},{"x":1794012589000,"y":4},{"x":1794012655000,"y":7},{"x":1794012718000,"y":8},{"x":1794012781000,"y":44},{"x":1794012846000,"y":8},{"x":1794012909000,"y":14},{"x":1794012978000,"y":54},{"x":1794013052000,"y":6},{"x":1794013112000,"y":13},{"x":1794013172000,"y":14},{"x":1794013232000,"y":15},{"x":1794013292000,"y":17},{"x":1794013357000,"y":11},{"x":1794013422000,"y":12},{"x":1794013485000,"y":10},{"x":1794013551000,"y":11},{"x":1794013614000,"y":11},{"x":1794013677000,"y":11},{"x":1794013742000,"y":11},{"x":1794013805000,"y":11},{"x":1794013873000,"y":10},{"x":1794013952000,"y":8},{"x":1794014016000,"y":8},{"x":1794014078000,"y":8},{"x":1794014141000,"y":8},{"x":1794014207000,"y":8},{"x":1794014269000,"y":8},{"x":1794014334000,"y":8},{"x":1794014397000,"y":8},{"x":1794014461000,"y":8},{"x":1794014526000,"y":7},{"x":1794014590000,"y":8},{"x":1794014655000,"y":13},{"x":1794014717000,"y":11},{"x":1794014782000,"y":11},{"x":1794014845000,"y":11},{"x":1794014910000,"y":11},{"x":1794014973000,"y":11},{"x":1794015037000,"y":6},{"x":1794015101000,"y":9},{"x":1794015166000,"y":9},{"x":1794015230000,"y":8},{"x":1794015294000,"y":4},{"x":1794015359000,"y":17},{"x":1794015422000,"y":10},{"x":1794015487000,"y":8},{"x":1794015549000,"y":352},{"x":1794015613000,"y":357},{"x":1794015678000,"y":5},{"x":1794015744000,"y":351},{"x":1794015806000,"y":6},{"x":1794015870000,"y":4},{"x":1794015932000,"y":7},{"x":1794015997000,"y":5},{"x":1794016062000,"y":9},{"x":1794016126000,"y":6},{"x":1794016190000,"y":11},{"x":1794016254000,"y":8},{"x":1794016317000,"y":9},{"x":1794016381000,"y":8},{"x":1794016446000,"y":20},{"x":1794016509000,"y":39},{"x":1794016574000,"y":13},{"x":1794016638000,"y":12},{"x":1794016703000,"y":8},{"x":1794016766000,"y":10},{"x":1794016830000,"y":10},{"x":1794016893000,"y":10},{"x":1794016958000,"y":8},{"x":1794017022000,"y":13},{"x":1794017086000,"y":10},{"x":1794017152000,"y":13},{"x":1794017214000,"y":12},{"x":1794017278000,"y":12},{"x":1794017342000,"y":5},{"x":1794017407000,"y":7},{"x":1794017471000,"y":7},{"x":1794017534000,"y":8},{"x":1794017597000,"y":10},{"x":1794017662000,"y":12},{"x":1794017726000,"y":11},{"x":1794017791000,"y":12},{"x":1794017852000,"y":12},{"x":1794017918000,"y":11},{"x":1794017981000,"y":4},{"x":1794018046000,"y":3},{"x":1794018110000,"y":2},{"x":1794018174000,"y":11},{"x":1794018237000,"y":9},{"x":1794018302000,"y":9},{"x":1794018367000,"y":12},{"x":1794018429000,"y":11},{"x":1794018494000,"y":11},{"x":1794018557000,"y":12},{"x":1794018622000,"y":11},{"x":1794018686000,"y":11},{"x":1794018750000,"y":11},{"x":1794018813000,"y":11},{"x":1794018878000,"y":11},{"x":1794018942000,"y":11},{"x":1794019007000,"y":14},{"x":1794019069000,"y":28},{"x":1794019133000,"y":26},{"x":1794019199000,"y":25},{"x":1794019261000,"y":21},{"x":1794019327000,"y":12},{"x":1794019390000,"y":22},{"x":1794019453000,"y":11},{"x":1794019517000,"y":12},{"x":1794019581000,"y":9},{"x":1794019647000,"y":9},{"x":1794019710000,"y":9},{"x":1794019773000,"y":9},{"x":1794019837000,"y":17},{"x":1794019902000,"y":11},{"x":1794019966000,"y":11},{"x":1794020031000,"y":10},{"x":1794020094000,"y":10},{"x":1794020157000,"y":10},{"x":1794020222000,"y":7},{"x":1794020287000,"y":7},{"x":1794020349000,"y":7},{"x":1794020414000,"y":14},{"x":1794020478000,"y":12},{"x":1794020543000,"y":10},{"x":1794020606000,"y":14},{"x":1794020670000,"y":11},{"x":1794020733000,"y":10},{"x":1794020797000,"y":9},{"x":1794020862000,"y":9},{"x":1794020926000,"y":4},{"x":1794020990000,"y":7},{"x":1794021054000,"y":14},{"x":1794021119000,"y":11},{"x":1794021182000,"y":11},{"x":1794021246000,"y":11},{"x":1794021311000,"y":11},{"x":1794021374000,"y":17},{"x":1794021439000,"y":11},{"x":1794021502000,"y":9},{"x":1794021566000,"y":9},{"x":1794021630000,"y":15},{"x":1794021693000,"y":12},{"x":1794021758000,"y":11},{"x":1794021823000,"y":7},{"x":1794021886000,"y":14},{"x":1794021950000,"y":11},{"x":1794022014000,"y":18},{"x":1794022077000,"y":11},{"x":1794022142000,"y":11},{"x":1794022206000,"y":11},{"x":1794022271000,"y":8},{"x":1794022335000,"y":7},{"x":1794022398000,"y":6},{"x":1794022462000,"y":7},{"x":1794022526000,"y":8},{"x":1794022589000,"y":8},{"x":1794022653000,"y":8},{"x":1794022719000,"y":8},{"x":1794022782000,"y":8},{"x":1794022847000,"y":9},{"x":1794022910000,"y":9},{"x":1794022974000,"y":9},{"x":1794023038000,"y":9},{"x":1794023102000,"y":5},{"x":1794023166000,"y":6}],"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":1794006029000,"y":0},{"x":1794006096000,"y":0},{"x":1794006158000,"y":0},{"x":1794006221000,"y":0},{"x":1794006285000,"y":0},{"x":1794006349000,"y":0},{"x":1794006413000,"y":0},{"x":1794006479000,"y":0},{"x":1794006558000,"y":0},{"x":1794006623000,"y":0},{"x":1794006686000,"y":0},{"x":1794006750000,"y":0},{"x":1794006812000,"y":0},{"x":1794006877000,"y":0},{"x":1794006942000,"y":0},{"x":1794007005000,"y":0},{"x":1794007069000,"y":0},{"x":1794007133000,"y":0},{"x":1794007198000,"y":0},{"x":1794007262000,"y":0},{"x":1794007326000,"y":0},{"x":1794007389000,"y":0},{"x":1794007454000,"y":0},{"x":1794007517000,"y":0},{"x":1794007581000,"y":0},{"x":1794007645000,"y":0},{"x":1794007713000,"y":0},{"x":1794007773000,"y":0},{"x":1794007837000,"y":0},{"x":1794007901000,"y":0},{"x":1794007965000,"y":0},{"x":1794008029000,"y":0},{"x":1794008101000,"y":0},{"x":1794008174000,"y":0},{"x":1794008237000,"y":0},{"x":1794008301000,"y":0},{"x":1794008365000,"y":0},{"x":1794008429000,"y":0},{"x":1794008493000,"y":0},{"x":1794008558000,"y":0},{"x":1794008622000,"y":0},{"x":1794008685000,"y":0},{"x":1794008750000,"y":0},{"x":1794008814000,"y":0},{"x":1794008877000,"y":0},{"x":1794008941000,"y":0},{"x":1794009005000,"y":0},{"x":1794009069000,"y":0},{"x":1794009134000,"y":0},{"x":1794009199000,"y":0},{"x":1794009261000,"y":0},{"x":1794009325000,"y":0},{"x":1794009389000,"y":0},{"x":1794009453000,"y":0},{"x":1794009517000,"y":0},{"x":1794009582000,"y":0},{"x":1794009645000,"y":0},{"x":1794009710000,"y":0},{"x":1794009774000,"y":0},{"x":1794009837000,"y":0},{"x":1794009901000,"y":0},{"x":1794009966000,"y":0},{"x":1794010029000,"y":0},{"x":1794010094000,"y":0},{"x":1794010157000,"y":0},{"x":1794010222000,"y":0},{"x":1794010286000,"y":0},{"x":1794010350000,"y":0},{"x":1794010413000,"y":0},{"x":1794010478000,"y":0},{"x":1794010541000,"y":0},{"x":1794010606000,"y":0},{"x":1794010669000,"y":0},{"x":1794010733000,"y":0},{"x":1794010797000,"y":0},{"x":1794010863000,"y":0},{"x":1794010925000,"y":0},{"x":1794010989000,"y":0},{"x":1794011053000,"y":0},{"x":1794011119000,"y":0},{"x":1794011182000,"y":0},{"x":1794011246000,"y":0},{"x":1794011310000,"y":0},{"x":1794011372000,"y":0},{"x":1794011438000,"y":0},{"x":1794011501000,"y":0},{"x":1794011566000,"y":0},{"x":1794011631000,"y":0},{"x":1794011694000,"y":0},{"x":1794011757000,"y":0},{"x":1794011821000,"y":0},{"x":1794011885000,"y":0},{"x":1794011950000,"y":0},{"x":1794012014000,"y":0},{"x":1794012078000,"y":0},{"x":1794012142000,"y":0},{"x":1794012206000,"y":0},{"x":1794012269000,"y":0},{"x":1794012332000,"y":0},{"x":1794012398000,"y":0},{"x":1794012461000,"y":0},{"x":1794012525000,"y":0},{"x":1794012589000,"y":0},{"x":1794012655000,"y":0},{"x":1794012718000,"y":0},{"x":1794012781000,"y":0},{"x":1794012846000,"y":0},{"x":1794012909000,"y":0},{"x":1794012978000,"y":0},{"x":1794013052000,"y":0},{"x":1794013112000,"y":0},{"x":1794013172000,"y":0},{"x":1794013232000,"y":0},{"x":1794013292000,"y":0},{"x":1794013357000,"y":0},{"x":1794013422000,"y":0},{"x":1794013485000,"y":0},{"x":1794013551000,"y":0},{"x":1794013614000,"y":0},{"x":1794013677000,"y":0},{"x":1794013742000,"y":0},{"x":1794013805000,"y":0},{"x":1794013873000,"y":0},{"x":1794013952000,"y":0},{"x":1794014016000,"y":0},{"x":1794014078000,"y":0},{"x":1794014141000,"y":0},{"x":1794014207000,"y":0},{"x":1794014269000,"y":0},{"x":1794014334000,"y":0},{"x":1794014397000,"y":0},{"x":1794014461000,"y":0},{"x":1794014526000,"y":0},{"x":1794014590000,"y":0},{"x":1794014655000,"y":0},{"x":1794014717000,"y":0},{"x":1794014782000,"y":0},{"x":1794014845000,"y":0},{"x":1794014910000,"y":0},{"x":1794014973000,"y":0},{"x":1794015037000,"y":0},{"x":1794015101000,"y":0},{"x":1794015166000,"y":0},{"x":1794015230000,"y":0},{"x":1794015294000,"y":0},{"x":1794015359000,"y":0},{"x":1794015422000,"y":0},{"x":1794015487000,"y":0},{"x":1794015549000,"y":0},{"x":1794015613000,"y":0},{"x":1794015678000,"y":0},{"x":1794015744000,"y":0},{"x":1794015806000,"y":0},{"x":1794015870000,"y":0},{"x":1794015932000,"y":0},{"x":1794015997000,"y":0},{"x":1794016062000,"y":0},{"x":1794016126000,"y":0},{"x":1794016190000,"y":0},{"x":1794016254000,"y":0},{"x":1794016317000,"y":0},{"x":1794016381000,"y":0},{"x":1794016446000,"y":0},{"x":1794016509000,"y":0},{"x":1794016574000,"y":0},{"x":1794016638000,"y":0},{"x":1794016703000,"y":0},{"x":1794016766000,"y":0},{"x":1794016830000,"y":0},{"x":1794016893000,"y":0},{"x":1794016958000,"y":0},{"x":1794017022000,"y":0},{"x":1794017086000,"y":0},{"x":1794017152000,"y":0},{"x":1794017214000,"y":0},{"x":1794017278000,"y":0},{"x":1794017342000,"y":0},{"x":1794017407000,"y":0},{"x":1794017471000,"y":0},{"x":1794017534000,"y":0},{"x":1794017597000,"y":0},{"x":1794017662000,"y":0},{"x":1794017726000,"y":0},{"x":1794017791000,"y":0},{"x":1794017852000,"y":0},{"x":1794017918000,"y":0},{"x":1794017981000,"y":0},{"x":1794018046000,"y":0},{"x":1794018110000,"y":0},{"x":1794018174000,"y":0},{"x":1794018237000,"y":0},{"x":1794018302000,"y":0},{"x":1794018367000,"y":0},{"x":1794018429000,"y":0},{"x":1794018494000,"y":0},{"x":1794018557000,"y":0},{"x":1794018622000,"y":0},{"x":1794018686000,"y":0},{"x":1794018750000,"y":0},{"x":1794018813000,"y":0},{"x":1794018878000,"y":0},{"x":1794018942000,"y":0},{"x":1794019007000,"y":0},{"x":1794019069000,"y":0},{"x":1794019133000,"y":0},{"x":1794019199000,"y":0},{"x":1794019261000,"y":0},{"x":1794019327000,"y":0},{"x":1794019390000,"y":0},{"x":1794019453000,"y":0},{"x":1794019517000,"y":0},{"x":1794019581000,"y":0},{"x":1794019647000,"y":0},{"x":1794019710000,"y":0},{"x":1794019773000,"y":0},{"x":1794019837000,"y":0},{"x":1794019902000,"y":0},{"x":1794019966000,"y":0},{"x":1794020031000,"y":0},{"x":1794020094000,"y":0},{"x":1794020157000,"y":0},{"x":1794020222000,"y":0},{"x":1794020287000,"y":0},{"x":1794020349000,"y":0},{"x":1794020414000,"y":0},{"x":1794020478000,"y":0},{"x":1794020543000,"y":0},{"x":1794020606000,"y":0},{"x":1794020670000,"y":0},{"x":1794020733000,"y":0},{"x":1794020797000,"y":0},{"x":1794020862000,"y":0},{"x":1794020926000,"y":0},{"x":1794020990000,"y":0},{"x":1794021054000,"y":0},{"x":1794021119000,"y":0},{"x":1794021182000,"y":0},{"x":1794021246000,"y":0},{"x":1794021311000,"y":0},{"x":1794021374000,"y":0},{"x":1794021439000,"y":0},{"x":1794021502000,"y":0},{"x":1794021566000,"y":0},{"x":1794021630000,"y":0},{"x":1794021693000,"y":0},{"x":1794021758000,"y":0},{"x":1794021823000,"y":0},{"x":1794021886000,"y":0},{"x":1794021950000,"y":0},{"x":1794022014000,"y":0},{"x":1794022077000,"y":0},{"x":1794022142000,"y":0},{"x":1794022206000,"y":0},{"x":1794022271000,"y":0},{"x":1794022335000,"y":0},{"x":1794022398000,"y":0},{"x":1794022462000,"y":0},{"x":1794022526000,"y":0},{"x":1794022589000,"y":0},{"x":1794022653000,"y":0},{"x":1794022719000,"y":0},{"x":1794022782000,"y":0},{"x":1794022847000,"y":0},{"x":1794022910000,"y":0},{"x":1794022974000,"y":0},{"x":1794023038000,"y":0},{"x":1794023102000,"y":0},{"x":1794023166000,"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":1794006029000,"y":0},{"x":1794006096000,"y":0},{"x":1794006158000,"y":0},{"x":1794006221000,"y":0},{"x":1794006285000,"y":0},{"x":1794006349000,"y":0},{"x":1794006413000,"y":0},{"x":1794006479000,"y":0},{"x":1794006558000,"y":0},{"x":1794006623000,"y":0},{"x":1794006686000,"y":0},{"x":1794006750000,"y":0},{"x":1794006812000,"y":0},{"x":1794006877000,"y":0},{"x":1794006942000,"y":0},{"x":1794007005000,"y":0},{"x":1794007069000,"y":0},{"x":1794007133000,"y":0},{"x":1794007198000,"y":0},{"x":1794007262000,"y":0},{"x":1794007326000,"y":0},{"x":1794007389000,"y":0},{"x":1794007454000,"y":0},{"x":1794007517000,"y":0},{"x":1794007581000,"y":0},{"x":1794007645000,"y":0},{"x":1794007713000,"y":0},{"x":1794007773000,"y":0},{"x":1794007837000,"y":0},{"x":1794007901000,"y":0},{"x":1794007965000,"y":0},{"x":1794008029000,"y":0},{"x":1794008101000,"y":0},{"x":1794008174000,"y":0},{"x":1794008237000,"y":0},{"x":1794008301000,"y":0},{"x":1794008365000,"y":0},{"x":1794008429000,"y":0},{"x":1794008493000,"y":0},{"x":1794008558000,"y":0},{"x":1794008622000,"y":0},{"x":1794008685000,"y":0},{"x":1794008750000,"y":0},{"x":1794008814000,"y":0},{"x":1794008877000,"y":0},{"x":1794008941000,"y":0},{"x":1794009005000,"y":0},{"x":1794009069000,"y":0},{"x":1794009134000,"y":0},{"x":1794009199000,"y":0},{"x":1794009261000,"y":0},{"x":1794009325000,"y":0},{"x":1794009389000,"y":0},{"x":1794009453000,"y":0},{"x":1794009517000,"y":0},{"x":1794009582000,"y":0},{"x":1794009645000,"y":0},{"x":1794009710000,"y":0},{"x":1794009774000,"y":0},{"x":1794009837000,"y":0},{"x":1794009901000,"y":0},{"x":1794009966000,"y":0},{"x":1794010029000,"y":0},{"x":1794010094000,"y":0},{"x":1794010157000,"y":0},{"x":1794010222000,"y":0},{"x":1794010286000,"y":0},{"x":1794010350000,"y":0},{"x":1794010413000,"y":0},{"x":1794010478000,"y":0},{"x":1794010541000,"y":0},{"x":1794010606000,"y":0},{"x":1794010669000,"y":0},{"x":1794010733000,"y":0},{"x":1794010797000,"y":0},{"x":1794010863000,"y":0},{"x":1794010925000,"y":0},{"x":1794010989000,"y":0},{"x":1794011053000,"y":0},{"x":1794011119000,"y":0},{"x":1794011182000,"y":0},{"x":1794011246000,"y":0},{"x":1794011310000,"y":0},{"x":1794011372000,"y":0},{"x":1794011438000,"y":0},{"x":1794011501000,"y":0},{"x":1794011566000,"y":0},{"x":1794011631000,"y":0},{"x":1794011694000,"y":0},{"x":1794011757000,"y":0},{"x":1794011821000,"y":0},{"x":1794011885000,"y":0},{"x":1794011950000,"y":0},{"x":1794012014000,"y":0},{"x":1794012078000,"y":0},{"x":1794012142000,"y":0},{"x":1794012206000,"y":0},{"x":1794012269000,"y":0},{"x":1794012332000,"y":0},{"x":1794012398000,"y":0},{"x":1794012461000,"y":0},{"x":1794012525000,"y":0},{"x":1794012589000,"y":0},{"x":1794012655000,"y":0},{"x":1794012718000,"y":0},{"x":1794012781000,"y":0},{"x":1794012846000,"y":0},{"x":1794012909000,"y":0},{"x":1794012978000,"y":0},{"x":1794013052000,"y":0},{"x":1794013112000,"y":0},{"x":1794013172000,"y":0},{"x":1794013232000,"y":0},{"x":1794013292000,"y":0},{"x":1794013357000,"y":0},{"x":1794013422000,"y":0},{"x":1794013485000,"y":0},{"x":1794013551000,"y":0},{"x":1794013614000,"y":0},{"x":1794013677000,"y":0},{"x":1794013742000,"y":0},{"x":1794013805000,"y":0},{"x":1794013873000,"y":0},{"x":1794013952000,"y":0},{"x":1794014016000,"y":0},{"x":1794014078000,"y":0},{"x":1794014141000,"y":0},{"x":1794014207000,"y":0},{"x":1794014269000,"y":0},{"x":1794014334000,"y":0},{"x":1794014397000,"y":0},{"x":1794014461000,"y":0},{"x":1794014526000,"y":0},{"x":1794014590000,"y":0},{"x":1794014655000,"y":0},{"x":1794014717000,"y":0},{"x":1794014782000,"y":0},{"x":1794014845000,"y":0},{"x":1794014910000,"y":0},{"x":1794014973000,"y":0},{"x":1794015037000,"y":0},{"x":1794015101000,"y":0},{"x":1794015166000,"y":0},{"x":1794015230000,"y":0},{"x":1794015294000,"y":0},{"x":1794015359000,"y":0},{"x":1794015422000,"y":0},{"x":1794015487000,"y":0},{"x":1794015549000,"y":0},{"x":1794015613000,"y":0},{"x":1794015678000,"y":0},{"x":1794015744000,"y":0},{"x":1794015806000,"y":0},{"x":1794015870000,"y":0},{"x":1794015932000,"y":0},{"x":1794015997000,"y":0},{"x":1794016062000,"y":0},{"x":1794016126000,"y":0},{"x":1794016190000,"y":0},{"x":1794016254000,"y":0},{"x":1794016317000,"y":0},{"x":1794016381000,"y":0},{"x":1794016446000,"y":0},{"x":1794016509000,"y":0},{"x":1794016574000,"y":0},{"x":1794016638000,"y":0},{"x":1794016703000,"y":0},{"x":1794016766000,"y":0},{"x":1794016830000,"y":0},{"x":1794016893000,"y":0},{"x":1794016958000,"y":0},{"x":1794017022000,"y":0},{"x":1794017086000,"y":0},{"x":1794017152000,"y":0},{"x":1794017214000,"y":0},{"x":1794017278000,"y":0},{"x":1794017342000,"y":0},{"x":1794017407000,"y":0},{"x":1794017471000,"y":0},{"x":1794017534000,"y":0},{"x":1794017597000,"y":0},{"x":1794017662000,"y":0},{"x":1794017726000,"y":0},{"x":1794017791000,"y":0},{"x":1794017852000,"y":0},{"x":1794017918000,"y":0},{"x":1794017981000,"y":0},{"x":1794018046000,"y":0},{"x":1794018110000,"y":0},{"x":1794018174000,"y":0},{"x":1794018237000,"y":0},{"x":1794018302000,"y":0},{"x":1794018367000,"y":0},{"x":1794018429000,"y":0},{"x":1794018494000,"y":0},{"x":1794018557000,"y":0},{"x":1794018622000,"y":0},{"x":1794018686000,"y":0},{"x":1794018750000,"y":0},{"x":1794018813000,"y":0},{"x":1794018878000,"y":0},{"x":1794018942000,"y":0},{"x":1794019007000,"y":0},{"x":1794019069000,"y":0},{"x":1794019133000,"y":0},{"x":1794019199000,"y":0},{"x":1794019261000,"y":0},{"x":1794019327000,"y":0},{"x":1794019390000,"y":0},{"x":1794019453000,"y":0},{"x":1794019517000,"y":0},{"x":1794019581000,"y":0},{"x":1794019647000,"y":0},{"x":1794019710000,"y":0},{"x":1794019773000,"y":0},{"x":1794019837000,"y":0},{"x":1794019902000,"y":0},{"x":1794019966000,"y":0},{"x":1794020031000,"y":0},{"x":1794020094000,"y":0},{"x":1794020157000,"y":0},{"x":1794020222000,"y":0},{"x":1794020287000,"y":0},{"x":1794020349000,"y":0},{"x":1794020414000,"y":0},{"x":1794020478000,"y":0},{"x":1794020543000,"y":0},{"x":1794020606000,"y":0},{"x":1794020670000,"y":0},{"x":1794020733000,"y":0},{"x":1794020797000,"y":0},{"x":1794020862000,"y":0},{"x":1794020926000,"y":0},{"x":1794020990000,"y":0},{"x":1794021054000,"y":0},{"x":1794021119000,"y":0},{"x":1794021182000,"y":0},{"x":1794021246000,"y":0},{"x":1794021311000,"y":0},{"x":1794021374000,"y":0},{"x":1794021439000,"y":0},{"x":1794021502000,"y":0},{"x":1794021566000,"y":0},{"x":1794021630000,"y":0},{"x":1794021693000,"y":0},{"x":1794021758000,"y":0},{"x":1794021823000,"y":0},{"x":1794021886000,"y":0},{"x":1794021950000,"y":0},{"x":1794022014000,"y":0},{"x":1794022077000,"y":0},{"x":1794022142000,"y":0},{"x":1794022206000,"y":0},{"x":1794022271000,"y":0},{"x":1794022335000,"y":0},{"x":1794022398000,"y":0},{"x":1794022462000,"y":0},{"x":1794022526000,"y":0},{"x":1794022589000,"y":0},{"x":1794022653000,"y":0},{"x":1794022719000,"y":0},{"x":1794022782000,"y":0},{"x":1794022847000,"y":0},{"x":1794022910000,"y":0},{"x":1794022974000,"y":0},{"x":1794023038000,"y":0},{"x":1794023102000,"y":0},{"x":1794023166000,"y":0}],"highlightExtremes":true}], {"yMin":0}); }); $(document).ready(function() { buildMeteoChart('chart-rain-canvas', 'chart-rain-reset', [{"label":"Zrážky (mm)","color":"#008fbf","points":[{"x":1794006029000,"y":0},{"x":1794006096000,"y":0},{"x":1794006158000,"y":0},{"x":1794006221000,"y":0},{"x":1794006285000,"y":0},{"x":1794006349000,"y":0},{"x":1794006413000,"y":0},{"x":1794006479000,"y":0},{"x":1794006558000,"y":0},{"x":1794006623000,"y":0},{"x":1794006686000,"y":0},{"x":1794006750000,"y":0},{"x":1794006812000,"y":0},{"x":1794006877000,"y":0},{"x":1794006942000,"y":0},{"x":1794007005000,"y":0},{"x":1794007069000,"y":0},{"x":1794007133000,"y":0},{"x":1794007198000,"y":0},{"x":1794007262000,"y":0},{"x":1794007326000,"y":0},{"x":1794007389000,"y":0},{"x":1794007454000,"y":0},{"x":1794007517000,"y":0},{"x":1794007581000,"y":0},{"x":1794007645000,"y":0},{"x":1794007713000,"y":0},{"x":1794007773000,"y":0},{"x":1794007837000,"y":0},{"x":1794007901000,"y":0},{"x":1794007965000,"y":0},{"x":1794008029000,"y":0},{"x":1794008101000,"y":0},{"x":1794008174000,"y":0},{"x":1794008237000,"y":0},{"x":1794008301000,"y":0},{"x":1794008365000,"y":0},{"x":1794008429000,"y":0},{"x":1794008493000,"y":0},{"x":1794008558000,"y":0},{"x":1794008622000,"y":0},{"x":1794008685000,"y":0},{"x":1794008750000,"y":0},{"x":1794008814000,"y":0},{"x":1794008877000,"y":0},{"x":1794008941000,"y":0},{"x":1794009005000,"y":0},{"x":1794009069000,"y":0},{"x":1794009134000,"y":0},{"x":1794009199000,"y":0},{"x":1794009261000,"y":0},{"x":1794009325000,"y":0},{"x":1794009389000,"y":0},{"x":1794009453000,"y":0},{"x":1794009517000,"y":0},{"x":1794009582000,"y":0},{"x":1794009645000,"y":0},{"x":1794009710000,"y":0},{"x":1794009774000,"y":0},{"x":1794009837000,"y":0},{"x":1794009901000,"y":0},{"x":1794009966000,"y":0},{"x":1794010029000,"y":0},{"x":1794010094000,"y":0},{"x":1794010157000,"y":0},{"x":1794010222000,"y":0},{"x":1794010286000,"y":0},{"x":1794010350000,"y":0},{"x":1794010413000,"y":0},{"x":1794010478000,"y":0},{"x":1794010541000,"y":0},{"x":1794010606000,"y":0},{"x":1794010669000,"y":0},{"x":1794010733000,"y":0},{"x":1794010797000,"y":0},{"x":1794010863000,"y":0},{"x":1794010925000,"y":0},{"x":1794010989000,"y":0},{"x":1794011053000,"y":0},{"x":1794011119000,"y":0},{"x":1794011182000,"y":0},{"x":1794011246000,"y":0},{"x":1794011310000,"y":0},{"x":1794011372000,"y":0},{"x":1794011438000,"y":0},{"x":1794011501000,"y":0},{"x":1794011566000,"y":0},{"x":1794011631000,"y":0},{"x":1794011694000,"y":0},{"x":1794011757000,"y":0},{"x":1794011821000,"y":0},{"x":1794011885000,"y":0},{"x":1794011950000,"y":0},{"x":1794012014000,"y":0},{"x":1794012078000,"y":0},{"x":1794012142000,"y":0},{"x":1794012206000,"y":0},{"x":1794012269000,"y":0},{"x":1794012332000,"y":0},{"x":1794012398000,"y":0},{"x":1794012461000,"y":0},{"x":1794012525000,"y":0},{"x":1794012589000,"y":0},{"x":1794012655000,"y":0},{"x":1794012718000,"y":0},{"x":1794012781000,"y":0},{"x":1794012846000,"y":0},{"x":1794012909000,"y":0},{"x":1794012978000,"y":0},{"x":1794013052000,"y":0},{"x":1794013112000,"y":0},{"x":1794013172000,"y":0},{"x":1794013232000,"y":0},{"x":1794013292000,"y":0},{"x":1794013357000,"y":0},{"x":1794013422000,"y":0},{"x":1794013485000,"y":0},{"x":1794013551000,"y":0},{"x":1794013614000,"y":0},{"x":1794013677000,"y":0},{"x":1794013742000,"y":0},{"x":1794013805000,"y":0},{"x":1794013873000,"y":0},{"x":1794013952000,"y":0},{"x":1794014016000,"y":0},{"x":1794014078000,"y":0},{"x":1794014141000,"y":0},{"x":1794014207000,"y":0},{"x":1794014269000,"y":0},{"x":1794014334000,"y":0},{"x":1794014397000,"y":0},{"x":1794014461000,"y":0},{"x":1794014526000,"y":0},{"x":1794014590000,"y":0},{"x":1794014655000,"y":0},{"x":1794014717000,"y":0},{"x":1794014782000,"y":0},{"x":1794014845000,"y":0},{"x":1794014910000,"y":0},{"x":1794014973000,"y":0},{"x":1794015037000,"y":0},{"x":1794015101000,"y":0},{"x":1794015166000,"y":0},{"x":1794015230000,"y":0},{"x":1794015294000,"y":0},{"x":1794015359000,"y":0},{"x":1794015422000,"y":0},{"x":1794015487000,"y":0},{"x":1794015549000,"y":0},{"x":1794015613000,"y":0},{"x":1794015678000,"y":0},{"x":1794015744000,"y":0},{"x":1794015806000,"y":0},{"x":1794015870000,"y":0},{"x":1794015932000,"y":0},{"x":1794015997000,"y":0},{"x":1794016062000,"y":0},{"x":1794016126000,"y":0},{"x":1794016190000,"y":0},{"x":1794016254000,"y":0},{"x":1794016317000,"y":0},{"x":1794016381000,"y":0},{"x":1794016446000,"y":0},{"x":1794016509000,"y":0},{"x":1794016574000,"y":0},{"x":1794016638000,"y":0},{"x":1794016703000,"y":0},{"x":1794016766000,"y":0},{"x":1794016830000,"y":0},{"x":1794016893000,"y":0},{"x":1794016958000,"y":0},{"x":1794017022000,"y":0},{"x":1794017086000,"y":0},{"x":1794017152000,"y":0},{"x":1794017214000,"y":0},{"x":1794017278000,"y":0},{"x":1794017342000,"y":0},{"x":1794017407000,"y":0},{"x":1794017471000,"y":0},{"x":1794017534000,"y":0},{"x":1794017597000,"y":0},{"x":1794017662000,"y":0},{"x":1794017726000,"y":0},{"x":1794017791000,"y":0},{"x":1794017852000,"y":0},{"x":1794017918000,"y":0},{"x":1794017981000,"y":0},{"x":1794018046000,"y":0},{"x":1794018110000,"y":0},{"x":1794018174000,"y":0},{"x":1794018237000,"y":0},{"x":1794018302000,"y":0},{"x":1794018367000,"y":0},{"x":1794018429000,"y":0},{"x":1794018494000,"y":0},{"x":1794018557000,"y":0},{"x":1794018622000,"y":0},{"x":1794018686000,"y":0},{"x":1794018750000,"y":0},{"x":1794018813000,"y":0},{"x":1794018878000,"y":0},{"x":1794018942000,"y":0},{"x":1794019007000,"y":0},{"x":1794019069000,"y":0},{"x":1794019133000,"y":0},{"x":1794019199000,"y":0},{"x":1794019261000,"y":0},{"x":1794019327000,"y":0},{"x":1794019390000,"y":0},{"x":1794019453000,"y":0},{"x":1794019517000,"y":0},{"x":1794019581000,"y":0},{"x":1794019647000,"y":0},{"x":1794019710000,"y":0},{"x":1794019773000,"y":0},{"x":1794019837000,"y":0},{"x":1794019902000,"y":0},{"x":1794019966000,"y":0},{"x":1794020031000,"y":0},{"x":1794020094000,"y":0},{"x":1794020157000,"y":0},{"x":1794020222000,"y":0},{"x":1794020287000,"y":0},{"x":1794020349000,"y":0},{"x":1794020414000,"y":0},{"x":1794020478000,"y":0},{"x":1794020543000,"y":0},{"x":1794020606000,"y":0},{"x":1794020670000,"y":0},{"x":1794020733000,"y":0},{"x":1794020797000,"y":0},{"x":1794020862000,"y":0},{"x":1794020926000,"y":0},{"x":1794020990000,"y":0},{"x":1794021054000,"y":0},{"x":1794021119000,"y":0},{"x":1794021182000,"y":0},{"x":1794021246000,"y":0},{"x":1794021311000,"y":0},{"x":1794021374000,"y":0},{"x":1794021439000,"y":0},{"x":1794021502000,"y":0},{"x":1794021566000,"y":0},{"x":1794021630000,"y":0},{"x":1794021693000,"y":0},{"x":1794021758000,"y":0},{"x":1794021823000,"y":0},{"x":1794021886000,"y":0},{"x":1794021950000,"y":0},{"x":1794022014000,"y":0},{"x":1794022077000,"y":0},{"x":1794022142000,"y":0},{"x":1794022206000,"y":0},{"x":1794022271000,"y":0},{"x":1794022335000,"y":0},{"x":1794022398000,"y":0},{"x":1794022462000,"y":0},{"x":1794022526000,"y":0},{"x":1794022589000,"y":0},{"x":1794022653000,"y":0},{"x":1794022719000,"y":0},{"x":1794022782000,"y":0},{"x":1794022847000,"y":0},{"x":1794022910000,"y":0},{"x":1794022974000,"y":0},{"x":1794023038000,"y":0},{"x":1794023102000,"y":0},{"x":1794023166000,"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; }