activerecord - Rails Chartkick Gem Error Loading Chart No Adapter Found -
I have a Rail 3.2.14 app where I use the chartkick and
When I load my view, I get an error:
error loading chart: no adapter was found
here How my view code looks like:
index.html.erb
& lt;% = line_chart call.group_by_week (: created_at) Count% & gt;
Charts and yielding chart_js application.html.erb (layout)
& lt;% = javascript_include_tag "application "," Charticon "% & gt; & Lt;% = yield: charts_which% & gt; Can anyone tell me why I am getting this error and how it should be decided? I really want to start using ChartCike to generate some simple charts.
this line is and javascript_include_tag "// Www.google.com/jsapi"% & gt; before & lt; % = Javascript_include_tag "applications", "chartsick"%> Also check the installation section in Mani's home page (scroll down :)).
Comments
Post a Comment