Skip to content

Commit

Permalink
fix pie chart helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ashanbrown committed Oct 10, 2014
1 parent fcfff9e commit f31bb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chartnado/helpers/chart_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def stacked_area_chart(*args, **options, &block)
end.render(*args, **options)
end

def pie_chart(*args, **options, &block)
def pie_chart_with_chartnado(*args, **options, &block)
Chartnado::Renderer.new(self, block) do |chartkick_options, json_options, data_block|
new_json_options = json_options.reverse_merge(show_total: true)
new_options = chartkick_options.reverse_merge!(
Expand Down

0 comments on commit f31bb4e

Please sign in to comment.