election_day.views.election_compound.party_strengths

Functions

view_election_compound_party_strengths_data(self, request) → onegov.core.types.JSON_ro

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

view_election_compound_party_strengths_chart(self, request) → onegov.core.types.RenderData

" View the party strengths as grouped bar chart.

view_election_compound_party_strengths_table(self, request) → onegov.core.types.RenderData

" View the party strengths as table.

view_election_compound_party_strengths(self, request) → onegov.core.types.RenderData

" The main view.

view_election_compound_party_strengths_svg(self, request) → onegov.core.types.RenderData

View the party strengths as SVG.

Module Contents

election_day.views.election_compound.party_strengths.view_election_compound_party_strengths_data(self: onegov.election_day.models.ElectionCompound, 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.party_strengths.view_election_compound_party_strengths_chart(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.RenderData[source]

“ View the party strengths as grouped bar chart.

election_day.views.election_compound.party_strengths.view_election_compound_party_strengths_table(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.RenderData[source]

“ View the party strengths as table.

election_day.views.election_compound.party_strengths.view_election_compound_party_strengths(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election_compound.party_strengths.view_election_compound_party_strengths_svg(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) → onegov.core.types.RenderData[source]

View the party strengths as SVG.