| Module | SparklinesHelper |
| In: |
lib/sparklines_helper.rb
|
Provides a tag for embedding sparklines graphs into your Rails app.
Call with an array of data and a hash of params for the Sparklines module.
sparkline_tag [42, 37, 43, 182], :type => 'bar', :line_color => 'black'
You can also pass :class => ‘some_css_class’ (‘sparkline’ by default).