# File lib/chart-candy/builder/donut.rb, line 30 def close_chart total = @chart[:slices].sum{ |s| s[:value] } total = total.round(2) if money? @chart[:total] = { label: 'Total', value: total } fill_percents end