diff --git a/apps/red-ui/src/app/modules/admin/screens/license-information/license-information-screen.component.ts b/apps/red-ui/src/app/modules/admin/screens/license-information/license-information-screen.component.ts index 08b89ff21..f915e14dc 100644 --- a/apps/red-ui/src/app/modules/admin/screens/license-information/license-information-screen.component.ts +++ b/apps/red-ui/src/app/modules/admin/screens/license-information/license-information-screen.component.ts @@ -29,10 +29,8 @@ export class LicenseInformationScreenComponent implements OnInit { unlicensedInfo: LicenseReport = {}; totalLicensedNumberOfPages = 0; analysisPercentageOfLicense = 100; - barChart: any[] = []; + barChart: any[]; lineChartSeries: any[] = []; - yAxisLabel = this._translateService.instant('license-info-screen.chart.pages-per-month'); - yAxisLabelRight = this._translateService.instant('license-info-screen.chart.total-pages'); lineChartScheme = { selectable: true, group: 'Ordinal', @@ -151,6 +149,7 @@ export class LicenseInformationScreenComponent implements OnInit { m = startMonth; y = startYear; let cumulativePages = 0; + this.barChart = []; for (const report of reports) { cumulativePages += report.numberOfAnalyzedPages; this.barChart.push({