election_day.views.election.party_strengths
Functions
Retuns the data used for the grouped bar diagram showing the party |
|
" View the party strengths as grouped bar chart. |
|
" View the party strengths as table. |
|
" The main view. |
|
View the party strengths as SVG. |
Module Contents
- election_day.views.election.party_strengths.view_election_party_strengths_data(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro [source]
Retuns the data used for the grouped bar diagram showing the party results.
- election_day.views.election.party_strengths.view_election_party_strengths_chart(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
“ View the party strengths as grouped bar chart.
- election_day.views.election.party_strengths.view_election_compound_party_strengths_table(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData [source]
“ View the party strengths as table.