Re:Show HN: Create Javascript charts with one line of Ruby
by huhtenberg on Monday May 13, 2013 @09:48AM
(#5698601)
[ Parent
| on HN ]
Re:Show HN: Create Javascript charts with one line of Ruby
by envex on Monday May 13, 2013 @09:51AM
(#5698617)
You have to install either library as well:
--
For Google Charts, use:
<%= javascript_include_tag "//www.google.com/jsapi", "chartkick" %> If you prefer Highcharts, use:
<%= javascript_include_tag "path/to/highcharts.js", "chartkick" %>
--
Re:Show HN: Create Javascript charts with one line of Ruby
by akane on Monday May 13, 2013 @09:52AM
(#5698623)
Be sure you include the <script> tag for Google Charts or Highcharts before you include chartkick.js.
Re:Show HN: Create Javascript charts with one line of Ruby
by sanderjd on Monday May 13, 2013 @09:58AM
(#5698649)
Did you include Google Charts or Highcharts as described in the installation instructions?
Re:Show HN: Create Javascript charts with one line of Ruby
by huhtenberg on Monday May 13, 2013 @12:47PM
(#5699734)
This is the message I see on the linked page, where (I'm guessing) the demo is supposed to be.