{"id":187,"date":"2016-09-01T23:16:53","date_gmt":"2016-09-01T23:16:53","guid":{"rendered":"http:\/\/blazingspider.com\/wp-demo\/?p=187"},"modified":"2017-04-11T22:44:31","modified_gmt":"2017-04-11T22:44:31","slug":"chart-js-time-scale-sample","status":"publish","type":"post","link":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/","title":{"rendered":"Chart.js Time Scale Sample"},"content":{"rendered":"<p>The following chart is from a sample I found in the samples\/timeScale folder of Chart.js Github repository. As far as I understand, the bundle version of Chart.js should include the moment.js as well. But I could not make the following code to work, without adding the moment.js from a CDN.<\/p>\n<p>If you now how to make the bundled version to work, without using moment.min.js, please let me know to update the code.\n<\/p>\n<p><!--more--><br \/>\n<script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/moment.js\/2.13.0\/moment.min.js\"><\/script>\r\n<style>\r\n    canvas {\r\n        -moz-user-select: none;\r\n        -webkit-user-select: none;\r\n        -ms-user-select: none;\r\n    }\r\n<\/style>\r\n<div style=\"width:75%;\">\r\n\t<canvas id=\"canvas\"><\/canvas>\r\n<\/div>\r\n<br>\r\n<br>\r\n<button id=\"randomizeData\">Randomize Data<\/button>\r\n<button id=\"addData\">Add Data<\/button>\r\n<button id=\"removeData\">Remove Data<\/button>\r\n<script>\r\n\twindow.onload = function() {\r\n\t\tfunction randomScalingFactor() {\r\n\t\t\treturn Math.round(Math.random() * 100 * (Math.random() > 0.5 ? -1 : 1));\r\n\t\t}\r\n\t\tfunction randomColorFactor() {\r\n\t\t\treturn Math.round(Math.random() * 255);\r\n\t\t}\r\n\t\tfunction randomColor(opacity) {\r\n\t\t\treturn 'rgba(' + randomColorFactor() + ',' + randomColorFactor() + ',' + randomColorFactor() + ',' + (opacity || '.3') + ')';\r\n\t\t}\r\n\t\tfunction newDate(days) {\r\n\t\t\treturn moment().add(days, 'd').toDate();\r\n\t\t}\r\n\t\tfunction newDateString(days) {\r\n\t\t\treturn moment().add(days, 'd').format();\r\n\t\t}\r\n\t\tvar config = {\r\n\t\t\ttype: 'line',\r\n\t\t\tdata: {\r\n\t\t\t\tdatasets: [{\r\n\t\t\t\t\tlabel: \"Dataset with string point data\",\r\n\t\t\t\t\tdata: [{\r\n\t\t\t\t\t\tx: newDateString(0),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(2),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(4),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(5),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tfill: false\r\n\t\t\t\t}, {\r\n\t\t\t\t\tlabel: \"Dataset with date object point data\",\r\n\t\t\t\t\tdata: [{\r\n\t\t\t\t\t\tx: newDate(0),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(2),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(4),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(5),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tfill: false\r\n\t\t\t\t}]\r\n\t\t\t},\r\n\t\t\toptions: {\r\n\t\t\t\tresponsive: true,\r\n\t            title:{\r\n\t                display:true,\r\n\t                text:\"Chart.js Time Point Data\"\r\n\t            },\r\n\t\t\t\tscales: {\r\n\t\t\t\t\txAxes: [{\r\n\t\t\t\t\t\ttype: \"time\",\r\n\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\tscaleLabel: {\r\n\t\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\t\tlabelString: 'Date'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tyAxes: [{\r\n\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\tscaleLabel: {\r\n\t\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\t\tlabelString: 'value'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\tjQuery.each(config.data.datasets, function(i, dataset) {\r\n\t\t\tdataset.borderColor = randomColor(0.4);\r\n\t\t\tdataset.backgroundColor = randomColor(0.5);\r\n\t\t\tdataset.pointBorderColor = randomColor(0.7);\r\n\t\t\tdataset.pointBackgroundColor = randomColor(0.5);\r\n\t\t\tdataset.pointBorderWidth = 1;\r\n\t\t});\r\n\t\tjQuery('#randomizeData').click(function() {\r\n\t\t\tjQuery.each(config.data.datasets, function(i, dataset) {\r\n\t\t\t\tjQuery.each(dataset.data, function(j, dataObj) {\r\n\t\t\t\t\tdataObj.y = randomScalingFactor();\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\twindow.myLine.update();\r\n\t\t});\r\n\t\tjQuery('#addData').click(function() {\r\n\t\t\tif (config.data.datasets.length > 0) {\r\n\t\t\t\tvar lastTime = myLine.scales['x-axis-0'].labelMoments[0].length ? myLine.scales['x-axis-0'].labelMoments[0][myLine.scales['x-axis-0'].labelMoments[0].length - 1] : moment();\r\n\t\t\t\tvar newTime = lastTime\r\n\t\t\t\t\t.clone()\r\n\t\t\t\t\t.add(1, 'day')\r\n\t\t\t\t\t.format('MM\/DD\/YYYY HH:mm');\r\n\t\t\t\tfor (var index = 0; index < config.data.datasets.length; ++index) {\r\n\t\t\t\t\tconfig.data.datasets[index].data.push({\r\n\t\t\t\t\t\tx: newTime,\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\twindow.myLine.update();\r\n\t\t\t}\r\n\t\t});\r\n\t\tjQuery('#removeData').click(function() {\r\n\t\t\tconfig.data.datasets.forEach(function(dataset, datasetIndex) {\r\n\t\t\t\tdataset.data.pop();\r\n\t\t\t});\r\n\t\t\twindow.myLine.update();\r\n\t\t});\r\n\t\tvar ctx = document.getElementById(\"canvas\").getContext(\"2d\");\r\n\t\twindow.myLine = new Chart(ctx, config);\r\n\t};\r\n<\/script><br \/>\nUsing our plugin, named <em>Blazing Charts<\/em>, I added the following shortcode to this post:<\/p>\n<pre>&#091;BlazingChart charttype=\"chartjs\" source=\"a Chart Snippet\" options=\"bundle\"&#093;<\/pre>\n<p>\nThe script saved as a Chart Snippet is as following:\n<\/p>\n<pre lang=\"html\" toggle=\"no\">\r\n&lt;script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/moment.js\/2.13.0\/moment.min.js\"&gt;&lt;\/script&gt;\r\n&lt;style&gt;\r\n    canvas {\r\n        -moz-user-select: none;\r\n        -webkit-user-select: none;\r\n        -ms-user-select: none;\r\n    }\r\n&lt;\/style&gt;\r\n&lt;div style=\"width:75%;\"&gt;\r\n\t&lt;canvas id=\"canvas\"&gt;&lt;\/canvas&gt;\r\n&lt;\/div&gt;\r\n&lt;br&gt;\r\n&lt;br&gt;\r\n&lt;button id=\"randomizeData\"&gt;Randomize Data&lt;\/button&gt;\r\n&lt;button id=\"addData\"&gt;Add Data&lt;\/button&gt;\r\n&lt;button id=\"removeData\"&gt;Remove Data&lt;\/button&gt;\r\n&lt;script&gt;\r\n\twindow.onload = function() {\r\n\t\tfunction randomScalingFactor() {\r\n\t\t\treturn Math.round(Math.random() * 100 * (Math.random() &gt; 0.5 ? -1 : 1));\r\n\t\t}\r\n\t\tfunction randomColorFactor() {\r\n\t\t\treturn Math.round(Math.random() * 255);\r\n\t\t}\r\n\t\tfunction randomColor(opacity) {\r\n\t\t\treturn 'rgba(' + randomColorFactor() + ',' + randomColorFactor() + ',' + randomColorFactor() + ',' + (opacity || '.3') + ')';\r\n\t\t}\r\n\t\tfunction newDate(days) {\r\n\t\t\treturn moment().add(days, 'd').toDate();\r\n\t\t}\r\n\t\tfunction newDateString(days) {\r\n\t\t\treturn moment().add(days, 'd').format();\r\n\t\t}\r\n\t\tvar config = {\r\n\t\t\ttype: 'line',\r\n\t\t\tdata: {\r\n\t\t\t\tdatasets: [{\r\n\t\t\t\t\tlabel: \"Dataset with string point data\",\r\n\t\t\t\t\tdata: [{\r\n\t\t\t\t\t\tx: newDateString(0),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(2),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(4),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDateString(5),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tfill: false\r\n\t\t\t\t}, {\r\n\t\t\t\t\tlabel: \"Dataset with date object point data\",\r\n\t\t\t\t\tdata: [{\r\n\t\t\t\t\t\tx: newDate(0),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(2),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(4),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\tx: newDate(5),\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tfill: false\r\n\t\t\t\t}]\r\n\t\t\t},\r\n\t\t\toptions: {\r\n\t\t\t\tresponsive: true,\r\n\t            title:{\r\n\t                display:true,\r\n\t                text:\"Chart.js Time Point Data\"\r\n\t            },\r\n\t\t\t\tscales: {\r\n\t\t\t\t\txAxes: [{\r\n\t\t\t\t\t\ttype: \"time\",\r\n\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\tscaleLabel: {\r\n\t\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\t\tlabelString: 'Date'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}],\r\n\t\t\t\t\tyAxes: [{\r\n\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\tscaleLabel: {\r\n\t\t\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\t\t\tlabelString: 'value'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\tjQuery.each(config.data.datasets, function(i, dataset) {\r\n\t\t\tdataset.borderColor = randomColor(0.4);\r\n\t\t\tdataset.backgroundColor = randomColor(0.5);\r\n\t\t\tdataset.pointBorderColor = randomColor(0.7);\r\n\t\t\tdataset.pointBackgroundColor = randomColor(0.5);\r\n\t\t\tdataset.pointBorderWidth = 1;\r\n\t\t});\r\n\t\tjQuery('#randomizeData').click(function() {\r\n\t\t\tjQuery.each(config.data.datasets, function(i, dataset) {\r\n\t\t\t\tjQuery.each(dataset.data, function(j, dataObj) {\r\n\t\t\t\t\tdataObj.y = randomScalingFactor();\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\twindow.myLine.update();\r\n\t\t});\r\n\t\tjQuery('#addData').click(function() {\r\n\t\t\tif (config.data.datasets.length &gt; 0) {\r\n\t\t\t\tvar lastTime = myLine.scales['x-axis-0'].labelMoments[0].length ? myLine.scales['x-axis-0'].labelMoments[0][myLine.scales['x-axis-0'].labelMoments[0].length - 1] : moment();\r\n\t\t\t\tvar newTime = lastTime\r\n\t\t\t\t\t.clone()\r\n\t\t\t\t\t.add(1, 'day')\r\n\t\t\t\t\t.format('MM\/DD\/YYYY HH:mm');\r\n\t\t\t\tfor (var index = 0; index &lt; config.data.datasets.length; ++index) {\r\n\t\t\t\t\tconfig.data.datasets[index].data.push({\r\n\t\t\t\t\t\tx: newTime,\r\n\t\t\t\t\t\ty: randomScalingFactor()\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\twindow.myLine.update();\r\n\t\t\t}\r\n\t\t});\r\n\t\tjQuery('#removeData').click(function() {\r\n\t\t\tconfig.data.datasets.forEach(function(dataset, datasetIndex) {\r\n\t\t\t\tdataset.data.pop();\r\n\t\t\t});\r\n\t\t\twindow.myLine.update();\r\n\t\t});\r\n\t\tvar ctx = document.getElementById(\"canvas\").getContext(\"2d\");\r\n\t\twindow.myLine = new Chart(ctx, config);\r\n\t};\r\n&lt;\/script&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The following chart is from a sample I found in the samples\/timeScale folder of Chart.js Github repository. As far as I understand, the bundle version of Chart.js should include the moment.js as well. But I could not make the following code to work, without adding the moment.js from a CDN. If you now how to &hellip; <a href=\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Chart.js Time Scale Sample<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,1],"tags":[],"class_list":["post-187","post","type-post","status-publish","format-standard","hentry","category-chart-js","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Chart.js Time Scale Sample - WordPress Demo<\/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:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chart.js Time Scale Sample - WordPress Demo\" \/>\n<meta property=\"og:description\" content=\"The following chart is from a sample I found in the samples\/timeScale folder of Chart.js Github repository. As far as I understand, the bundle version of Chart.js should include the moment.js as well. But I could not make the following code to work, without adding the moment.js from a CDN. If you now how to &hellip; Continue reading Chart.js Time Scale Sample\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\" \/>\n<meta property=\"og:site_name\" content=\"WordPress Demo\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/blazingspider\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-01T23:16:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-11T22:44:31+00:00\" \/>\n<meta name=\"author\" content=\"massoud Shakeri\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BlazingSpider\" \/>\n<meta name=\"twitter:site\" content=\"@BlazingSpider\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"massoud Shakeri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\",\"url\":\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\",\"name\":\"Chart.js Time Scale Sample - WordPress Demo\",\"isPartOf\":{\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/#website\"},\"datePublished\":\"2016-09-01T23:16:53+00:00\",\"dateModified\":\"2017-04-11T22:44:31+00:00\",\"author\":{\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/78f615e83cf347ec4b200f825ba2fecd\"},\"breadcrumb\":{\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blazingspider.com\/wp-demo\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chart.js Time Scale Sample\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/#website\",\"url\":\"https:\/\/blazingspider.com\/wp-demo\/\",\"name\":\"WordPress Demo\",\"description\":\"Blazing Spider WordPress Demo\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blazingspider.com\/wp-demo\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/78f615e83cf347ec4b200f825ba2fecd\",\"name\":\"massoud Shakeri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3f3d05ee01040cb3ff9bd45b9a45027330209a9a0807f4ad9b195ec7f678f333?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3f3d05ee01040cb3ff9bd45b9a45027330209a9a0807f4ad9b195ec7f678f333?s=96&d=mm&r=g\",\"caption\":\"massoud Shakeri\"},\"sameAs\":[\"http:\/\/blazingspider.com\"],\"url\":\"https:\/\/blazingspider.com\/wp-demo\/author\/massoudshakeri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chart.js Time Scale Sample - WordPress Demo","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:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/","og_locale":"en_US","og_type":"article","og_title":"Chart.js Time Scale Sample - WordPress Demo","og_description":"The following chart is from a sample I found in the samples\/timeScale folder of Chart.js Github repository. As far as I understand, the bundle version of Chart.js should include the moment.js as well. But I could not make the following code to work, without adding the moment.js from a CDN. If you now how to &hellip; Continue reading Chart.js Time Scale Sample","og_url":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/","og_site_name":"WordPress Demo","article_publisher":"https:\/\/www.facebook.com\/blazingspider","article_published_time":"2016-09-01T23:16:53+00:00","article_modified_time":"2017-04-11T22:44:31+00:00","author":"massoud Shakeri","twitter_card":"summary_large_image","twitter_creator":"@BlazingSpider","twitter_site":"@BlazingSpider","twitter_misc":{"Written by":"massoud Shakeri","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/","url":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/","name":"Chart.js Time Scale Sample - WordPress Demo","isPartOf":{"@id":"https:\/\/blazingspider.com\/wp-demo\/#website"},"datePublished":"2016-09-01T23:16:53+00:00","dateModified":"2017-04-11T22:44:31+00:00","author":{"@id":"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/78f615e83cf347ec4b200f825ba2fecd"},"breadcrumb":{"@id":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blazingspider.com\/wp-demo\/187\/chart-js-time-scale-sample\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blazingspider.com\/wp-demo\/"},{"@type":"ListItem","position":2,"name":"Chart.js Time Scale Sample"}]},{"@type":"WebSite","@id":"https:\/\/blazingspider.com\/wp-demo\/#website","url":"https:\/\/blazingspider.com\/wp-demo\/","name":"WordPress Demo","description":"Blazing Spider WordPress Demo","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blazingspider.com\/wp-demo\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/78f615e83cf347ec4b200f825ba2fecd","name":"massoud Shakeri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blazingspider.com\/wp-demo\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3f3d05ee01040cb3ff9bd45b9a45027330209a9a0807f4ad9b195ec7f678f333?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f3d05ee01040cb3ff9bd45b9a45027330209a9a0807f4ad9b195ec7f678f333?s=96&d=mm&r=g","caption":"massoud Shakeri"},"sameAs":["http:\/\/blazingspider.com"],"url":"https:\/\/blazingspider.com\/wp-demo\/author\/massoudshakeri\/"}]}},"_links":{"self":[{"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/posts\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":5,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/posts\/187\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blazingspider.com\/wp-demo\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}