election_day.views.election.party_strengths

Functions

view_election_party_strengths_data(...)

Retuns the data used for the grouped bar diagram showing the party

view_election_party_strengths_chart(...)

" View the party strengths as grouped bar chart.

view_election_compound_party_strengths_table(...)

" View the party strengths as table.

view_election_party_strengths(...)

" The main view.

view_election_party_strengths_svg(...)

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.

election_day.views.election.party_strengths.view_election_party_strengths(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election.party_strengths.view_election_party_strengths_svg(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the party strengths as SVG.