{"id":1236,"date":"2020-06-15T11:56:46","date_gmt":"2020-06-15T04:56:46","guid":{"rendered":"https:\/\/www.yellowweb.id\/blog\/?p=1236"},"modified":"2020-06-15T12:09:14","modified_gmt":"2020-06-15T05:09:14","slug":"php-grafik-morris-js","status":"publish","type":"post","link":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/","title":{"rendered":"PHP Grafik Morris JS"},"content":{"rendered":"\n<p>Pada artikel kali ini akan dibahas seputar grafik, lebih tepatnya menampilkan sebuah grafik data dinamis dengan menggunakan PHP.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Untuk menampilkan data berupa grafik dengan hanya menggunakan PHP saja tentulah tidak mungkin, karena PHP itu sendiri hanya bertindak sebagai pengolah atau pemroses data saja. <\/p>\n\n\n\n<p>Solusinya adalah dengan menggunakan plugin tambahan, biasanya plugin tersebut dibuat menggunakan JavaScript atau jQuery yang nanti dipadukan dengan PHP.<\/p>\n\n\n\n<p>Disini akan dicoba menampilkan grafik data dinamis dengan menggunakan PHP dan Plugin Grafik dari MorrisJS<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\tinclude \"koneksi.php\";\n\n\t$sql = \"SELECT * FROM tbl_laptop\";\n\t$query = mysqli_query($konek, $sql) or die (mysqli_error());\n\t$chart_data = '';\n\twhile($data = mysqli_fetch_array($query)){\n\n\t\t$chart_data .=\"{\n\t\t\t\t\t\t\ttahun:'\".$data&#91;\"tahun\"].\"',\n\t\t\t\t\t\t\tmerk_abc:\".$data&#91;\"merk_abc\"].\",\n\t\t\t\t\t\t\tmerk_def:\".$data&#91;\"merk_def\"].\",\n\t\t\t\t\t\t\tmerk_xyz:\".$data&#91;\"merk_xyz\"].\"}, \n\t\t\t\t\t\t\";\n\n\t}\n\n\t$chart_data = substr($chart_data, 0, -2);\n?>\n&lt;!DOCTYPE html>\n&lt;html>\n&lt;head>\n\t&lt;title>Grafik Morris.js | Kursus Web YELLOWWEB&lt;\/title>\n\t&lt;link rel=\"stylesheet\" href=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/morris.js\/0.5.1\/morris.css\">\n\t&lt;script src=\"\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.9.0\/jquery.min.js\">&lt;\/script>\n\t&lt;script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/raphael\/2.1.0\/raphael-min.js\">&lt;\/script>\n\t&lt;script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/morris.js\/0.5.1\/morris.min.js\">&lt;\/script>\n&lt;\/head>\n&lt;body>\n\n\t&lt;div class=\"container\">\n\t\t&lt;h2>Contoh Grafik dengan Plugin Morris&lt;\/h2>\n\t\t&lt;div class=\"box-left\" style=\"float: left; width: 50%;\">\n\t\t\t&lt;div id=\"chart\">&lt;\/div>\n\t\t&lt;\/div>\n\t\t&lt;div class=\"box-right\" style=\"float: right; width: 50%;\">\n\t\t\t&lt;table border=\"1\">\n\t\t\t\t&lt;thead>\n\t\t\t\t\t&lt;tr>\n\t\t\t\t\t\t&lt;th>No&lt;\/th>\n\t\t\t\t\t\t&lt;th>Tahun&lt;\/th>\n\t\t\t\t\t\t&lt;th>Merk ABC&lt;\/th>\n\t\t\t\t\t\t&lt;th>Merk DEF&lt;\/th>\n\t\t\t\t\t\t&lt;th>Merk XYZ&lt;\/th>\n\t\t\t\t\t&lt;\/tr>\n\t\t\t\t&lt;\/thead>\n\t\t\t\t&lt;tbody>\n\t\t\t\t\t&lt;?php\n\t\t\t\t\t\tinclude \"koneksi.php\";\n\n\t\t\t\t\t\t$no = 1;\n\n\t\t\t\t\t\t$sql = \"SELECT * FROM tbl_laptop\";\n\t\t\t\t\t\t$query = mysqli_query($konek, $sql) or die (mysqli_error());\n\t\t\t\t\t\twhile($data = mysqli_fetch_array($query)){?>\n\n\t\t\t\t\t\t\t&lt;tr>\n\t\t\t\t\t\t\t\t&lt;td>&lt;?php echo $no; ?>&lt;\/td>\n\t\t\t\t\t\t\t\t&lt;td>&lt;?php echo $data&#91;'tahun'];?>&lt;\/td>\n\t\t\t\t\t\t\t\t&lt;td>&lt;?php echo $data&#91;'merk_abc'];?>&lt;\/td>\n\t\t\t\t\t\t\t\t&lt;td>&lt;?php echo $data&#91;'merk_def'];?>&lt;\/td>\n\t\t\t\t\t\t\t\t&lt;td>&lt;?php echo $data&#91;'merk_xyz'];?>&lt;\/td>\n\t\t\t\t\t\t\t&lt;\/tr>\n\n\t\t\t\t\t\t\t&lt;?php $no++; ?>\n\t\t\t\t\t\t&lt;?php }\n\t\t\t\t\t?>\n\t\t\t\t\t\n\t\t\t\t&lt;\/tbody>\n\t\t\t&lt;\/table>\n\n\t\t\t&lt;p style=\"font-style: italic; \">\n\t\t\t\tCatatan&lt;br>\n\t\t\t\tData yang ditampilkan langsung diambil secara dinamis dari Database Tabel Merk Laptop.\n\t\t\t\t&lt;br>\n\t\t\t\tUntuk artikel lainnya silahkan mengunjungi situs &lt;a href=\"https:\/\/www.yellowweb.id\" target=\"_blank\">www.yellowweb.id&lt;\/a>\n\t\t\t&lt;\/p>\n\t\t&lt;\/div>\n\t&lt;\/div>\n\n\n&lt;script type=\"text\/javascript\">\n\t\tMorris.Bar({\n\t\t\telement: 'chart',\n\t\t\tdata:&#91;&lt;?php echo $chart_data; ?>],\n\t\t\txkey:'tahun',\n\t\t\tykeys:&#91;'merk_abc','merk_def','merk_xyz'],\n\t\t\tlabels:&#91;'MERK ABC','MERK DEF','MERK XYZ'],\n\t\t\thideHover: 'auto',\n\t\t\tstacked:true \n\t\t});\n\t&lt;\/script>\n\n\t\n&lt;\/body>\n&lt;\/html>\n\n<\/code><\/pre>\n\n\n\n<p>Teman-teman jangan lupa membuat database terlebih dahulu, serta file index.php untuk menampilkan data.<\/p>\n\n\n\n<p>Secara keseluruhan skripnya dapat teman-teman lihat, dan hal perlu teman-teman ketahui adalah pada bagian tag html head disana terdapat link CDN yang mengarah ke plugin morris js.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html>\n&lt;head>\n\t&lt;title>Grafik Morris.js | Kursus Web YELLOWWEB&lt;\/title>\n\t&lt;link rel=\"stylesheet\" href=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/morris.js\/0.5.1\/morris.css\">\n\t&lt;script src=\"\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.9.0\/jquery.min.js\">&lt;\/script>\n\t&lt;script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/raphael\/2.1.0\/raphael-min.js\">&lt;\/script>\n\t&lt;script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/morris.js\/0.5.1\/morris.min.js\">&lt;\/script>\n&lt;\/head><\/code><\/pre>\n\n\n\n<p>Untuk bagian aktivasi akan diletakan pada bagian bawah, sebelum tag penutup body.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script type=\"text\/javascript\">\n\t\tMorris.Bar({\n\t\t\telement: 'chart',\n\t\t\tdata:&#91;&lt;?php echo $chart_data; ?>],\n\t\t\txkey:'tahun',\n\t\t\tykeys:&#91;'merk_abc','merk_def','merk_xyz'],\n\t\t\tlabels:&#91;'MERK ABC','MERK DEF','MERK XYZ'],\n\t\t\thideHover: 'auto',\n\t\t\tstacked:true \n\t\t});\n\t&lt;\/script><\/code><\/pre>\n\n\n\n<p>untuk skrip proses tarik data (fetch) disini diletakan pada bagian atas DOCTYPE.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\tinclude \"koneksi.php\";\n\n\t$sql = \"SELECT * FROM tbl_laptop\";\n\t$query = mysqli_query($konek, $sql) or die (mysqli_error());\n\t$chart_data = '';\n\twhile($data = mysqli_fetch_array($query)){\n\n\t\t$chart_data .=\"{\n\t\t\t\t\t\t\ttahun:'\".$data&#91;\"tahun\"].\"',\n\t\t\t\t\t\t\tmerk_abc:\".$data&#91;\"merk_abc\"].\",\n\t\t\t\t\t\t\tmerk_def:\".$data&#91;\"merk_def\"].\",\n\t\t\t\t\t\t\tmerk_xyz:\".$data&#91;\"merk_xyz\"].\"}, \n\t\t\t\t\t\t\";\n\n\t}\n\n\t$chart_data = substr($chart_data, 0, -2);\n?><\/code><\/pre>\n\n\n\n<p>Untuk menampilkan datanya sendiri, aktivasi akan memanggil id yang terdapat pada tag html body.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div id=\"chart\">&lt;\/div><\/code><\/pre>\n\n\n\n<p>Selamat mencoba &amp; Happy coding,&#8230;<\/p>\n\n\n\n<p>Download Skrip:<\/p>\n\n\n\n<p><a href=\"https:\/\/drive.google.com\/drive\/folders\/1bjY1re_kvM-4oa5vWgDPgbwdsr0m0zN0?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/drive.google.com\/drive\/folders\/1bjY1re_kvM-4oa5vWgDPgbwdsr0m0zN0?usp=sharing<\/a><\/p>\n\n\n\n<p>Demo:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.yellowweb.id\/demo\/grafik-morris\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.yellowweb.id\/demo\/grafik-morris\/<\/a><\/p>\n\n\n\n<p>Sumber:<\/p>\n\n\n\n<p><a href=\"https:\/\/morrisjs.github.io\/morris.js\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/morrisjs.github.io\/morris.js\/<\/a><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pada artikel kali ini akan dibahas seputar grafik, lebih tepatnya menampilkan sebuah grafik data dinamis dengan menggunakan PHP.<\/p>\n","protected":false},"author":1,"featured_media":1239,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116,110],"tags":[535,156,18,424,88,534,117],"class_list":["post-1236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jquery","category-php","tag-grafik","tag-javascript","tag-jquery","tag-jquery-plugin","tag-php","tag-php-grafik","tag-plugin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP Grafik Morris JS - YELLOWWEB.ID<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP Grafik Morris JS - YELLOWWEB.ID\" \/>\n<meta property=\"og:description\" content=\"Pada artikel kali ini akan dibahas seputar grafik, lebih tepatnya menampilkan sebuah grafik data dinamis dengan menggunakan PHP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/\" \/>\n<meta property=\"og:site_name\" content=\"YELLOWWEB.ID\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-15T04:56:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-15T05:09:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg?fit=600%2C290&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"290\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"yellowweb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"yellowweb\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/\"},\"author\":{\"name\":\"yellowweb\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\"},\"headline\":\"PHP Grafik Morris JS\",\"datePublished\":\"2020-06-15T04:56:46+00:00\",\"dateModified\":\"2020-06-15T05:09:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/\"},\"wordCount\":196,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/grafik-php-yellowweb.jpg\",\"keywords\":[\"grafik\",\"javascript\",\"jquery\",\"jquery plugin\",\"php\",\"php-grafik\",\"plugin\"],\"articleSection\":[\"jQuery\",\"PHP\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/\",\"name\":\"PHP Grafik Morris JS - YELLOWWEB.ID\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/grafik-php-yellowweb.jpg\",\"datePublished\":\"2020-06-15T04:56:46+00:00\",\"dateModified\":\"2020-06-15T05:09:14+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/grafik-php-yellowweb.jpg\",\"contentUrl\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/grafik-php-yellowweb.jpg\",\"width\":600,\"height\":290,\"caption\":\"Grafik PHP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/php-grafik-morris-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP Grafik Morris JS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/\",\"name\":\"YELLOWWEB.ID\",\"description\":\"Kursus Web Design | Kursus Web Programming | Mobile Web Apps | Digital Marketing\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/#\\\/schema\\\/person\\\/75188044e080844724e381ab6a5b9829\",\"name\":\"yellowweb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g\",\"caption\":\"yellowweb\"},\"sameAs\":[\"https:\\\/\\\/www.yellowweb.id\"],\"url\":\"https:\\\/\\\/www.yellowweb.id\\\/blog\\\/author\\\/yellowweb\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP Grafik Morris JS - YELLOWWEB.ID","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/","og_locale":"en_GB","og_type":"article","og_title":"PHP Grafik Morris JS - YELLOWWEB.ID","og_description":"Pada artikel kali ini akan dibahas seputar grafik, lebih tepatnya menampilkan sebuah grafik data dinamis dengan menggunakan PHP.","og_url":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/","og_site_name":"YELLOWWEB.ID","article_published_time":"2020-06-15T04:56:46+00:00","article_modified_time":"2020-06-15T05:09:14+00:00","og_image":[{"width":600,"height":290,"url":"https:\/\/i0.wp.com\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg?fit=600%2C290&ssl=1","type":"image\/jpeg"}],"author":"yellowweb","twitter_card":"summary_large_image","twitter_misc":{"Written by":"yellowweb","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#article","isPartOf":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/"},"author":{"name":"yellowweb","@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829"},"headline":"PHP Grafik Morris JS","datePublished":"2020-06-15T04:56:46+00:00","dateModified":"2020-06-15T05:09:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/"},"wordCount":196,"commentCount":0,"image":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#primaryimage"},"thumbnailUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg","keywords":["grafik","javascript","jquery","jquery plugin","php","php-grafik","plugin"],"articleSection":["jQuery","PHP"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/","url":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/","name":"PHP Grafik Morris JS - YELLOWWEB.ID","isPartOf":{"@id":"https:\/\/www.yellowweb.id\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#primaryimage"},"image":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#primaryimage"},"thumbnailUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg","datePublished":"2020-06-15T04:56:46+00:00","dateModified":"2020-06-15T05:09:14+00:00","author":{"@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829"},"breadcrumb":{"@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#primaryimage","url":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg","contentUrl":"https:\/\/www.yellowweb.id\/blog\/wp-content\/uploads\/2020\/06\/grafik-php-yellowweb.jpg","width":600,"height":290,"caption":"Grafik PHP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.yellowweb.id\/blog\/php-grafik-morris-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.yellowweb.id\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP Grafik Morris JS"}]},{"@type":"WebSite","@id":"https:\/\/www.yellowweb.id\/blog\/#website","url":"https:\/\/www.yellowweb.id\/blog\/","name":"YELLOWWEB.ID","description":"Kursus Web Design | Kursus Web Programming | Mobile Web Apps | Digital Marketing","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.yellowweb.id\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.yellowweb.id\/blog\/#\/schema\/person\/75188044e080844724e381ab6a5b9829","name":"yellowweb","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afd1bfac26e9377e8f5e36afb624cf3690dd31cb07c3961dfbc736b9ff1912f?s=96&d=mm&r=g","caption":"yellowweb"},"sameAs":["https:\/\/www.yellowweb.id"],"url":"https:\/\/www.yellowweb.id\/blog\/author\/yellowweb\/"}]}},"_links":{"self":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/comments?post=1236"}],"version-history":[{"count":4,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1236\/revisions"}],"predecessor-version":[{"id":1242,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/posts\/1236\/revisions\/1242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/media\/1239"}],"wp:attachment":[{"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/media?parent=1236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/categories?post=1236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yellowweb.id\/blog\/wp-json\/wp\/v2\/tags?post=1236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}