election_day.views.election_compound.parties_panachage

Module Contents

Functions

view_election_compound_parties_panachage_data(...)

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

view_election_compound_parties_panachage_chart(...)

" View the panachage data as sankey chart.

view_election_compound_parties_panachage(...)

" The main view.

view_election_compound_parties_panachage_svg(...)

View the panachage as SVG.

election_day.views.election_compound.parties_panachage.view_election_compound_parties_panachage_data(self: onegov.ballot.ElectionCompound, 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_compound.parties_panachage.view_election_compound_parties_panachage_chart(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the panachage data as sankey chart.

election_day.views.election_compound.parties_panachage.view_election_compound_parties_panachage(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election_compound.parties_panachage.view_election_compound_parties_panachage_svg(self: onegov.ballot.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the panachage as SVG.