lazy_high_charts
lazy_high_charts copied to clipboard
Application.js step needs to be included in installation
I just now saw someone else made an issue for this, but I went ahead and made a pull request for it. I lost a good half hour to trying to figure out why the gem wasn't working before I tried adding high charts to application.js, specifying this in the Readme may make it easier for the next guy.
@BrennonTWilliams Sorry for that bad experience. how about give a pull request?
fixed #172 merged.
@xiaods , @BrennonTWilliams why is needed to add highcharts before require_tree . ?
look at this example. it is not required to put the hc lib before require_tree https://github.com/michelson/lazy_high_charts/blob/master/spec/dummy_rails/app/assets/javascripts/application.js
@michelson the dummy project contains wrong setting for highchart.
Need a patch to fix it. @BrennonTWilliams 's patch focus on README have not clear definition.
I needed to add to application.js as well in Rails. See this answer on SO: http://stackoverflow.com/a/26569321/1974564