election_day.views.election_compound.seat_allocation

Functions

view_election_compound_seat_allocation_data(...)

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

view_election_compound_seat_allocation_chart(...)

" View the seat allocation as grouped bar chart.

view_election_compound_seat_allocation(...)

" The main view.

view_election_compound_seat_allocation_svg(...)

View the seat allocation as SVG.

view_election_compound_seat_allocation_table(...)

" Displays the seat allocation as standalone table.

Module Contents

election_day.views.election_compound.seat_allocation.view_election_compound_seat_allocation_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 seat allocation.

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

“ View the seat allocation as grouped bar chart.

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

View the seat allocation as SVG.

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

“ Displays the seat allocation as standalone table.