private void addAnnualSummary ( final Map < String , List < GovernmentBodyAnnualOutcomeSummary > > report , final VerticalLayout content , final String label ) { final DataSeries dataSeries = new DataSeries ( ) ; final Series series = new Series ( ) ; for ( final Entry < String , List < GovernmentBodyAnnualOutcomeSummary > > entry : report . entrySet ( ) ) { final List < GovernmentBodyAnnualOutcomeSummary > allValues = entry . getValue ( ) ; if ( ! allValues . isEmpty ( ) ) { addAnnualSummaryData ( dataSeries , series , entry , allValues ) ; } } addChart ( content , label , new DCharts ( ) . setDataSeries ( dataSeries ) . setOptions ( getChartOptions ( ) . createOptionsXYDateFloatLogYAxisLegendOutside ( series ) ) . show ( ) , true ) ; }
Adds the annual summary .