{"id":197,"date":"2024-07-08T15:39:24","date_gmt":"2024-07-08T15:39:24","guid":{"rendered":"https:\/\/xn--72c3dya.energynpu.com\/?p=197"},"modified":"2024-08-14T03:29:58","modified_gmt":"2024-08-14T03:29:58","slug":"%e0%b8%81%e0%b8%a3%e0%b8%b2%e0%b8%9a","status":"publish","type":"post","link":"https:\/\/xn--72c3dya.energynpu.com\/?p=197","title":{"rendered":"\u0e01\u0e23\u0e32\u0e1a"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;?php\n \n $dataPoints = array(\n\tarray(\"x\" => 1483381800000 , \"y\" => 650),\n\tarray(\"x\" => 1483468200000 , \"y\" => 700),\n\tarray(\"x\" => 1483554600000 , \"y\" => 710),\n\tarray(\"x\" => 1483641000000 , \"y\" => 658),\n\tarray(\"x\" => 1483727400000 , \"y\" => 734),\n\tarray(\"x\" => 1483813800000 , \"y\" => 963),\n\tarray(\"x\" => 1483900200000 , \"y\" => 847),\n\tarray(\"x\" => 1483986600000 , \"y\" => 853),\n\tarray(\"x\" => 1484073000000 , \"y\" => 869),\n\tarray(\"x\" => 1484159400000 , \"y\" => 943),\n\tarray(\"x\" => 1484245800000 , \"y\" => 970),\n\tarray(\"x\" => 1484332200000 , \"y\" => 869),\n\tarray(\"x\" => 1484418600000 , \"y\" => 890),\n\tarray(\"x\" => 1484505000000 , \"y\" => 930)\n );\n \n?>\n&lt;!DOCTYPE HTML>\n&lt;html>\n&lt;head>\n&lt;script>\nwindow.onload = function () {\n \nvar chart = new CanvasJS.Chart(\"chartContainer\", {\n\tanimationEnabled: true,\n\ttheme: \"light2\",\n\ttitle:{\n\t\ttext: \"Site Traffic\"\n\t},\n\taxisX: {\n\t\tvalueFormatString: \"DD MMM\"\n\t},\n\taxisY: {\n\t\ttitle: \"Total Number of Visits\",\n\t\tincludeZero: true,\n\t\tmaximum: 1200\n\t},\n\tdata: &#91;{\n\t\ttype: \"splineArea\",\n\t\tcolor: \"#6599FF\",\n\t\txValueType: \"dateTime\",\n\t\txValueFormatString: \"DD MMM\",\n\t\tyValueFormatString: \"#,##0 Visits\",\n\t\tdataPoints: &lt;?php echo json_encode($dataPoints); ?>\n\t}]\n});\n \nchart.render();\n \n}\n&lt;\/script>\n&lt;\/head>\n&lt;body>\n&lt;div id=\"chartContainer\" style=\"height: 370px; width: 100%;\">&lt;\/div>\n&lt;script src=\"https:\/\/cdn.canvasjs.com\/canvasjs.min.js\">&lt;\/script>\n&lt;\/body>\n&lt;\/html> <\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":4,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/223"}],"wp:attachment":[{"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xn--72c3dya.energynpu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}