election_day.views.election.candidates ====================================== .. py:module:: election_day.views.election.candidates Attributes ---------- .. autoapisummary:: election_day.views.election.candidates.election_incomplete_text Functions --------- .. autoapisummary:: election_day.views.election.candidates.view_election_candidates_data election_day.views.election.candidates.view_election_candidates_chart election_day.views.election.candidates.view_election_candidates election_day.views.election.candidates.view_election_lists_table election_day.views.election.candidates.view_election_candidates_svg Module Contents --------------- .. py:data:: election_incomplete_text .. py:function:: view_election_candidates_data(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.JSON_ro " View the candidates as JSON. Used to for the candidates bar chart. .. py:function:: view_election_candidates_chart(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " View the candidates as bar chart. .. py:function:: view_election_candidates(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " The main view. .. py:function:: view_election_lists_table(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " View the lists as table. .. py:function:: view_election_candidates_svg(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData View the candidates as SVG.