Use chartkick globally
* Clean up legacy charting imports * Update existing donut and line charts * Create helpers for parsing out existing chart data * Move chart partials to a more common path
This commit is contained in:
parent
3bbac3667f
commit
516e53d9df
29 changed files with 331 additions and 577 deletions
4
config/initializers/chartkick.rb
Normal file
4
config/initializers/chartkick.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Chartkick.options = {
|
||||
height: '150px',
|
||||
content_for: :charts_js
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue