code: private static void addPoliticanData(final List<ViewRiksdagenVoteDataBallotPoliticianSummaryDaily> list,
  			final DataSeries dataSeries, final SimpleDateFormat simpleDateFormat, final Function<ViewRiksdagenVoteDataBallotPoliticianSummaryDaily, Object> t) {
  		dataSeries.newSeries();
  		for (final ViewRiksdagenVoteDataBallotPoliticianSummaryDaily viewRiksdagenVoteDataBallotPoliticianSummaryDaily : list) {
  			if (viewRiksdagenVoteDataBallotPoliticianSummaryDaily != null) {
  				dataSeries.add(
  						simpleDateFormat.format(
  								viewRiksdagenVoteDataBallotPoliticianSummaryDaily.getEmbeddedId().getVoteDate()),
  						t.apply(viewRiksdagenVoteDataBallotPoliticianSummaryDaily));
  			}
  		}
  	}
docs: Adds the politican data.
  
  @param list             the list
  @param dataSeries       the data series
  @param simpleDateFormat the simple date format
  @param t                the t