Cal-HeatMap Rails
Packages Cal-HeatMap for Rails Asset Pipeline.
- D3 3.4.6 (required, not included)
- Cal-HeatMap 3.6.2 (included)
Installation
gem 'd3_rails'
gem 'cal-heatmap-rails', github: 'pavolzbell/cal-heatmap-rails', branch: :master
And then execute:
$ bundle
Or install it yourself as:
$ gem install cal_heatmap_rails
Usage
Include in your application.js
manifest:
//= require d3
//= require cal-heatmap
and in your application.css
manifest:
*= require cal-heatmap
Included Javascripts
cal-heatmap.js
cal-heatmap-min.js
Included Stylesheets
cal-heatmap.css
Testing
Go to spec/dummy
and run bundle
. After bundling, run specs with bundle exec rspec
.
Contributing
- Fork it
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin new-feature
) - Create new Pull Request
License
This software is released under the MIT License.