{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhelen.hatenablog.com%2Fentry%2F2016%2F07%2F03%2F004107\" title=\"rails\u3067Chartkick\u3092\u4f7f\u3063\u3066\u307f\u305f - helen&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_name":"heleeen","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/h/heleeen/20160703/20160703004032.png","blog_title":"helen's blog","published":"2016-07-03 00:41:07","author_url":"https://blog.hatena.ne.jp/heleeen/","categories":["rails"],"provider_name":"Hatena Blog","title":"rails\u3067Chartkick\u3092\u4f7f\u3063\u3066\u307f\u305f","blog_url":"https://helen.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","url":"https://helen.hatenablog.com/entry/2016/07/03/004107","description":"Chartkick ruby\u306bJS\u3067\u7dba\u9e97\u306b\u30b0\u30e9\u30d5\u3092\u66f8\u3044\u3066\u304f\u308c\u308b \u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3084\u5186\u30b0\u30e9\u30d5\u3001\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3092\u304b\u3051\u308b googleJSAPI\u3082\u4f7f\u3046 \u914d\u5217\u30fb\u30cf\u30c3\u30b7\u30e5\u3067\u6570\u5024\u3092\u30b0\u30e9\u30d5\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u3066\u7c21\u5358\u306b\u66f8\u3051\u308b Chartkick \u5c0e\u5165 1. Gemfile\u306b\u4ee5\u4e0b\u8ffd\u8a18\u3057\u3066bundle install gem \"chartkick\" 2. GoogleCharts\u8aad\u307f\u8fbc\u307f \u30b0\u30e9\u30d5\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u30d8\u30eb\u30d1\u30fc\u30e1\u30bd\u30c3\u30c9\u306e\u524d\u306b\u8aad\u307e\u308c\u308b\u3088\u3046\u306b\u3059\u308b :content_for\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3068\u304d\u306f\u6c17\u306b\u3057\u306a\u304f\u3066\u826f\u3044 //= require chartkick :content_for \u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6307\u5b9a\u306e\u5834\u6240\u3067\u30ed\u30fc\u30c9\u3059\u308b # \u2026"}