election_day.views.election.parties_panachage

Functions

view_election_parties_panachage_data(...)

" View the panachage data as JSON. Used to for the panachage sankey

view_election_parties_panachage_chart(...)

" View the panachage data as sankey chart.

view_election_parties_panachage(...)

" The main view.

view_election_parties_panachage_svg(...)

View the panachage as SVG.

Module Contents

election_day.views.election.parties_panachage.view_election_parties_panachage_data(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ View the panachage data as JSON. Used to for the panachage sankey chart.

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

“ View the panachage data as sankey chart.

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

“ The main view.

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

View the panachage as SVG.