{"id":443,"date":"2020-02-17T10:43:14","date_gmt":"2020-02-17T10:43:14","guid":{"rendered":"https:\/\/www.sotraveret.no\/weather\/?page_id=443"},"modified":"2020-08-02T15:33:43","modified_gmt":"2020-08-02T15:33:43","slug":"sotra-historical-data","status":"publish","type":"page","link":"https:\/\/www.sotraveret.no\/weather\/sotra-historical-data\/","title":{"rendered":"Sotra last 30 days"},"content":{"rendered":"<style type=\"text\/css\">\n#svg794334 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg794334 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg794334 .nvd3 .nv-axis line {stroke: #666666;}\n#svg794334 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg794334 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg794334 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n#svg794334 .nvd3 .nv-groups .lws-dashed-line {stroke-dasharray:10,10 !important;}\n#svg794334 .nvd3 .nv-groups .lws-dotted-line {stroke-dasharray:2,2 !important;}\n#svg794334 .nvd3 .nv-groups .lws-thin-line {stroke-width: 1 !important;}\n#svg794334 .nvd3 .nv-groups .lws-regular-line {stroke-width: 2 !important;}\n#svg794334 .nvd3 .nv-groups .lws-thick-line {stroke-width: 3 !important;}\n#svg794334 .nvd3 .nv-groups .lws-serie-1 .nv-point {fill-opacity:1;stroke-opacity:1;stroke-width:1;}\n#svg794334 .nvd3 .nv-groups .lws-serie-2 .nv-point {fill-opacity:1;stroke-opacity:1;stroke-width:1;}\n<\/style>\n<div class=\"lws-module-chart module-yearly-lines\" id=\"lws-container-794334\">\n<div id=\"graph794334\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg794334\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph794334 = null;\n    var opts = {lines: 15, length: 28, width: 8, radius: 42, scale: 0.4, corners: 1, color: \"#F8DC65\", opacity: 0.2, rotate: 0, direction: 1, speed: 1, trail: 60, fps: 20, zIndex: 2e9, className: \"c_spinner794334\", top: \"50%\", left: \"50%\", shadow: false, hwaccel: false, position: \"relative\"};\n    var target = document.getElementById(\"graph794334\");\n    var spinner794334 = new Spinner(opts).spin(target);\n    var observergraph794334 = null;\nsetTimeout(function() {$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"lines\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m1:c0:00:00:00:01\", measurement_1:\"max:temperature\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\", device_id_2:\"yx:00:00:00:00:01\", module_id_2:\"m1:c0:00:00:00:01\", measurement_2:\"min:temperature\", line_mode_2:\"line\", dot_style_2:\"small-dot\", line_style_2:\"solid\", line_size_2:\"regular\"}).done(function(data) {    var datagraph794334 = JSON.parse(data);\n      var shiftgraph794334 = new Date();\n      var xgraph794334 = 60000 * shiftgraph794334.getTimezoneOffset();\n    var minDomaingraph794334 = new Date(xgraph794334 + 1781265600000);\n    var maxDomaingraph794334 = new Date(xgraph794334 + 1783771200000);\n    var h00Tickgraph794334 = new Date(xgraph794334 + 1781265600000);\n    var h01Tickgraph794334 = new Date(xgraph794334 + 1781956800000);\n    var h02Tickgraph794334 = new Date(xgraph794334 + 1782820800000);\n    var h03Tickgraph794334 = new Date(xgraph794334 + 1782820800000);\n    var h04Tickgraph794334 = new Date(xgraph794334 + 1783771200000);\n    var colorgraph794334 = [\"#f8dc65\", \"#d4ad0a\"];\n    nv.addGraph(function() {\n       chartgraph794334 = nv.models.lineChart()\n               .x(function(d) {return xgraph794334 + d[0]})\n               .y(function(d) {return d[1]})\n               .interpolate(\"linear\")\n               .focusEnable(false)\n               .showLegend(true)\n               .xDomain([minDomaingraph794334, maxDomaingraph794334])\n               .yDomain([0, 0])\n               .color(colorgraph794334)\n               .noData(\"No Data To Display\")\n               .useInteractiveGuideline(true);\n      chartgraph794334.xAxis.axisLabel(\"Temperature  \u25cf  Last 30 Days\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%Y-%m-%d\")(new Date(d)) });\n      chartgraph794334.xAxis.tickValues([h00Tickgraph794334, h01Tickgraph794334, h02Tickgraph794334, h03Tickgraph794334, h04Tickgraph794334]);\n      chartgraph794334.interactiveLayer.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph794334.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph794334.xAxis.axisLabelDistance(6);\n      chartgraph794334.interactiveLayer.tooltip.gravity(\"s\");\n      chartgraph794334.yAxis.showMaxMin(false).tickFormat(function(d) { return d + \" \u00b0C\"; });\n      chartgraph794334.yAxis.tickValues([0, 0]);\n      d3.select(\"#graph794334 svg\").datum(datagraph794334).transition().duration(500).call(chartgraph794334);\n      nv.utils.windowResize(chartgraph794334.update);\n      return chartgraph794334;\n    });\n    spinner794334.stop();\n}, 827); \n    var inter794334 = setInterval(function() {    spinner794334.spin(target);\n$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"lines\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m1:c0:00:00:00:01\", measurement_1:\"max:temperature\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\", device_id_2:\"yx:00:00:00:00:01\", module_id_2:\"m1:c0:00:00:00:01\", measurement_2:\"min:temperature\", line_mode_2:\"line\", dot_style_2:\"small-dot\", line_style_2:\"solid\", line_size_2:\"regular\"}).done(function(data) {    datagraph794334 = JSON.parse(data);\n      d3.select(\"#graph794334 svg\").datum(datagraph794334).transition().duration(500).call(chartgraph794334);\n    spinner794334.stop();})\n}, 3651319); \nif (observergraph794334 === null) { \n  var targetgraph794334 = document.getElementById(\"graph794334\");\n  var targetNodegraph794334 = targetgraph794334.parentElement.parentElement.parentElement.parentElement;\n  var modeStandard = true;\n  var modeElementorPopbox = false;\n  var testgraph794334 = targetgraph794334.closest(\".modal-body\");\n    if (testgraph794334 != null) {\n      testgraph794334 = testgraph794334.closest(\".modal-content\");\n      if (testgraph794334 != null) {\n        testgraph794334 = testgraph794334.closest(\".modal\");\n        if (testgraph794334 != null) {\n          targetNodegraph794334 = testgraph794334;\n          modeStandard = false;\n          modeElementorPopbox = true;\n        }\n      }\n    }\nvar callbackgraph794334 = function(mutationsList) {\n    mutationsList.forEach(function (mutation, index) {\n        if (modeStandard) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display != \"none\") {if (mutation.oldValue !== null) {if (mutation.oldValue.indexOf(\"display: none\") != -1) {if (chartgraph794334) {chartgraph794334.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph794334) {chartgraph794334.update();}}}}}\n    })\n};\nobservergraph794334 = new MutationObserver(callbackgraph794334);\nobservergraph794334.observe(targetNodegraph794334,{attributes: true, subtree: true, attributeOldValue: true});\n}\n\n\n});\n  });\n<\/script>\n\n\n<style type=\"text\/css\">\n#svg556714 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg556714 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg556714 .nvd3 .nv-axis line {stroke: #666666;}\n#svg556714 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg556714 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg556714 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n#svg556714 .nvd3 .nv-groups .lws-dashed-line {stroke-dasharray:10,10 !important;}\n#svg556714 .nvd3 .nv-groups .lws-dotted-line {stroke-dasharray:2,2 !important;}\n#svg556714 .nvd3 .nv-groups .lws-thin-line {stroke-width: 1 !important;}\n#svg556714 .nvd3 .nv-groups .lws-regular-line {stroke-width: 2 !important;}\n#svg556714 .nvd3 .nv-groups .lws-thick-line {stroke-width: 3 !important;}\n#svg556714 .nvd3 .nv-groups .lws-serie-1 .nv-point {fill-opacity:1;stroke-opacity:1;stroke-width:1;}\n<\/style>\n<div class=\"lws-module-chart module-yearly-line\" id=\"lws-container-556714\">\n<div id=\"graph556714\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg556714\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph556714 = null;\n    var opts = {lines: 15, length: 28, width: 8, radius: 42, scale: 0.4, corners: 1, color: \"#F8DC65\", opacity: 0.2, rotate: 0, direction: 1, speed: 1, trail: 60, fps: 20, zIndex: 2e9, className: \"c_spinner556714\", top: \"50%\", left: \"50%\", shadow: false, hwaccel: false, position: \"relative\"};\n    var target = document.getElementById(\"graph556714\");\n    var spinner556714 = new Spinner(opts).spin(target);\n    var observergraph556714 = null;\nsetTimeout(function() {$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"line\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m5:c0:00:00:00:01\", measurement_1:\"max:irradiance\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    var datagraph556714 = JSON.parse(data);\n      var shiftgraph556714 = new Date();\n      var xgraph556714 = 60000 * shiftgraph556714.getTimezoneOffset();\n    var minDomaingraph556714 = new Date(xgraph556714 + 1781265600000);\n    var maxDomaingraph556714 = new Date(xgraph556714 + 1783771200000);\n    var h00Tickgraph556714 = new Date(xgraph556714 + 1781265600000);\n    var h01Tickgraph556714 = new Date(xgraph556714 + 1781956800000);\n    var h02Tickgraph556714 = new Date(xgraph556714 + 1782820800000);\n    var h03Tickgraph556714 = new Date(xgraph556714 + 1782820800000);\n    var h04Tickgraph556714 = new Date(xgraph556714 + 1783771200000);\n    var colorgraph556714 = [\"#f8dc65\"];\n    nv.addGraph(function() {\n       chartgraph556714 = nv.models.lineChart()\n               .x(function(d) {return xgraph556714 + d[0]})\n               .y(function(d) {return d[1]})\n               .interpolate(\"linear\")\n               .focusEnable(false)\n               .showLegend(false)\n               .xDomain([minDomaingraph556714, maxDomaingraph556714])\n               .yDomain([0, 0])\n               .color(colorgraph556714)\n               .noData(\"No Data To Display\")\n               .useInteractiveGuideline(true);\n      chartgraph556714.xAxis.axisLabel(\"Solar Irradiance  \u25cf  Last 30 Days\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%Y-%m-%d\")(new Date(d)) });\n      chartgraph556714.xAxis.tickValues([h00Tickgraph556714, h01Tickgraph556714, h02Tickgraph556714, h03Tickgraph556714, h04Tickgraph556714]);\n      chartgraph556714.interactiveLayer.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph556714.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph556714.xAxis.axisLabelDistance(6);\n      chartgraph556714.interactiveLayer.tooltip.gravity(\"s\");\n      chartgraph556714.yAxis.showMaxMin(false).tickFormat(function(d) { return d + \" W\/m\u00b2\"; });\n      chartgraph556714.yAxis.tickValues([0, 0]);\n      d3.select(\"#graph556714 svg\").datum(datagraph556714).transition().duration(500).call(chartgraph556714);\n      nv.utils.windowResize(chartgraph556714.update);\n      return chartgraph556714;\n    });\n    spinner556714.stop();\n}, 1796); \n    var inter556714 = setInterval(function() {    spinner556714.spin(target);\n$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"line\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m5:c0:00:00:00:01\", measurement_1:\"max:irradiance\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    datagraph556714 = JSON.parse(data);\n      d3.select(\"#graph556714 svg\").datum(datagraph556714).transition().duration(500).call(chartgraph556714);\n    spinner556714.stop();})\n}, 3661365); \nif (observergraph556714 === null) { \n  var targetgraph556714 = document.getElementById(\"graph556714\");\n  var targetNodegraph556714 = targetgraph556714.parentElement.parentElement.parentElement.parentElement;\n  var modeStandard = true;\n  var modeElementorPopbox = false;\n  var testgraph556714 = targetgraph556714.closest(\".modal-body\");\n    if (testgraph556714 != null) {\n      testgraph556714 = testgraph556714.closest(\".modal-content\");\n      if (testgraph556714 != null) {\n        testgraph556714 = testgraph556714.closest(\".modal\");\n        if (testgraph556714 != null) {\n          targetNodegraph556714 = testgraph556714;\n          modeStandard = false;\n          modeElementorPopbox = true;\n        }\n      }\n    }\nvar callbackgraph556714 = function(mutationsList) {\n    mutationsList.forEach(function (mutation, index) {\n        if (modeStandard) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display != \"none\") {if (mutation.oldValue !== null) {if (mutation.oldValue.indexOf(\"display: none\") != -1) {if (chartgraph556714) {chartgraph556714.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph556714) {chartgraph556714.update();}}}}}\n    })\n};\nobservergraph556714 = new MutationObserver(callbackgraph556714);\nobservergraph556714.observe(targetNodegraph556714,{attributes: true, subtree: true, attributeOldValue: true});\n}\n\n\n});\n  });\n<\/script>\n\n\n<style type=\"text\/css\">\n#svg148580 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg148580 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg148580 .nvd3 .nv-axis line {stroke: #666666;}\n#svg148580 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg148580 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg148580 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n#svg148580 .nvd3 .nv-groups .lws-dashed-line {stroke-dasharray:10,10 !important;}\n#svg148580 .nvd3 .nv-groups .lws-dotted-line {stroke-dasharray:2,2 !important;}\n#svg148580 .nvd3 .nv-groups .lws-thin-line {stroke-width: 1 !important;}\n#svg148580 .nvd3 .nv-groups .lws-regular-line {stroke-width: 2 !important;}\n#svg148580 .nvd3 .nv-groups .lws-thick-line {stroke-width: 3 !important;}\n#svg148580 .nvd3 .nv-groups .lws-serie-1 .nv-point {fill-opacity:1;stroke-opacity:1;stroke-width:1;}\n<\/style>\n<div class=\"lws-module-chart module-yearly-line\" id=\"lws-container-148580\">\n<div id=\"graph148580\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg148580\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph148580 = null;\n    var opts = {lines: 15, length: 28, width: 8, radius: 42, scale: 0.4, corners: 1, color: \"#F8DC65\", opacity: 0.2, rotate: 0, direction: 1, speed: 1, trail: 60, fps: 20, zIndex: 2e9, className: \"c_spinner148580\", top: \"50%\", left: \"50%\", shadow: false, hwaccel: false, position: \"relative\"};\n    var target = document.getElementById(\"graph148580\");\n    var spinner148580 = new Spinner(opts).spin(target);\n    var observergraph148580 = null;\nsetTimeout(function() {$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"line\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m2:c0:00:00:00:01\", measurement_1:\"max:guststrength\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    var datagraph148580 = JSON.parse(data);\n      var shiftgraph148580 = new Date();\n      var xgraph148580 = 60000 * shiftgraph148580.getTimezoneOffset();\n    var minDomaingraph148580 = new Date(xgraph148580 + 1781265600000);\n    var maxDomaingraph148580 = new Date(xgraph148580 + 1783771200000);\n    var h00Tickgraph148580 = new Date(xgraph148580 + 1781265600000);\n    var h01Tickgraph148580 = new Date(xgraph148580 + 1781956800000);\n    var h02Tickgraph148580 = new Date(xgraph148580 + 1782820800000);\n    var h03Tickgraph148580 = new Date(xgraph148580 + 1782820800000);\n    var h04Tickgraph148580 = new Date(xgraph148580 + 1783771200000);\n    var colorgraph148580 = [\"#f8dc65\"];\n    nv.addGraph(function() {\n       chartgraph148580 = nv.models.lineChart()\n               .x(function(d) {return xgraph148580 + d[0]})\n               .y(function(d) {return d[1]})\n               .interpolate(\"linear\")\n               .focusEnable(false)\n               .showLegend(false)\n               .xDomain([minDomaingraph148580, maxDomaingraph148580])\n               .yDomain([0, 0])\n               .color(colorgraph148580)\n               .noData(\"No Data To Display\")\n               .useInteractiveGuideline(true);\n      chartgraph148580.xAxis.axisLabel(\"Gust Strength  \u25cf  Last 30 Days\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%Y-%m-%d\")(new Date(d)) });\n      chartgraph148580.xAxis.tickValues([h00Tickgraph148580, h01Tickgraph148580, h02Tickgraph148580, h03Tickgraph148580, h04Tickgraph148580]);\n      chartgraph148580.interactiveLayer.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph148580.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d\")(new Date(d));});\n      chartgraph148580.xAxis.axisLabelDistance(6);\n      chartgraph148580.interactiveLayer.tooltip.gravity(\"s\");\n      chartgraph148580.yAxis.showMaxMin(false).tickFormat(function(d) { return d + \" m\/s\"; });\n      chartgraph148580.yAxis.tickValues([0, 0]);\n      d3.select(\"#graph148580 svg\").datum(datagraph148580).transition().duration(500).call(chartgraph148580);\n      nv.utils.windowResize(chartgraph148580.update);\n      return chartgraph148580;\n    });\n    spinner148580.stop();\n}, 1688); \n    var inter148580 = setInterval(function() {    spinner148580.spin(target);\n$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"line\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"interactive\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m2:c0:00:00:00:01\", measurement_1:\"max:guststrength\", line_mode_1:\"line\", dot_style_1:\"small-dot\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    datagraph148580 = JSON.parse(data);\n      d3.select(\"#graph148580 svg\").datum(datagraph148580).transition().duration(500).call(chartgraph148580);\n    spinner148580.stop();})\n}, 3575675); \nif (observergraph148580 === null) { \n  var targetgraph148580 = document.getElementById(\"graph148580\");\n  var targetNodegraph148580 = targetgraph148580.parentElement.parentElement.parentElement.parentElement;\n  var modeStandard = true;\n  var modeElementorPopbox = false;\n  var testgraph148580 = targetgraph148580.closest(\".modal-body\");\n    if (testgraph148580 != null) {\n      testgraph148580 = testgraph148580.closest(\".modal-content\");\n      if (testgraph148580 != null) {\n        testgraph148580 = testgraph148580.closest(\".modal\");\n        if (testgraph148580 != null) {\n          targetNodegraph148580 = testgraph148580;\n          modeStandard = false;\n          modeElementorPopbox = true;\n        }\n      }\n    }\nvar callbackgraph148580 = function(mutationsList) {\n    mutationsList.forEach(function (mutation, index) {\n        if (modeStandard) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display != \"none\") {if (mutation.oldValue !== null) {if (mutation.oldValue.indexOf(\"display: none\") != -1) {if (chartgraph148580) {chartgraph148580.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph148580) {chartgraph148580.update();}}}}}\n    })\n};\nobservergraph148580 = new MutationObserver(callbackgraph148580);\nobservergraph148580.observe(targetNodegraph148580,{attributes: true, subtree: true, attributeOldValue: true});\n}\n\n\n});\n  });\n<\/script>\n\n\n<style type=\"text\/css\">\n#svg433765 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg433765 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg433765 .nvd3 .nv-axis line {stroke: #666666;}\n#svg433765 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg433765 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg433765 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n<\/style>\n<div class=\"lws-module-chart module-yearly-bar\" id=\"lws-container-433765\">\n<div id=\"graph433765\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg433765\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph433765 = null;\n    var opts = {lines: 15, length: 28, width: 8, radius: 42, scale: 0.4, corners: 1, color: \"#F8DC65\", opacity: 0.2, rotate: 0, direction: 1, speed: 1, trail: 60, fps: 20, zIndex: 2e9, className: \"c_spinner433765\", top: \"50%\", left: \"50%\", shadow: false, hwaccel: false, position: \"relative\"};\n    var target = document.getElementById(\"graph433765\");\n    var spinner433765 = new Spinner(opts).spin(target);\n    var observergraph433765 = null;\nsetTimeout(function() {$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"bar\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"standard\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m3:c0:00:00:00:01\", measurement_1:\"agg:rain_day_aggregated\", line_mode_1:\"line\", dot_style_1:\"none\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    var datagraph433765 = JSON.parse(data);\n      var shiftgraph433765 = new Date();\n      var xgraph433765 = 60000 * shiftgraph433765.getTimezoneOffset();\n    var colorgraph433765 = [\"#f8dc65\"];\n      nv.addGraph(function() {\n         chartgraph433765 = nv.models.multiBarChart()\n               .x(function(d) {return xgraph433765 + d[0]})\n               .y(function(d) {return d[1]})\n               .reduceXTicks(true)\n               .yDomain([0, 0])\n               .showLegend(false)\n               .noData(\"No Data To Display\")\n               .color(colorgraph433765)\n               .controlLabels({}).showControls(false);\n      chartgraph433765.xAxis.axisLabel(\"Rainfall  \u25cf  Last 30 Days\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%Y-%m-%d\")(new Date(d)) });\n      chartgraph433765.xAxis.axisLabelDistance(6);\n      chartgraph433765.yAxis.showMaxMin(false);      chartgraph433765.yAxis.tickValues([0, 0]);\n      chartgraph433765.yAxis.tickValues([0, 0]);\n      chartgraph433765.yAxis.tickFormat(function(d) { return d + \" mm\"; });\n      d3.select(\"#graph433765 svg\").datum(datagraph433765).transition().duration(500).call(chartgraph433765);\n      nv.utils.windowResize(chartgraph433765.update);\n      return chartgraph433765;\n    });\n    spinner433765.stop();\n}, 1732); \n    var inter433765 = setInterval(function() {    spinner433765.spin(target);\n$.post( \"\/weather\/wp-admin\/admin-ajax.php\", {action:\"lws_query_graph_datas\", cache:\"cache\", mode:\"yearly\", type:\"bar\", template:\"ws\", color:\"self\", label:\"generic\", interpolation:\"linear\", guideline:\"standard\", height:\"300px\", timescale:\"auto\", valuescale:\"auto\", data:\"ajax_refresh\", periodtype:\"rolling-days\", periodvalue:\"rdays-30\", device_id_1:\"yx:00:00:00:00:01\", module_id_1:\"m3:c0:00:00:00:01\", measurement_1:\"agg:rain_day_aggregated\", line_mode_1:\"line\", dot_style_1:\"none\", line_style_1:\"solid\", line_size_1:\"regular\"}).done(function(data) {    datagraph433765 = JSON.parse(data);\n      d3.select(\"#graph433765 svg\").datum(datagraph433765).transition().duration(500).call(chartgraph433765);\n    spinner433765.stop();})\n}, 3529581); \nif (observergraph433765 === null) { \n  var targetgraph433765 = document.getElementById(\"graph433765\");\n  var targetNodegraph433765 = targetgraph433765.parentElement.parentElement.parentElement.parentElement;\n  var modeStandard = true;\n  var modeElementorPopbox = false;\n  var testgraph433765 = targetgraph433765.closest(\".modal-body\");\n    if (testgraph433765 != null) {\n      testgraph433765 = testgraph433765.closest(\".modal-content\");\n      if (testgraph433765 != null) {\n        testgraph433765 = testgraph433765.closest(\".modal\");\n        if (testgraph433765 != null) {\n          targetNodegraph433765 = testgraph433765;\n          modeStandard = false;\n          modeElementorPopbox = true;\n        }\n      }\n    }\nvar callbackgraph433765 = function(mutationsList) {\n    mutationsList.forEach(function (mutation, index) {\n        if (modeStandard) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display != \"none\") {if (mutation.oldValue !== null) {if (mutation.oldValue.indexOf(\"display: none\") != -1) {if (chartgraph433765) {chartgraph433765.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph433765) {chartgraph433765.update();}}}}}\n    })\n};\nobservergraph433765 = new MutationObserver(callbackgraph433765);\nobservergraph433765.observe(targetNodegraph433765,{attributes: true, subtree: true, attributeOldValue: true});\n}\n\n\n});\n  });\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/pages\/443"}],"collection":[{"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":10,"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/pages\/443\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/pages\/443\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/www.sotraveret.no\/weather\/wp-json\/wp\/v2\/media?parent=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}