From 10a59476af14480b1d3d2b5a4df63cb7433138d8 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:50:18 +0200 Subject: [PATCH] Clean up --- .../portfolio-proportion-chart.component.ts | 1 - libs/ui/src/lib/treemap-chart/treemap-chart.component.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index 23d171678..c60ed3443 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -352,7 +352,6 @@ export class GfPortfolioProportionChartComponent /** * Color palette, inspired by https://yeun.github.io/open-color - * */ private getColorPalette() { // TODO: Reuse require('open-color') diff --git a/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts b/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts index 6ee54a5b1..557bdc2ae 100644 --- a/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts +++ b/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts @@ -35,11 +35,8 @@ const { gray, green, red } = require('open-color'); export class GfTreemapChartComponent implements AfterViewInit, OnChanges, OnDestroy { - @Input() baseCurrency: string; @Input() cursor: string; @Input() holdings: PortfolioPosition[]; - @Input() isInPercent = false; - @Input() locale = getLocale(); @Output() treemapChartClicked = new EventEmitter();