mercredi 29 avril 2015

chartkick loading issue with Ajax

I added a graph partial and called this method of Chartkick to load the graphs, it works fine with HTML request. When i call it with Ajax. i always see LOADING error. any idea what could be the reason of this ?

   = pie_chart Goal.group(:name).count

I'm using Rails 4.1.9 and ruby ruby 2.1.5

Aucun commentaire:

Enregistrer un commentaire