- pref_tally = make_preference_tally(@election)
-
- fulldata, labels = get_positions_info(@election)
- legend = Hash.new
+ legend = Hash.new
+ alldata, labels = get_positions_info(@election)
+ @election.results unless @election.condorcet_result || @election.ssd_result
+ ranked_candidates = @election.condorcet_result.ranked_candidates.flatten