citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/DecisionChartDataManagerImpl.java
private static void addDecisionTypeByOrgData(final SimpleDateFormat simpleDateFormat, final DataSeries dataSeries,
			final Series series, final Map<String, List<ViewRiksdagenCommitteeDecisionTypeOrgDailySummary>> map) {
		for (final Entry<String, List<ViewRiksdagenCommitteeDecisionTypeOrgDailySummary>> entry : map.entrySet()) {
			if (!EMPTY_STRING.equals(entry.getKey())) {

				final XYseries label = new XYseries();
				label.setLabel(entry.getKey());

				series.addSeries(label);

				dataSeries.newSeries();
				for (final ViewRiksdagenCommitteeDecisionTypeOrgDailySummary item : entry.getValue()) {
						dataSeries.add(simpleDateFormat.format(item.getEmbeddedId().getDecisionDate()),
								item.getTotal());
				}
			}
		}
	}
private static void addDecisionTypeByOrgData(final SimpleDateFormat simpleDateFormat, final DataSeries dataSeries,
			final Series series, final Map<String, List<ViewRiksdagenCommitteeDecisionTypeOrgDailySummary>> map) {
		for (final Entry<String, List<ViewRiksdagenCommitteeDecisionTypeOrgDailySummary>> entry : map.entrySet()) {
			if (!EMPTY_STRING.equals(entry.getKey())) {

				final XYseries label = new XYseries();
				label.setLabel(entry.getKey());

				series.addSeries(label);

				dataSeries.newSeries();
				for (final ViewRiksdagenCommitteeDecisionTypeOrgDailySummary item : entry.getValue()) {
						dataSeries.add(simpleDateFormat.format(item.getEmbeddedId().getDecisionDate()),
								item.getTotal());
				}
			}
		}
	}
private static void addDecisionTypeByOrgData ( final SimpleDateFormat simpleDateFormat , final DataSeries dataSeries , final Series series , final Map < String , List < ViewRiksdagenCommitteeDecisionTypeOrgDailySummary > > map ) { for ( final Entry < String , List < ViewRiksdagenCommitteeDecisionTypeOrgDailySummary > > entry : map . entrySet ( ) ) { if ( ! EMPTY_STRING . equals ( entry . getKey ( ) ) ) { final XYseries label = new XYseries ( ) ; label . setLabel ( entry . getKey ( ) ) ; series . addSeries ( label ) ; dataSeries . newSeries ( ) ; for ( final ViewRiksdagenCommitteeDecisionTypeOrgDailySummary item : entry . getValue ( ) ) { dataSeries . add ( simpleDateFormat . format ( item . getEmbeddedId ( ) . getDecisionDate ( ) ) , item . getTotal ( ) ) ; } } } }
Adds the decision type by org data.

@param simpleDateFormat the simple date format
@param dataSeries the data series
@param series the series
@param map the map
Adds the decision type by org data .