private TablePo CreateTablePo(decimal?decimalValue, Func <decimal?, string> format, DiagramPo diagramPo, string rowBezeichnung, int rowSortOrder)
 {
     return(new TablePo
     {
         DecimalValue = decimalValue,
         Format = format,
         RowSortOrder = rowSortOrder,
         ColumnSortOrder = diagramPo.ColumnSortOrder,
         ColumnBezeichnung = diagramPo.Bezeichnung,
         RowBezeichnung = rowBezeichnung,
         LegendImageUrl = reportLegendImageService.GetLegendUrlForEnum(diagramPo.ZustandsindexTyp),
         ColorCode = diagramPo.ColorCode,
         IsSummaryRow = diagramPo.ZustandsindexTyp == ZustandsindexTyp.Unbekannt
     });
 }
 private TablePo CreateTablePo(JahresInterval jahresInterval, decimal?decimalValue, Func <decimal?, string> format, string zustandsindexTypBezeichnung, int sortOrder, int currentYear, ZustandsindexTyp zustandsindexTyp = ZustandsindexTyp.Unbekannt)
 {
     return(new TablePo
     {
         CurrentJahr = currentYear,
         AktualString = LocalizationService.GetLocalizedText("CurrentShort"),
         JahrVon = jahresInterval.JahrVon,
         JahrBis = jahresInterval.JahrBis,
         DecimalValue = decimalValue,
         Format = format,
         ZustandsindexTyp = zustandsindexTyp,
         ZustandsindexTypBezeichnung = zustandsindexTypBezeichnung,
         SortOrder = sortOrder,
         LegendImageUrl = reportLegendImageService.GetLegendUrlForEnum(zustandsindexTyp)
     });
 }