{"id":2884,"date":"2018-05-06T14:14:03","date_gmt":"2018-05-06T05:14:03","guid":{"rendered":"https:\/\/tech.akat.info\/?p=2884"},"modified":"2018-05-06T14:14:03","modified_gmt":"2018-05-06T05:14:03","slug":"chart-js-%e3%81%a7%e6%8a%98%e3%82%8c%e7%b7%9a%e3%82%b0%e3%83%a9%e3%83%95%e3%80%81%e6%a3%92%e3%82%b0%e3%83%a9%e3%83%95%e3%80%81%e8%a4%87%e5%90%88%e3%82%b0%e3%83%a9%e3%83%95%e3%82%92%e6%8f%8f%e3%81%84","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=2884","title":{"rendered":"chart.js \u3067\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3001\u68d2\u30b0\u30e9\u30d5\u3001\u8907\u5408\u30b0\u30e9\u30d5\u3092\u63cf\u3044\u3066\u307f\u305f"},"content":{"rendered":"<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u7d20\u4eba\u304c\u304a\u3057\u3083\u308c\u306a\u30b0\u30e9\u30d5\u3092\u63cf\u304d\u305f\u304fchart.js\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002<br \/>\n\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e00\u90e8\u3060\u3051\u306e\u30b5\u30a4\u30c8\u304c\u591a\u304b\u3063\u305f\u305f\u3081\u3001\u30b0\u30e9\u30d5\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u3066\u3092\u8a18\u8f09\u3059\u308b\u3002<\/p>\n<h1>\u30b0\u30e9\u30d5\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h1>\n<h2>\u6298\u308c\u7dda\u30b0\u30e9\u30d5<\/h2>\n<p><a href=\"https:\/\/misc.0o0o.org\/chartjs-doc-ja\/getting-started\/\">Chart.js \u5165\u9580<\/a>\u3088\u308a<br \/>\n<a href=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_204737.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_204737-300x159.png\" alt=\"\" width=\"300\" height=\"159\" class=\"alignnone size-medium wp-image-2889\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_204737-300x159.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_204737.png 747w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\u201cja\u201d&gt;\r\n &lt;head&gt;\r\n  &lt;meta http-equiv=&quot;content-language&quot; content=&quot;ja&quot;&gt;\r\n  &lt;meta name=&quot;robots&quot; content=&quot;noindex,nofollow&quot;&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n  &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/2.7.2\/Chart.min.js&quot;&gt;&lt;\/script&gt;\r\n\r\n  &lt;title&gt;HTML Sample&lt;\/title&gt;\r\n &lt;\/head&gt;\r\n\r\n &lt;body&gt;\r\n &lt;canvas id=&quot;myChart&quot;&gt;&lt;\/canvas&gt;\r\n &lt;script&gt;\r\n var ctx = document.getElementById('myChart').getContext('2d');\r\n var chart = new Chart(ctx, {\r\n    \/\/ \u4f5c\u6210\u3057\u305f\u3044\u30c1\u30e3\u30fc\u30c8\u306e\u30bf\u30a4\u30d7\r\n    type: 'line',\r\n\r\n    \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30c7\u30fc\u30bf\r\n    data: {\r\n        labels: &#x5B;&quot;1\u6708&quot;, &quot;2\u6708&quot;, &quot;3\u6708&quot;, &quot;4\u6708&quot;, &quot;5\u6708&quot;, &quot;6\u6708&quot;, &quot;7\u6708&quot;],\r\n        datasets: &#x5B;{\r\n            label: &quot;\u521d\u3081\u3066\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8&quot;,\r\n            backgroundColor: 'rgb(255, 99, 132)',\r\n            borderColor: 'rgb(255, 99, 132)',\r\n            data: &#x5B;0, 10, 5, 2, 20, 30, 45],\r\n        }]\r\n    },\r\n\r\n    \/\/ \u3053\u3053\u306b\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u66f8\u304d\u307e\u3059\r\n    options: {}\r\n});\r\n &lt;\/script&gt;\r\n &lt;\/body&gt;\r\n \r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>\u6298\u308c\u7dda\u30b0\u30e9\u30d5-\u305d\u306e2<\/h2>\n<p><a href=\"https:\/\/misc.0o0o.org\/chartjs-doc-ja\/charts\/line.html\">\u7dda\u30b0\u30e9\u30d5<\/a>\u3092\u53c2\u8003\u306b\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\n<a href=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_235635.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_235635-300x159.png\" alt=\"\" width=\"300\" height=\"159\" class=\"alignnone size-medium wp-image-2888\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_235635-300x159.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_235635.png 742w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\u201cja\u201d&gt;\r\n &lt;head&gt;\r\n  &lt;meta http-equiv=&quot;content-language&quot; content=&quot;ja&quot;&gt;\r\n  &lt;meta name=&quot;robots&quot; content=&quot;noindex,nofollow&quot;&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n  &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/2.7.2\/Chart.min.js&quot;&gt;&lt;\/script&gt;\r\n\r\n  &lt;title&gt;HTML Sample&lt;\/title&gt;\r\n &lt;\/head&gt;\r\n\r\n &lt;body&gt;\r\n &lt;canvas id=&quot;myChart&quot;&gt;&lt;\/canvas&gt;\r\n &lt;script&gt;\r\n var ctx = document.getElementById('myChart').getContext('2d');\r\n var chart = new Chart(ctx, {\r\n    \/\/ \u4f5c\u6210\u3057\u305f\u3044\u30c1\u30e3\u30fc\u30c8\u306e\u30bf\u30a4\u30d7\r\n    type: 'line',\r\n\r\n    \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30c7\u30fc\u30bf\r\n    data: {\r\n        labels: &#x5B;&quot;1\u6708&quot;, &quot;2\u6708&quot;, &quot;3\u6708&quot;, &quot;4\u6708&quot;, &quot;5\u6708&quot;, &quot;6\u6708&quot;, &quot;7\u6708&quot;],\r\n        datasets: &#x5B;{\r\n            label: &quot;\u30c7\u30fc\u30bf-1&quot;,\r\n            borderColor: 'rgb(255, 99, 132)',\r\n            \/\/ \u7dda\u306e\u5e45(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n            borderWidth: 2,\r\n            \/\/ \u7dda\u306e\u30d9\u30b8\u30a7\u66f2\u7dda\u306e\u5f35\u529b\u3002\u76f4\u7dda\u3092\u63cf\u304f\u306b\u306f0\u306b\u8a2d\u5b9a\u3059\u308b\u3002\r\n            lineTension: 0.5,\r\n            \/\/ \u70b9\u306e\u5f62\u72b6\u306e\u534a\u5f84\u30020\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u70b9\u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u306a\u3044\u3002\r\n            pointRadius: 3,\r\n            \/\/ \u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u691c\u51fa\u306e\u305f\u3081\u306b\u70b9\u534a\u5f84\u306b\u8ffd\u52a0\u3055\u308c\u308b\u534a\u5f84(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n            pointHitRadius: 3,\r\n            \/\/ \u7dda\u306e\u4e0b\u3092\u57cb\u3081\u308b\u304b\u3069\u3046\u304b\r\n            fill: false,\r\n            data: &#x5B;0, 10, 5, 2, 20, 30, 45]\r\n        },\r\n        {\r\n            label: &quot;\u30c7\u30fc\u30bf-2&quot;,\r\n            borderColor: 'rgb(99, 255, 132)',\r\n            \/\/ \u7dda\u306e\u5e45(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n            borderWidth: 2,\r\n            \/\/ \u7dda\u306e\u30d9\u30b8\u30a7\u66f2\u7dda\u306e\u5f35\u529b\u3002\u76f4\u7dda\u3092\u63cf\u304f\u306b\u306f0\u306b\u8a2d\u5b9a\u3059\u308b\u3002\r\n            lineTension: 0.5,\r\n            \/\/ \u70b9\u306e\u5f62\u72b6\u306e\u534a\u5f84\u30020\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u70b9\u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u306a\u3044\u3002\r\n            pointRadius: 3,\r\n            \/\/ \u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u691c\u51fa\u306e\u305f\u3081\u306b\u70b9\u534a\u5f84\u306b\u8ffd\u52a0\u3055\u308c\u308b\u534a\u5f84(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n            pointHitRadius: 3,\r\n            \/\/ \u7dda\u306e\u4e0b\u3092\u57cb\u3081\u308b\u304b\u3069\u3046\u304b\r\n            fill: false,\r\n            data: &#x5B;10, 11, 7, 9, 21, 3],\r\n        }]\r\n    },\r\n\r\n    \/\/ \u3053\u3053\u306b\u8a2d\u5b9a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u66f8\u304d\u307e\u3059\r\n    options: {}\r\n});\r\n &lt;\/script&gt;\r\n &lt;\/body&gt;\r\n \r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>\u68d2\u30b0\u30e9\u30d5<\/h2>\n<p><a href=\"https:\/\/misc.0o0o.org\/chartjs-doc-ja\/getting-started\/usage.html\">Chart.js &#8211; \u4f7f\u7528\u65b9\u6cd5<\/a>\u3088\u308a<br \/>\n<a href=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_223643.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_223643-300x240.png\" alt=\"\" width=\"300\" height=\"240\" class=\"alignnone size-medium wp-image-2887\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_223643-300x240.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-05_223643.png 745w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\u201cja\u201d&gt;\r\n &lt;head&gt;\r\n  &lt;meta http-equiv=&quot;content-language&quot; content=&quot;ja&quot;&gt;\r\n  &lt;meta name=&quot;robots&quot; content=&quot;noindex,nofollow&quot;&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n  &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/2.7.2\/Chart.min.js&quot;&gt;&lt;\/script&gt;\r\n\r\n  &lt;title&gt;HTML Sample&lt;\/title&gt;\r\n &lt;\/head&gt;\r\n\r\n &lt;body&gt;\r\n    &lt;canvas id=&quot;myChart&quot; width=&quot;400&quot; height=&quot;300&quot;&gt;&lt;\/canvas&gt;\r\n\r\n&lt;script&gt;\r\n    var ctx = document.getElementById(&quot;myChart&quot;);\r\n    var myChart = new Chart(ctx, {\r\n        type: 'bar',\r\n        data: {\r\n            labels: &#x5B;&quot;\u8d64&quot;, &quot;\u9752&quot;, &quot;\u9ec4&quot;, &quot;\u7dd1&quot;, &quot;\u7d2b&quot;, &quot;\u6a59&quot;],\r\n            datasets: &#x5B;{\r\n                label: '\u5f97\u7968\u6570',\r\n                data: &#x5B;8, 9, 3, 5, 2, 3],\r\n                backgroundColor: &#x5B;\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(255, 206, 86, 0.2)',\r\n                    'rgba(75, 192, 192, 0.2)',\r\n                    'rgba(153, 102, 255, 0.2)',\r\n                    'rgba(255, 159, 64, 0.2)'\r\n                ],\r\n                borderColor: &#x5B;\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(255, 206, 86, 1)',\r\n                    'rgba(75, 192, 192, 1)',\r\n                    'rgba(153, 102, 255, 1)',\r\n                    'rgba(255, 159, 64, 1)'\r\n                ],\r\n                borderWidth: 1\r\n            }]\r\n        },\r\n        options: {\r\n            scales: {\r\n                yAxes: &#x5B;{\r\n                    ticks: {\r\n                        beginAtZero:true\r\n                    }\r\n                }]\r\n            }\r\n        }\r\n    });\r\n    &lt;\/script&gt; \r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>\u68d2\u30b0\u30e9\u30d5-\u305d\u306e2<\/h2>\n<p><a href=\"https:\/\/misc.0o0o.org\/chartjs-doc-ja\/charts\/bar.html\">\u68d2\u30b0\u30e9\u30d5<\/a>\u3092\u53c2\u8003\u306b\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\n<a href=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_013723.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_013723-300x249.png\" alt=\"\" width=\"300\" height=\"249\" class=\"alignnone size-medium wp-image-2886\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_013723-300x249.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_013723.png 738w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\u201cja\u201d&gt;\r\n &lt;head&gt;\r\n  &lt;meta http-equiv=&quot;content-language&quot; content=&quot;ja&quot;&gt;\r\n  &lt;meta name=&quot;robots&quot; content=&quot;noindex,nofollow&quot;&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n  &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/2.7.2\/Chart.min.js&quot;&gt;&lt;\/script&gt;\r\n\r\n  &lt;title&gt;HTML Sample&lt;\/title&gt;\r\n &lt;\/head&gt;\r\n\r\n &lt;body&gt;\r\n    &lt;canvas id=&quot;myChart&quot; width=&quot;400&quot; height=&quot;300&quot;&gt;&lt;\/canvas&gt;\r\n\r\n&lt;script&gt;\r\n    var ctx = document.getElementById(&quot;myChart&quot;);\r\n    var myChart = new Chart(ctx, {\r\n        type: 'bar',\r\n        data: {\r\n            labels: &#x5B;&quot;1\u6708&quot;, &quot;2\u6708&quot;, &quot;3\u6708&quot;, &quot;4\u6708&quot;, &quot;5\u6708&quot;, &quot;6\u6708&quot;],\r\n            datasets: &#x5B;{\r\n                label: '\u30c7\u30fc\u30bf1',\r\n                data: &#x5B;8, 9, 3, 5, 2, 3],\r\n                backgroundColor: &#x5B;\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)',\r\n                    'rgba(54, 162, 235, 0.2)'\r\n                ],\r\n                borderColor: &#x5B;\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(54, 162, 235, 1)',\r\n                    'rgba(54, 162, 235, 1)'\r\n                ],\r\n                \/\/ \u30d0\u30fc\u306e\u5883\u754c\u7dda\u306e\u592a\u3055(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                borderWidth: 1,\r\n                \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5c5e\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u306eID\r\n                stack: 1\r\n            },\r\n            {\r\n                label: '\u30c7\u30fc\u30bf2',\r\n                data: &#x5B;1, 2, 4, 2, 1, 5],\r\n                backgroundColor: &#x5B;\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(255, 99, 132, 0.2)',\r\n                    'rgba(255, 99, 132, 0.2)'\r\n                ],\r\n                borderColor: &#x5B;\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(255,99,132,1)',\r\n                    'rgba(255,99,132,1)'\r\n                ],\r\n                \/\/ \u30d0\u30fc\u306e\u5883\u754c\u7dda\u306e\u592a\u3055(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                borderWidth: 1,\r\n                \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5c5e\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u306eID\r\n                stack: 1\r\n            }]\r\n        },\r\n        options: {\r\n            scales: {\r\n                yAxes: &#x5B;{\r\n                    ticks: {\r\n                        beginAtZero:true\r\n                    },\r\n                    stacked: true\r\n                }],\r\n                yAxes: &#x5B;{\r\n                    stacked: true\r\n                }]\r\n            }\r\n        }\r\n    });\r\n    &lt;\/script&gt; \r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>\u8907\u5408\u30b0\u30e9\u30d5<\/h2>\n<p>\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3068\u68d2\u30b0\u30e9\u30d5\u3092\u5408\u308f\u305b\u3066\u307f\u305f\u3002<br \/>\n<a href=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_140458.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_140458-300x237.png\" alt=\"\" width=\"300\" height=\"237\" class=\"alignnone size-medium wp-image-2885\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_140458-300x237.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2018\/05\/2018-05-06_140458.png 732w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\u201cja\u201d&gt;\r\n\r\n&lt;head&gt;\r\n    &lt;meta http-equiv=&quot;content-language&quot; content=&quot;ja&quot;&gt;\r\n    &lt;meta name=&quot;robots&quot; content=&quot;noindex,nofollow&quot;&gt;\r\n    &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n    &lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/2.7.2\/Chart.min.js&quot;&gt;&lt;\/script&gt;\r\n\r\n    &lt;title&gt;HTML Sample&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n\r\n&lt;body&gt;\r\n    &lt;canvas id=&quot;myChart&quot; width=&quot;400&quot; height=&quot;300&quot;&gt;&lt;\/canvas&gt;\r\n\r\n    &lt;script&gt;\r\n        var ctx = document.getElementById(&quot;myChart&quot;);\r\n        var myChart = new Chart(ctx, {\r\n            type: 'bar',\r\n            data: {\r\n                labels: &#x5B;&quot;1\u6708&quot;, &quot;2\u6708&quot;, &quot;3\u6708&quot;, &quot;4\u6708&quot;, &quot;5\u6708&quot;, &quot;6\u6708&quot;],\r\n                datasets: &#x5B;{\r\n                    type: 'bar',\r\n                    label: '\u30c7\u30fc\u30bf1',\r\n                    data: &#x5B;8, 9, 3, 5, 2, 3],\r\n                    backgroundColor: &#x5B;\r\n                        'rgba(54, 162, 235, 0.2)',\r\n                        'rgba(54, 162, 235, 0.2)',\r\n                        'rgba(54, 162, 235, 0.2)',\r\n                        'rgba(54, 162, 235, 0.2)',\r\n                        'rgba(54, 162, 235, 0.2)',\r\n                        'rgba(54, 162, 235, 0.2)'\r\n                    ],\r\n                    borderColor: &#x5B;\r\n                        'rgba(54, 162, 235, 1)',\r\n                        'rgba(54, 162, 235, 1)',\r\n                        'rgba(54, 162, 235, 1)',\r\n                        'rgba(54, 162, 235, 1)',\r\n                        'rgba(54, 162, 235, 1)',\r\n                        'rgba(54, 162, 235, 1)'\r\n                    ],\r\n                    \/\/ \u30d0\u30fc\u306e\u5883\u754c\u7dda\u306e\u592a\u3055(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                    borderWidth: 1,\r\n                    \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5c5e\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u306eID\r\n                    stack: 1\r\n                },\r\n                {\r\n                    type: 'bar',\r\n                    label: '\u30c7\u30fc\u30bf2',\r\n                    data: &#x5B;1, 2, 4, 2, 1, 5],\r\n                    backgroundColor: &#x5B;\r\n                        'rgba(255, 99, 132, 0.2)',\r\n                        'rgba(255, 99, 132, 0.2)',\r\n                        'rgba(255, 99, 132, 0.2)',\r\n                        'rgba(255, 99, 132, 0.2)',\r\n                        'rgba(255, 99, 132, 0.2)',\r\n                        'rgba(255, 99, 132, 0.2)'\r\n                    ],\r\n                    borderColor: &#x5B;\r\n                        'rgba(255,99,132,1)',\r\n                        'rgba(255,99,132,1)',\r\n                        'rgba(255,99,132,1)',\r\n                        'rgba(255,99,132,1)',\r\n                        'rgba(255,99,132,1)',\r\n                        'rgba(255,99,132,1)'\r\n                    ],\r\n                    \/\/ \u30d0\u30fc\u306e\u5883\u754c\u7dda\u306e\u592a\u3055(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                    borderWidth: 1,\r\n                    \/\/ \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304c\u5c5e\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u306eID\r\n                    stack: 1\r\n                },\r\n                {\r\n                    type: 'line',\r\n                    label: &quot;\u30c7\u30fc\u30bf3&quot;,\r\n                    backgroundColor: 'rgb(255, 99, 132)',\r\n                    borderColor: 'rgb(255, 99, 132)',\r\n                    \/\/ \u7dda\u306e\u5e45(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                    borderWidth: 2,\r\n                    \/\/ \u7dda\u306e\u30d9\u30b8\u30a7\u66f2\u7dda\u306e\u5f35\u529b\u3002\u76f4\u7dda\u3092\u63cf\u304f\u306b\u306f0\u306b\u8a2d\u5b9a\u3059\u308b\u3002\r\n                    lineTension: 0.5,\r\n                    \/\/ \u70b9\u306e\u5f62\u72b6\u306e\u534a\u5f84\u30020\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u70b9\u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u306a\u3044\u3002\r\n                    pointRadius: 3,\r\n                    \/\/ \u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc\u691c\u51fa\u306e\u305f\u3081\u306b\u70b9\u534a\u5f84\u306b\u8ffd\u52a0\u3055\u308c\u308b\u534a\u5f84(\u30d4\u30af\u30bb\u30eb\u5358\u4f4d)\r\n                    pointHitRadius: 3,\r\n                    \/\/ \u7dda\u306e\u4e0b\u3092\u57cb\u3081\u308b\u304b\u3069\u3046\u304b\r\n                    fill: false,\r\n                    data: &#x5B;5, 10, 5, 9, 20, 30],\r\n                }]\r\n            },\r\n            options: {\r\n                scales: {\r\n                    yAxes: &#x5B;{\r\n                        ticks: {\r\n                            beginAtZero: true\r\n                        },\r\n                        stacked: true\r\n                    }],\r\n                    yAxes: &#x5B;{\r\n                        stacked: true\r\n                    }]\r\n                }\r\n            }\r\n        });\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n<\/pre>\n<h1>\u88dc\u8db3-\u958b\u767a\u74b0\u5883<\/h1>\n<p>\u3044\u3061\u3044\u3061\u30bf\u30b0\u3092\u66f8\u304f\u306e\u304c\u8f9b\u304b\u3063\u305f\u305f\u3081\u3001\u30a8\u30c7\u30a3\u30bf\u3092\u63a2\u3057\u305f\u3002<br \/>\n<a href=\"https:\/\/code.visualstudio.com\/Download\">Visual Studio Code<\/a>\u306a\u308b\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n<a href=\"http:\/\/www.atmarkit.co.jp\/ait\/articles\/1507\/10\/news028.html\">Visual Studio Code\u306e\u4f7f\u3044\u65b9\u3001\u57fa\u672c\u306e\u300c\u30ad\u300d<\/a>\u306b\u3088\u308b\u3068<br \/>\n\u30fbMicrosoft\u304c\u63d0\u4f9b\u3059\u308b\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306a\u9ad8\u6a5f\u80fd\u3067\u8efd\u91cf\u306a\u30a8\u30c7\u30a3\u30bf(\u3044\u308d\u3044\u308d\u3067\u304d\u308b\u304cIDE\u3067\u306f\u306a\u3044)<br \/>\n\u30fb\u30c7\u30d0\u30c3\u30b0\u6a5f\u80fd\u3042\u308a\u3001\u591a\u6570\u306e\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3001Git\u9023\u643a\u3001IntelliSense(\u81ea\u52d5\u88dc\u5b8c\u30b7\u30b9\u30c6\u30e0)<br \/>\n\u30fb\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300ccode\u300d\u3067\u8d77\u52d5<br \/>\n\u3089\u3057\u3044\u3002<\/p>\n<h1>\u53c2\u8003<\/h1>\n<p><a href=\"https:\/\/qiita.com\/kazu56\/items\/17acf7ad2d87d6b28173\">chart.js\u5165\u9580<\/a> &#8211; \u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u306b\u3064\u3044\u3066\u3082\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b<br \/>\n<a href=\"https:\/\/qiita.com\/kd9951\/items\/aece80abe0bd42b3b5d3\">chart.js \u3067\u8907\u6570\u8ef8\u306e\u8907\u5408\u30b0\u30e9\u30d5\u3092\u63cf\u304f<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u7d20\u4eba\u304c\u304a\u3057\u3083\u308c\u306a\u30b0\u30e9\u30d5\u3092\u63cf\u304d\u305f\u304fchart.js\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e00\u90e8\u3060\u3051\u306e\u30b5\u30a4\u30c8\u304c\u591a\u304b\u3063\u305f\u305f\u3081\u3001\u30b0\u30e9\u30d5\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u3066\u3092\u8a18\u8f09\u3059\u308b\u3002 \u30b0\u30e9\u30d5\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 \u6298\u308c\u7dda\u30b0\u30e9\u30d5 Chart.js \u5165\u9580\u3088 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[51],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2884"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2884"}],"version-history":[{"count":1,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2884\/revisions"}],"predecessor-version":[{"id":2890,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2884\/revisions\/2890"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}