{"id":50764,"date":"2021-08-13T00:00:00","date_gmt":"2021-08-13T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/"},"modified":"2025-11-14T07:54:54","modified_gmt":"2025-11-14T15:54:54","slug":"data-visualization-with-jfreechart-and-griddb","status":"publish","type":"post","link":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/","title":{"rendered":"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u304c\u8996\u899a\u7684\u306b\u8981\u7d04\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u3067\u4f55\u5341\u884c\u3001\u4f55\u767e\u884c\u3001\u4f55\u5343\u884c\u3001\u4f55\u767e\u4e07\u884c\u3082\u306e\u30c7\u30fc\u30bf\u3092\u691c\u7d22\u3059\u308b\u3088\u308a\u3082\u3001\u8ab0\u3067\u3082\u7c21\u5358\u306b\u50be\u5411\u3084\u30d1\u30bf\u30fc\u30f3\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u304c\u4eba\u9593\u306e\u8133\u306e\u4ed5\u7d44\u307f\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u5206\u6790\u306e\u76ee\u7684\u306f\u3001\u30c7\u30fc\u30bf\u304b\u3089\u30a4\u30f3\u30b5\u30a4\u30c8\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u306f\u53ef\u8996\u5316\u3055\u308c\u308b\u3053\u3068\u3067\u4fa1\u5024\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30a2\u30ca\u30ea\u30b9\u30c8\u304c\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u305b\u305a\u306b\u30c7\u30fc\u30bf\u304b\u3089\u30a4\u30f3\u30b5\u30a4\u30c8\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001\u53ef\u8996\u5316\u305b\u305a\u306b\u30c8\u30ec\u30f3\u30c9\u3084\u30d1\u30bf\u30fc\u30f3\u3092\u4f1d\u3048\u308b\u3053\u3068\u306f\u96e3\u3057\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001JFreeChart\u3068GridDB\u3092\u4f7f\u3063\u3066Java\u3067\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>JFreeChart\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<p>JFreeChart\u306f\u3001\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306eJava\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002JFreeChart\u3067\u306f\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u3082\u306e\u304b\u3089\u305d\u3046\u3067\u306a\u3044\u3082\u306e\u307e\u3067\u3001\u69d8\u3005\u306a\u7a2e\u985e\u306e\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002JFreeChart\u3067\u306f\u3001\u68d2\u30b0\u30e9\u30d5\u3001\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3001\u6563\u5e03\u56f3\u3001\u30a8\u30ea\u30a2\u30c1\u30e3\u30fc\u30c8\u3001\u30ac\u30f3\u30c8\u30c1\u30e3\u30fc\u30c8\u3001\u5186\u30b0\u30e9\u30d5\u3001\u30d0\u30d6\u30eb\u30c1\u30e3\u30fc\u30c8\u3084\u30a6\u30a3\u30f3\u30c9\u30c1\u30e3\u30fc\u30c8\u306a\u3069\u306e\u7279\u6b8a\u306a\u30c1\u30e3\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>JFreeChart\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u30b0\u30e9\u30d5\u30a2\u30a4\u30c6\u30e0\u306e\u30da\u30a4\u30f3\u30c8\u3084\u30ab\u30e9\u30fc\u3001\u30de\u30fc\u30ab\u30fc\u3084\u30e9\u30a4\u30f3\u306e\u30b9\u30bf\u30a4\u30eb\u3001\u30ec\u30b8\u30a7\u30f3\u30c9\u306a\u3069\u3092\u7c21\u5358\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002JFreeChart\u306f\u3001\u51e1\u4f8b\u3084\u8ef8\u306e\u76ee\u76db\u308a\u3092\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002JFreeChart\u3067\u4f5c\u6210\u3057\u305f\u30c1\u30e3\u30fc\u30c8\u306f\u3001\u30de\u30a6\u30b9\u3067\u30ba\u30fc\u30e0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002JFreeChart\u3067\u4f5c\u6210\u3057\u305f\u30c1\u30e3\u30fc\u30c8\u306f\u3001SVG\u3001JPEG\u3001PDF\u3001PNG\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u5f62\u5f0f\u3067\u4fdd\u5b58\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>JFreeChart\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b<\/h2>\n<p>JFreeChart\u306b\u6163\u308c\u3066\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u306b\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u88fd\u54c1\u306e\u8ca9\u58f2\u306b\u3088\u3063\u3066\u5f97\u3089\u308c\u305f\u53ce\u76ca\u306e\u984d\u3092\u8996\u899a\u5316\u3059\u308b\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306bCSV\uff08Comma Separated Values\uff09\u5f62\u5f0f\u3067\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/data.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/data.png\" alt=\"\" width=\"197\" height=\"276\" class=\"aligncenter size-full wp-image-27693\" \/><\/a><\/p>\n<p>\u307e\u305a\u3001CSV\u30d5\u30a1\u30a4\u30eb\uff08data.csv\uff09\u304b\u3089GridDB\u306b\u30c7\u30fc\u30bf\u3092\u79fb\u3057\u3001\u305d\u306e\u5f8c\u3001GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u3066\u53ef\u8996\u5316\u3057\u307e\u3059\u3002<\/p>\n<h3>JFreeChart \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u3059\u308b<\/h3>\n<p>\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u306b\u306f JFreeChart \u304c\u5fc5\u8981\u3067\u3059\u3002JFreeChart\u306f\u4ee5\u4e0b\u306eURL\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>https:\/\/www.jfree.org\/jfreechart\/download\/<\/p>\n<p>JFreeChart \u306e\u6700\u65b0\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b2\u3064\u306ejar\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Eclipse\u3067\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30b9\u30c6\u30c3\u30d71:<\/strong> Project Explorer\u4e0a\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cProperties..\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u30b9\u30c6\u30c3\u30d72\uff1a<\/strong> \u30d7\u30ed\u30d1\u30c6\u30a3\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u4ee5\u4e0b\u306e\u64cd\u4f5c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p>\u5de6\u5074\u306e\u30ea\u30b9\u30c8\u304b\u3089Java\u30d3\u30eb\u30c9\u30d1\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u300cLibraries\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u300cAdd external JARS&#8230;\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001JFreeChart\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u305f\u5834\u6240\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u300clib\u300d\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304d\u307e\u3059\u3002\u79c1\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>jfreechart-1.0.19jfreechart-1.0.19lib\n<\/code><\/pre>\n<\/li>\n<li>\n<p>\u30d5\u30a1\u30a4\u30eb\u300cjcommon- &#8230;\u300d\u3068\u300cjfreechart- &#8230;\u300d\u3092\u9078\u629e\u3057\u3001\u300cOpen\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p><strong>\u30b9\u30c6\u30c3\u30d73:<\/strong> \u300cOK\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u3092\u9589\u3058\u307e\u3059\u3002<\/p>\n<p>JFreeChart\u30e9\u30a4\u30d6\u30e9\u30ea\u306e2\u3064\u306ejar\u30d5\u30a1\u30a4\u30eb\u304cJava\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u308c\u3089\u306ejar\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u304a\u4f7f\u3044\u306eOS\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u5f8c\u307b\u3069\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u305f\u306e\u3067\u3001\u3044\u304f\u3064\u304b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nimport org.jfree.chart.*;\nimport org.jfree.data.*;\nimport org.jfree.data.xy.*;\nimport org.jfree.chart.plot.*;\nimport org.jfree.data.category.*;\nimport org.jfree.chart.renderer.category.*;\nimport org.jfree.data.general.DefaultPieDataset;\nimport java.awt.*;\n  <\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001Java\u304b\u3089GridDB\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3001\u305d\u3053\u306b.csv\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a<\/h2>\n<p>GridDB \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001GridDB \u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nimport com.toshiba.mwcloud.gs.Collection;\nimport com.toshiba.mwcloud.gs.GSException;\nimport com.toshiba.mwcloud.gs.GridStore;\nimport com.toshiba.mwcloud.gs.GridStoreFactory;\nimport com.toshiba.mwcloud.gs.Query;\nimport com.toshiba.mwcloud.gs.RowKey;\nimport com.toshiba.mwcloud.gs.RowSet;\nimport java.util.Properties;\nimport java.util.Collection;\n  <\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u30b3\u30f3\u30c6\u30ca\u300cSales\u300d\u3092\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u306aJava\u30af\u30e9\u30b9\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nstatic class Sales {\n    @RowKey char product;\n    int revenue;\n}\n  <\/code><\/pre>\n<\/div>\n<p>\u30b3\u30f3\u30c6\u30ca<code>Sales<\/code>\u306b\u306f\uff0c<code>product<\/code>\u3068<code>revenue<\/code>\u3068\u3044\u30462\u3064\u306e\u5217\u304c\u3042\u308a\u307e\u3059\uff0e\u3053\u308c\u3089\u306e\u5217\u306f\uff0c\u4e0a\u8a18\u306e\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30af\u30e9\u30b9\u3067\u306f\uff0c\u5909\u6570\u306e\u5f62\u3067\u8868\u73fe\u3055\u308c\u3066\u3044\u307e\u3059\uff0e<\/p>\n<p>\u3044\u3088\u3044\u3088\u3001GridDB\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002Properties\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3001GridDB\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u8a73\u7d30\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n        Properties props = new Properties();\n        props.setProperty(\"notificationAddress\", \"239.0.0.1\");\n        props.setProperty(\"notificationPort\", \"31999\");\n        props.setProperty(\"clusterName\", \"defaultCluster\");\n        props.setProperty(\"user\", \"admin\");\n        props.setProperty(\"password\", \"admin\");\n        GridStore store = GridStoreFactory.getInstance().getGridStore(props);\n  <\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30af\u30e9\u30b9\u30bf\u540d\u3001\u30e6\u30fc\u30b6\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u3001\u79c1\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fGridDB\u306e\u8a73\u7d30\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002GridDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5185\u5bb9\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u306f\uff0c\u307e\u305a\u30b3\u30f3\u30c6\u30ca\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\uff0c<code>Sales<\/code>\u30b3\u30f3\u30c6\u30ca\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nCollection&lt;String, Sales> coll = store.putCollection(\"col01\", Sales.class);\n  <\/code><\/pre>\n<\/div>\n<p>\u30b3\u30f3\u30c6\u30ca\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u3001<code>coll<\/code>\u3068\u3044\u3046\u540d\u524d\u304c\u4ed8\u3051\u3089\u308c\u307e\u3057\u305f\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u304d\u306f\u3001\u5e38\u306b <code>coll<\/code> \u3068\u3044\u3046\u540d\u524d\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\u3068GridDB\u3078\u306e\u683c\u7d0d<\/h2>\n<p>\u300cdata.csv\u300d\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001GridDB\u306b\u683c\u7d0d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n                File myfile = new File(\"data.csv\");\n                Scanner sc = new Scanner(myfile);\n                String data = sc.next();\n \n                while (sc.hasNext()){\n                        String scData = sc.next();\n                        String dataList[] = scData.split(\",\");\n                        String product = dataList[0];\n                        String revenue = dataList[1];\n                        \n                        Sales sales = new Sales();\n    \n                        sales.product = product;\n                        sales.revenue = Integer.parseInt(revenue);\n                        coll.append(sales);\n                }\n  <\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001&#8221;data.csv &#8220;\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u3001<code>sales<\/code>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001&#8221;sales &#8220;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u306a\u304a\u3001.csv\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30c7\u30ea\u30df\u30bf\u306b\u306f\u30ab\u30f3\u30de(,)\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>GridDB\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/h2>\n<p>\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u305f\u3081\u306b\u3001GridDB \u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\n                Query&lt;sales> query = coll.query(\"select *\");\n                RowSet&lt;sales> rs = query.fetch(false);\n                while (rs.hasNext()) {\n                        RowSet res = query.fetch();  \n                }\n  <\/code><\/pre>\n<\/div>\n<p><code>Select<\/code>\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u3002\u6b21\u306b\u3001\u3053\u306e\u30c7\u30fc\u30bf\u304b\u3089\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316<\/h2>\n<p>JFreeChart\u3092\u4f7f\u3063\u3066\u3001\u30c7\u30fc\u30bf\u3092\u8996\u899a\u5316\u3059\u308b\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002JFreeChart\u306b\u306f<code>createBarChart()<\/code>\u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u53ef\u8996\u5316\u3057\u305f\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u540d\u524d\u3092\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u95a2\u6570\u306b\u6e21\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">\nJFreeChart histogram = ChartFactory.createBarChart(\"GridDB and JFreeChart\",\"Product\", \"Revenue\", res, PlotOrientation.VERTICAL, false, true, false);\nhistogram.setBackgroundPaint(Color.white);\nhistogram.getTitle().setPaint(Color.red); \nCategoryPlot cp = histogram.getCategoryPlot(); \ncp.setRangeGridlinePaint(Color.blue); \nChartFrame frame=new ChartFrame(\"Bar Chart\",histogram);\nframe.setVisible(true);\nframe.setSize(600,400);\n  <\/code><\/pre>\n<\/div>\n<p>\u30b0\u30e9\u30d5\u306eX\u8ef8\u3068Y\u8ef8\u306b\u3064\u3051\u308b\u540d\u524d\u3068\u3001\u30bf\u30a4\u30c8\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u63cf\u304f\u305f\u3081\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f <code>res<\/code> \u3067\u3059\u3002\u307e\u305f\uff0c\u30b0\u30e9\u30d5\u306b\u8272\u3092\u4ed8\u3051\u307e\u3057\u305f\uff0e<\/p>\n<h2>\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c<\/h2>\n<p>\u307e\u305a\u3001<code>gsadm<\/code>\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u4f5c\u6210\u3057\u305f <code>.java<\/code> \u30d5\u30a1\u30a4\u30eb\u3068 JFreeChart \u7528\u306e <code>.jar<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u3001\u4ee5\u4e0b\u306e\u30d1\u30b9\u306b\u3042\u308b GridDB \u306e <code>bin<\/code> \u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre><code>\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\n<\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e <code>.jar<\/code> \u30d5\u30a1\u30a4\u30eb\u306f JFreeChart \u306e &#8220;lib&#8221; \u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001Linux\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001gridstore.jar\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>export CLASSPATH=$CLASSPATH:\/home\/osboxes\/Downloads\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\/gridstore.jar\n<\/code><\/pre>\n<p>\u307e\u305f\u3001JFreeChart\u306e<code>.jar<\/code>\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>export CLASSPATH=$CLASSPATH:\/home\/osboxes\/Downloads\/griddb_4.6.0-1_amd64\/usr\/griddb-4.6.0\/bin\/jfreechart-1.0.1.jar\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u4e0a\u8a18\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001<code>DataVisualization.java<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code>javac -cp jfreechart-1.0.1.jar -cp jcommon-1.0.0.jar DataVisualization.java\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u751f\u6210\u3055\u308c\u305f.class\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code>java DataVisualization\n<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30c1\u30e3\u30fc\u30c8\u304c\u751f\u6210\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/histogram.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/histogram.png\" alt=\"\" width=\"578\" height=\"390\" class=\"aligncenter size-full wp-image-27692\" srcset=\"\/wp-content\/uploads\/2021\/07\/histogram.png 578w, \/wp-content\/uploads\/2021\/07\/histogram-300x202.png 300w\" sizes=\"(max-width: 578px) 100vw, 578px\" \/><\/a><\/p>\n<p>\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>JFreeChart\u3068GridDB\u3092\u4f7f\u3063\u3066\u3001Java\u3067\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002 \u30c7\u30fc\u30bf\u304c\u8996\u899a\u7684\u306b\u8981\u7d04\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u3067\u4f55\u5341\u884c\u3001\u4f55\u767e\u884c\u3001 [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49289,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002\" \/>\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.griddb.net\/ja\/\u672a\u5206\u985e\/data-visualization-with-jfreechart-and-griddb\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/data-visualization-with-jfreechart-and-griddb\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-13T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:54:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"653\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\",\"datePublished\":\"2021-08-13T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/\"},\"wordCount\":101,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/\",\"url\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/\",\"name\":\"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png\",\"datePublished\":\"2021-08-13T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:54+00:00\",\"description\":\"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png\",\"contentUrl\":\"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT","description":"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002","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.griddb.net\/ja\/\u672a\u5206\u985e\/data-visualization-with-jfreechart-and-griddb\/","og_locale":"ja_JP","og_type":"article","og_title":"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT","og_description":"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/data-visualization-with-jfreechart-and-griddb\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2021-08-13T07:00:00+00:00","article_modified_time":"2025-11-14T15:54:54+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#article","isPartOf":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316","datePublished":"2021-08-13T07:00:00+00:00","dateModified":"2025-11-14T15:54:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/"},"wordCount":101,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/","url":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/","name":"Jfreechart\u3068GridDB\u306b\u3088\u308b\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png","datePublished":"2021-08-13T07:00:00+00:00","dateModified":"2025-11-14T15:54:54+00:00","description":"\u306f\u3058\u3081\u306b \u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u3068\u306f\u3001\u30c7\u30fc\u30bf\u3084\u60c5\u5831\u3092\u30c1\u30e3\u30fc\u30c8\u3084\u30b0\u30e9\u30d5\u306a\u3069\u306e\u8996\u899a\u7684\u306a\u5f62\u5f0f\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u306e\u5909\u6570\u9593\u306e\u95a2\u4fc2\u6027\u3092\u3001\u753b\u50cf\u3092\u7528\u3044\u3066\u8868\u73fe\u3057\u307e\u3059\u3002","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/data-visualization-with-jfreechart-and-griddb\/#primaryimage","url":"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png","contentUrl":"\/wp-content\/uploads\/2021\/07\/GridDB-JFreeChart.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50764"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50764\/revisions"}],"predecessor-version":[{"id":51598,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50764\/revisions\/51598"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media\/49289"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}