new chart undefined
Closed this issue · 2 comments
ChrisCPO commented
using rails 3.2 not sure if that matters here, but looks like it's not finding the Chart js code.
calling via
= horizontal_bar_chart(assessment.chart_data, {})
edit:54 Uncaught ReferenceError: Chart is not definedinitChart @ edit:54
airblade commented
I use this with Rails 3.2 so it's some other problem.
Have you got this in your application.js
?
//= require Chart.min
airblade commented
Assuming this is solved...