{"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#svg450314 .nvd3 text {font:normal 10px Verdana, Geneva, sans-serif;fill: #F8DC65;}\n#svg450314 .nvd3 .nv-axis path.domain {stroke: #F8DC65;stroke-opacity: 1;}\n#svg450314 .nvd3 .nv-axis line {stroke: #666666;}\n#svg450314 .nvd3 .nv-axis text.nv-axislabel {font-size: 15px;font-variant: small-caps;letter-spacing:2px;}\n#svg450314 .nvd3 .nv-x .nv-wrap g .tick:first-of-type text {text-anchor: start !important;}\n#svg450314 .nvd3 .nv-x .nv-wrap g .tick:last-of-type text {text-anchor: end !important;}\n#svg450314 .nvd3 .nv-groups .lws-dashed-line {stroke-dasharray:10,10 !important;}\n#svg450314 .nvd3 .nv-groups .lws-dotted-line {stroke-dasharray:2,2 !important;}\n#svg450314 .nvd3 .nv-groups .lws-thin-line {stroke-width: 1 !important;}\n#svg450314 .nvd3 .nv-groups .lws-regular-line {stroke-width: 2 !important;}\n#svg450314 .nvd3 .nv-groups .lws-thick-line {stroke-width: 3 !important;}\n#svg450314 .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-450314\">\n<div id=\"graph450314\" style=\"background-color:#484848;border-radius: 3px;border: 1px solid #F8DC65;padding:8px 14px 8px 14px;height: 300px;\"><svg id=\"svg450314\" style=\"overflow:hidden;\"><\/svg><\/div>\n<\/div>\n<script language=\"javascript\" type=\"text\/javascript\">\n  jQuery(document).ready(function($) {\n    var chartgraph450314 = null;\n    var datagraph450314 =[{\"key\":\"Temperature\", \"strokeWidth\":\"2\", \"classed\":\"lws-serie-1 lws-regular-line\", \"values\":[]}];\n      var shiftgraph450314 = new Date();\n      var xgraph450314 = 60000 * shiftgraph450314.getTimezoneOffset();\n    var minDomaingraph450314 = new Date(xgraph450314 + 1791072000000);\n    var maxDomaingraph450314 = new Date(xgraph450314 + 1791158399000);\n    var h00Tickgraph450314 = new Date(xgraph450314 + 1791072000000);\n    var h04Tickgraph450314 = new Date(xgraph450314 + 1791086400000);\n    var h08Tickgraph450314 = new Date(xgraph450314 + 1791100800000);\n    var h12Tickgraph450314 = new Date(xgraph450314 + 1791115200000);\n    var h16Tickgraph450314 = new Date(xgraph450314 + 1791129600000);\n    var h20Tickgraph450314 = new Date(xgraph450314 + 1791144000000);\n    var h24Tickgraph450314 = new Date(xgraph450314 + 1791158399000);\n    var colorgraph450314 = [\"#f8dc65\"];\n    nv.addGraph(function() {\n       chartgraph450314 = nv.models.lineChart()\n               .x(function(d) {return xgraph450314 + d[0]})\n               .y(function(d) {return d[1]})\n               .interpolate(\"linear\")\n               .focusEnable(false)\n               .showLegend(false)\n               .xDomain([minDomaingraph450314, maxDomaingraph450314])\n               .yDomain([0, 0])\n               .color(colorgraph450314)\n               .noData(\"No Data To Display\")\n               .useInteractiveGuideline(false);\n      chartgraph450314.xAxis.axisLabel(\"Temperature\").showMaxMin(false).tickFormat(function(d) {return d3.time.format(\"%H:%M\")(new Date(d)) });\n      chartgraph450314.xAxis.tickValues([h00Tickgraph450314, h04Tickgraph450314, h08Tickgraph450314, h12Tickgraph450314, h16Tickgraph450314, h20Tickgraph450314, h24Tickgraph450314]);\n      chartgraph450314.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      chartgraph450314.tooltip.headerFormatter(function (d) {if (typeof d === \"string\") {d=parseFloat(d);};return d3.time.format(\"%Y-%m-%d %H:%M\")(new Date(d));});\n      chartgraph450314.xAxis.axisLabelDistance(6);\n      chartgraph450314.interactiveLayer.tooltip.gravity(\"s\");\n      chartgraph450314.yAxis.showMaxMin(false).tickFormat(function(d) { return d + \" \u00b0C\"; });\n      chartgraph450314.yAxis.tickValues([0, 0]);\n      d3.select(\"#graph450314 svg\").datum(datagraph450314).transition().duration(500).call(chartgraph450314);\n      nv.utils.windowResize(chartgraph450314.update);\n      return chartgraph450314;\n    });\nvar targetgraph450314 = document.getElementById(\"graph450314\");\nvar targetNodegraph450314 = targetgraph450314.parentElement.parentElement.parentElement.parentElement;\nvar modeStandard = true;\nvar modeElementorPopbox = false;\nvar testgraph450314 = targetgraph450314.closest(\".modal-body\");\n  if (testgraph450314 != null) {\n    testgraph450314 = testgraph450314.closest(\".modal-content\");\n    if (testgraph450314 != null) {\n      testgraph450314 = testgraph450314.closest(\".modal\");\n      if (testgraph450314 != null) {\n        targetNodegraph450314 = testgraph450314;\n        modeStandard = false;\n        modeElementorPopbox = true;\n      }\n    }\n  }\nvar callbackgraph450314 = 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 (chartgraph450314) {chartgraph450314.update();}}}}}}}\n        if (modeElementorPopbox) {if (mutation.type == \"attributes\") {if (mutation.attributeName == \"style\") {if (mutation.target.style.display == \"block\") {if (chartgraph450314) {chartgraph450314.update();}}}}}\n    })\n};\nvar observergraph450314 = new MutationObserver(callbackgraph450314);\nobservergraph450314.observe(targetNodegraph450314,{attributes: true, subtree: true, attributeOldValue: true});\n\n\n  });\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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}]}}