Browse Source

Task/widen input types in investment chart component (#7966)

Widen input types
pull/7972/head
Kenrick Tandrian 1 week ago
committed by GitHub
parent
commit
cdeff7e588
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      apps/client/src/app/components/investment-chart/investment-chart.component.ts

8
apps/client/src/app/components/investment-chart/investment-chart.component.ts

@ -56,13 +56,13 @@ export class GfInvestmentChartComponent implements OnChanges, OnDestroy {
@Input() public benchmarkDataItems: InvestmentItem[] = [];
@Input() public benchmarkDataLabel = '';
@Input() public colorScheme: ColorScheme;
@Input() public currency: string;
@Input() public currency?: string;
@Input() public groupBy: GroupBy;
@Input() public historicalDataItems: LineChartItem[] = [];
@Input() public isInPercentage = false;
@Input() public isInPercentage?: boolean = false;
@Input() public isLoading = false;
@Input() public locale = getLocale();
@Input() public savingsRate = 0;
@Input() public locale?: string = getLocale();
@Input() public savingsRate?: number = 0;
private readonly chartCanvas =
viewChild.required<ElementRef<HTMLCanvasElement>>('chartCanvas');

Loading…
Cancel
Save