var meteoCharts = {}; var meteoCompassLabels = {0: 'S', 90: 'V', 180: 'J', 270: 'Z', 360: 'S'}; var meteoRangeMin = 1795561200000; var meteoRangeMax = 1795579584000; 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":1795561203000,"y":-4.6},{"x":1795561267000,"y":-4.7},{"x":1795561331000,"y":-4.7},{"x":1795561395000,"y":-4.6},{"x":1795561459000,"y":-4.5},{"x":1795561523000,"y":-4.5},{"x":1795561587000,"y":-4.5},{"x":1795561701000,"y":-4.3},{"x":1795561764000,"y":-4.3},{"x":1795561828000,"y":-4.3},{"x":1795561892000,"y":-4.3},{"x":1795561955000,"y":-4},{"x":1795562020000,"y":-3.9},{"x":1795562084000,"y":-3.8},{"x":1795562148000,"y":-3.8},{"x":1795562212000,"y":-3.8},{"x":1795562276000,"y":-3.9},{"x":1795562340000,"y":-3.9},{"x":1795562404000,"y":-4},{"x":1795562468000,"y":-4},{"x":1795562532000,"y":-3.9},{"x":1795562596000,"y":-3.9},{"x":1795562660000,"y":-4},{"x":1795562733000,"y":-4},{"x":1795562804000,"y":-4.1},{"x":1795562868000,"y":-4.1},{"x":1795562932000,"y":-4.1},{"x":1795562996000,"y":-4.1},{"x":1795563060000,"y":-4.2},{"x":1795563124000,"y":-4.2},{"x":1795563188000,"y":-4.3},{"x":1795563252000,"y":-4.3},{"x":1795563316000,"y":-4.4},{"x":1795563380000,"y":-4.4},{"x":1795563444000,"y":-4.5},{"x":1795563508000,"y":-4.5},{"x":1795563572000,"y":-4.6},{"x":1795563633000,"y":-4.6},{"x":1795563700000,"y":-4.4},{"x":1795563764000,"y":-4.2},{"x":1795563828000,"y":-4.1},{"x":1795563892000,"y":-4.1},{"x":1795563956000,"y":-4.1},{"x":1795564020000,"y":-4},{"x":1795564084000,"y":-4},{"x":1795564148000,"y":-4},{"x":1795564228000,"y":-4},{"x":1795564292000,"y":-4.1},{"x":1795564354000,"y":-4.2},{"x":1795564420000,"y":-4.3},{"x":1795564484000,"y":-4.4},{"x":1795564548000,"y":-4.5},{"x":1795564612000,"y":-4.6},{"x":1795564676000,"y":-4.7},{"x":1795564740000,"y":-4.7},{"x":1795564804000,"y":-4.8},{"x":1795564868000,"y":-4.7},{"x":1795564932000,"y":-4.3},{"x":1795564996000,"y":-4.1},{"x":1795565060000,"y":-4.1},{"x":1795565124000,"y":-4.1},{"x":1795565188000,"y":-4.2},{"x":1795565252000,"y":-4.2},{"x":1795565314000,"y":-4.2},{"x":1795565381000,"y":-4.1},{"x":1795565444000,"y":-4.2},{"x":1795565508000,"y":-4.2},{"x":1795565572000,"y":-4.2},{"x":1795565636000,"y":-4.1},{"x":1795565700000,"y":-4.1},{"x":1795565764000,"y":-4.2},{"x":1795565828000,"y":-4.2},{"x":1795565892000,"y":-4.2},{"x":1795565956000,"y":-4.3},{"x":1795566020000,"y":-4.3},{"x":1795566084000,"y":-4.2},{"x":1795566148000,"y":-4.2},{"x":1795566212000,"y":-4.2},{"x":1795566274000,"y":-4.3},{"x":1795566340000,"y":-4.4},{"x":1795566404000,"y":-4.4},{"x":1795566468000,"y":-4.4},{"x":1795566532000,"y":-4.4},{"x":1795566596000,"y":-4.3},{"x":1795566660000,"y":-4.2},{"x":1795566724000,"y":-4.2},{"x":1795566788000,"y":-4.3},{"x":1795566853000,"y":-4.4},{"x":1795566916000,"y":-4.5},{"x":1795566980000,"y":-4.6},{"x":1795567044000,"y":-4.6},{"x":1795567108000,"y":-4.6},{"x":1795567172000,"y":-4.6},{"x":1795567237000,"y":-4.5},{"x":1795567300000,"y":-4.5},{"x":1795567364000,"y":-4.5},{"x":1795567428000,"y":-4.6},{"x":1795567492000,"y":-4.6},{"x":1795567556000,"y":-4.5},{"x":1795567620000,"y":-4.5},{"x":1795567684000,"y":-4.5},{"x":1795567748000,"y":-4.5},{"x":1795567812000,"y":-4.5},{"x":1795567876000,"y":-4.5},{"x":1795567940000,"y":-4.6},{"x":1795568004000,"y":-4.7},{"x":1795568068000,"y":-4.7},{"x":1795568132000,"y":-4.7},{"x":1795568194000,"y":-4.8},{"x":1795568260000,"y":-4.8},{"x":1795568324000,"y":-4.9},{"x":1795568388000,"y":-4.9},{"x":1795568452000,"y":-4.9},{"x":1795568516000,"y":-4.8},{"x":1795568580000,"y":-4.7},{"x":1795568644000,"y":-4.7},{"x":1795568708000,"y":-4.8},{"x":1795568788000,"y":-4.8},{"x":1795568853000,"y":-4.8},{"x":1795568916000,"y":-4.8},{"x":1795568980000,"y":-4.8},{"x":1795569044000,"y":-4.7},{"x":1795569108000,"y":-4.7},{"x":1795569172000,"y":-4.8},{"x":1795569236000,"y":-4.9},{"x":1795569300000,"y":-4.9},{"x":1795569364000,"y":-4.9},{"x":1795569428000,"y":-4.9},{"x":1795569492000,"y":-5},{"x":1795569556000,"y":-5},{"x":1795569634000,"y":-5},{"x":1795569700000,"y":-5},{"x":1795569764000,"y":-4.9},{"x":1795569828000,"y":-5},{"x":1795569892000,"y":-5},{"x":1795569956000,"y":-5},{"x":1795570020000,"y":-5},{"x":1795570084000,"y":-5},{"x":1795570148000,"y":-5},{"x":1795570212000,"y":-5},{"x":1795570276000,"y":-5},{"x":1795570340000,"y":-5.1},{"x":1795570404000,"y":-5.1},{"x":1795570468000,"y":-5.1},{"x":1795570532000,"y":-5},{"x":1795570595000,"y":-5},{"x":1795570660000,"y":-5},{"x":1795570740000,"y":-5},{"x":1795570804000,"y":-5},{"x":1795570868000,"y":-5},{"x":1795570932000,"y":-5},{"x":1795570996000,"y":-5},{"x":1795571060000,"y":-5},{"x":1795571124000,"y":-4.9},{"x":1795571188000,"y":-4.9},{"x":1795571252000,"y":-4.9},{"x":1795571313000,"y":-4.9},{"x":1795571380000,"y":-4.9},{"x":1795571444000,"y":-4.9},{"x":1795571508000,"y":-5},{"x":1795571588000,"y":-5.1},{"x":1795571652000,"y":-5.1},{"x":1795571716000,"y":-5.1},{"x":1795571780000,"y":-5.1},{"x":1795571845000,"y":-5},{"x":1795571908000,"y":-5},{"x":1795571972000,"y":-5},{"x":1795572034000,"y":-5},{"x":1795572100000,"y":-5.1},{"x":1795572164000,"y":-5.1},{"x":1795572228000,"y":-5.1},{"x":1795572292000,"y":-5},{"x":1795572356000,"y":-5},{"x":1795572420000,"y":-5},{"x":1795572484000,"y":-5},{"x":1795572548000,"y":-5},{"x":1795572612000,"y":-5.1},{"x":1795572676000,"y":-5.1},{"x":1795572740000,"y":-5.1},{"x":1795572805000,"y":-5.1},{"x":1795572868000,"y":-5.1},{"x":1795572932000,"y":-5.1},{"x":1795572994000,"y":-5.1},{"x":1795573060000,"y":-5},{"x":1795573124000,"y":-5},{"x":1795573188000,"y":-5},{"x":1795573252000,"y":-5.1},{"x":1795573316000,"y":-5.1},{"x":1795573380000,"y":-5.1},{"x":1795573444000,"y":-5.1},{"x":1795573508000,"y":-5.1},{"x":1795573572000,"y":-5.1},{"x":1795573636000,"y":-5.1},{"x":1795573701000,"y":-5.1},{"x":1795573764000,"y":-5.2},{"x":1795573828000,"y":-5.2},{"x":1795573892000,"y":-5.1},{"x":1795573954000,"y":-5},{"x":1795574020000,"y":-4.9},{"x":1795574084000,"y":-4.9},{"x":1795574148000,"y":-4.9},{"x":1795574212000,"y":-4.9},{"x":1795574276000,"y":-4.9},{"x":1795574341000,"y":-4.9},{"x":1795574404000,"y":-4.8},{"x":1795574468000,"y":-4.8},{"x":1795574532000,"y":-4.8},{"x":1795574596000,"y":-4.8},{"x":1795574660000,"y":-4.8},{"x":1795574724000,"y":-4.8},{"x":1795574788000,"y":-4.8},{"x":1795574852000,"y":-4.8},{"x":1795574914000,"y":-4.8},{"x":1795574980000,"y":-4.8},{"x":1795575044000,"y":-4.8},{"x":1795575108000,"y":-4.8},{"x":1795575172000,"y":-4.8},{"x":1795575236000,"y":-4.8},{"x":1795575300000,"y":-4.8},{"x":1795575364000,"y":-4.8},{"x":1795575428000,"y":-4.8},{"x":1795575492000,"y":-4.8},{"x":1795575556000,"y":-4.8},{"x":1795575620000,"y":-4.8},{"x":1795575684000,"y":-4.7},{"x":1795575748000,"y":-4.7},{"x":1795575812000,"y":-4.7},{"x":1795575874000,"y":-4.7},{"x":1795575940000,"y":-4.7},{"x":1795576004000,"y":-4.7},{"x":1795576068000,"y":-4.7},{"x":1795576132000,"y":-4.6},{"x":1795576196000,"y":-4.6},{"x":1795576260000,"y":-4.5},{"x":1795576324000,"y":-4.5},{"x":1795576388000,"y":-4.4},{"x":1795576452000,"y":-4.3},{"x":1795576516000,"y":-4.3},{"x":1795576580000,"y":-4.2},{"x":1795576644000,"y":-4.2},{"x":1795576708000,"y":-4.1},{"x":1795576772000,"y":-4.1},{"x":1795576837000,"y":-4.1},{"x":1795576900000,"y":-4},{"x":1795576964000,"y":-4},{"x":1795577028000,"y":-4},{"x":1795577092000,"y":-3.9},{"x":1795577156000,"y":-3.9},{"x":1795577220000,"y":-3.9},{"x":1795577284000,"y":-3.8},{"x":1795577348000,"y":-3.8},{"x":1795577412000,"y":-3.8},{"x":1795577476000,"y":-3.7},{"x":1795577554000,"y":-3.7},{"x":1795577620000,"y":-3.6},{"x":1795577684000,"y":-3.6},{"x":1795577748000,"y":-3.6},{"x":1795577812000,"y":-3.6},{"x":1795577876000,"y":-3.5},{"x":1795577940000,"y":-3.5},{"x":1795578004000,"y":-3.5},{"x":1795578068000,"y":-3.4},{"x":1795578132000,"y":-3.4},{"x":1795578196000,"y":-3.4},{"x":1795578260000,"y":-3.4},{"x":1795578324000,"y":-3.3},{"x":1795578388000,"y":-3.3},{"x":1795578452000,"y":-3.3},{"x":1795578515000,"y":-3.3},{"x":1795578580000,"y":-3.2},{"x":1795578644000,"y":-3.2},{"x":1795578709000,"y":-3.1},{"x":1795578772000,"y":-3.1},{"x":1795578836000,"y":-3.1},{"x":1795578900000,"y":-3.1},{"x":1795578964000,"y":-3},{"x":1795579028000,"y":-3},{"x":1795579092000,"y":-3},{"x":1795579156000,"y":-3},{"x":1795579220000,"y":-3},{"x":1795579284000,"y":-2.9},{"x":1795579348000,"y":-2.9},{"x":1795579412000,"y":-2.9},{"x":1795579475000,"y":-2.9},{"x":1795579540000,"y":-2.9}],"highlightExtremes":true,"unit":" °C"},{"label":"Rosný bod (°C)","color":"#5b9f4a","points":[{"x":1795561203000,"y":-5.7},{"x":1795561267000,"y":-5.8},{"x":1795561331000,"y":-5.8},{"x":1795561395000,"y":-5.7},{"x":1795561459000,"y":-5.6},{"x":1795561523000,"y":-5.6},{"x":1795561587000,"y":-5.6},{"x":1795561701000,"y":-5.4},{"x":1795561764000,"y":-5.4},{"x":1795561828000,"y":-5.3},{"x":1795561892000,"y":-5.3},{"x":1795561955000,"y":-5},{"x":1795562020000,"y":-4.9},{"x":1795562084000,"y":-4.8},{"x":1795562148000,"y":-4.8},{"x":1795562212000,"y":-4.8},{"x":1795562276000,"y":-4.9},{"x":1795562340000,"y":-4.9},{"x":1795562404000,"y":-5},{"x":1795562468000,"y":-5},{"x":1795562532000,"y":-4.9},{"x":1795562596000,"y":-4.9},{"x":1795562660000,"y":-5},{"x":1795562733000,"y":-5.1},{"x":1795562804000,"y":-5.1},{"x":1795562868000,"y":-5.1},{"x":1795562932000,"y":-5.1},{"x":1795562996000,"y":-5.1},{"x":1795563060000,"y":-5.2},{"x":1795563124000,"y":-5.3},{"x":1795563188000,"y":-5.4},{"x":1795563252000,"y":-5.4},{"x":1795563316000,"y":-5.5},{"x":1795563380000,"y":-5.4},{"x":1795563444000,"y":-5.5},{"x":1795563508000,"y":-5.5},{"x":1795563572000,"y":-5.6},{"x":1795563633000,"y":-5.6},{"x":1795563700000,"y":-5.4},{"x":1795563764000,"y":-5.2},{"x":1795563828000,"y":-5.1},{"x":1795563892000,"y":-5.1},{"x":1795563956000,"y":-5.1},{"x":1795564020000,"y":-5},{"x":1795564084000,"y":-5},{"x":1795564148000,"y":-5},{"x":1795564228000,"y":-5},{"x":1795564292000,"y":-5.1},{"x":1795564354000,"y":-5.2},{"x":1795564420000,"y":-5.3},{"x":1795564484000,"y":-5.4},{"x":1795564548000,"y":-5.5},{"x":1795564612000,"y":-5.6},{"x":1795564676000,"y":-5.7},{"x":1795564740000,"y":-5.7},{"x":1795564804000,"y":-5.8},{"x":1795564868000,"y":-5.7},{"x":1795564932000,"y":-5.3},{"x":1795564996000,"y":-5.1},{"x":1795565060000,"y":-5.1},{"x":1795565124000,"y":-5.1},{"x":1795565188000,"y":-5.2},{"x":1795565252000,"y":-5.2},{"x":1795565314000,"y":-5.2},{"x":1795565381000,"y":-5.1},{"x":1795565444000,"y":-5.2},{"x":1795565508000,"y":-5.2},{"x":1795565572000,"y":-5.2},{"x":1795565636000,"y":-5.1},{"x":1795565700000,"y":-5.1},{"x":1795565764000,"y":-5.2},{"x":1795565828000,"y":-5.2},{"x":1795565892000,"y":-5.2},{"x":1795565956000,"y":-5.3},{"x":1795566020000,"y":-5.3},{"x":1795566084000,"y":-5.2},{"x":1795566148000,"y":-5.2},{"x":1795566212000,"y":-5.2},{"x":1795566274000,"y":-5.3},{"x":1795566340000,"y":-5.4},{"x":1795566404000,"y":-5.4},{"x":1795566468000,"y":-5.4},{"x":1795566532000,"y":-5.4},{"x":1795566596000,"y":-5.3},{"x":1795566660000,"y":-5.2},{"x":1795566724000,"y":-5.2},{"x":1795566788000,"y":-5.3},{"x":1795566853000,"y":-5.4},{"x":1795566916000,"y":-5.5},{"x":1795566980000,"y":-5.6},{"x":1795567044000,"y":-5.4},{"x":1795567108000,"y":-5.4},{"x":1795567172000,"y":-5.4},{"x":1795567237000,"y":-5.3},{"x":1795567300000,"y":-5.3},{"x":1795567364000,"y":-5.3},{"x":1795567428000,"y":-5.4},{"x":1795567492000,"y":-5.4},{"x":1795567556000,"y":-5.3},{"x":1795567620000,"y":-5.3},{"x":1795567684000,"y":-5.3},{"x":1795567748000,"y":-5.3},{"x":1795567812000,"y":-5.3},{"x":1795567876000,"y":-5.3},{"x":1795567940000,"y":-5.4},{"x":1795568004000,"y":-5.5},{"x":1795568068000,"y":-5.5},{"x":1795568132000,"y":-5.5},{"x":1795568194000,"y":-5.6},{"x":1795568260000,"y":-5.6},{"x":1795568324000,"y":-5.7},{"x":1795568388000,"y":-5.7},{"x":1795568452000,"y":-5.7},{"x":1795568516000,"y":-5.6},{"x":1795568580000,"y":-5.5},{"x":1795568644000,"y":-5.5},{"x":1795568708000,"y":-5.6},{"x":1795568788000,"y":-5.6},{"x":1795568853000,"y":-5.6},{"x":1795568916000,"y":-5.6},{"x":1795568980000,"y":-5.6},{"x":1795569044000,"y":-5.5},{"x":1795569108000,"y":-5.5},{"x":1795569172000,"y":-5.6},{"x":1795569236000,"y":-5.7},{"x":1795569300000,"y":-5.7},{"x":1795569364000,"y":-5.7},{"x":1795569428000,"y":-5.7},{"x":1795569492000,"y":-5.8},{"x":1795569556000,"y":-5.8},{"x":1795569634000,"y":-5.8},{"x":1795569700000,"y":-5.8},{"x":1795569764000,"y":-5.7},{"x":1795569828000,"y":-5.8},{"x":1795569892000,"y":-5.8},{"x":1795569956000,"y":-5.8},{"x":1795570020000,"y":-5.7},{"x":1795570084000,"y":-5.8},{"x":1795570148000,"y":-5.8},{"x":1795570212000,"y":-5.8},{"x":1795570276000,"y":-5.8},{"x":1795570340000,"y":-5.8},{"x":1795570404000,"y":-5.8},{"x":1795570468000,"y":-5.8},{"x":1795570532000,"y":-5.7},{"x":1795570595000,"y":-5.7},{"x":1795570660000,"y":-5.7},{"x":1795570740000,"y":-5.7},{"x":1795570804000,"y":-5.7},{"x":1795570868000,"y":-5.7},{"x":1795570932000,"y":-5.7},{"x":1795570996000,"y":-5.7},{"x":1795571060000,"y":-5.7},{"x":1795571124000,"y":-5.6},{"x":1795571188000,"y":-5.6},{"x":1795571252000,"y":-5.6},{"x":1795571313000,"y":-5.6},{"x":1795571380000,"y":-5.6},{"x":1795571444000,"y":-5.6},{"x":1795571508000,"y":-5.7},{"x":1795571588000,"y":-5.8},{"x":1795571652000,"y":-5.8},{"x":1795571716000,"y":-5.8},{"x":1795571780000,"y":-5.8},{"x":1795571845000,"y":-5.7},{"x":1795571908000,"y":-5.7},{"x":1795571972000,"y":-5.7},{"x":1795572034000,"y":-5.7},{"x":1795572100000,"y":-5.8},{"x":1795572164000,"y":-5.8},{"x":1795572228000,"y":-5.8},{"x":1795572292000,"y":-5.7},{"x":1795572356000,"y":-5.7},{"x":1795572420000,"y":-5.7},{"x":1795572484000,"y":-5.7},{"x":1795572548000,"y":-5.7},{"x":1795572612000,"y":-5.8},{"x":1795572676000,"y":-5.8},{"x":1795572740000,"y":-5.8},{"x":1795572805000,"y":-5.8},{"x":1795572868000,"y":-5.8},{"x":1795572932000,"y":-5.8},{"x":1795572994000,"y":-5.8},{"x":1795573060000,"y":-5.7},{"x":1795573124000,"y":-5.7},{"x":1795573188000,"y":-5.7},{"x":1795573252000,"y":-5.8},{"x":1795573316000,"y":-5.8},{"x":1795573380000,"y":-5.8},{"x":1795573444000,"y":-5.8},{"x":1795573508000,"y":-5.8},{"x":1795573572000,"y":-5.8},{"x":1795573636000,"y":-5.8},{"x":1795573701000,"y":-5.8},{"x":1795573764000,"y":-5.9},{"x":1795573828000,"y":-5.9},{"x":1795573892000,"y":-5.8},{"x":1795573954000,"y":-5.7},{"x":1795574020000,"y":-5.6},{"x":1795574084000,"y":-5.6},{"x":1795574148000,"y":-5.6},{"x":1795574212000,"y":-5.6},{"x":1795574276000,"y":-5.6},{"x":1795574341000,"y":-5.6},{"x":1795574404000,"y":-5.5},{"x":1795574468000,"y":-5.5},{"x":1795574532000,"y":-5.5},{"x":1795574596000,"y":-5.5},{"x":1795574660000,"y":-5.5},{"x":1795574724000,"y":-5.5},{"x":1795574788000,"y":-5.5},{"x":1795574852000,"y":-5.5},{"x":1795574914000,"y":-5.5},{"x":1795574980000,"y":-5.5},{"x":1795575044000,"y":-5.6},{"x":1795575108000,"y":-5.6},{"x":1795575172000,"y":-5.6},{"x":1795575236000,"y":-5.6},{"x":1795575300000,"y":-5.6},{"x":1795575364000,"y":-5.6},{"x":1795575428000,"y":-5.6},{"x":1795575492000,"y":-5.6},{"x":1795575556000,"y":-5.6},{"x":1795575620000,"y":-5.6},{"x":1795575684000,"y":-5.5},{"x":1795575748000,"y":-5.5},{"x":1795575812000,"y":-5.5},{"x":1795575874000,"y":-5.5},{"x":1795575940000,"y":-5.5},{"x":1795576004000,"y":-5.5},{"x":1795576068000,"y":-5.5},{"x":1795576132000,"y":-5.4},{"x":1795576196000,"y":-5.4},{"x":1795576260000,"y":-5.3},{"x":1795576324000,"y":-5.3},{"x":1795576388000,"y":-5.2},{"x":1795576452000,"y":-5.1},{"x":1795576516000,"y":-5.1},{"x":1795576580000,"y":-5},{"x":1795576644000,"y":-5},{"x":1795576708000,"y":-4.9},{"x":1795576772000,"y":-4.9},{"x":1795576837000,"y":-4.9},{"x":1795576900000,"y":-4.8},{"x":1795576964000,"y":-4.8},{"x":1795577028000,"y":-4.8},{"x":1795577092000,"y":-4.7},{"x":1795577156000,"y":-4.7},{"x":1795577220000,"y":-4.9},{"x":1795577284000,"y":-4.8},{"x":1795577348000,"y":-4.8},{"x":1795577412000,"y":-4.8},{"x":1795577476000,"y":-4.7},{"x":1795577554000,"y":-4.7},{"x":1795577620000,"y":-4.6},{"x":1795577684000,"y":-4.6},{"x":1795577748000,"y":-4.6},{"x":1795577812000,"y":-4.6},{"x":1795577876000,"y":-4.5},{"x":1795577940000,"y":-4.5},{"x":1795578004000,"y":-4.5},{"x":1795578068000,"y":-4.4},{"x":1795578132000,"y":-4.4},{"x":1795578196000,"y":-4.4},{"x":1795578260000,"y":-4.4},{"x":1795578324000,"y":-4.3},{"x":1795578388000,"y":-4.3},{"x":1795578452000,"y":-4.3},{"x":1795578515000,"y":-4.3},{"x":1795578580000,"y":-4.2},{"x":1795578644000,"y":-4.3},{"x":1795578709000,"y":-4.2},{"x":1795578772000,"y":-4.2},{"x":1795578836000,"y":-4.2},{"x":1795578900000,"y":-4.2},{"x":1795578964000,"y":-4.1},{"x":1795579028000,"y":-4.1},{"x":1795579092000,"y":-4.1},{"x":1795579156000,"y":-4.1},{"x":1795579220000,"y":-4.1},{"x":1795579284000,"y":-4},{"x":1795579348000,"y":-4},{"x":1795579412000,"y":-4},{"x":1795579475000,"y":-4},{"x":1795579540000,"y":-4}],"highlightExtremes":false,"unit":" °C"}], {"yLabel":"\u00b0C"}); }); $(document).ready(function() { buildMeteoChart('chart-humidity-canvas', 'chart-humidity-reset', [{"label":"Vlhkosť (%)","color":"#ff9000","points":[{"x":1795561203000,"y":92},{"x":1795561267000,"y":92},{"x":1795561331000,"y":92},{"x":1795561395000,"y":92},{"x":1795561459000,"y":92},{"x":1795561523000,"y":92},{"x":1795561587000,"y":92},{"x":1795561701000,"y":92},{"x":1795561764000,"y":92},{"x":1795561828000,"y":93},{"x":1795561892000,"y":93},{"x":1795561955000,"y":93},{"x":1795562020000,"y":93},{"x":1795562084000,"y":93},{"x":1795562148000,"y":93},{"x":1795562212000,"y":93},{"x":1795562276000,"y":93},{"x":1795562340000,"y":93},{"x":1795562404000,"y":93},{"x":1795562468000,"y":93},{"x":1795562532000,"y":93},{"x":1795562596000,"y":93},{"x":1795562660000,"y":93},{"x":1795562733000,"y":92},{"x":1795562804000,"y":93},{"x":1795562868000,"y":93},{"x":1795562932000,"y":93},{"x":1795562996000,"y":93},{"x":1795563060000,"y":93},{"x":1795563124000,"y":92},{"x":1795563188000,"y":92},{"x":1795563252000,"y":92},{"x":1795563316000,"y":92},{"x":1795563380000,"y":93},{"x":1795563444000,"y":93},{"x":1795563508000,"y":93},{"x":1795563572000,"y":93},{"x":1795563633000,"y":93},{"x":1795563700000,"y":93},{"x":1795563764000,"y":93},{"x":1795563828000,"y":93},{"x":1795563892000,"y":93},{"x":1795563956000,"y":93},{"x":1795564020000,"y":93},{"x":1795564084000,"y":93},{"x":1795564148000,"y":93},{"x":1795564228000,"y":93},{"x":1795564292000,"y":93},{"x":1795564354000,"y":93},{"x":1795564420000,"y":93},{"x":1795564484000,"y":93},{"x":1795564548000,"y":93},{"x":1795564612000,"y":93},{"x":1795564676000,"y":93},{"x":1795564740000,"y":93},{"x":1795564804000,"y":93},{"x":1795564868000,"y":93},{"x":1795564932000,"y":93},{"x":1795564996000,"y":93},{"x":1795565060000,"y":93},{"x":1795565124000,"y":93},{"x":1795565188000,"y":93},{"x":1795565252000,"y":93},{"x":1795565314000,"y":93},{"x":1795565381000,"y":93},{"x":1795565444000,"y":93},{"x":1795565508000,"y":93},{"x":1795565572000,"y":93},{"x":1795565636000,"y":93},{"x":1795565700000,"y":93},{"x":1795565764000,"y":93},{"x":1795565828000,"y":93},{"x":1795565892000,"y":93},{"x":1795565956000,"y":93},{"x":1795566020000,"y":93},{"x":1795566084000,"y":93},{"x":1795566148000,"y":93},{"x":1795566212000,"y":93},{"x":1795566274000,"y":93},{"x":1795566340000,"y":93},{"x":1795566404000,"y":93},{"x":1795566468000,"y":93},{"x":1795566532000,"y":93},{"x":1795566596000,"y":93},{"x":1795566660000,"y":93},{"x":1795566724000,"y":93},{"x":1795566788000,"y":93},{"x":1795566853000,"y":93},{"x":1795566916000,"y":93},{"x":1795566980000,"y":93},{"x":1795567044000,"y":94},{"x":1795567108000,"y":94},{"x":1795567172000,"y":94},{"x":1795567237000,"y":94},{"x":1795567300000,"y":94},{"x":1795567364000,"y":94},{"x":1795567428000,"y":94},{"x":1795567492000,"y":94},{"x":1795567556000,"y":94},{"x":1795567620000,"y":94},{"x":1795567684000,"y":94},{"x":1795567748000,"y":94},{"x":1795567812000,"y":94},{"x":1795567876000,"y":94},{"x":1795567940000,"y":94},{"x":1795568004000,"y":94},{"x":1795568068000,"y":94},{"x":1795568132000,"y":94},{"x":1795568194000,"y":94},{"x":1795568260000,"y":94},{"x":1795568324000,"y":94},{"x":1795568388000,"y":94},{"x":1795568452000,"y":94},{"x":1795568516000,"y":94},{"x":1795568580000,"y":94},{"x":1795568644000,"y":94},{"x":1795568708000,"y":94},{"x":1795568788000,"y":94},{"x":1795568853000,"y":94},{"x":1795568916000,"y":94},{"x":1795568980000,"y":94},{"x":1795569044000,"y":94},{"x":1795569108000,"y":94},{"x":1795569172000,"y":94},{"x":1795569236000,"y":94},{"x":1795569300000,"y":94},{"x":1795569364000,"y":94},{"x":1795569428000,"y":94},{"x":1795569492000,"y":94},{"x":1795569556000,"y":94},{"x":1795569634000,"y":94},{"x":1795569700000,"y":94},{"x":1795569764000,"y":94},{"x":1795569828000,"y":94},{"x":1795569892000,"y":94},{"x":1795569956000,"y":94},{"x":1795570020000,"y":95},{"x":1795570084000,"y":94},{"x":1795570148000,"y":94},{"x":1795570212000,"y":94},{"x":1795570276000,"y":94},{"x":1795570340000,"y":95},{"x":1795570404000,"y":95},{"x":1795570468000,"y":95},{"x":1795570532000,"y":95},{"x":1795570595000,"y":95},{"x":1795570660000,"y":95},{"x":1795570740000,"y":95},{"x":1795570804000,"y":95},{"x":1795570868000,"y":95},{"x":1795570932000,"y":95},{"x":1795570996000,"y":95},{"x":1795571060000,"y":95},{"x":1795571124000,"y":95},{"x":1795571188000,"y":95},{"x":1795571252000,"y":95},{"x":1795571313000,"y":95},{"x":1795571380000,"y":95},{"x":1795571444000,"y":95},{"x":1795571508000,"y":95},{"x":1795571588000,"y":95},{"x":1795571652000,"y":95},{"x":1795571716000,"y":95},{"x":1795571780000,"y":95},{"x":1795571845000,"y":95},{"x":1795571908000,"y":95},{"x":1795571972000,"y":95},{"x":1795572034000,"y":95},{"x":1795572100000,"y":95},{"x":1795572164000,"y":95},{"x":1795572228000,"y":95},{"x":1795572292000,"y":95},{"x":1795572356000,"y":95},{"x":1795572420000,"y":95},{"x":1795572484000,"y":95},{"x":1795572548000,"y":95},{"x":1795572612000,"y":95},{"x":1795572676000,"y":95},{"x":1795572740000,"y":95},{"x":1795572805000,"y":95},{"x":1795572868000,"y":95},{"x":1795572932000,"y":95},{"x":1795572994000,"y":95},{"x":1795573060000,"y":95},{"x":1795573124000,"y":95},{"x":1795573188000,"y":95},{"x":1795573252000,"y":95},{"x":1795573316000,"y":95},{"x":1795573380000,"y":95},{"x":1795573444000,"y":95},{"x":1795573508000,"y":95},{"x":1795573572000,"y":95},{"x":1795573636000,"y":95},{"x":1795573701000,"y":95},{"x":1795573764000,"y":95},{"x":1795573828000,"y":95},{"x":1795573892000,"y":95},{"x":1795573954000,"y":95},{"x":1795574020000,"y":95},{"x":1795574084000,"y":95},{"x":1795574148000,"y":95},{"x":1795574212000,"y":95},{"x":1795574276000,"y":95},{"x":1795574341000,"y":95},{"x":1795574404000,"y":95},{"x":1795574468000,"y":95},{"x":1795574532000,"y":95},{"x":1795574596000,"y":95},{"x":1795574660000,"y":95},{"x":1795574724000,"y":95},{"x":1795574788000,"y":95},{"x":1795574852000,"y":95},{"x":1795574914000,"y":95},{"x":1795574980000,"y":95},{"x":1795575044000,"y":94},{"x":1795575108000,"y":94},{"x":1795575172000,"y":94},{"x":1795575236000,"y":94},{"x":1795575300000,"y":94},{"x":1795575364000,"y":94},{"x":1795575428000,"y":94},{"x":1795575492000,"y":94},{"x":1795575556000,"y":94},{"x":1795575620000,"y":94},{"x":1795575684000,"y":94},{"x":1795575748000,"y":94},{"x":1795575812000,"y":94},{"x":1795575874000,"y":94},{"x":1795575940000,"y":94},{"x":1795576004000,"y":94},{"x":1795576068000,"y":94},{"x":1795576132000,"y":94},{"x":1795576196000,"y":94},{"x":1795576260000,"y":94},{"x":1795576324000,"y":94},{"x":1795576388000,"y":94},{"x":1795576452000,"y":94},{"x":1795576516000,"y":94},{"x":1795576580000,"y":94},{"x":1795576644000,"y":94},{"x":1795576708000,"y":94},{"x":1795576772000,"y":94},{"x":1795576837000,"y":94},{"x":1795576900000,"y":94},{"x":1795576964000,"y":94},{"x":1795577028000,"y":94},{"x":1795577092000,"y":94},{"x":1795577156000,"y":94},{"x":1795577220000,"y":93},{"x":1795577284000,"y":93},{"x":1795577348000,"y":93},{"x":1795577412000,"y":93},{"x":1795577476000,"y":93},{"x":1795577554000,"y":93},{"x":1795577620000,"y":93},{"x":1795577684000,"y":93},{"x":1795577748000,"y":93},{"x":1795577812000,"y":93},{"x":1795577876000,"y":93},{"x":1795577940000,"y":93},{"x":1795578004000,"y":93},{"x":1795578068000,"y":93},{"x":1795578132000,"y":93},{"x":1795578196000,"y":93},{"x":1795578260000,"y":93},{"x":1795578324000,"y":93},{"x":1795578388000,"y":93},{"x":1795578452000,"y":93},{"x":1795578515000,"y":93},{"x":1795578580000,"y":93},{"x":1795578644000,"y":92},{"x":1795578709000,"y":92},{"x":1795578772000,"y":92},{"x":1795578836000,"y":92},{"x":1795578900000,"y":92},{"x":1795578964000,"y":92},{"x":1795579028000,"y":92},{"x":1795579092000,"y":92},{"x":1795579156000,"y":92},{"x":1795579220000,"y":92},{"x":1795579284000,"y":92},{"x":1795579348000,"y":92},{"x":1795579412000,"y":92},{"x":1795579475000,"y":92},{"x":1795579540000,"y":92}],"highlightExtremes":true,"unit":" %"}], {"yLabel":"%"}); }); $(document).ready(function() { buildMeteoChart('chart-pressure-canvas', 'chart-pressure-reset', [{"label":"Atmosférický tlak (hPa)","color":"#000000","points":[{"x":1795561203000,"y":1029},{"x":1795561267000,"y":1029},{"x":1795561331000,"y":1028.9},{"x":1795561395000,"y":1029},{"x":1795561459000,"y":1029},{"x":1795561523000,"y":1028.9},{"x":1795561587000,"y":1028.9},{"x":1795561701000,"y":1028.7},{"x":1795561764000,"y":1028.6},{"x":1795561828000,"y":1028.6},{"x":1795561892000,"y":1028.5},{"x":1795561955000,"y":1028.7},{"x":1795562020000,"y":1028.5},{"x":1795562084000,"y":1028.6},{"x":1795562148000,"y":1028.7},{"x":1795562212000,"y":1028.7},{"x":1795562276000,"y":1028.5},{"x":1795562340000,"y":1028.7},{"x":1795562404000,"y":1028.6},{"x":1795562468000,"y":1028.6},{"x":1795562532000,"y":1028.5},{"x":1795562596000,"y":1028.7},{"x":1795562660000,"y":1028.5},{"x":1795562733000,"y":1028.5},{"x":1795562804000,"y":1028.4},{"x":1795562868000,"y":1028.6},{"x":1795562932000,"y":1028.4},{"x":1795562996000,"y":1028.6},{"x":1795563060000,"y":1028.4},{"x":1795563124000,"y":1028.6},{"x":1795563188000,"y":1028.7},{"x":1795563252000,"y":1028.5},{"x":1795563316000,"y":1028.7},{"x":1795563380000,"y":1028.9},{"x":1795563444000,"y":1028.5},{"x":1795563508000,"y":1028.7},{"x":1795563572000,"y":1028.6},{"x":1795563633000,"y":1028.5},{"x":1795563700000,"y":1028.6},{"x":1795563764000,"y":1028.4},{"x":1795563828000,"y":1028.5},{"x":1795563892000,"y":1028.4},{"x":1795563956000,"y":1028.5},{"x":1795564020000,"y":1028.3},{"x":1795564084000,"y":1028.5},{"x":1795564148000,"y":1028.4},{"x":1795564228000,"y":1028.5},{"x":1795564292000,"y":1028.5},{"x":1795564354000,"y":1028.3},{"x":1795564420000,"y":1028.4},{"x":1795564484000,"y":1028.3},{"x":1795564548000,"y":1028.5},{"x":1795564612000,"y":1028.4},{"x":1795564676000,"y":1028.4},{"x":1795564740000,"y":1028.4},{"x":1795564804000,"y":1028.3},{"x":1795564868000,"y":1028.6},{"x":1795564932000,"y":1028.5},{"x":1795564996000,"y":1028.4},{"x":1795565060000,"y":1028.3},{"x":1795565124000,"y":1028.1},{"x":1795565188000,"y":1028.2},{"x":1795565252000,"y":1028.3},{"x":1795565314000,"y":1028.3},{"x":1795565381000,"y":1028.4},{"x":1795565444000,"y":1028.2},{"x":1795565508000,"y":1028.1},{"x":1795565572000,"y":1028.3},{"x":1795565636000,"y":1028.3},{"x":1795565700000,"y":1028.3},{"x":1795565764000,"y":1028.1},{"x":1795565828000,"y":1028.2},{"x":1795565892000,"y":1028.2},{"x":1795565956000,"y":1028.1},{"x":1795566020000,"y":1028.3},{"x":1795566084000,"y":1028.3},{"x":1795566148000,"y":1028.2},{"x":1795566212000,"y":1027.9},{"x":1795566274000,"y":1028},{"x":1795566340000,"y":1028.2},{"x":1795566404000,"y":1028.2},{"x":1795566468000,"y":1028.2},{"x":1795566532000,"y":1028.3},{"x":1795566596000,"y":1028.1},{"x":1795566660000,"y":1028.3},{"x":1795566724000,"y":1028.1},{"x":1795566788000,"y":1028.3},{"x":1795566853000,"y":1028.1},{"x":1795566916000,"y":1028.2},{"x":1795566980000,"y":1028.4},{"x":1795567044000,"y":1028.1},{"x":1795567108000,"y":1028.3},{"x":1795567172000,"y":1028.4},{"x":1795567237000,"y":1028},{"x":1795567300000,"y":1028.2},{"x":1795567364000,"y":1028.3},{"x":1795567428000,"y":1028.1},{"x":1795567492000,"y":1028.2},{"x":1795567556000,"y":1028},{"x":1795567620000,"y":1028},{"x":1795567684000,"y":1028.2},{"x":1795567748000,"y":1027.9},{"x":1795567812000,"y":1027.9},{"x":1795567876000,"y":1028.2},{"x":1795567940000,"y":1028.1},{"x":1795568004000,"y":1027.9},{"x":1795568068000,"y":1028.1},{"x":1795568132000,"y":1028.1},{"x":1795568194000,"y":1028.2},{"x":1795568260000,"y":1027.9},{"x":1795568324000,"y":1027.9},{"x":1795568388000,"y":1027.9},{"x":1795568452000,"y":1027.8},{"x":1795568516000,"y":1028},{"x":1795568580000,"y":1028},{"x":1795568644000,"y":1028},{"x":1795568708000,"y":1027.8},{"x":1795568788000,"y":1028},{"x":1795568853000,"y":1027.8},{"x":1795568916000,"y":1027.7},{"x":1795568980000,"y":1027.8},{"x":1795569044000,"y":1027.6},{"x":1795569108000,"y":1027.8},{"x":1795569172000,"y":1027.7},{"x":1795569236000,"y":1027.7},{"x":1795569300000,"y":1027.5},{"x":1795569364000,"y":1027.6},{"x":1795569428000,"y":1027.6},{"x":1795569492000,"y":1027.5},{"x":1795569556000,"y":1027.4},{"x":1795569634000,"y":1027.6},{"x":1795569700000,"y":1027.4},{"x":1795569764000,"y":1027.5},{"x":1795569828000,"y":1027.4},{"x":1795569892000,"y":1027.6},{"x":1795569956000,"y":1027.4},{"x":1795570020000,"y":1027.4},{"x":1795570084000,"y":1027.4},{"x":1795570148000,"y":1027.4},{"x":1795570212000,"y":1027.2},{"x":1795570276000,"y":1027.2},{"x":1795570340000,"y":1027.3},{"x":1795570404000,"y":1027.4},{"x":1795570468000,"y":1027.3},{"x":1795570532000,"y":1027.4},{"x":1795570595000,"y":1027.4},{"x":1795570660000,"y":1027.1},{"x":1795570740000,"y":1027.4},{"x":1795570804000,"y":1027.1},{"x":1795570868000,"y":1027.4},{"x":1795570932000,"y":1027.5},{"x":1795570996000,"y":1027.4},{"x":1795571060000,"y":1027.3},{"x":1795571124000,"y":1027.4},{"x":1795571188000,"y":1027.3},{"x":1795571252000,"y":1027.3},{"x":1795571313000,"y":1027.4},{"x":1795571380000,"y":1027.4},{"x":1795571444000,"y":1027.1},{"x":1795571508000,"y":1027.3},{"x":1795571588000,"y":1027.2},{"x":1795571652000,"y":1027.3},{"x":1795571716000,"y":1027.3},{"x":1795571780000,"y":1027.3},{"x":1795571845000,"y":1027.2},{"x":1795571908000,"y":1027.4},{"x":1795571972000,"y":1027.1},{"x":1795572034000,"y":1027.2},{"x":1795572100000,"y":1027.2},{"x":1795572164000,"y":1027.2},{"x":1795572228000,"y":1027.2},{"x":1795572292000,"y":1027},{"x":1795572356000,"y":1027.1},{"x":1795572420000,"y":1027.3},{"x":1795572484000,"y":1027.3},{"x":1795572548000,"y":1027.1},{"x":1795572612000,"y":1027.1},{"x":1795572676000,"y":1027.2},{"x":1795572740000,"y":1027.1},{"x":1795572805000,"y":1027.1},{"x":1795572868000,"y":1027.1},{"x":1795572932000,"y":1027.2},{"x":1795572994000,"y":1027.1},{"x":1795573060000,"y":1026.9},{"x":1795573124000,"y":1026.9},{"x":1795573188000,"y":1027},{"x":1795573252000,"y":1026.9},{"x":1795573316000,"y":1027.1},{"x":1795573380000,"y":1026.9},{"x":1795573444000,"y":1026.8},{"x":1795573508000,"y":1027},{"x":1795573572000,"y":1026.9},{"x":1795573636000,"y":1027.1},{"x":1795573701000,"y":1027},{"x":1795573764000,"y":1027},{"x":1795573828000,"y":1027},{"x":1795573892000,"y":1027},{"x":1795573954000,"y":1026.7},{"x":1795574020000,"y":1026.9},{"x":1795574084000,"y":1026.9},{"x":1795574148000,"y":1026.7},{"x":1795574212000,"y":1026.8},{"x":1795574276000,"y":1026.8},{"x":1795574341000,"y":1027.1},{"x":1795574404000,"y":1026.7},{"x":1795574468000,"y":1027},{"x":1795574532000,"y":1027.1},{"x":1795574596000,"y":1026.7},{"x":1795574660000,"y":1026.6},{"x":1795574724000,"y":1026.7},{"x":1795574788000,"y":1026.8},{"x":1795574852000,"y":1026.7},{"x":1795574914000,"y":1026.5},{"x":1795574980000,"y":1026.5},{"x":1795575044000,"y":1026.5},{"x":1795575108000,"y":1026.5},{"x":1795575172000,"y":1026.4},{"x":1795575236000,"y":1026.5},{"x":1795575300000,"y":1026.4},{"x":1795575364000,"y":1026.5},{"x":1795575428000,"y":1026.4},{"x":1795575492000,"y":1026.3},{"x":1795575556000,"y":1026.5},{"x":1795575620000,"y":1026.3},{"x":1795575684000,"y":1026.4},{"x":1795575748000,"y":1026.5},{"x":1795575812000,"y":1026.4},{"x":1795575874000,"y":1026.5},{"x":1795575940000,"y":1026.4},{"x":1795576004000,"y":1026.3},{"x":1795576068000,"y":1026.4},{"x":1795576132000,"y":1026.4},{"x":1795576196000,"y":1026.3},{"x":1795576260000,"y":1026.2},{"x":1795576324000,"y":1026.2},{"x":1795576388000,"y":1026.3},{"x":1795576452000,"y":1026.1},{"x":1795576516000,"y":1026.1},{"x":1795576580000,"y":1026.1},{"x":1795576644000,"y":1026.2},{"x":1795576708000,"y":1026.2},{"x":1795576772000,"y":1026.2},{"x":1795576837000,"y":1026.3},{"x":1795576900000,"y":1026.1},{"x":1795576964000,"y":1026.1},{"x":1795577028000,"y":1026.1},{"x":1795577092000,"y":1026},{"x":1795577156000,"y":1026},{"x":1795577220000,"y":1026},{"x":1795577284000,"y":1025.8},{"x":1795577348000,"y":1025.9},{"x":1795577412000,"y":1026},{"x":1795577476000,"y":1026.2},{"x":1795577554000,"y":1026.2},{"x":1795577620000,"y":1026.3},{"x":1795577684000,"y":1026.1},{"x":1795577748000,"y":1025.9},{"x":1795577812000,"y":1025.9},{"x":1795577876000,"y":1026.3},{"x":1795577940000,"y":1026},{"x":1795578004000,"y":1026},{"x":1795578068000,"y":1026.1},{"x":1795578132000,"y":1025.9},{"x":1795578196000,"y":1026.1},{"x":1795578260000,"y":1026.1},{"x":1795578324000,"y":1025.7},{"x":1795578388000,"y":1025.8},{"x":1795578452000,"y":1025.8},{"x":1795578515000,"y":1026.1},{"x":1795578580000,"y":1025.9},{"x":1795578644000,"y":1025.8},{"x":1795578709000,"y":1025.9},{"x":1795578772000,"y":1025.9},{"x":1795578836000,"y":1025.8},{"x":1795578900000,"y":1025.8},{"x":1795578964000,"y":1025.7},{"x":1795579028000,"y":1025.7},{"x":1795579092000,"y":1025.7},{"x":1795579156000,"y":1025.8},{"x":1795579220000,"y":1025.8},{"x":1795579284000,"y":1025.7},{"x":1795579348000,"y":1025.7},{"x":1795579412000,"y":1025.8},{"x":1795579475000,"y":1025.8},{"x":1795579540000,"y":1025.8}],"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":1795561203000,"y":0},{"x":1795561267000,"y":0},{"x":1795561331000,"y":0},{"x":1795561395000,"y":0},{"x":1795561459000,"y":0},{"x":1795561523000,"y":0},{"x":1795561587000,"y":0},{"x":1795561701000,"y":0},{"x":1795561764000,"y":0},{"x":1795561828000,"y":0},{"x":1795561892000,"y":0},{"x":1795561955000,"y":0},{"x":1795562020000,"y":0},{"x":1795562084000,"y":0},{"x":1795562148000,"y":0},{"x":1795562212000,"y":0},{"x":1795562276000,"y":0},{"x":1795562340000,"y":0},{"x":1795562404000,"y":0},{"x":1795562468000,"y":0},{"x":1795562532000,"y":0},{"x":1795562596000,"y":0},{"x":1795562660000,"y":0},{"x":1795562733000,"y":0},{"x":1795562804000,"y":0},{"x":1795562868000,"y":0},{"x":1795562932000,"y":0},{"x":1795562996000,"y":0},{"x":1795563060000,"y":0},{"x":1795563124000,"y":0},{"x":1795563188000,"y":0},{"x":1795563252000,"y":0},{"x":1795563316000,"y":0},{"x":1795563380000,"y":0},{"x":1795563444000,"y":0},{"x":1795563508000,"y":0},{"x":1795563572000,"y":0},{"x":1795563633000,"y":0},{"x":1795563700000,"y":0},{"x":1795563764000,"y":0},{"x":1795563828000,"y":0},{"x":1795563892000,"y":0},{"x":1795563956000,"y":0},{"x":1795564020000,"y":0},{"x":1795564084000,"y":0},{"x":1795564148000,"y":0},{"x":1795564228000,"y":0},{"x":1795564292000,"y":0},{"x":1795564354000,"y":0},{"x":1795564420000,"y":0},{"x":1795564484000,"y":0},{"x":1795564548000,"y":0},{"x":1795564612000,"y":0},{"x":1795564676000,"y":0},{"x":1795564740000,"y":0},{"x":1795564804000,"y":0},{"x":1795564868000,"y":0},{"x":1795564932000,"y":0},{"x":1795564996000,"y":0},{"x":1795565060000,"y":0},{"x":1795565124000,"y":0},{"x":1795565188000,"y":0},{"x":1795565252000,"y":0},{"x":1795565314000,"y":0},{"x":1795565381000,"y":0},{"x":1795565444000,"y":0},{"x":1795565508000,"y":0},{"x":1795565572000,"y":0},{"x":1795565636000,"y":0},{"x":1795565700000,"y":0},{"x":1795565764000,"y":0},{"x":1795565828000,"y":0},{"x":1795565892000,"y":0.4},{"x":1795565956000,"y":0},{"x":1795566020000,"y":0},{"x":1795566084000,"y":0},{"x":1795566148000,"y":0},{"x":1795566212000,"y":0},{"x":1795566274000,"y":0},{"x":1795566340000,"y":0},{"x":1795566404000,"y":0},{"x":1795566468000,"y":0},{"x":1795566532000,"y":0},{"x":1795566596000,"y":0},{"x":1795566660000,"y":0},{"x":1795566724000,"y":0},{"x":1795566788000,"y":0},{"x":1795566853000,"y":0},{"x":1795566916000,"y":0},{"x":1795566980000,"y":0},{"x":1795567044000,"y":0},{"x":1795567108000,"y":0},{"x":1795567172000,"y":0},{"x":1795567237000,"y":0},{"x":1795567300000,"y":0},{"x":1795567364000,"y":0},{"x":1795567428000,"y":0},{"x":1795567492000,"y":0},{"x":1795567556000,"y":0},{"x":1795567620000,"y":0},{"x":1795567684000,"y":0},{"x":1795567748000,"y":0},{"x":1795567812000,"y":0},{"x":1795567876000,"y":0},{"x":1795567940000,"y":0},{"x":1795568004000,"y":0},{"x":1795568068000,"y":0},{"x":1795568132000,"y":0},{"x":1795568194000,"y":0},{"x":1795568260000,"y":0},{"x":1795568324000,"y":0},{"x":1795568388000,"y":0},{"x":1795568452000,"y":0},{"x":1795568516000,"y":0},{"x":1795568580000,"y":0},{"x":1795568644000,"y":0},{"x":1795568708000,"y":0},{"x":1795568788000,"y":0},{"x":1795568853000,"y":0},{"x":1795568916000,"y":0},{"x":1795568980000,"y":0},{"x":1795569044000,"y":0},{"x":1795569108000,"y":0},{"x":1795569172000,"y":0},{"x":1795569236000,"y":0},{"x":1795569300000,"y":0},{"x":1795569364000,"y":0},{"x":1795569428000,"y":0},{"x":1795569492000,"y":0},{"x":1795569556000,"y":0},{"x":1795569634000,"y":0},{"x":1795569700000,"y":0},{"x":1795569764000,"y":0},{"x":1795569828000,"y":0},{"x":1795569892000,"y":0},{"x":1795569956000,"y":0},{"x":1795570020000,"y":0},{"x":1795570084000,"y":0},{"x":1795570148000,"y":0},{"x":1795570212000,"y":0},{"x":1795570276000,"y":0},{"x":1795570340000,"y":0},{"x":1795570404000,"y":0},{"x":1795570468000,"y":0},{"x":1795570532000,"y":0},{"x":1795570595000,"y":0},{"x":1795570660000,"y":0},{"x":1795570740000,"y":0},{"x":1795570804000,"y":0},{"x":1795570868000,"y":0},{"x":1795570932000,"y":0},{"x":1795570996000,"y":0},{"x":1795571060000,"y":0},{"x":1795571124000,"y":0},{"x":1795571188000,"y":0},{"x":1795571252000,"y":0},{"x":1795571313000,"y":0},{"x":1795571380000,"y":0},{"x":1795571444000,"y":0},{"x":1795571508000,"y":0},{"x":1795571588000,"y":0},{"x":1795571652000,"y":0},{"x":1795571716000,"y":0},{"x":1795571780000,"y":0},{"x":1795571845000,"y":0},{"x":1795571908000,"y":0},{"x":1795571972000,"y":0},{"x":1795572034000,"y":0},{"x":1795572100000,"y":0},{"x":1795572164000,"y":0},{"x":1795572228000,"y":0},{"x":1795572292000,"y":0},{"x":1795572356000,"y":0},{"x":1795572420000,"y":0},{"x":1795572484000,"y":0},{"x":1795572548000,"y":0},{"x":1795572612000,"y":0},{"x":1795572676000,"y":0},{"x":1795572740000,"y":0},{"x":1795572805000,"y":0},{"x":1795572868000,"y":0},{"x":1795572932000,"y":0},{"x":1795572994000,"y":0},{"x":1795573060000,"y":0},{"x":1795573124000,"y":0},{"x":1795573188000,"y":0},{"x":1795573252000,"y":0},{"x":1795573316000,"y":0},{"x":1795573380000,"y":0},{"x":1795573444000,"y":0},{"x":1795573508000,"y":0},{"x":1795573572000,"y":0},{"x":1795573636000,"y":0},{"x":1795573701000,"y":0},{"x":1795573764000,"y":0},{"x":1795573828000,"y":0},{"x":1795573892000,"y":0},{"x":1795573954000,"y":0},{"x":1795574020000,"y":0},{"x":1795574084000,"y":0},{"x":1795574148000,"y":0},{"x":1795574212000,"y":0},{"x":1795574276000,"y":0},{"x":1795574341000,"y":0},{"x":1795574404000,"y":0},{"x":1795574468000,"y":0},{"x":1795574532000,"y":0},{"x":1795574596000,"y":0},{"x":1795574660000,"y":0},{"x":1795574724000,"y":0},{"x":1795574788000,"y":0},{"x":1795574852000,"y":0},{"x":1795574914000,"y":0},{"x":1795574980000,"y":0.4},{"x":1795575044000,"y":0},{"x":1795575108000,"y":0},{"x":1795575172000,"y":0},{"x":1795575236000,"y":0},{"x":1795575300000,"y":0},{"x":1795575364000,"y":0},{"x":1795575428000,"y":0},{"x":1795575492000,"y":0},{"x":1795575556000,"y":0},{"x":1795575620000,"y":0},{"x":1795575684000,"y":0},{"x":1795575748000,"y":0},{"x":1795575812000,"y":0},{"x":1795575874000,"y":0},{"x":1795575940000,"y":0},{"x":1795576004000,"y":0},{"x":1795576068000,"y":0},{"x":1795576132000,"y":0},{"x":1795576196000,"y":0},{"x":1795576260000,"y":0},{"x":1795576324000,"y":0},{"x":1795576388000,"y":0},{"x":1795576452000,"y":0},{"x":1795576516000,"y":0},{"x":1795576580000,"y":0.4},{"x":1795576644000,"y":0},{"x":1795576708000,"y":0},{"x":1795576772000,"y":0},{"x":1795576837000,"y":0},{"x":1795576900000,"y":0},{"x":1795576964000,"y":0},{"x":1795577028000,"y":0},{"x":1795577092000,"y":0},{"x":1795577156000,"y":0},{"x":1795577220000,"y":0},{"x":1795577284000,"y":0},{"x":1795577348000,"y":0},{"x":1795577412000,"y":0},{"x":1795577476000,"y":0},{"x":1795577554000,"y":0},{"x":1795577620000,"y":0},{"x":1795577684000,"y":0},{"x":1795577748000,"y":0},{"x":1795577812000,"y":0},{"x":1795577876000,"y":0},{"x":1795577940000,"y":0},{"x":1795578004000,"y":0},{"x":1795578068000,"y":0},{"x":1795578132000,"y":0},{"x":1795578196000,"y":0},{"x":1795578260000,"y":0},{"x":1795578324000,"y":0},{"x":1795578388000,"y":0},{"x":1795578452000,"y":0},{"x":1795578515000,"y":0},{"x":1795578580000,"y":0},{"x":1795578644000,"y":0},{"x":1795578709000,"y":0},{"x":1795578772000,"y":0},{"x":1795578836000,"y":0},{"x":1795578900000,"y":0},{"x":1795578964000,"y":0},{"x":1795579028000,"y":0},{"x":1795579092000,"y":0},{"x":1795579156000,"y":0},{"x":1795579220000,"y":0},{"x":1795579284000,"y":0},{"x":1795579348000,"y":0},{"x":1795579412000,"y":0},{"x":1795579475000,"y":0},{"x":1795579540000,"y":0}],"highlightExtremes":true,"unit":" km\/h"},{"label":"Náraz vetra (km\/h)","color":"#EF9856","points":[{"x":1795561203000,"y":0},{"x":1795561267000,"y":0},{"x":1795561331000,"y":0},{"x":1795561395000,"y":0},{"x":1795561459000,"y":0},{"x":1795561523000,"y":0},{"x":1795561587000,"y":0},{"x":1795561701000,"y":0},{"x":1795561764000,"y":0},{"x":1795561828000,"y":0},{"x":1795561892000,"y":0},{"x":1795561955000,"y":0},{"x":1795562020000,"y":0},{"x":1795562084000,"y":0},{"x":1795562148000,"y":0},{"x":1795562212000,"y":0},{"x":1795562276000,"y":0},{"x":1795562340000,"y":0},{"x":1795562404000,"y":0},{"x":1795562468000,"y":0},{"x":1795562532000,"y":0},{"x":1795562596000,"y":0},{"x":1795562660000,"y":0},{"x":1795562733000,"y":0},{"x":1795562804000,"y":0},{"x":1795562868000,"y":0},{"x":1795562932000,"y":0},{"x":1795562996000,"y":0},{"x":1795563060000,"y":0},{"x":1795563124000,"y":0},{"x":1795563188000,"y":0},{"x":1795563252000,"y":0},{"x":1795563316000,"y":0},{"x":1795563380000,"y":0},{"x":1795563444000,"y":0},{"x":1795563508000,"y":0},{"x":1795563572000,"y":0},{"x":1795563633000,"y":0},{"x":1795563700000,"y":0},{"x":1795563764000,"y":0},{"x":1795563828000,"y":0},{"x":1795563892000,"y":0},{"x":1795563956000,"y":0},{"x":1795564020000,"y":0},{"x":1795564084000,"y":0},{"x":1795564148000,"y":0},{"x":1795564228000,"y":0},{"x":1795564292000,"y":0},{"x":1795564354000,"y":0},{"x":1795564420000,"y":0},{"x":1795564484000,"y":0},{"x":1795564548000,"y":0},{"x":1795564612000,"y":0},{"x":1795564676000,"y":0},{"x":1795564740000,"y":0},{"x":1795564804000,"y":0},{"x":1795564868000,"y":0},{"x":1795564932000,"y":0},{"x":1795564996000,"y":0},{"x":1795565060000,"y":0},{"x":1795565124000,"y":0},{"x":1795565188000,"y":0},{"x":1795565252000,"y":0},{"x":1795565314000,"y":0},{"x":1795565381000,"y":0},{"x":1795565444000,"y":0},{"x":1795565508000,"y":0},{"x":1795565572000,"y":0},{"x":1795565636000,"y":0},{"x":1795565700000,"y":0},{"x":1795565764000,"y":0},{"x":1795565828000,"y":0},{"x":1795565892000,"y":2.5},{"x":1795565956000,"y":0},{"x":1795566020000,"y":0},{"x":1795566084000,"y":0},{"x":1795566148000,"y":0},{"x":1795566212000,"y":0},{"x":1795566274000,"y":0},{"x":1795566340000,"y":0},{"x":1795566404000,"y":0},{"x":1795566468000,"y":0},{"x":1795566532000,"y":0},{"x":1795566596000,"y":0},{"x":1795566660000,"y":0},{"x":1795566724000,"y":0},{"x":1795566788000,"y":0},{"x":1795566853000,"y":0},{"x":1795566916000,"y":0},{"x":1795566980000,"y":0},{"x":1795567044000,"y":0},{"x":1795567108000,"y":0},{"x":1795567172000,"y":0},{"x":1795567237000,"y":0},{"x":1795567300000,"y":0},{"x":1795567364000,"y":0},{"x":1795567428000,"y":0},{"x":1795567492000,"y":0},{"x":1795567556000,"y":0},{"x":1795567620000,"y":0},{"x":1795567684000,"y":0},{"x":1795567748000,"y":0},{"x":1795567812000,"y":0},{"x":1795567876000,"y":0},{"x":1795567940000,"y":0},{"x":1795568004000,"y":0},{"x":1795568068000,"y":0},{"x":1795568132000,"y":0},{"x":1795568194000,"y":0},{"x":1795568260000,"y":0},{"x":1795568324000,"y":0},{"x":1795568388000,"y":0},{"x":1795568452000,"y":0},{"x":1795568516000,"y":0},{"x":1795568580000,"y":0},{"x":1795568644000,"y":0},{"x":1795568708000,"y":0},{"x":1795568788000,"y":0},{"x":1795568853000,"y":0},{"x":1795568916000,"y":0},{"x":1795568980000,"y":0},{"x":1795569044000,"y":0},{"x":1795569108000,"y":0},{"x":1795569172000,"y":0},{"x":1795569236000,"y":0},{"x":1795569300000,"y":0},{"x":1795569364000,"y":0},{"x":1795569428000,"y":0},{"x":1795569492000,"y":0},{"x":1795569556000,"y":0},{"x":1795569634000,"y":0},{"x":1795569700000,"y":0},{"x":1795569764000,"y":0},{"x":1795569828000,"y":0},{"x":1795569892000,"y":0},{"x":1795569956000,"y":0},{"x":1795570020000,"y":0},{"x":1795570084000,"y":0},{"x":1795570148000,"y":0},{"x":1795570212000,"y":0},{"x":1795570276000,"y":0},{"x":1795570340000,"y":0},{"x":1795570404000,"y":0},{"x":1795570468000,"y":0},{"x":1795570532000,"y":0},{"x":1795570595000,"y":0},{"x":1795570660000,"y":0},{"x":1795570740000,"y":0},{"x":1795570804000,"y":0},{"x":1795570868000,"y":0},{"x":1795570932000,"y":0},{"x":1795570996000,"y":0},{"x":1795571060000,"y":0},{"x":1795571124000,"y":0},{"x":1795571188000,"y":0},{"x":1795571252000,"y":0},{"x":1795571313000,"y":0},{"x":1795571380000,"y":0},{"x":1795571444000,"y":0},{"x":1795571508000,"y":0},{"x":1795571588000,"y":0},{"x":1795571652000,"y":0},{"x":1795571716000,"y":0},{"x":1795571780000,"y":0},{"x":1795571845000,"y":0},{"x":1795571908000,"y":0},{"x":1795571972000,"y":0},{"x":1795572034000,"y":0},{"x":1795572100000,"y":0},{"x":1795572164000,"y":0},{"x":1795572228000,"y":0},{"x":1795572292000,"y":0},{"x":1795572356000,"y":0},{"x":1795572420000,"y":0},{"x":1795572484000,"y":0},{"x":1795572548000,"y":0},{"x":1795572612000,"y":0},{"x":1795572676000,"y":0},{"x":1795572740000,"y":0},{"x":1795572805000,"y":0},{"x":1795572868000,"y":0},{"x":1795572932000,"y":0},{"x":1795572994000,"y":0},{"x":1795573060000,"y":0},{"x":1795573124000,"y":0},{"x":1795573188000,"y":0},{"x":1795573252000,"y":0},{"x":1795573316000,"y":0},{"x":1795573380000,"y":0},{"x":1795573444000,"y":0},{"x":1795573508000,"y":0},{"x":1795573572000,"y":0},{"x":1795573636000,"y":0},{"x":1795573701000,"y":0},{"x":1795573764000,"y":0},{"x":1795573828000,"y":0},{"x":1795573892000,"y":0},{"x":1795573954000,"y":0},{"x":1795574020000,"y":0},{"x":1795574084000,"y":0},{"x":1795574148000,"y":0},{"x":1795574212000,"y":0},{"x":1795574276000,"y":0},{"x":1795574341000,"y":0},{"x":1795574404000,"y":0},{"x":1795574468000,"y":0},{"x":1795574532000,"y":0},{"x":1795574596000,"y":0},{"x":1795574660000,"y":0},{"x":1795574724000,"y":0},{"x":1795574788000,"y":0},{"x":1795574852000,"y":0},{"x":1795574914000,"y":0},{"x":1795574980000,"y":2.5},{"x":1795575044000,"y":0},{"x":1795575108000,"y":0},{"x":1795575172000,"y":0},{"x":1795575236000,"y":0},{"x":1795575300000,"y":0},{"x":1795575364000,"y":0},{"x":1795575428000,"y":0},{"x":1795575492000,"y":0},{"x":1795575556000,"y":0},{"x":1795575620000,"y":0},{"x":1795575684000,"y":0},{"x":1795575748000,"y":0},{"x":1795575812000,"y":0},{"x":1795575874000,"y":0},{"x":1795575940000,"y":0},{"x":1795576004000,"y":0},{"x":1795576068000,"y":0},{"x":1795576132000,"y":0},{"x":1795576196000,"y":0},{"x":1795576260000,"y":0},{"x":1795576324000,"y":0},{"x":1795576388000,"y":0},{"x":1795576452000,"y":0},{"x":1795576516000,"y":0},{"x":1795576580000,"y":2.5},{"x":1795576644000,"y":0},{"x":1795576708000,"y":0},{"x":1795576772000,"y":0},{"x":1795576837000,"y":0},{"x":1795576900000,"y":0},{"x":1795576964000,"y":0},{"x":1795577028000,"y":0},{"x":1795577092000,"y":0},{"x":1795577156000,"y":0},{"x":1795577220000,"y":0},{"x":1795577284000,"y":0},{"x":1795577348000,"y":0},{"x":1795577412000,"y":0},{"x":1795577476000,"y":0},{"x":1795577554000,"y":0},{"x":1795577620000,"y":0},{"x":1795577684000,"y":0},{"x":1795577748000,"y":0},{"x":1795577812000,"y":0},{"x":1795577876000,"y":0},{"x":1795577940000,"y":0},{"x":1795578004000,"y":0},{"x":1795578068000,"y":0},{"x":1795578132000,"y":0},{"x":1795578196000,"y":0},{"x":1795578260000,"y":0},{"x":1795578324000,"y":0},{"x":1795578388000,"y":0},{"x":1795578452000,"y":0},{"x":1795578515000,"y":0},{"x":1795578580000,"y":0},{"x":1795578644000,"y":0},{"x":1795578709000,"y":0},{"x":1795578772000,"y":0},{"x":1795578836000,"y":0},{"x":1795578900000,"y":0},{"x":1795578964000,"y":0},{"x":1795579028000,"y":0},{"x":1795579092000,"y":0},{"x":1795579156000,"y":0},{"x":1795579220000,"y":0},{"x":1795579284000,"y":0},{"x":1795579348000,"y":0},{"x":1795579412000,"y":0},{"x":1795579475000,"y":0},{"x":1795579540000,"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":1795561203000,"y":269},{"x":1795561267000,"y":269},{"x":1795561331000,"y":269},{"x":1795561395000,"y":269},{"x":1795561459000,"y":269},{"x":1795561523000,"y":269},{"x":1795561587000,"y":269},{"x":1795561701000,"y":269},{"x":1795561764000,"y":269},{"x":1795561828000,"y":269},{"x":1795561892000,"y":269},{"x":1795561955000,"y":269},{"x":1795562020000,"y":269},{"x":1795562084000,"y":269},{"x":1795562148000,"y":269},{"x":1795562212000,"y":269},{"x":1795562276000,"y":269},{"x":1795562340000,"y":269},{"x":1795562404000,"y":269},{"x":1795562468000,"y":269},{"x":1795562532000,"y":269},{"x":1795562596000,"y":269},{"x":1795562660000,"y":269},{"x":1795562733000,"y":269},{"x":1795562804000,"y":269},{"x":1795562868000,"y":269},{"x":1795562932000,"y":269},{"x":1795562996000,"y":269},{"x":1795563060000,"y":269},{"x":1795563124000,"y":269},{"x":1795563188000,"y":269},{"x":1795563252000,"y":269},{"x":1795563316000,"y":269},{"x":1795563380000,"y":269},{"x":1795563444000,"y":269},{"x":1795563508000,"y":269},{"x":1795563572000,"y":269},{"x":1795563633000,"y":269},{"x":1795563700000,"y":269},{"x":1795563764000,"y":269},{"x":1795563828000,"y":269},{"x":1795563892000,"y":269},{"x":1795563956000,"y":269},{"x":1795564020000,"y":269},{"x":1795564084000,"y":269},{"x":1795564148000,"y":269},{"x":1795564228000,"y":269},{"x":1795564292000,"y":268},{"x":1795564354000,"y":268},{"x":1795564420000,"y":268},{"x":1795564484000,"y":268},{"x":1795564548000,"y":268},{"x":1795564612000,"y":269},{"x":1795564676000,"y":268},{"x":1795564740000,"y":269},{"x":1795564804000,"y":269},{"x":1795564868000,"y":269},{"x":1795564932000,"y":268},{"x":1795564996000,"y":269},{"x":1795565060000,"y":268},{"x":1795565124000,"y":268},{"x":1795565188000,"y":268},{"x":1795565252000,"y":268},{"x":1795565314000,"y":268},{"x":1795565381000,"y":268},{"x":1795565444000,"y":268},{"x":1795565508000,"y":268},{"x":1795565572000,"y":268},{"x":1795565636000,"y":268},{"x":1795565700000,"y":268},{"x":1795565764000,"y":268},{"x":1795565828000,"y":268},{"x":1795565892000,"y":268},{"x":1795565956000,"y":268},{"x":1795566020000,"y":268},{"x":1795566084000,"y":268},{"x":1795566148000,"y":268},{"x":1795566212000,"y":268},{"x":1795566274000,"y":268},{"x":1795566340000,"y":268},{"x":1795566404000,"y":268},{"x":1795566468000,"y":268},{"x":1795566532000,"y":268},{"x":1795566596000,"y":268},{"x":1795566660000,"y":268},{"x":1795566724000,"y":268},{"x":1795566788000,"y":268},{"x":1795566853000,"y":268},{"x":1795566916000,"y":268},{"x":1795566980000,"y":268},{"x":1795567044000,"y":268},{"x":1795567108000,"y":268},{"x":1795567172000,"y":268},{"x":1795567237000,"y":268},{"x":1795567300000,"y":268},{"x":1795567364000,"y":268},{"x":1795567428000,"y":268},{"x":1795567492000,"y":268},{"x":1795567556000,"y":268},{"x":1795567620000,"y":268},{"x":1795567684000,"y":268},{"x":1795567748000,"y":268},{"x":1795567812000,"y":268},{"x":1795567876000,"y":268},{"x":1795567940000,"y":268},{"x":1795568004000,"y":268},{"x":1795568068000,"y":268},{"x":1795568132000,"y":268},{"x":1795568194000,"y":268},{"x":1795568260000,"y":268},{"x":1795568324000,"y":268},{"x":1795568388000,"y":268},{"x":1795568452000,"y":268},{"x":1795568516000,"y":268},{"x":1795568580000,"y":268},{"x":1795568644000,"y":268},{"x":1795568708000,"y":268},{"x":1795568788000,"y":268},{"x":1795568853000,"y":268},{"x":1795568916000,"y":268},{"x":1795568980000,"y":268},{"x":1795569044000,"y":268},{"x":1795569108000,"y":268},{"x":1795569172000,"y":268},{"x":1795569236000,"y":268},{"x":1795569300000,"y":268},{"x":1795569364000,"y":268},{"x":1795569428000,"y":268},{"x":1795569492000,"y":268},{"x":1795569556000,"y":268},{"x":1795569634000,"y":268},{"x":1795569700000,"y":268},{"x":1795569764000,"y":268},{"x":1795569828000,"y":268},{"x":1795569892000,"y":268},{"x":1795569956000,"y":268},{"x":1795570020000,"y":268},{"x":1795570084000,"y":268},{"x":1795570148000,"y":268},{"x":1795570212000,"y":268},{"x":1795570276000,"y":268},{"x":1795570340000,"y":268},{"x":1795570404000,"y":268},{"x":1795570468000,"y":268},{"x":1795570532000,"y":268},{"x":1795570595000,"y":268},{"x":1795570660000,"y":268},{"x":1795570740000,"y":268},{"x":1795570804000,"y":268},{"x":1795570868000,"y":268},{"x":1795570932000,"y":268},{"x":1795570996000,"y":268},{"x":1795571060000,"y":268},{"x":1795571124000,"y":268},{"x":1795571188000,"y":268},{"x":1795571252000,"y":268},{"x":1795571313000,"y":268},{"x":1795571380000,"y":268},{"x":1795571444000,"y":268},{"x":1795571508000,"y":268},{"x":1795571588000,"y":268},{"x":1795571652000,"y":268},{"x":1795571716000,"y":268},{"x":1795571780000,"y":268},{"x":1795571845000,"y":268},{"x":1795571908000,"y":268},{"x":1795571972000,"y":268},{"x":1795572034000,"y":268},{"x":1795572100000,"y":268},{"x":1795572164000,"y":268},{"x":1795572228000,"y":268},{"x":1795572292000,"y":268},{"x":1795572356000,"y":268},{"x":1795572420000,"y":268},{"x":1795572484000,"y":268},{"x":1795572548000,"y":268},{"x":1795572612000,"y":268},{"x":1795572676000,"y":268},{"x":1795572740000,"y":268},{"x":1795572805000,"y":268},{"x":1795572868000,"y":268},{"x":1795572932000,"y":268},{"x":1795572994000,"y":268},{"x":1795573060000,"y":268},{"x":1795573124000,"y":268},{"x":1795573188000,"y":268},{"x":1795573252000,"y":268},{"x":1795573316000,"y":268},{"x":1795573380000,"y":268},{"x":1795573444000,"y":268},{"x":1795573508000,"y":268},{"x":1795573572000,"y":268},{"x":1795573636000,"y":268},{"x":1795573701000,"y":268},{"x":1795573764000,"y":268},{"x":1795573828000,"y":268},{"x":1795573892000,"y":268},{"x":1795573954000,"y":268},{"x":1795574020000,"y":268},{"x":1795574084000,"y":268},{"x":1795574148000,"y":268},{"x":1795574212000,"y":268},{"x":1795574276000,"y":268},{"x":1795574341000,"y":268},{"x":1795574404000,"y":268},{"x":1795574468000,"y":268},{"x":1795574532000,"y":268},{"x":1795574596000,"y":268},{"x":1795574660000,"y":268},{"x":1795574724000,"y":268},{"x":1795574788000,"y":268},{"x":1795574852000,"y":268},{"x":1795574914000,"y":268},{"x":1795574980000,"y":268},{"x":1795575044000,"y":268},{"x":1795575108000,"y":268},{"x":1795575172000,"y":268},{"x":1795575236000,"y":268},{"x":1795575300000,"y":268},{"x":1795575364000,"y":268},{"x":1795575428000,"y":268},{"x":1795575492000,"y":268},{"x":1795575556000,"y":268},{"x":1795575620000,"y":268},{"x":1795575684000,"y":268},{"x":1795575748000,"y":268},{"x":1795575812000,"y":268},{"x":1795575874000,"y":268},{"x":1795575940000,"y":268},{"x":1795576004000,"y":268},{"x":1795576068000,"y":268},{"x":1795576132000,"y":268},{"x":1795576196000,"y":268},{"x":1795576260000,"y":268},{"x":1795576324000,"y":268},{"x":1795576388000,"y":268},{"x":1795576452000,"y":268},{"x":1795576516000,"y":268},{"x":1795576580000,"y":268},{"x":1795576644000,"y":268},{"x":1795576708000,"y":268},{"x":1795576772000,"y":268},{"x":1795576837000,"y":268},{"x":1795576900000,"y":268},{"x":1795576964000,"y":268},{"x":1795577028000,"y":268},{"x":1795577092000,"y":268},{"x":1795577156000,"y":268},{"x":1795577220000,"y":268},{"x":1795577284000,"y":268},{"x":1795577348000,"y":268},{"x":1795577412000,"y":268},{"x":1795577476000,"y":268},{"x":1795577554000,"y":268},{"x":1795577620000,"y":268},{"x":1795577684000,"y":268},{"x":1795577748000,"y":268},{"x":1795577812000,"y":268},{"x":1795577876000,"y":268},{"x":1795577940000,"y":268},{"x":1795578004000,"y":268},{"x":1795578068000,"y":268},{"x":1795578132000,"y":268},{"x":1795578196000,"y":268},{"x":1795578260000,"y":268},{"x":1795578324000,"y":268},{"x":1795578388000,"y":268},{"x":1795578452000,"y":268},{"x":1795578515000,"y":268},{"x":1795578580000,"y":268},{"x":1795578644000,"y":268},{"x":1795578709000,"y":268},{"x":1795578772000,"y":268},{"x":1795578836000,"y":268},{"x":1795578900000,"y":268},{"x":1795578964000,"y":268},{"x":1795579028000,"y":268},{"x":1795579092000,"y":268},{"x":1795579156000,"y":268},{"x":1795579220000,"y":268},{"x":1795579284000,"y":268},{"x":1795579348000,"y":268},{"x":1795579412000,"y":268},{"x":1795579475000,"y":268},{"x":1795579540000,"y":268}],"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":1795561203000,"y":0},{"x":1795561267000,"y":0},{"x":1795561331000,"y":0},{"x":1795561395000,"y":0},{"x":1795561459000,"y":0},{"x":1795561523000,"y":0},{"x":1795561587000,"y":0},{"x":1795561701000,"y":0},{"x":1795561764000,"y":0},{"x":1795561828000,"y":0},{"x":1795561892000,"y":0},{"x":1795561955000,"y":0},{"x":1795562020000,"y":0},{"x":1795562084000,"y":0},{"x":1795562148000,"y":0},{"x":1795562212000,"y":0},{"x":1795562276000,"y":0},{"x":1795562340000,"y":0},{"x":1795562404000,"y":0},{"x":1795562468000,"y":0},{"x":1795562532000,"y":0},{"x":1795562596000,"y":0},{"x":1795562660000,"y":0},{"x":1795562733000,"y":0},{"x":1795562804000,"y":0},{"x":1795562868000,"y":0},{"x":1795562932000,"y":0},{"x":1795562996000,"y":0},{"x":1795563060000,"y":0},{"x":1795563124000,"y":0},{"x":1795563188000,"y":0},{"x":1795563252000,"y":0},{"x":1795563316000,"y":0},{"x":1795563380000,"y":0},{"x":1795563444000,"y":0},{"x":1795563508000,"y":0},{"x":1795563572000,"y":0},{"x":1795563633000,"y":0},{"x":1795563700000,"y":0},{"x":1795563764000,"y":0},{"x":1795563828000,"y":0},{"x":1795563892000,"y":0},{"x":1795563956000,"y":0},{"x":1795564020000,"y":0},{"x":1795564084000,"y":0},{"x":1795564148000,"y":0},{"x":1795564228000,"y":0},{"x":1795564292000,"y":0},{"x":1795564354000,"y":0},{"x":1795564420000,"y":0},{"x":1795564484000,"y":0},{"x":1795564548000,"y":0},{"x":1795564612000,"y":0},{"x":1795564676000,"y":0},{"x":1795564740000,"y":0},{"x":1795564804000,"y":0},{"x":1795564868000,"y":0},{"x":1795564932000,"y":0},{"x":1795564996000,"y":0},{"x":1795565060000,"y":0},{"x":1795565124000,"y":0},{"x":1795565188000,"y":0},{"x":1795565252000,"y":0},{"x":1795565314000,"y":0},{"x":1795565381000,"y":0},{"x":1795565444000,"y":0},{"x":1795565508000,"y":0},{"x":1795565572000,"y":0},{"x":1795565636000,"y":0},{"x":1795565700000,"y":0},{"x":1795565764000,"y":0},{"x":1795565828000,"y":0},{"x":1795565892000,"y":0},{"x":1795565956000,"y":0},{"x":1795566020000,"y":0},{"x":1795566084000,"y":0},{"x":1795566148000,"y":0},{"x":1795566212000,"y":0},{"x":1795566274000,"y":0},{"x":1795566340000,"y":0},{"x":1795566404000,"y":0},{"x":1795566468000,"y":0},{"x":1795566532000,"y":0},{"x":1795566596000,"y":0},{"x":1795566660000,"y":0},{"x":1795566724000,"y":0},{"x":1795566788000,"y":0},{"x":1795566853000,"y":0},{"x":1795566916000,"y":0},{"x":1795566980000,"y":0},{"x":1795567044000,"y":0},{"x":1795567108000,"y":0},{"x":1795567172000,"y":0},{"x":1795567237000,"y":0},{"x":1795567300000,"y":0},{"x":1795567364000,"y":0},{"x":1795567428000,"y":0},{"x":1795567492000,"y":0},{"x":1795567556000,"y":0},{"x":1795567620000,"y":0},{"x":1795567684000,"y":0},{"x":1795567748000,"y":0},{"x":1795567812000,"y":0},{"x":1795567876000,"y":0},{"x":1795567940000,"y":0},{"x":1795568004000,"y":0},{"x":1795568068000,"y":0},{"x":1795568132000,"y":0},{"x":1795568194000,"y":0},{"x":1795568260000,"y":0},{"x":1795568324000,"y":0},{"x":1795568388000,"y":0},{"x":1795568452000,"y":0},{"x":1795568516000,"y":0},{"x":1795568580000,"y":0},{"x":1795568644000,"y":0},{"x":1795568708000,"y":0},{"x":1795568788000,"y":0},{"x":1795568853000,"y":0},{"x":1795568916000,"y":0},{"x":1795568980000,"y":0},{"x":1795569044000,"y":0},{"x":1795569108000,"y":0},{"x":1795569172000,"y":0},{"x":1795569236000,"y":0},{"x":1795569300000,"y":0},{"x":1795569364000,"y":0},{"x":1795569428000,"y":0},{"x":1795569492000,"y":0},{"x":1795569556000,"y":0},{"x":1795569634000,"y":0},{"x":1795569700000,"y":0},{"x":1795569764000,"y":0},{"x":1795569828000,"y":0},{"x":1795569892000,"y":0},{"x":1795569956000,"y":0},{"x":1795570020000,"y":0},{"x":1795570084000,"y":0},{"x":1795570148000,"y":0},{"x":1795570212000,"y":0},{"x":1795570276000,"y":0},{"x":1795570340000,"y":0},{"x":1795570404000,"y":0},{"x":1795570468000,"y":0},{"x":1795570532000,"y":0},{"x":1795570595000,"y":0},{"x":1795570660000,"y":0},{"x":1795570740000,"y":0},{"x":1795570804000,"y":0},{"x":1795570868000,"y":0},{"x":1795570932000,"y":0},{"x":1795570996000,"y":0},{"x":1795571060000,"y":0},{"x":1795571124000,"y":0},{"x":1795571188000,"y":0},{"x":1795571252000,"y":0},{"x":1795571313000,"y":0},{"x":1795571380000,"y":0},{"x":1795571444000,"y":0},{"x":1795571508000,"y":0},{"x":1795571588000,"y":0},{"x":1795571652000,"y":0},{"x":1795571716000,"y":0},{"x":1795571780000,"y":0},{"x":1795571845000,"y":0},{"x":1795571908000,"y":0},{"x":1795571972000,"y":0},{"x":1795572034000,"y":0},{"x":1795572100000,"y":0},{"x":1795572164000,"y":0},{"x":1795572228000,"y":0},{"x":1795572292000,"y":0},{"x":1795572356000,"y":0},{"x":1795572420000,"y":0},{"x":1795572484000,"y":0},{"x":1795572548000,"y":0},{"x":1795572612000,"y":0},{"x":1795572676000,"y":0},{"x":1795572740000,"y":0},{"x":1795572805000,"y":0},{"x":1795572868000,"y":0},{"x":1795572932000,"y":0},{"x":1795572994000,"y":0},{"x":1795573060000,"y":0},{"x":1795573124000,"y":0},{"x":1795573188000,"y":0},{"x":1795573252000,"y":0},{"x":1795573316000,"y":0},{"x":1795573380000,"y":0},{"x":1795573444000,"y":0},{"x":1795573508000,"y":0},{"x":1795573572000,"y":0},{"x":1795573636000,"y":0},{"x":1795573701000,"y":0},{"x":1795573764000,"y":0},{"x":1795573828000,"y":0},{"x":1795573892000,"y":0},{"x":1795573954000,"y":0},{"x":1795574020000,"y":0},{"x":1795574084000,"y":0},{"x":1795574148000,"y":0},{"x":1795574212000,"y":0},{"x":1795574276000,"y":0},{"x":1795574341000,"y":0},{"x":1795574404000,"y":0},{"x":1795574468000,"y":0},{"x":1795574532000,"y":0},{"x":1795574596000,"y":0},{"x":1795574660000,"y":0},{"x":1795574724000,"y":0},{"x":1795574788000,"y":0},{"x":1795574852000,"y":0},{"x":1795574914000,"y":0},{"x":1795574980000,"y":0},{"x":1795575044000,"y":0},{"x":1795575108000,"y":0},{"x":1795575172000,"y":0},{"x":1795575236000,"y":0},{"x":1795575300000,"y":0},{"x":1795575364000,"y":0},{"x":1795575428000,"y":0},{"x":1795575492000,"y":0},{"x":1795575556000,"y":0},{"x":1795575620000,"y":0},{"x":1795575684000,"y":0},{"x":1795575748000,"y":0},{"x":1795575812000,"y":0},{"x":1795575874000,"y":0},{"x":1795575940000,"y":0},{"x":1795576004000,"y":0},{"x":1795576068000,"y":0},{"x":1795576132000,"y":0},{"x":1795576196000,"y":0},{"x":1795576260000,"y":0},{"x":1795576324000,"y":0},{"x":1795576388000,"y":0},{"x":1795576452000,"y":0},{"x":1795576516000,"y":0},{"x":1795576580000,"y":0},{"x":1795576644000,"y":0},{"x":1795576708000,"y":0},{"x":1795576772000,"y":0},{"x":1795576837000,"y":0},{"x":1795576900000,"y":0},{"x":1795576964000,"y":0},{"x":1795577028000,"y":0},{"x":1795577092000,"y":0},{"x":1795577156000,"y":0},{"x":1795577220000,"y":0},{"x":1795577284000,"y":0},{"x":1795577348000,"y":0},{"x":1795577412000,"y":0},{"x":1795577476000,"y":0},{"x":1795577554000,"y":0},{"x":1795577620000,"y":0},{"x":1795577684000,"y":0},{"x":1795577748000,"y":0},{"x":1795577812000,"y":0},{"x":1795577876000,"y":0},{"x":1795577940000,"y":0},{"x":1795578004000,"y":0},{"x":1795578068000,"y":0},{"x":1795578132000,"y":0},{"x":1795578196000,"y":0},{"x":1795578260000,"y":0},{"x":1795578324000,"y":0},{"x":1795578388000,"y":0},{"x":1795578452000,"y":0},{"x":1795578515000,"y":0},{"x":1795578580000,"y":0},{"x":1795578644000,"y":0},{"x":1795578709000,"y":0},{"x":1795578772000,"y":0},{"x":1795578836000,"y":0},{"x":1795578900000,"y":0},{"x":1795578964000,"y":0},{"x":1795579028000,"y":0},{"x":1795579092000,"y":0},{"x":1795579156000,"y":0},{"x":1795579220000,"y":0},{"x":1795579284000,"y":0},{"x":1795579348000,"y":0},{"x":1795579412000,"y":0},{"x":1795579475000,"y":0},{"x":1795579540000,"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":1795561203000,"y":0},{"x":1795561267000,"y":0},{"x":1795561331000,"y":0},{"x":1795561395000,"y":0},{"x":1795561459000,"y":0},{"x":1795561523000,"y":0},{"x":1795561587000,"y":0},{"x":1795561701000,"y":0},{"x":1795561764000,"y":0},{"x":1795561828000,"y":0},{"x":1795561892000,"y":0},{"x":1795561955000,"y":0},{"x":1795562020000,"y":0},{"x":1795562084000,"y":0},{"x":1795562148000,"y":0},{"x":1795562212000,"y":0},{"x":1795562276000,"y":0},{"x":1795562340000,"y":0},{"x":1795562404000,"y":0},{"x":1795562468000,"y":0},{"x":1795562532000,"y":0},{"x":1795562596000,"y":0},{"x":1795562660000,"y":0},{"x":1795562733000,"y":0},{"x":1795562804000,"y":0},{"x":1795562868000,"y":0},{"x":1795562932000,"y":0},{"x":1795562996000,"y":0},{"x":1795563060000,"y":0},{"x":1795563124000,"y":0},{"x":1795563188000,"y":0},{"x":1795563252000,"y":0},{"x":1795563316000,"y":0},{"x":1795563380000,"y":0},{"x":1795563444000,"y":0},{"x":1795563508000,"y":0},{"x":1795563572000,"y":0},{"x":1795563633000,"y":0},{"x":1795563700000,"y":0},{"x":1795563764000,"y":0},{"x":1795563828000,"y":0},{"x":1795563892000,"y":0},{"x":1795563956000,"y":0},{"x":1795564020000,"y":0},{"x":1795564084000,"y":0},{"x":1795564148000,"y":0},{"x":1795564228000,"y":0},{"x":1795564292000,"y":0},{"x":1795564354000,"y":0},{"x":1795564420000,"y":0},{"x":1795564484000,"y":0},{"x":1795564548000,"y":0},{"x":1795564612000,"y":0},{"x":1795564676000,"y":0},{"x":1795564740000,"y":0},{"x":1795564804000,"y":0},{"x":1795564868000,"y":0},{"x":1795564932000,"y":0},{"x":1795564996000,"y":0},{"x":1795565060000,"y":0},{"x":1795565124000,"y":0},{"x":1795565188000,"y":0},{"x":1795565252000,"y":0},{"x":1795565314000,"y":0},{"x":1795565381000,"y":0},{"x":1795565444000,"y":0},{"x":1795565508000,"y":0},{"x":1795565572000,"y":0},{"x":1795565636000,"y":0},{"x":1795565700000,"y":0},{"x":1795565764000,"y":0},{"x":1795565828000,"y":0},{"x":1795565892000,"y":0},{"x":1795565956000,"y":0},{"x":1795566020000,"y":0},{"x":1795566084000,"y":0},{"x":1795566148000,"y":0},{"x":1795566212000,"y":0},{"x":1795566274000,"y":0},{"x":1795566340000,"y":0},{"x":1795566404000,"y":0},{"x":1795566468000,"y":0},{"x":1795566532000,"y":0},{"x":1795566596000,"y":0},{"x":1795566660000,"y":0},{"x":1795566724000,"y":0},{"x":1795566788000,"y":0},{"x":1795566853000,"y":0},{"x":1795566916000,"y":0},{"x":1795566980000,"y":0},{"x":1795567044000,"y":0},{"x":1795567108000,"y":0},{"x":1795567172000,"y":0},{"x":1795567237000,"y":0},{"x":1795567300000,"y":0},{"x":1795567364000,"y":0},{"x":1795567428000,"y":0},{"x":1795567492000,"y":0},{"x":1795567556000,"y":0},{"x":1795567620000,"y":0},{"x":1795567684000,"y":0},{"x":1795567748000,"y":0},{"x":1795567812000,"y":0},{"x":1795567876000,"y":0},{"x":1795567940000,"y":0},{"x":1795568004000,"y":0},{"x":1795568068000,"y":0},{"x":1795568132000,"y":0},{"x":1795568194000,"y":0},{"x":1795568260000,"y":0},{"x":1795568324000,"y":0},{"x":1795568388000,"y":0},{"x":1795568452000,"y":0},{"x":1795568516000,"y":0},{"x":1795568580000,"y":0},{"x":1795568644000,"y":0},{"x":1795568708000,"y":0},{"x":1795568788000,"y":0},{"x":1795568853000,"y":0},{"x":1795568916000,"y":0},{"x":1795568980000,"y":0},{"x":1795569044000,"y":0},{"x":1795569108000,"y":0},{"x":1795569172000,"y":0},{"x":1795569236000,"y":0},{"x":1795569300000,"y":0},{"x":1795569364000,"y":0},{"x":1795569428000,"y":0},{"x":1795569492000,"y":0},{"x":1795569556000,"y":0},{"x":1795569634000,"y":0},{"x":1795569700000,"y":0},{"x":1795569764000,"y":0},{"x":1795569828000,"y":0},{"x":1795569892000,"y":0},{"x":1795569956000,"y":0},{"x":1795570020000,"y":0},{"x":1795570084000,"y":0},{"x":1795570148000,"y":0},{"x":1795570212000,"y":0},{"x":1795570276000,"y":0},{"x":1795570340000,"y":0},{"x":1795570404000,"y":0},{"x":1795570468000,"y":0},{"x":1795570532000,"y":0},{"x":1795570595000,"y":0},{"x":1795570660000,"y":0},{"x":1795570740000,"y":0},{"x":1795570804000,"y":0},{"x":1795570868000,"y":0},{"x":1795570932000,"y":0},{"x":1795570996000,"y":0},{"x":1795571060000,"y":0},{"x":1795571124000,"y":0},{"x":1795571188000,"y":0},{"x":1795571252000,"y":0},{"x":1795571313000,"y":0},{"x":1795571380000,"y":0},{"x":1795571444000,"y":0},{"x":1795571508000,"y":0},{"x":1795571588000,"y":0},{"x":1795571652000,"y":0},{"x":1795571716000,"y":0},{"x":1795571780000,"y":0},{"x":1795571845000,"y":0},{"x":1795571908000,"y":0},{"x":1795571972000,"y":0},{"x":1795572034000,"y":0},{"x":1795572100000,"y":0},{"x":1795572164000,"y":0},{"x":1795572228000,"y":0},{"x":1795572292000,"y":0},{"x":1795572356000,"y":0},{"x":1795572420000,"y":0},{"x":1795572484000,"y":0},{"x":1795572548000,"y":0},{"x":1795572612000,"y":0},{"x":1795572676000,"y":0},{"x":1795572740000,"y":0},{"x":1795572805000,"y":0},{"x":1795572868000,"y":0},{"x":1795572932000,"y":0},{"x":1795572994000,"y":0},{"x":1795573060000,"y":0},{"x":1795573124000,"y":0},{"x":1795573188000,"y":0},{"x":1795573252000,"y":0},{"x":1795573316000,"y":0},{"x":1795573380000,"y":0},{"x":1795573444000,"y":0},{"x":1795573508000,"y":0},{"x":1795573572000,"y":0},{"x":1795573636000,"y":0},{"x":1795573701000,"y":0},{"x":1795573764000,"y":0},{"x":1795573828000,"y":0},{"x":1795573892000,"y":0},{"x":1795573954000,"y":0},{"x":1795574020000,"y":0},{"x":1795574084000,"y":0},{"x":1795574148000,"y":0},{"x":1795574212000,"y":0},{"x":1795574276000,"y":0},{"x":1795574341000,"y":0},{"x":1795574404000,"y":0},{"x":1795574468000,"y":0},{"x":1795574532000,"y":0},{"x":1795574596000,"y":0},{"x":1795574660000,"y":0},{"x":1795574724000,"y":0},{"x":1795574788000,"y":0},{"x":1795574852000,"y":0},{"x":1795574914000,"y":0},{"x":1795574980000,"y":0},{"x":1795575044000,"y":0},{"x":1795575108000,"y":0},{"x":1795575172000,"y":0},{"x":1795575236000,"y":0},{"x":1795575300000,"y":0},{"x":1795575364000,"y":0},{"x":1795575428000,"y":0},{"x":1795575492000,"y":0},{"x":1795575556000,"y":0},{"x":1795575620000,"y":0},{"x":1795575684000,"y":0},{"x":1795575748000,"y":0},{"x":1795575812000,"y":0},{"x":1795575874000,"y":0},{"x":1795575940000,"y":0},{"x":1795576004000,"y":0},{"x":1795576068000,"y":0},{"x":1795576132000,"y":0},{"x":1795576196000,"y":0},{"x":1795576260000,"y":0},{"x":1795576324000,"y":0},{"x":1795576388000,"y":0},{"x":1795576452000,"y":0},{"x":1795576516000,"y":0},{"x":1795576580000,"y":0},{"x":1795576644000,"y":0},{"x":1795576708000,"y":0},{"x":1795576772000,"y":0},{"x":1795576837000,"y":0},{"x":1795576900000,"y":0},{"x":1795576964000,"y":0},{"x":1795577028000,"y":0},{"x":1795577092000,"y":0},{"x":1795577156000,"y":0},{"x":1795577220000,"y":0},{"x":1795577284000,"y":0},{"x":1795577348000,"y":0},{"x":1795577412000,"y":0},{"x":1795577476000,"y":0},{"x":1795577554000,"y":0},{"x":1795577620000,"y":0},{"x":1795577684000,"y":0},{"x":1795577748000,"y":0},{"x":1795577812000,"y":0},{"x":1795577876000,"y":0},{"x":1795577940000,"y":0},{"x":1795578004000,"y":0},{"x":1795578068000,"y":0},{"x":1795578132000,"y":0},{"x":1795578196000,"y":0},{"x":1795578260000,"y":0},{"x":1795578324000,"y":0},{"x":1795578388000,"y":0},{"x":1795578452000,"y":0},{"x":1795578515000,"y":0},{"x":1795578580000,"y":0},{"x":1795578644000,"y":0},{"x":1795578709000,"y":0},{"x":1795578772000,"y":0},{"x":1795578836000,"y":0},{"x":1795578900000,"y":0},{"x":1795578964000,"y":0},{"x":1795579028000,"y":0},{"x":1795579092000,"y":0},{"x":1795579156000,"y":0},{"x":1795579220000,"y":0},{"x":1795579284000,"y":0},{"x":1795579348000,"y":0},{"x":1795579412000,"y":0},{"x":1795579475000,"y":0},{"x":1795579540000,"y":0}],"highlightExtremes":true}], {"yMin":0}); }); $(document).ready(function() { buildMeteoChart('chart-rain-canvas', 'chart-rain-reset', [{"label":"Zrážky (mm)","color":"#008fbf","points":[{"x":1795561203000,"y":0},{"x":1795561267000,"y":0},{"x":1795561331000,"y":0},{"x":1795561395000,"y":0},{"x":1795561459000,"y":0},{"x":1795561523000,"y":0},{"x":1795561587000,"y":0},{"x":1795561701000,"y":0},{"x":1795561764000,"y":0},{"x":1795561828000,"y":0},{"x":1795561892000,"y":0},{"x":1795561955000,"y":0},{"x":1795562020000,"y":0},{"x":1795562084000,"y":0},{"x":1795562148000,"y":0},{"x":1795562212000,"y":0},{"x":1795562276000,"y":0},{"x":1795562340000,"y":0},{"x":1795562404000,"y":0},{"x":1795562468000,"y":0},{"x":1795562532000,"y":0},{"x":1795562596000,"y":0},{"x":1795562660000,"y":0},{"x":1795562733000,"y":0},{"x":1795562804000,"y":0},{"x":1795562868000,"y":0},{"x":1795562932000,"y":0},{"x":1795562996000,"y":0},{"x":1795563060000,"y":0},{"x":1795563124000,"y":0},{"x":1795563188000,"y":0},{"x":1795563252000,"y":0},{"x":1795563316000,"y":0},{"x":1795563380000,"y":0},{"x":1795563444000,"y":0},{"x":1795563508000,"y":0},{"x":1795563572000,"y":0},{"x":1795563633000,"y":0},{"x":1795563700000,"y":0},{"x":1795563764000,"y":0},{"x":1795563828000,"y":0},{"x":1795563892000,"y":0},{"x":1795563956000,"y":0},{"x":1795564020000,"y":0},{"x":1795564084000,"y":0},{"x":1795564148000,"y":0},{"x":1795564228000,"y":0},{"x":1795564292000,"y":0},{"x":1795564354000,"y":0},{"x":1795564420000,"y":0},{"x":1795564484000,"y":0},{"x":1795564548000,"y":0},{"x":1795564612000,"y":0},{"x":1795564676000,"y":0},{"x":1795564740000,"y":0},{"x":1795564804000,"y":0},{"x":1795564868000,"y":0},{"x":1795564932000,"y":0},{"x":1795564996000,"y":0},{"x":1795565060000,"y":0},{"x":1795565124000,"y":0},{"x":1795565188000,"y":0},{"x":1795565252000,"y":0},{"x":1795565314000,"y":0},{"x":1795565381000,"y":0},{"x":1795565444000,"y":0},{"x":1795565508000,"y":0},{"x":1795565572000,"y":0},{"x":1795565636000,"y":0},{"x":1795565700000,"y":0},{"x":1795565764000,"y":0},{"x":1795565828000,"y":0},{"x":1795565892000,"y":0},{"x":1795565956000,"y":0},{"x":1795566020000,"y":0},{"x":1795566084000,"y":0},{"x":1795566148000,"y":0},{"x":1795566212000,"y":0},{"x":1795566274000,"y":0},{"x":1795566340000,"y":0},{"x":1795566404000,"y":0},{"x":1795566468000,"y":0},{"x":1795566532000,"y":0},{"x":1795566596000,"y":0},{"x":1795566660000,"y":0},{"x":1795566724000,"y":0},{"x":1795566788000,"y":0},{"x":1795566853000,"y":0},{"x":1795566916000,"y":0},{"x":1795566980000,"y":0},{"x":1795567044000,"y":0},{"x":1795567108000,"y":0},{"x":1795567172000,"y":0},{"x":1795567237000,"y":0},{"x":1795567300000,"y":0},{"x":1795567364000,"y":0},{"x":1795567428000,"y":0},{"x":1795567492000,"y":0},{"x":1795567556000,"y":0},{"x":1795567620000,"y":0},{"x":1795567684000,"y":0},{"x":1795567748000,"y":0},{"x":1795567812000,"y":0},{"x":1795567876000,"y":0},{"x":1795567940000,"y":0},{"x":1795568004000,"y":0},{"x":1795568068000,"y":0},{"x":1795568132000,"y":0},{"x":1795568194000,"y":0},{"x":1795568260000,"y":0},{"x":1795568324000,"y":0},{"x":1795568388000,"y":0},{"x":1795568452000,"y":0},{"x":1795568516000,"y":0},{"x":1795568580000,"y":0},{"x":1795568644000,"y":0},{"x":1795568708000,"y":0},{"x":1795568788000,"y":0},{"x":1795568853000,"y":0},{"x":1795568916000,"y":0},{"x":1795568980000,"y":0},{"x":1795569044000,"y":0},{"x":1795569108000,"y":0},{"x":1795569172000,"y":0},{"x":1795569236000,"y":0},{"x":1795569300000,"y":0},{"x":1795569364000,"y":0},{"x":1795569428000,"y":0},{"x":1795569492000,"y":0},{"x":1795569556000,"y":0},{"x":1795569634000,"y":0},{"x":1795569700000,"y":0},{"x":1795569764000,"y":0},{"x":1795569828000,"y":0},{"x":1795569892000,"y":0},{"x":1795569956000,"y":0},{"x":1795570020000,"y":0},{"x":1795570084000,"y":0},{"x":1795570148000,"y":0},{"x":1795570212000,"y":0},{"x":1795570276000,"y":0},{"x":1795570340000,"y":0},{"x":1795570404000,"y":0},{"x":1795570468000,"y":0},{"x":1795570532000,"y":0},{"x":1795570595000,"y":0},{"x":1795570660000,"y":0},{"x":1795570740000,"y":0},{"x":1795570804000,"y":0},{"x":1795570868000,"y":0},{"x":1795570932000,"y":0},{"x":1795570996000,"y":0},{"x":1795571060000,"y":0},{"x":1795571124000,"y":0},{"x":1795571188000,"y":0},{"x":1795571252000,"y":0},{"x":1795571313000,"y":0},{"x":1795571380000,"y":0},{"x":1795571444000,"y":0},{"x":1795571508000,"y":0},{"x":1795571588000,"y":0},{"x":1795571652000,"y":0},{"x":1795571716000,"y":0},{"x":1795571780000,"y":0},{"x":1795571845000,"y":0},{"x":1795571908000,"y":0},{"x":1795571972000,"y":0},{"x":1795572034000,"y":0},{"x":1795572100000,"y":0},{"x":1795572164000,"y":0},{"x":1795572228000,"y":0},{"x":1795572292000,"y":0},{"x":1795572356000,"y":0},{"x":1795572420000,"y":0},{"x":1795572484000,"y":0},{"x":1795572548000,"y":0},{"x":1795572612000,"y":0},{"x":1795572676000,"y":0},{"x":1795572740000,"y":0},{"x":1795572805000,"y":0},{"x":1795572868000,"y":0},{"x":1795572932000,"y":0},{"x":1795572994000,"y":0},{"x":1795573060000,"y":0},{"x":1795573124000,"y":0},{"x":1795573188000,"y":0},{"x":1795573252000,"y":0},{"x":1795573316000,"y":0},{"x":1795573380000,"y":0},{"x":1795573444000,"y":0},{"x":1795573508000,"y":0},{"x":1795573572000,"y":0},{"x":1795573636000,"y":0},{"x":1795573701000,"y":0},{"x":1795573764000,"y":0},{"x":1795573828000,"y":0},{"x":1795573892000,"y":0},{"x":1795573954000,"y":0},{"x":1795574020000,"y":0},{"x":1795574084000,"y":0},{"x":1795574148000,"y":0},{"x":1795574212000,"y":0},{"x":1795574276000,"y":0},{"x":1795574341000,"y":0},{"x":1795574404000,"y":0},{"x":1795574468000,"y":0},{"x":1795574532000,"y":0},{"x":1795574596000,"y":0},{"x":1795574660000,"y":0},{"x":1795574724000,"y":0},{"x":1795574788000,"y":0},{"x":1795574852000,"y":0},{"x":1795574914000,"y":0},{"x":1795574980000,"y":0},{"x":1795575044000,"y":0},{"x":1795575108000,"y":0},{"x":1795575172000,"y":0},{"x":1795575236000,"y":0},{"x":1795575300000,"y":0},{"x":1795575364000,"y":0},{"x":1795575428000,"y":0},{"x":1795575492000,"y":0},{"x":1795575556000,"y":0},{"x":1795575620000,"y":0},{"x":1795575684000,"y":0},{"x":1795575748000,"y":0},{"x":1795575812000,"y":0},{"x":1795575874000,"y":0},{"x":1795575940000,"y":0},{"x":1795576004000,"y":0},{"x":1795576068000,"y":0},{"x":1795576132000,"y":0},{"x":1795576196000,"y":0},{"x":1795576260000,"y":0},{"x":1795576324000,"y":0},{"x":1795576388000,"y":0},{"x":1795576452000,"y":0},{"x":1795576516000,"y":0},{"x":1795576580000,"y":0},{"x":1795576644000,"y":0},{"x":1795576708000,"y":0},{"x":1795576772000,"y":0},{"x":1795576837000,"y":0},{"x":1795576900000,"y":0},{"x":1795576964000,"y":0},{"x":1795577028000,"y":0},{"x":1795577092000,"y":0},{"x":1795577156000,"y":0},{"x":1795577220000,"y":0},{"x":1795577284000,"y":0},{"x":1795577348000,"y":0},{"x":1795577412000,"y":0},{"x":1795577476000,"y":0},{"x":1795577554000,"y":0},{"x":1795577620000,"y":0},{"x":1795577684000,"y":0},{"x":1795577748000,"y":0},{"x":1795577812000,"y":0},{"x":1795577876000,"y":0},{"x":1795577940000,"y":0},{"x":1795578004000,"y":0},{"x":1795578068000,"y":0},{"x":1795578132000,"y":0},{"x":1795578196000,"y":0},{"x":1795578260000,"y":0},{"x":1795578324000,"y":0},{"x":1795578388000,"y":0},{"x":1795578452000,"y":0},{"x":1795578515000,"y":0},{"x":1795578580000,"y":0},{"x":1795578644000,"y":0},{"x":1795578709000,"y":0},{"x":1795578772000,"y":0},{"x":1795578836000,"y":0},{"x":1795578900000,"y":0},{"x":1795578964000,"y":0},{"x":1795579028000,"y":0},{"x":1795579092000,"y":0},{"x":1795579156000,"y":0},{"x":1795579220000,"y":0},{"x":1795579284000,"y":0},{"x":1795579348000,"y":0},{"x":1795579412000,"y":0},{"x":1795579475000,"y":0},{"x":1795579540000,"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; }