election_day.views.election_compound_part.party_strengths

Module Contents

Functions

view_election_compound_part_party_strengths_data(...)

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

view_election_compound_part_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_compound_part_party_strengths(...)

" The main view.

view_election_compound_part_party_strengths_svg(...)

View the party strengths as SVG.

election_day.views.election_compound_part.party_strengths.view_election_compound_part_party_strengths_data(self: onegov.ballot.ElectionCompoundPart, 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_compound_part.party_strengths.view_election_compound_part_party_strengths_chart(self: onegov.ballot.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the party strengths as grouped bar chart.

election_day.views.election_compound_part.party_strengths.view_election_compound_party_strengths_table(self: onegov.ballot.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the party strengths as table.

election_day.views.election_compound_part.party_strengths.view_election_compound_part_party_strengths(self: onegov.ballot.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election_compound_part.party_strengths.view_election_compound_part_party_strengths_svg(self: onegov.ballot.ElectionCompoundPart, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the party strengths as SVG.