Easily include HighCharts in your project with this gem
To install it, you just need to add it to your Gemfile:
gem 'lazy_high_charts'
then run
bundle install
to install it.
Add javascript file to the application.js file //= require highcharts
###In controller Create an object of
LazyHighCharts::HighChart
###In View Just pass the “div id” created and the “chart object”, where to display the chart
<%= high_chart(“div_id”, @chart) %>
We're open to any contribution. It has to be tested properly though.
- Fork the project
- Do your changes and commit them to your repository
- Test your changes. We won't accept any untested contributions (except if they're not testable).
- Create an issue with a link to your commits.
Thanks for all contributers
- Deshi Xiao github/xiaods
- Miguel Michelson github/michelson
- Copyright (c) 2013 Deshi Xiao - Miguel Michelson Martinez, released under the MIT license