{"id":6592,"date":"2021-09-25T14:38:18","date_gmt":"2021-09-25T12:38:18","guid":{"rendered":"https:\/\/hess.priv.no\/?page_id=6592"},"modified":"2021-09-25T14:38:18","modified_gmt":"2021-09-25T12:38:18","slug":"temperaturer","status":"publish","type":"page","link":"https:\/\/hess.priv.no\/?page_id=6592","title":{"rendered":"Temperaturer"},"content":{"rendered":"<style type=\"text\/css\">\n#svg551074 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg551074 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg551074 .nvd3 .nv-axis line {stroke: #666666;}\n#svg551074 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg551074 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg551074 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n#svg551074 .nvd3 .nv-groups .lws-dashed-line {stroke-dasharray:10,10 !important;}\n#svg551074 .nvd3 .nv-groups .lws-dotted-line {stroke-dasharray:2,2 !important;}\n#svg551074 .nvd3 .nv-groups .lws-thin-line {stroke-width: 1 !important;}\n#svg551074 .nvd3 .nv-groups .lws-regular-line {stroke-width: 2 !important;}\n#svg551074 .nvd3 .nv-groups .lws-thick-line {stroke-width: 3 !important;}\n#svg551074 .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-daily-line\" id=\"lws-container-551074\">\n<div id=\"graph551074\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg551074\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph551074 = null;\n    var datagraph551074 =[{\"key\":\"Temperature\", \"strokeWidth\":\"2\", \"classed\":\"lws-serie-1 lws-regular-line\", \"values\":[]}];\n      var shiftgraph551074 = new Date();\n      var xgraph551074 = 60000 * shiftgraph551074.getTimezoneOffset();\n    var minDomaingraph551074 = new Date(xgraph551074 + 1775952000000);\n    var maxDomaingraph551074 = new Date(xgraph551074 + 1776038399000);\n    var h00Tickgraph551074 = new Date(xgraph551074 + 1775952000000);\n    var h04Tickgraph551074 = new Date(xgraph551074 + 1775966400000);\n    var h08Tickgraph551074 = new Date(xgraph551074 + 1775980800000);\n    var h12Tickgraph551074 = new Date(xgraph551074 + 1775995200000);\n    var h16Tickgraph551074 = new Date(xgraph551074 + 1776009600000);\n    var h20Tickgraph551074 = new Date(xgraph551074 + 1776024000000);\n    var h24Tickgraph551074 = new Date(xgraph551074 + 1776038399000);\n    var colorgraph551074 = [\"#f8dc65\"];\n    nv.addGraph(function() {\n       chartgraph551074 = nv.models.lineChart()\n               .x(function(d) {return xgraph551074 + d[0]})\n               .y(function(d) {return d[1]})\n               .interpolate(\"linear\")\n               .focusEnable(false)\n               .showLegend(false)\n               .xDomain([minDomaingraph551074, maxDomaingraph551074])\n               .yDomain([0, 0])\n               .color(colorgraph551074)\n               .noData(\"No Data To Display\")\n               .useInteractiveGuideline(false);\n      chartgraph551074.xAxis.axisLabel(\"Temperature\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%H:%M\")(new Date(d)) });\n      chartgraph551074.xAxis.tickValues([h00Tickgraph551074, h04Tickgraph551074, h08Tickgraph551074, h12Tickgraph551074, h16Tickgraph551074, h20Tickgraph551074, h24Tickgraph551074]);\n      chartgraph551074.interactiveLayer.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d %H:%M\")(new Date(d));});\n      chartgraph551074.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d %H:%M\")(new Date(d));});\n      chartgraph551074.xAxis.axisLabelDistance(6);\n      chartgraph551074.interactiveLayer.tooltip.gravity(\"s\");\n      chartgraph551074.yAxis.showMaxMin(false).tickFormat(function(d) { return d + \" \u00b0C\"; });\n      chartgraph551074.yAxis.tickValues([0, 0]);\n      d3.select(\"#graph551074 svg\").datum(datagraph551074).transition().duration(500).call(chartgraph551074);\n      nv.utils.windowResize(chartgraph551074.update);\n      return chartgraph551074;\n    });\nvar targetgraph551074 = document.getElementById(\"graph551074\");\nvar targetNodegraph551074 = targetgraph551074.parentElement.parentElement.parentElement.parentElement;\nvar modeStandard = true;\nvar modeElementorPopbox = false;\nvar testgraph551074 = targetgraph551074.closest(\".modal-body\");\n  if (testgraph551074 != null) {\n    testgraph551074 = testgraph551074.closest(\".modal-content\");\n    if (testgraph551074 != null) {\n      testgraph551074 = testgraph551074.closest(\".modal\");\n      if (testgraph551074 != null) {\n        targetNodegraph551074 = testgraph551074;\n        modeStandard = false;\n        modeElementorPopbox = true;\n      }\n    }\n  }\nvar callbackgraph551074 = 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 (chartgraph551074) {chartgraph551074.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph551074) {chartgraph551074.update();}}}}}\n    })\n};\nvar observergraph551074 = new MutationObserver(callbackgraph551074);\nobservergraph551074.observe(targetNodegraph551074,{attributes: true, subtree: true, attributeOldValue: true});\n\n\n  });\n<\/script>\n\n\n\n<p><\/p>\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":{"footnotes":""},"class_list":["post-6592","page","type-page","status-publish","hentry","eq-blocks"],"_links":{"self":[{"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/pages\/6592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hess.priv.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6592"}],"version-history":[{"count":1,"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/pages\/6592\/revisions"}],"predecessor-version":[{"id":6593,"href":"https:\/\/hess.priv.no\/index.php?rest_route=\/wp\/v2\/pages\/6592\/revisions\/6593"}],"wp:attachment":[{"href":"https:\/\/hess.priv.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}