private static void addNewDataSerie(final DataSeries dataSeries, final Series series,
			final SimpleDateFormat simpleDateFormat, final SimpleDateFormat parseIncomingDateFormat,
			final Entry<String, List<ViewRiksdagenOrgDocumentDailySummary>> entry) {

		series.addSeries(new XYseries().setLabel(entry.getKey()));
		dataSeries.newSeries();

		if (entry.getValue() != null) {
			for (final ViewRiksdagenOrgDocumentDailySummary item : entry.getValue()) {
				addDataItem(dataSeries, simpleDateFormat, parseIncomingDateFormat, item);
			}
		}
	}
private static void addNewDataSerie(final DataSeries dataSeries, final Series series,
			final SimpleDateFormat simpleDateFormat, final SimpleDateFormat parseIncomingDateFormat,
			final Entry<String, List<ViewRiksdagenOrgDocumentDailySummary>> entry) {

		series.addSeries(new XYseries().setLabel(entry.getKey()));
		dataSeries.newSeries();

		if (entry.getValue() != null) {
			for (final ViewRiksdagenOrgDocumentDailySummary item : entry.getValue()) {
				addDataItem(dataSeries, simpleDateFormat, parseIncomingDateFormat, item);
			}
		}
	}
private static void addNewDataSerie ( final DataSeries dataSeries , final Series series , final SimpleDateFormat simpleDateFormat , final SimpleDateFormat parseIncomingDateFormat , final Entry < String , List < ViewRiksdagenOrgDocumentDailySummary > > entry ) { series . addSeries ( new XYseries ( ) . setLabel ( entry . getKey ( ) ) ) ; dataSeries . newSeries ( ) ; if ( entry . getValue ( ) != null ) { for ( final ViewRiksdagenOrgDocumentDailySummary item : entry . getValue ( ) ) { addDataItem ( dataSeries , simpleDateFormat , parseIncomingDateFormat , item ) ; } } }
Adds the new data serie.

@param dataSeries              the data series
@param series                  the series
@param simpleDateFormat        the simple date format
@param parseIncomingDateFormat the parse incoming date format
@param entry                   the entry
Adds the new data serie .