Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaught exception: Highcharts error #16: www.highcharts.com/errors/16 #206

Open
jhugon61 opened this issue Feb 23, 2016 · 3 comments
Open

Comments

@jhugon61
Copy link

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 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?

@excel-tricks
Copy link

After looking at the error page, it doesn't seem to be a huge issue if you want to leave in all three lines.

However, I agree, the docs need to be updated to deal with this error.

@jhugon61
Copy link
Author

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.

@michelson
Copy link
Owner

Thanks for report this ,
yes the README doc have to be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants