election_day.views.election.candidate_entity ============================================ .. py:module:: election_day.views.election.candidate_entity Functions --------- .. autoapisummary:: election_day.views.election.candidate_entity.candidate_options election_day.views.election.candidate_entity.view_candidate_by_entity election_day.views.election.candidate_entity.view_election_candidate_by_entity election_day.views.election.candidate_entity.view_election_candidate_by_entity_chart Module Contents --------------- .. py:function:: candidate_options(request: onegov.election_day.request.ElectionDayRequest, election: onegov.election_day.models.Election) -> list[tuple[str, str]] .. py:function:: view_candidate_by_entity(self: onegov.election_day.models.Candidate, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.JSON_ro " View the candidate by entity as JSON. .. py:function:: view_election_candidate_by_entity(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " View the candidate as heatmap by entity. .. py:function:: view_election_candidate_by_entity_chart(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " Embed the heatmap.