Browse Source

Clean up

pull/3560/head
Thomas Kaul 1 year ago
parent
commit
10a59476af
  1. 1
      libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts
  2. 3
      libs/ui/src/lib/treemap-chart/treemap-chart.component.ts

1
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')

3
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<UniqueAsset>();

Loading…
Cancel
Save