You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the README, I added the following lines to my application.js //= require highcharts/highcharts //= require highcharts/highcharts-more //= require highcharts/highstock
I can create charts just fine, but I noticed that the browser console reported the above error: uncaught exception: Highcharts error #16: www.highcharts.com/errors/16 on every page which loads application .js. Removing the last line //= require highcharts/highstock from application.js fixes the error, but I am not sure this is the right solution. Am I missing a step in my installation? Or did I just misunderstand that all three require lines should be included?
The text was updated successfully, but these errors were encountered:
Thanks for the quick response. I agree. I was mostly concerned that I might be doing something wrong (and I had some JS loading after these lines, which stopped working when I added High Charts, confusing the heck out of me). I appreciate the help, and the very helpful gem.
Rails 4.2 app
Gemfile:
gem 'lazy_high_charts', '~> 1.5', '>= 1.5.4'
Per the README, I added the following lines to my
application.js
//= require highcharts/highcharts
//= require highcharts/highcharts-more
//= require highcharts/highstock
I can create charts just fine, but I noticed that the browser console reported the above error:
uncaught exception: Highcharts error #16: www.highcharts.com/errors/16
on every page which loads application .js. Removing the last line//= require highcharts/highstock
fromapplication.js
fixes the error, but I am not sure this is the right solution. Am I missing a step in my installation? Or did I just misunderstand that all three require lines should be included?The text was updated successfully, but these errors were encountered: